Mesa (master): radeonsi/nir: stop calling nir_lower_returns()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 7 00:33:44 UTC 2019


Module: Mesa
Branch: master
Commit: e2fd96a563bbb63d8e3c1f874c65c1350fb19a0d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2fd96a563bbb63d8e3c1f874c65c1350fb19a0d

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Feb 21 12:15:18 2019 +1100

radeonsi/nir: stop calling nir_lower_returns()

We now call this for all drivers in glsl_to_nir() instead.

Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/gallium/drivers/radeonsi/si_shader_nir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c
index 5e29c8f4ccd..0ead9348a56 100644
--- a/src/gallium/drivers/radeonsi/si_shader_nir.c
+++ b/src/gallium/drivers/radeonsi/si_shader_nir.c
@@ -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);




More information about the mesa-commit mailing list