summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 347c35e3f36..a6152607233 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -90,13 +90,16 @@ mir_print_instruction(midgard_instruction *ins)
printf(" %d, ", args->dest);
- mir_print_source(args->src0);
+ mir_print_source(args->src[0]);
printf(", ");
if (args->inline_constant)
printf("#%d", ins->inline_constant);
else
- mir_print_source(args->src1);
+ mir_print_source(args->src[1]);
+
+ printf(", ");
+ mir_print_source(args->src[2]);
if (ins->has_constants)
printf(" <%f, %f, %f, %f>", ins->constants[0], ins->constants[1], ins->constants[2], ins->constants[3]);