mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965: stop calling nir_lower_returns()
We now call this for all drivers in glsl_to_nir() instead. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
7e60d5a501
commit
673f4f69a8
1 changed files with 1 additions and 3 deletions
|
|
@ -98,9 +98,7 @@ brw_create_nir(struct brw_context *brw,
|
|||
assert (nir);
|
||||
|
||||
nir_remove_dead_variables(nir, nir_var_shader_in | nir_var_shader_out);
|
||||
nir_lower_returns(nir);
|
||||
nir_validate_shader(nir, "after glsl_to_nir or spirv_to_nir and "
|
||||
"return lowering");
|
||||
nir_validate_shader(nir, "after glsl_to_nir or spirv_to_nir");
|
||||
NIR_PASS_V(nir, nir_lower_io_to_temporaries,
|
||||
nir_shader_get_entrypoint(nir), true, false);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue