radeonsi/nir: 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:
@@ -839,7 +839,6 @@ si_lower_nir(struct si_shader_selector* sel)
|
||||
* - ensure constant offsets for texture instructions are folded
|
||||
* and copy-propagated
|
||||
*/
|
||||
NIR_PASS_V(sel->nir, nir_lower_returns);
|
||||
NIR_PASS_V(sel->nir, nir_lower_vars_to_ssa);
|
||||
NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar);
|
||||
NIR_PASS_V(sel->nir, nir_lower_phis_to_scalar);
|
||||
|
||||
Reference in New Issue
Block a user