mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
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:
parent
7c9e945460
commit
1646e7d311
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue