gallium: reduce recursive include of tgsi_exec.h
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 15 Jul 2009 23:21:17 +0000 (00:21 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 16 Jul 2009 08:53:07 +0000 (09:53 +0100)
A lot of draw code no longer needs to see this header.

src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_vs.c
src/gallium/auxiliary/draw/draw_vs_exec.c
src/gallium/auxiliary/draw/draw_vs_sse.c
src/gallium/auxiliary/tgsi/tgsi_exec.h

index e4fa23cc40369dca46246e37e15f8df6f2293afd..41fcb16a0a5a1df71c3de27bbafaec358fd5b61c 100644 (file)
@@ -44,7 +44,6 @@
 #include "pipe/p_state.h"
 #include "pipe/p_defines.h"
 
-#include "tgsi/tgsi_exec.h"
 #include "tgsi/tgsi_scan.h"
 
 
@@ -55,6 +54,8 @@ struct draw_vertex_shader;
 struct draw_context;
 struct draw_stage;
 struct vbuf_render;
+struct tgsi_exec_machine;
+struct tgsi_sampler;
 
 
 /**
index 1b48a52c666efce5e5ebe8475b2250b7aa1cfb47..790e89ed820af7e7ab8d3c036b8f242a2c31931c 100644 (file)
@@ -43,6 +43,8 @@
 #include "translate/translate.h"
 #include "translate/translate_cache.h"
 
+#include "tgsi/tgsi_exec.h"
+
 
 
 
index 8c488bf11f05296b1c7786ad322fa2d87824106d..41cc802613126f9dc81f68d5c571b41ccfcafaaa 100644 (file)
@@ -41,6 +41,7 @@
 
 #include "tgsi/tgsi_parse.h"
 #include "tgsi/tgsi_scan.h"
+#include "tgsi/tgsi_exec.h"
 
 
 struct exec_vertex_shader {
index 2b3b78487f38d69845183f32744a2a6b09de4ee5..a4f72c40eff1e77ff5b759fa4b5e87d66756f9d2 100644 (file)
@@ -48,6 +48,7 @@
 #include "rtasm/rtasm_x86sse.h"
 #include "tgsi/tgsi_sse2.h"
 #include "tgsi/tgsi_parse.h"
+#include "tgsi/tgsi_exec.h"
 
 #define SSE_MAX_VERTICES 4
 
index 2c46e8839963750b0660869fa49c6301efb24f3a..a9820ee78350deb92531c2702d8726006b2bd58f 100644 (file)
@@ -29,6 +29,7 @@
 #define TGSI_EXEC_H
 
 #include "pipe/p_compiler.h"
+#include "pipe/p_state.h"
 
 #if defined __cplusplus
 extern "C" {