summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 16:22:08 -0700
committerBrian <[email protected]>2008-02-27 16:22:08 -0700
commitdacf91fe587a777eed95b9767bc6b4ccdc7de71c (patch)
tree2b682736de8eeb3074e6b38282cd4cda1626d5ed /src/gallium/drivers/i965simple/brw_context.h
parentf504d87240542016213569b5da89e251adebc31d (diff)
gallium/i965: remove brw_shader_info struct
The info it contained is now found in tgsi_shader_info. Added a few assertions to catch potential misunderstandings about register counts vs. highest register index used.
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_context.h')
-rw-r--r--src/gallium/drivers/i965simple/brw_context.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/drivers/i965simple/brw_context.h b/src/gallium/drivers/i965simple/brw_context.h
index 642db5b5a26..4da3a8cffcf 100644
--- a/src/gallium/drivers/i965simple/brw_context.h
+++ b/src/gallium/drivers/i965simple/brw_context.h
@@ -197,33 +197,22 @@ struct brw_state_flags {
};
-struct brw_shader_info {
- int nr_regs[8]; /* TGSI_FILE_* */
-};
-
-
-
struct brw_vertex_program {
struct pipe_shader_state program;
struct tgsi_shader_info info;
- struct brw_shader_info info2; /* XXX get rid of this */
int id;
};
-
struct brw_fragment_program {
struct pipe_shader_state program;
struct tgsi_shader_info info;
- struct brw_shader_info info2; /* XXX get rid of this */
- boolean UsesDepth;
+ boolean UsesDepth; /* XXX add this to tgsi_shader_info? */
int id;
};
-
-
struct pipe_setup_linkage {
struct {
unsigned vp_output:5;