From 096acf8c0c4d0815dcf05394a167b252d34b9db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Thu, 29 Aug 2024 10:55:59 +0300 Subject: [PATCH] anv: change existing ICL workaround to depend on BLEND_STATE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit f900b763b1a we started to dirty MS as WM changes. However later on things changed with eebb6cd236e, we need to dirty with BLEND_STATE now. Fixes: eebb6cd236e ("anv: stop using 3DSTATE_WM::ForceThreadDispatchEnable") Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/genX_gfx_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_gfx_state.c b/src/intel/vulkan/genX_gfx_state.c index 4045d7f42cc..4c18916751c 100644 --- a/src/intel/vulkan/genX_gfx_state.c +++ b/src/intel/vulkan/genX_gfx_state.c @@ -2338,7 +2338,7 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer) * https://gitlab.freedesktop.org/mesa/mesa/-/issues/9781 */ #if GFX_VER == 11 - if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_WM)) + if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_BLEND_STATE)) BITSET_SET(hw_state->dirty, ANV_GFX_STATE_MULTISAMPLE); #endif