mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
anv: Use nir_lower_memory_model
This replaces NIR_MEMORY_MAKE_{AVALIABLE,VISIBLE} with COHERENT.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40833>
This commit is contained in:
parent
0c0fea1cdb
commit
b391f2d888
1 changed files with 2 additions and 0 deletions
|
|
@ -1447,6 +1447,8 @@ anv_shader_lower_nir(struct anv_device *device,
|
|||
|
||||
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_memory_model);
|
||||
|
||||
/* Apply lowering for 64bit atomics pre-Xe2 */
|
||||
const bool lower_64bit_atomics = devinfo->ver < 20;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue