anv: flag 3DSTATE_RASTER as dirty after simple shader primitive
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 9 Oct 2023 14:20:12 +0000 (17:20 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 9 Oct 2023 16:09:48 +0000 (16:09 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9899
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25618>

src/intel/vulkan/genX_simple_shader.c

index f045903..ee87eb6 100644 (file)
@@ -311,6 +311,7 @@ genX(emit_simpler_shader_init_fragment)(struct anv_simple_shader *state)
 #endif
    BITSET_SET(hw_state->dirty, ANV_GFX_STATE_STREAMOUT);
    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);
    BITSET_SET(hw_state->dirty, ANV_GFX_STATE_MULTISAMPLE);
    BITSET_SET(hw_state->dirty, ANV_GFX_STATE_DEPTH_BOUNDS);