vkd3d-shader: Rename the "regnum" field of struct hlsl_reg_reservation to "index".

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-06-21 23:37:07 -05:00 committed by Alexandre Julliard
parent 06551db10a
commit e81989492c
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ struct hlsl_src
struct hlsl_reg_reservation
{
char type;
DWORD regnum;
unsigned int index;
};
struct hlsl_ir_var

View File

@ -784,7 +784,7 @@ static struct hlsl_reg_reservation parse_reg_reservation(const char *reg_string)
{
struct hlsl_reg_reservation reservation = {0};
if (!sscanf(reg_string + 1, "%u", &reservation.regnum))
if (!sscanf(reg_string + 1, "%u", &reservation.index))
{
FIXME("Unsupported register reservation syntax.\n");
return reservation;