summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_sf.c
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_sf.c
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_sf.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_sf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_sf.c b/src/gallium/drivers/i965simple/brw_sf.c
index 7c83b81c858..54ce5ed9f16 100644
--- a/src/gallium/drivers/i965simple/brw_sf.c
+++ b/src/gallium/drivers/i965simple/brw_sf.c
@@ -133,7 +133,7 @@ static void upload_sf_prog( struct brw_context *brw )
key.vp_output_count = brw->vs.prog_data->outputs_written;
/* BRW_NEW_FS */
- key.fp_input_count = brw->attribs.FragmentProgram->info.nr_regs[TGSI_FILE_INPUT];
+ key.fp_input_count = brw->attribs.FragmentProgram->info2.nr_regs[TGSI_FILE_INPUT];
/* BRW_NEW_REDUCED_PRIMITIVE */