mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
pan: add sigil to SSA values for debug printing
Make it easier to distinguish between SSA values and constant values 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
a24364e418
commit
5e2c951ba6
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ bi_print_index(FILE *fp, bi_index index, unsigned nr_regs)
|
|||
fprintf(fp, "%s%u", index.memory ? "m" : "r", index.value + i);
|
||||
}
|
||||
} else if (index.type == BI_INDEX_NORMAL)
|
||||
fprintf(fp, "%s%u", index.memory ? "m" : "", index.value);
|
||||
fprintf(fp, "%%%s%u", index.memory ? "m" : "", index.value);
|
||||
else
|
||||
UNREACHABLE("Invalid index");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue