diff options
author | Icecream95 <[email protected]> | 2020-06-06 15:36:22 +1200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-10 13:54:03 +0000 |
commit | deaef1df158cac797ae91a91d1986547e63566bb (patch) | |
tree | 10547c362b510c473c26e433033ea7cdbfd33825 | |
parent | d37e901e35a9db2fc5f10558e44fbf8376a174f5 (diff) |
pan/mdg: Print writeout sources in mir_print_instruction
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>
-rw-r--r-- | src/panfrost/midgard/midgard_print.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 ? |