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:
Jason Ekstrand 2020-09-14 15:56:48 -05:00 committed by Marge Bot
parent 8323c03bbf
commit bf80fb7c30

View file

@ -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 ?