pan/bi: Print multiple destinations if needed
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
This commit is contained in:
committed by
Marge Bot
parent
a7cc458dc4
commit
60c0df2c3b
@@ -152,7 +152,13 @@ bi_${mod}_as_str(enum bi_${mod} ${mod})
|
||||
void
|
||||
bi_print_instr(bi_instr *I, FILE *fp)
|
||||
{
|
||||
bi_print_index(fp, I->dest[0]);
|
||||
bi_foreach_dest(I, d) {
|
||||
if (bi_is_null(I->dest[d])) break;
|
||||
if (d > 0) fprintf(fp, ", ");
|
||||
|
||||
bi_print_index(fp, I->dest[d]);
|
||||
}
|
||||
|
||||
fprintf(fp, " = %s", bi_opcode_props[I->op].name);
|
||||
|
||||
switch (I->op) {
|
||||
|
||||
Reference in New Issue
Block a user