summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_state.c
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_state.c
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_state.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_state.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_state.c b/src/gallium/drivers/i965simple/brw_state.c
index 6e464652002..6744a8aa4f7 100644
--- a/src/gallium/drivers/i965simple/brw_state.c
+++ b/src/gallium/drivers/i965simple/brw_state.c
@@ -177,8 +177,10 @@ static void * brw_create_fs_state(struct pipe_context *pipe,
tgsi_scan_shader(shader->tokens, &brw_fp->info);
+#if 0
brw_shader_info(shader->tokens,
&brw_fp->info2);
+#endif
tgsi_dump(shader->tokens, 0);
@@ -216,9 +218,10 @@ static void *brw_create_vs_state(struct pipe_context *pipe,
tgsi_scan_shader(shader->tokens, &brw_vp->info);
+#if 0
brw_shader_info(shader->tokens,
&brw_vp->info2);
-
+#endif
tgsi_dump(shader->tokens, 0);
return (void *)brw_vp;