mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nvk: Call nir_opt_access
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33276>
This commit is contained in:
parent
66775c89fc
commit
f7e524026f
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue