From: Icecream95 Date: Sat, 6 Jun 2020 03:36:22 +0000 (+1200) Subject: pan/mdg: Print writeout sources in mir_print_instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deaef1df158cac797ae91a91d1986547e63566bb;p=mesa.git pan/mdg: Print writeout sources in mir_print_instruction Reviewed-by: Alyssa Rosenzweig Part-of: --- 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 ?