mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
i965/nir: Optimize after nir_lower_var_copies().
Array variable copy splitting generates a bunch of stuff we want to clean up before proceeding. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
1d8ef6ba60
commit
1f0067811c
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,9 @@ fs_visitor::emit_nir_code()
|
|||
nir_lower_var_copies(nir);
|
||||
nir_validate_shader(nir);
|
||||
|
||||
/* Get rid of split copies */
|
||||
nir_optimize(nir);
|
||||
|
||||
nir_lower_io(nir);
|
||||
nir_validate_shader(nir);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue