mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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>
This commit is contained in:
parent
9753d7381c
commit
db093d028c
1 changed files with 1 additions and 2 deletions
|
|
@ -1943,8 +1943,7 @@ genX(upload_wm)(struct brw_context *brw)
|
||||||
if (wm_prog_data->base.use_alt_mode)
|
if (wm_prog_data->base.use_alt_mode)
|
||||||
wm.FloatingPointMode = FLOATING_POINT_MODE_Alternate;
|
wm.FloatingPointMode = FLOATING_POINT_MODE_Alternate;
|
||||||
|
|
||||||
/* WA_1606682166 */
|
wm.SamplerCount = GEN_GEN == 5 ?
|
||||||
wm.SamplerCount = (GEN_GEN == 5 || GEN_GEN == 11) ?
|
|
||||||
0 : DIV_ROUND_UP(stage_state->sampler_count, 4);
|
0 : DIV_ROUND_UP(stage_state->sampler_count, 4);
|
||||||
|
|
||||||
wm.BindingTableEntryCount =
|
wm.BindingTableEntryCount =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue