i965: Trigger CS state reemission when new sampler state is uploaded.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 16 Jan 2016 23:05:51 +0000 (15:05 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 20 Jan 2016 00:11:04 +0000 (16:11 -0800)
commit9e4c8acd7814186673c4945c7045124ebbcd125f
tree234e59573f6524d088c9cd391889051e90db0cc4
parent4fc018576b577ed9ab3b713ba21727479a0e8b23
i965: Trigger CS state reemission when new sampler state is uploaded.

This reuses the NEW_SAMPLER_STATE_TABLE state bit (currently only used
on pre-Gen7 hardware) to signal that the sampler state tables have
changed in order to make sure that the GPGPU interface descriptor is
updated.

Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/gen7_cs_state.c