mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
06551db10a
commit
e81989492c
@ -213,7 +213,7 @@ struct hlsl_src
|
|||||||
struct hlsl_reg_reservation
|
struct hlsl_reg_reservation
|
||||||
{
|
{
|
||||||
char type;
|
char type;
|
||||||
DWORD regnum;
|
unsigned int index;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hlsl_ir_var
|
struct hlsl_ir_var
|
||||||
|
@ -784,7 +784,7 @@ static struct hlsl_reg_reservation parse_reg_reservation(const char *reg_string)
|
|||||||
{
|
{
|
||||||
struct hlsl_reg_reservation reservation = {0};
|
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");
|
FIXME("Unsupported register reservation syntax.\n");
|
||||||
return reservation;
|
return reservation;
|
||||||
|
Loading…
Reference in New Issue
Block a user