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 <lionel.g.landwerlin@intel.com>
Fixes: d39e443ef8 ("anv: add infrastructure for common vk_pipeline")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37269>
This commit is contained in:
Lionel Landwerlin 2025-09-10 09:50:19 +03:00 committed by Marge Bot
parent 7c9e945460
commit 1646e7d311

View file

@ -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));
}