From: Alyssa Rosenzweig Date: Fri, 27 Sep 2019 12:20:17 +0000 (-0400) Subject: pan/midgard: Squeeze indices before scheduling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ecfcbf46225bfb14f92a515ca2140ad2cbc4646;p=mesa.git pan/midgard: Squeeze indices before scheduling This allows node_count to be correct while scheduling. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index b8d9b5ec9be..2ed25da2e0d 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -983,6 +983,7 @@ schedule_program(compiler_context *ctx) /* Must be lowered right before RA */ mir_squeeze_index(ctx); mir_lower_special_reads(ctx); + mir_squeeze_index(ctx); /* Lowering can introduce some dead moves */