Mesa (master): vc4: Fix build from recent NIR cleanups.

Eric Anholt anholt at kemper.freedesktop.org
Mon Sep 14 15:22:23 UTC 2015


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

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Sep 14 11:21:07 2015 -0400

vc4: Fix build from recent NIR cleanups.

---

 src/gallium/drivers/vc4/vc4_nir_lower_io.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_io.c b/src/gallium/drivers/vc4/vc4_nir_lower_io.c
index b632370..c401415 100644
--- a/src/gallium/drivers/vc4/vc4_nir_lower_io.c
+++ b/src/gallium/drivers/vc4/vc4_nir_lower_io.c
@@ -47,8 +47,7 @@ replace_intrinsic_with_vec4(nir_builder *b, nir_intrinsic_instr *intr,
         /* Replace the old intrinsic with a reference to our reconstructed
          * vec4.
          */
-        nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(vec),
-                                 ralloc_parent(b->impl));
+        nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(vec));
         nir_instr_remove(&intr->instr);
 }
 




More information about the mesa-commit mailing list