mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
965: populate fp_input_count in setup key
This commit is contained in:
parent
93d90c6b57
commit
9791c16b31
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue