mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
003d2da2dc
commit
60aad6ef07
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue