vkd3d-shader: Allocate constant registers for anonymous constants.

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-04-08 23:38:26 -05:00
committed by Alexandre Julliard
parent 60ece9cd62
commit 21b4052247
2 changed files with 52 additions and 0 deletions

View File

@@ -380,6 +380,7 @@ struct hlsl_ir_constant
double d[4];
bool b[4];
} value;
struct hlsl_reg reg;
};
struct hlsl_scope