From deaef1df158cac797ae91a91d1986547e63566bb Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Sat, 6 Jun 2020 15:36:22 +1200 Subject: [PATCH] pan/mdg: Print writeout sources in mir_print_instruction Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/midgard_print.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c index 64dceda3d5e..1c424f03091 100644 --- a/src/panfrost/midgard/midgard_print.c +++ b/src/panfrost/midgard/midgard_print.c @@ -307,6 +307,16 @@ mir_print_instruction(midgard_instruction *ins) else printf("true"); + if (ins->writeout) { + printf(" (c: "); + PRINT_SRC(ins, 0); + printf(", z: "); + PRINT_SRC(ins, 2); + printf(", s: "); + PRINT_SRC(ins, 3); + printf(")"); + } + if (ins->branch.target_type != TARGET_DISCARD) printf(" %s -> block(%d)\n", ins->branch.target_type < 4 ? -- 2.30.2