mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
pan/mdg: Assert on bad 64-bit swizzle in disassembly
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
parent
97a85c1071
commit
954623856c
1 changed files with 3 additions and 1 deletions
|
|
@ -592,8 +592,10 @@ print_mask(FILE *fp, uint8_t mask, unsigned bits, midgard_dest_override override
|
|||
if (a) {
|
||||
char c = alphabet[i / skip];
|
||||
|
||||
if (uppercase)
|
||||
if (uppercase) {
|
||||
c = toupper(c);
|
||||
assert(c == 'X' || c == 'Y');
|
||||
}
|
||||
|
||||
fprintf(fp, "%c", c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue