mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
pan: move discard/kill_ssa flag after index for debug prints
Match the style of the disassembler when debug printing BIR. Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40711>
This commit is contained in:
parent
c3d56e9f82
commit
a24364e418
1 changed files with 3 additions and 5 deletions
|
|
@ -68,11 +68,6 @@ bir_passthrough_name(unsigned idx)
|
|||
static void
|
||||
bi_print_index(FILE *fp, bi_index index, unsigned nr_regs)
|
||||
{
|
||||
if (index.discard)
|
||||
fputs("^", fp);
|
||||
if (index.kill_ssa)
|
||||
fputs("!", fp);
|
||||
|
||||
if (bi_is_null(index))
|
||||
fprintf(fp, "_");
|
||||
else if (index.type == BI_INDEX_CONSTANT)
|
||||
|
|
@ -95,6 +90,9 @@ bi_print_index(FILE *fp, bi_index index, unsigned nr_regs)
|
|||
else
|
||||
UNREACHABLE("Invalid index");
|
||||
|
||||
if (index.discard || index.kill_ssa)
|
||||
fputs("^", fp);
|
||||
|
||||
if (index.offset)
|
||||
fprintf(fp, "[%u]", index.offset);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue