rusticl/kernel: optimize nir between lowering io and explicit types
This is required to get rid of unneeded memory operations, like direct
scratch stores/loads to the same location.
Fixes: 66c6061491 ("rusticl/kernel: get rid of initial function_temp type lowering")
Signed-off-by: Karol Herbst <git@karolherbst.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24734>
This commit is contained in:
@@ -620,6 +620,8 @@ fn lower_and_optimize_nir(
|
||||
Some(glsl_get_cl_type_size_align),
|
||||
);
|
||||
|
||||
opt_nir(nir, dev);
|
||||
|
||||
nir_pass!(
|
||||
nir,
|
||||
nir_lower_explicit_io,
|
||||
|
||||
Reference in New Issue
Block a user