mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-12 03:08:19 +02:00
pan/bi: Print blend descriptor source properly
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7206>
This commit is contained in:
parent
74c158011d
commit
e2d6156742
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ bi_print_index(FILE *fp, bi_instruction *ins, unsigned index, unsigned s)
|
|||
fprintf(fp, "#0x%" PRIx64, bi_get_immediate(ins, s));
|
||||
else if (index & BIR_INDEX_ZERO)
|
||||
fprintf(fp, "#0");
|
||||
else if (index & BIR_INDEX_BLEND)
|
||||
fprintf(fp, "blend_descriptor_%u.%c", ins->blend_location,
|
||||
(index & ~BIR_INDEX_BLEND) == BIFROST_SRC_FAU_HI ? 'y' : 'x');
|
||||
else
|
||||
fprintf(fp, "#err");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue