mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 03:40:23 +01:00
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:
parent
91029b7e87
commit
cc2f59d840
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue