mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 10:08:05 +02:00
pan/bi: Teach bi_print_instr about memory vars
Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39305>
This commit is contained in:
parent
4fba6b984f
commit
4bbd314580
1 changed files with 2 additions and 2 deletions
|
|
@ -85,9 +85,9 @@ bi_print_index(FILE *fp, bi_index index)
|
|||
else if (index.type == BI_INDEX_PASS)
|
||||
fprintf(fp, "%s", bir_passthrough_name(index.value));
|
||||
else if (index.type == BI_INDEX_REGISTER)
|
||||
fprintf(fp, "r%u", index.value);
|
||||
fprintf(fp, "%s%u", index.memory ? "m" : "r", index.value);
|
||||
else if (index.type == BI_INDEX_NORMAL)
|
||||
fprintf(fp, "%u", index.value);
|
||||
fprintf(fp, "%s%u", index.memory ? "m" : "", index.value);
|
||||
else
|
||||
UNREACHABLE("Invalid index");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue