From 77f3279c3779af2df41f1a0b5b7953d752a17f3a Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 11 Feb 2026 11:42:49 +0200 Subject: [PATCH] anv: dirty descriptors after blorp operations Blorp emits 3DSTATE_BINDING_TABLE_POINTER_* instructions in 3D mode. At the moment we're saved by the push constants reemitting the btp but we'll drop that in the next commit. Signed-off-by: Lionel Landwerlin Cc: mesa-stable Reviewed-by: Alyssa Rosenzweig (cherry picked from commit 533c748b34445a07a8e5b49d5a2c40ffca79c147) Part-of: --- .pick_status.json | 2 +- src/intel/vulkan/genX_blorp_exec.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 26141c514d7..9afa0abc069 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -204,7 +204,7 @@ "description": "anv: dirty descriptors after blorp operations", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c index d11c519554f..a77b95c89d2 100644 --- a/src/intel/vulkan/genX_blorp_exec.c +++ b/src/intel/vulkan/genX_blorp_exec.c @@ -437,6 +437,8 @@ blorp_exec_on_render(struct blorp_batch *batch, cmd_buffer->state.gfx.vb_dirty = ~0; cmd_buffer->state.gfx.dirty |= dirty; + if (blorp_uses_bti_rt_writes(batch, params)) + cmd_buffer->state.descriptors_dirty |= VK_SHADER_STAGE_ALL_GRAPHICS; cmd_buffer->state.push_constants_dirty |= VK_SHADER_STAGE_ALL_GRAPHICS; }