vkd3d-shader: Write SM1 constant definitions.

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-27 12:14:17 -05:00
committed by Alexandre Julliard
parent d0ab65c7a1
commit 16e549e579
3 changed files with 162 additions and 11 deletions

View File

@@ -407,6 +407,11 @@ struct hlsl_profile_info
bool software;
};
struct hlsl_vec4
{
float f[4];
};
struct hlsl_ctx
{
const struct hlsl_profile_info *profile;
@@ -440,6 +445,12 @@ struct hlsl_ctx
} builtin_types;
struct list static_initializers;
struct hlsl_constant_defs
{
struct hlsl_vec4 *values;
size_t count, size;
} constant_defs;
};
enum hlsl_error_level