mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 03:40:34 +01:00
ntv: run nir_cleanup_functions() in ntv_shader_prepare()
this is better than leaving the inlined functions sitting around Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40102>
This commit is contained in:
parent
102fa924c2
commit
6ed178ecd6
1 changed files with 1 additions and 0 deletions
|
|
@ -5647,6 +5647,7 @@ ntv_shader_prepare(nir_shader *nir)
|
|||
NIR_PASS(_, nir, nir_split_per_member_structs);
|
||||
NIR_PASS(_, nir, nir_lower_returns);
|
||||
NIR_PASS(_, nir, nir_inline_functions);
|
||||
nir_cleanup_functions(nir);
|
||||
optimize_nir(nir);
|
||||
/* required until phi support is complete */
|
||||
NIR_PASS(_, nir, nir_convert_from_ssa, true, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue