[Mesa-dev] [PATCH 11/20] pan/midgard: Print predecessors in MIR
Alyssa Rosenzweig
alyssa.rosenzweig at collabora.com
Fri Aug 16 15:35:51 UTC 2019
Just as a sanity check.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
---
src/panfrost/midgard/midgard_print.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 240780a1f7d..1f8bd12680e 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -178,6 +178,11 @@ mir_print_block(midgard_block *block)
}
}
+ printf(" from { ");
+ mir_foreach_predecessor(block, pred)
+ printf("block%d ", pred->source_id);
+ printf("}");
+
printf("\n\n");
}
--
2.23.0.rc1
More information about the mesa-dev
mailing list