r600g: cleanup #include recursion between r600_pipe.h and evergreen_compute.h
authorMarek Olšák <maraeo@gmail.com>
Fri, 1 Mar 2013 14:32:46 +0000 (15:32 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Mar 2013 12:43:36 +0000 (13:43 +0100)
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/compute_memory_pool.c
src/gallium/drivers/r600/evergreen_compute.h
src/gallium/drivers/r600/evergreen_compute_internal.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_resource.c
src/gallium/drivers/r600/r600_texture.c

index 5b1cb1b7930c5954ebd6258a01bfcd8ecf5ac04a..8896909bf8ad41244c7dcd66a60e11ad3d03fd5e 100644 (file)
@@ -39,6 +39,7 @@
 #include "r600_pipe.h"
 #include "r600_formats.h"
 #include "compute_memory_pool.h"
+#include "evergreen_compute.h"
 #include "evergreen_compute_internal.h"
 #include <inttypes.h>
 
index e68ebd8585e8f410db1a72e78c07cdcd74636299..db57520a74c1d4e3ffbf6aabdfd0c2783f42a90a 100644 (file)
@@ -32,7 +32,7 @@
 struct r600_atom;
 struct evergreen_compute_resource;
 
-void *evergreen_create_compute_state(struct pipe_context *ctx, const const struct pipe_compute_state *cso);
+void *evergreen_create_compute_state(struct pipe_context *ctx, const struct pipe_compute_state *cso);
 void evergreen_delete_compute_state(struct pipe_context *ctx, void *state);
 void evergreen_compute_upload_input(struct pipe_context *context, const uint *block_layout, const uint *grid_layout, const void *input);
 void evergreen_init_atom_start_compute_cs(struct r600_context *rctx);
index 2e8e9daca625b60c3597b27f1dfe6fd6b262fedd..60bb3bfb04595850a3724e4f1bc9f2d450738332 100644 (file)
@@ -42,6 +42,7 @@
 #include "r600_pipe.h"
 #include "r600_formats.h"
 #include "evergreend.h"
+#include "evergreen_compute.h"
 #include "evergreen_compute_internal.h"
 #include "r600_hw_context_priv.h"
 
index 78002ae400064279b1db3214e351146fbedaf1a1..f5bf0cec8921344ea631a393902fd00104346111 100644 (file)
@@ -23,6 +23,7 @@
 #include "r600_pipe.h"
 #include "r600_public.h"
 #include "r600_isa.h"
+#include "evergreen_compute.h"
 #include "r600d.h"
 
 #include <errno.h>
index cb520833c1cc7be72090001d73e9727c00119a57..c178285e8e52359620614cebc82913fed38f0e49 100644 (file)
@@ -33,7 +33,6 @@
 #include "r600_llvm.h"
 #include "r600_public.h"
 #include "r600_resource.h"
-#include "evergreen_compute.h"
 
 #define R600_NUM_ATOMS 38
 
index 5e637f64a4aeaac2732191c071103246915143fc..5962f8ac1993b835cc14b19ff3be37f719af8330 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "r600_pipe.h"
+#include "evergreen_compute.h"
 
 static struct pipe_resource *r600_resource_create(struct pipe_screen *screen,
                                                const struct pipe_resource *templ)
index aefc40fca175cf4b3b792074deb06381a16f01bc..1c071cb2b741669e4ae40d0cadb611733b3c46c4 100644 (file)
@@ -25,6 +25,7 @@
  *      Corbin Simpson
  */
 #include "r600_formats.h"
+#include "evergreen_compute.h"
 #include "r600d.h"
 
 #include <errno.h>