mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
iris: implement emission of 3DSTATE_HS for Wa_1306463417
We need to emit 3DSTATE_HS for each primitive with tessellation. 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/21308>
This commit is contained in:
parent
e4ebb541c5
commit
a043ae8e24
1 changed files with 7 additions and 0 deletions
|
|
@ -7126,6 +7126,13 @@ iris_upload_render_state(struct iris_context *ice,
|
|||
batch->contains_draw_with_next_seqno = true;
|
||||
}
|
||||
|
||||
/* Wa_1306463417 - Send HS state for every primitive on gfx11.
|
||||
* We implement this by setting TCS dirty on each draw.
|
||||
*/
|
||||
if (GFX_VER == 11 && ice->shaders.prog[MESA_SHADER_TESS_CTRL]) {
|
||||
ice->state.stage_dirty |= IRIS_STAGE_DIRTY_TCS;
|
||||
}
|
||||
|
||||
iris_upload_dirty_render_state(ice, batch, draw);
|
||||
|
||||
if (draw->index_size > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue