summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 16:05:16 -0700
committerBrian <[email protected]>2008-02-27 16:05:16 -0700
commitea7e86dd4d1e7dbef2642da73bb1980723ae49ef (patch)
treed5fb0f559f20b339349f28151426a90608732a53 /src/gallium/drivers/i965simple/brw_context.h
parent6b9a7eb460fe0a9c958b837f2ed49c2d4e303ebc (diff)
gallium/i965: remove dependencies on pipe_shader_state's semantic info
The brw_shader_info struct is rendundant and could be removed...
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_context.h')
-rw-r--r--src/gallium/drivers/i965simple/brw_context.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965simple/brw_context.h b/src/gallium/drivers/i965simple/brw_context.h
index 65664d853dd..fbc89c889bb 100644
--- a/src/gallium/drivers/i965simple/brw_context.h
+++ b/src/gallium/drivers/i965simple/brw_context.h
@@ -38,6 +38,8 @@
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
+#include "tgsi/util/tgsi_scan.h"
+
#include "brw_structs.h"
#include "brw_winsys.h"
@@ -203,7 +205,8 @@ struct brw_shader_info {
struct brw_vertex_program {
struct pipe_shader_state program;
- struct brw_shader_info info;
+ struct tgsi_shader_info info;
+ struct brw_shader_info info2; /* XXX get rid of this */
int id;
};
@@ -211,7 +214,8 @@ struct brw_vertex_program {
struct brw_fragment_program {
struct pipe_shader_state program;
- struct brw_shader_info info;
+ struct tgsi_shader_info info;
+ struct brw_shader_info info2; /* XXX get rid of this */
boolean UsesDepth;
boolean UsesKill;