965: populate fp_input_count in setup key

This commit is contained in:
Keith Whitwell 2007-12-19 10:20:14 +00:00
parent 93d90c6b57
commit 9791c16b31

View file

@ -128,6 +128,10 @@ static void upload_sf_prog( struct brw_context *brw )
/* CACHE_NEW_VS_PROG */
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];
/* BRW_NEW_REDUCED_PRIMITIVE */
switch (brw->reduced_primitive) {
case PIPE_PRIM_TRIANGLES: