From 745dc66b69a3f9096d554ff0984a3cfc048c07f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Mon, 13 Apr 2026 08:42:25 +0300 Subject: [PATCH] anv: fix Wa_14024015672 interaction in blorp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was causing issue within hiz clears, apply workaround only when doing RT writes (not for WM_HZ ops). Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/14533 Fixes: 7be8af1dada5 ("anv: deal with Wa 14024015672 on the blorp path") Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/genX_blorp_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c index 6b959cf9f7d..f6f212479f5 100644 --- a/src/intel/vulkan/genX_blorp_exec.c +++ b/src/intel/vulkan/genX_blorp_exec.c @@ -309,10 +309,10 @@ blorp_exec_on_render(struct blorp_batch *batch, * key. */ #if INTEL_WA_14024015672_GFX_VER - genX(cmd_buffer_rhwo_wa_14024015672)(cmd_buffer, params->num_samples > 1); + if (blorp_uses_bti_rt_writes(batch, params)) + genX(cmd_buffer_rhwo_wa_14024015672)(cmd_buffer, params->num_samples > 1); #endif - #if GFX_VER >= 11 /* The PIPE_CONTROL command description says: *