vkd3d-shader/hlsl: Handle uppercase regset names in register().

This commit is contained in:
Nikolay Sivov
2023-04-16 19:38:58 +02:00
committed by Alexandre Julliard
parent d8ef0c69a8
commit 0cea4d352e
Notes: Alexandre Julliard 2023-04-19 22:11:12 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/162
3 changed files with 34 additions and 3 deletions

View File

@@ -1014,7 +1014,7 @@ static struct hlsl_reg_reservation parse_reg_reservation(const char *reg_string)
FIXME("Unsupported register reservation syntax.\n");
return reservation;
}
reservation.reg_type = reg_string[0];
reservation.reg_type = ascii_tolower(reg_string[0]);
return reservation;
}