diff options
author | Brian <[email protected]> | 2008-02-27 16:22:08 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-27 16:22:08 -0700 |
commit | dacf91fe587a777eed95b9767bc6b4ccdc7de71c (patch) | |
tree | 2b682736de8eeb3074e6b38282cd4cda1626d5ed /src/gallium/drivers/i965simple/brw_sf.c | |
parent | f504d87240542016213569b5da89e251adebc31d (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_sf.c')
-rw-r--r-- | src/gallium/drivers/i965simple/brw_sf.c | 2 |
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 54ce5ed9f16..c3b815a82be 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->info2.nr_regs[TGSI_FILE_INPUT]; + key.fp_input_count = brw->attribs.FragmentProgram->info.file_max[TGSI_FILE_INPUT] + 1; /* BRW_NEW_REDUCED_PRIMITIVE */ |