microsoft/spirv_to_dxil: Treat read-only storage images as SRVs

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10356>
This commit is contained in:
Jesse Natalie
2021-04-20 08:24:33 -07:00
committed by Marge Bot
parent 05d90ed9da
commit 7e905bd00f
@@ -108,6 +108,7 @@ spirv_to_dxil(const uint32_t *words, size_t word_count,
} while (progress);
}
NIR_PASS_V(nir, nir_lower_readonly_images_to_tex, true);
NIR_PASS_V(nir, dxil_nir_split_clip_cull_distance);
NIR_PASS_V(nir, dxil_nir_lower_loads_stores_to_dxil);