mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Store the shader type and version in the hlsl_ctx structure.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
e957d3a346
commit
60ece9cd62
@@ -390,8 +390,21 @@ struct hlsl_scope
|
||||
struct hlsl_scope *upper;
|
||||
};
|
||||
|
||||
struct hlsl_profile_info
|
||||
{
|
||||
const char *name;
|
||||
enum vkd3d_shader_type type;
|
||||
unsigned int major_version;
|
||||
unsigned int minor_version;
|
||||
unsigned int major_level;
|
||||
unsigned int minor_level;
|
||||
bool software;
|
||||
};
|
||||
|
||||
struct hlsl_ctx
|
||||
{
|
||||
const struct hlsl_profile_info *profile;
|
||||
|
||||
const char **source_files;
|
||||
unsigned int source_files_count;
|
||||
struct vkd3d_shader_location location;
|
||||
|
||||
Reference in New Issue
Block a user