anv: pull Wa_14016118574 out of some loop not changing state

The WA is meant to be here to apply some state that is not propagated
properly inside the HW. But if you have a loop like :

for ( ... ) {
  emit(3DPRIMITIVE, some param);

You're not really changing any state, just push more draws into the

Signed-off-by: Lionel Landwerlin <>
Fixes: f2645229c2 ("anv: implement Wa_14016118574")
Reviewed-by: Tapani Pälli <>
Part-of: <>
(cherry picked from commit 6ee7a2ecfa11ba77af79583b529696de643af165)
2 files changed