From 1646e7d3116cd138d36f888d3a8e98817ecdfc0f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 10 Sep 2025 09:50:19 +0300 Subject: [PATCH] anv: run nir_opt_acquire_release_barriers In the middle of writing all this new shader object compile code, this pass got added and I missed adding it to the shader object path. Signed-off-by: Lionel Landwerlin Fixes: d39e443ef8 ("anv: add infrastructure for common vk_pipeline") Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/vulkan/anv_shader_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_shader_compile.c b/src/intel/vulkan/anv_shader_compile.c index dd62ca2e8dc..b4c44b13055 100644 --- a/src/intel/vulkan/anv_shader_compile.c +++ b/src/intel/vulkan/anv_shader_compile.c @@ -157,6 +157,7 @@ anv_shader_preprocess_nir(struct vk_physical_device *device, brw_preprocess_nir(compiler, nir, &opts); NIR_PASS(_, nir, nir_opt_barrier_modes); + NIR_PASS(_, nir, nir_opt_acquire_release_barriers, SCOPE_QUEUE_FAMILY); nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir)); }