Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes:
df9f71d79574 ("iris: emit 3DSTATE_HS for each primitive on gfx12")
Acked-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21605>
* Wa_16011107343 (same for gfx12)
* We implement this by setting TCS dirty on each draw.
*/
- if ((GFX_VER == 11 || GFX_VER == 12) &&
+ if ((GFX_VER == 11 || GFX_VERx10 == 120) &&
ice->shaders.prog[MESA_SHADER_TESS_CTRL]) {
ice->state.stage_dirty |= IRIS_STAGE_DIRTY_TCS;
}