freedreno/ir3/print: Show end's outidxs

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13605>
This commit is contained in:
Rob Clark
2021-10-30 12:29:01 -07:00
committed by Marge Bot
parent 6239adebbc
commit f6f760a98d
+3 -1
View File
@@ -331,10 +331,12 @@ print_instr(struct log_stream *stream, struct ir3_instruction *instr, int lvl)
print_reg_name(stream, instr, reg, true);
first = false;
}
foreach_src (reg, instr) {
foreach_src_n (reg, n, instr) {
if (!first)
mesa_log_stream_printf(stream, ", ");
print_reg_name(stream, instr, reg, false);
if (instr->opc == OPC_END || instr->opc == OPC_CHMASK)
mesa_log_stream_printf(stream, " (%u)", instr->end.outidxs[n]);
first = false;
}
}