spirv2dxil: Lower the Vulkan memory model and coherent loads/stores

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27348>
This commit is contained in:
Jesse Natalie 2024-01-29 14:37:55 -08:00 committed by Marge Bot
parent 003d2da2dc
commit 60aad6ef07

View file

@ -1079,6 +1079,9 @@ dxil_spirv_nir_passes(nir_shader *nir,
NIR_PASS_V(nir, nir_opt_deref);
NIR_PASS_V(nir, nir_lower_memory_model);
NIR_PASS_V(nir, dxil_nir_lower_coherent_loads_and_stores);
if (conf->inferred_read_only_images_as_srvs) {
const nir_opt_access_options opt_access_options = {
.is_vulkan = true,