Commit 951a7f23 authored by Jason Ekstrand's avatar Jason Ekstrand
Browse files

i965/nir: Move the other lowering passes to before out-of-SSA


Reviewed-by: default avatarConnor Abbott <cwabbott0@gmail.com>
parent 5c16be1c
......@@ -69,6 +69,12 @@ fs_visitor::emit_nir_code()
nir_remove_dead_variables(nir);
nir_validate_shader(nir);
nir_lower_samplers(nir, shader_prog, shader->base.Program);
nir_validate_shader(nir);
nir_lower_system_values(nir);
nir_validate_shader(nir);
nir_lower_atomics(nir);
nir_validate_shader(nir);
......@@ -81,12 +87,6 @@ fs_visitor::emit_nir_code()
nir_lower_vec_to_movs(nir);
nir_validate_shader(nir);
nir_lower_samplers(nir, shader_prog, shader->base.Program);
nir_validate_shader(nir);
nir_lower_system_values(nir);
nir_validate_shader(nir);
/* emit the arrays used for inputs and outputs - load/store intrinsics will
* be converted to reads/writes of these arrays
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment