i965/icl: Fix WA_1606682166
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 26 Jun 2019 20:18:38 +0000 (13:18 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 28 Jun 2019 21:02:13 +0000 (14:02 -0700)
commitdb093d028c6383d8905620da1eef244db0b3b1ce
tree5b3ff8966260457250b80f621c6bec29bef78a22
parent9753d7381c217ab989fd4589d43c30463394669f
i965/icl: Fix WA_1606682166

An earlier change was setting the SamplerCount = 0 for Gen 11
under #if GEN_GEN < 7. This commit fixes the problem.

This WA has also been added to the linux kernel.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/genX_state_upload.c