summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-03-01 15:32:46 +0100
committerMarek Olšák <[email protected]>2013-03-11 13:43:36 +0100
commit2ca73bc7f7a2983556b132395c73739a01f167b5 (patch)
treedae09737ce9b2d88af374ccce535b807e68d4788 /src
parent43d3e0cd3d0d5b557223a2330f490de43e5d6a90 (diff)
r600g: cleanup #include recursion between r600_pipe.h and evergreen_compute.h
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/compute_memory_pool.c1
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.h2
-rw-r--r--src/gallium/drivers/r600/evergreen_compute_internal.c1
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c1
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h1
-rw-r--r--src/gallium/drivers/r600/r600_resource.c1
-rw-r--r--src/gallium/drivers/r600/r600_texture.c1
7 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/drivers/r600/compute_memory_pool.c
index 5b1cb1b7930..8896909bf8a 100644
--- a/src/gallium/drivers/r600/compute_memory_pool.c
+++ b/src/gallium/drivers/r600/compute_memory_pool.c
@@ -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>
diff --git a/src/gallium/drivers/r600/evergreen_compute.h b/src/gallium/drivers/r600/evergreen_compute.h
index e68ebd8585e..db57520a74c 100644
--- a/src/gallium/drivers/r600/evergreen_compute.h
+++ b/src/gallium/drivers/r600/evergreen_compute.h
@@ -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);
diff --git a/src/gallium/drivers/r600/evergreen_compute_internal.c b/src/gallium/drivers/r600/evergreen_compute_internal.c
index 2e8e9daca62..60bb3bfb045 100644
--- a/src/gallium/drivers/r600/evergreen_compute_internal.c
+++ b/src/gallium/drivers/r600/evergreen_compute_internal.c
@@ -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"
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 78002ae4000..f5bf0cec892 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -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>
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index cb520833c1c..c178285e8e5 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -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
diff --git a/src/gallium/drivers/r600/r600_resource.c b/src/gallium/drivers/r600/r600_resource.c
index 5e637f64a4a..5962f8ac199 100644
--- a/src/gallium/drivers/r600/r600_resource.c
+++ b/src/gallium/drivers/r600/r600_resource.c
@@ -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)
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index aefc40fca17..1c071cb2b74 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -25,6 +25,7 @@
* Corbin Simpson
*/
#include "r600_formats.h"
+#include "evergreen_compute.h"
#include "r600d.h"
#include <errno.h>