From dfda890ae839d8f2dc2b48ab7ca7a0aeaa763f7d Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Wed, 11 Feb 2026 11:52:11 +0000 Subject: [PATCH] aco: reset all vgpr_used_by_vmem_ in resolve_all_gfx11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Backport-to: 26.0 Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_insert_NOPs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/compiler/aco_insert_NOPs.cpp b/src/amd/compiler/aco_insert_NOPs.cpp index b920c80cd59..bb479d121f3 100644 --- a/src/amd/compiler/aco_insert_NOPs.cpp +++ b/src/amd/compiler/aco_insert_NOPs.cpp @@ -1871,6 +1871,8 @@ resolve_all_gfx11(State& state, NOP_ctx_gfx11& ctx, ctx.vgpr_used_by_vmem_bvh.any()) { waitcnt_depctr &= 0xffe3; ctx.vgpr_used_by_vmem_load.reset(); + ctx.vgpr_used_by_vmem_sample.reset(); + ctx.vgpr_used_by_vmem_bvh.reset(); ctx.vgpr_used_by_vmem_store.reset(); ctx.vgpr_used_by_ds.reset(); }