nvk: Call nir_opt_access

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33276>
This commit is contained in:
Faith Ekstrand 2025-01-28 14:35:22 -06:00 committed by Marge Bot
parent 66775c89fc
commit f7e524026f

View file

@ -482,6 +482,10 @@ nvk_lower_nir(struct nvk_device *dev, nir_shader *nir,
};
}
nir_opt_access_options opt_access_options = {
.is_vulkan = true,
};
NIR_PASS(_, nir, nir_opt_access, &opt_access_options);
NIR_PASS(_, nir, nvk_nir_lower_descriptors, pdev, shader_flags, rs,
set_layout_count, set_layouts, cbuf_map);
NIR_PASS(_, nir, nir_lower_explicit_io, nir_var_mem_global,