anv: fix CC_VIEWPORT pointer dirty after blorp/simple-shaders

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26247>
(cherry picked from commit 1257d08bcb)
This commit is contained in:
Lionel Landwerlin
2023-11-09 13:51:38 +02:00
committed by Eric Engestrom
parent c972359d41
commit 5f12ed0774
3 changed files with 3 additions and 1 deletions

View File

@@ -784,7 +784,7 @@
"description": "anv: fix CC_VIEWPORT pointer dirty after blorp/simple-shaders",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "50f6903bd9c472eef2af2cbf62027df3bbe0ca8a",
"notes": null

View File

@@ -358,6 +358,7 @@ blorp_exec_on_render(struct blorp_batch *batch,
#if GFX_VER >= 12
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_PRIMITIVE_REPLICATION);
#endif
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_STREAMOUT);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_RASTER);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_CLIP);

View File

@@ -310,6 +310,7 @@ genX(emit_simpler_shader_init_fragment)(struct anv_simple_shader *state)
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_PRIMITIVE_REPLICATION);
#endif
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_STREAMOUT);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_CLIP);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_RASTER);
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_SAMPLE_MASK);