From 64aee8fe9f28646ceb5b9b62db5766365d6da5c7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Sep 2015 11:21:07 -0400 Subject: [PATCH] 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 b632370cbb2..c401415fda7 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); } -- 2.30.2