[Mesa-dev] [PATCH 09/10] i965: stop calling nir_lower_returns()
Timothy Arceri
tarceri at itsqueeze.com
Tue Apr 10 04:34:34 UTC 2018
We now call this for all drivers in glsl_to_nir() instead.
---
src/mesa/drivers/dri/i965/brw_program.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
index fc77926d6e0..8c3ac70280f 100644
--- a/src/mesa/drivers/dri/i965/brw_program.c
+++ b/src/mesa/drivers/dri/i965/brw_program.c
@@ -84,7 +84,6 @@ 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);
NIR_PASS_V(nir, nir_lower_io_to_temporaries,
nir_shader_get_entrypoint(nir), true, false);
--
2.17.0
More information about the mesa-dev
mailing list