From: Eric Anholt Date: Mon, 14 Sep 2015 15:21:07 +0000 (-0400) Subject: vc4: Fix build from recent NIR cleanups. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64aee8fe9f28646ceb5b9b62db5766365d6da5c7;p=mesa.git vc4: Fix build from recent NIR cleanups. --- 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); }