aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-05-11 12:56:43 -0400
committerMarge Bot <[email protected]>2020-05-21 17:49:14 +0000
commit68d2a889b7a238b187cdf48afa2ed78874d3f23d (patch)
tree55f9238d6cc073c34af07b5fa39f6c2f53f8c480 /src
parent553c2cf16b7612d4a70bd96230dad63777ec867e (diff)
pan/mdg: Print mask when dest=0
Forgot this convention differs from Bifrost. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/midgard/midgard_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index c74b75bcd2f..b2cc8e27aa4 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -348,7 +348,7 @@ mir_print_instruction(midgard_instruction *ins)
printf(" ");
mir_print_index(ins->dest);
- if (ins->dest) {
+ if (ins->dest != ~0) {
pan_print_alu_type(ins->dest_type, stdout);
mir_print_mask(ins->mask);
}