mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 16:00:41 +02:00
clover/nir: Call the memcpy lowering pass
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6713>
This commit is contained in:
parent
8323c03bbf
commit
bf80fb7c30
1 changed files with 2 additions and 0 deletions
|
|
@ -314,6 +314,8 @@ module clover::nir::spirv_to_nir(const module &mod, const device &dev,
|
|||
nir_var_mem_global | nir_var_function_temp,
|
||||
glsl_get_cl_type_size_align);
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_memcpy);
|
||||
|
||||
/* use offsets for kernel inputs (uniform) */
|
||||
NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_uniform,
|
||||
nir->info.cs.ptr_size == 64 ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue