mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Set default values for annotations variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
4d2ce385a7
commit
0f7ac0a054
Notes:
Henri Verbeet
2024-07-08 18:55:00 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/918
@@ -388,6 +388,7 @@ struct hlsl_attribute
|
||||
#define HLSL_STORAGE_LINEAR 0x00010000
|
||||
#define HLSL_MODIFIER_SINGLE 0x00020000
|
||||
#define HLSL_MODIFIER_EXPORT 0x00040000
|
||||
#define HLSL_STORAGE_ANNOTATION 0x00080000
|
||||
|
||||
#define HLSL_TYPE_MODIFIERS_MASK (HLSL_MODIFIER_PRECISE | HLSL_MODIFIER_VOLATILE | \
|
||||
HLSL_MODIFIER_CONST | HLSL_MODIFIER_ROW_MAJOR | \
|
||||
@@ -841,6 +842,8 @@ struct hlsl_scope
|
||||
bool loop;
|
||||
/* The scope was created for the switch statement. */
|
||||
bool _switch;
|
||||
/* The scope contains annotation variables. */
|
||||
bool annotations;
|
||||
};
|
||||
|
||||
struct hlsl_profile_info
|
||||
|
||||
Reference in New Issue
Block a user