mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
iris: emit 3DSTATE_HS for each primitive on gfx12
This is Wa_16011107343, same workaround as commit a043ae8e24
but for gfx12.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21551>
This commit is contained in:
parent
4b3a22fcd4
commit
df9f71d795
1 changed files with 3 additions and 1 deletions
|
|
@ -7127,9 +7127,11 @@ iris_upload_render_state(struct iris_context *ice,
|
|||
}
|
||||
|
||||
/* Wa_1306463417 - Send HS state for every primitive on gfx11.
|
||||
* Wa_16011107343 (same for gfx12)
|
||||
* We implement this by setting TCS dirty on each draw.
|
||||
*/
|
||||
if (GFX_VER == 11 && ice->shaders.prog[MESA_SHADER_TESS_CTRL]) {
|
||||
if ((GFX_VER == 11 || GFX_VER == 12) &&
|
||||
ice->shaders.prog[MESA_SHADER_TESS_CTRL]) {
|
||||
ice->state.stage_dirty |= IRIS_STAGE_DIRTY_TCS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue