vkd3d-shader/hlsl: Forbid referring to typedefs with "struct".

This commit is contained in:
Elizabeth Figura
2025-05-13 12:39:46 -05:00
committed by Henri Verbeet
parent 8ca50a2f7e
commit c1adf54a44
Notes: Henri Verbeet 2025-05-14 15:29:22 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1500
3 changed files with 5 additions and 2 deletions

View File

@@ -234,6 +234,8 @@ struct hlsl_type
/* Offset where the type's description starts in the output bytecode, in bytes. */
size_t bytecode_offset;
bool is_typedef;
uint32_t is_minimum_precision : 1;
};