vkd3d-shader/hlsl: Support semantics for array types.

This commit is contained in:
Francisco Casas
2023-04-05 12:07:37 -04:00
committed by Alexandre Julliard
parent a488889494
commit edc72fdefc
Notes: Alexandre Julliard 2023-05-01 22:24:44 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/148
4 changed files with 133 additions and 92 deletions

View File

@@ -209,6 +209,9 @@ struct hlsl_semantic
{
const char *name;
uint32_t index;
/* If the variable or field that stores this hlsl_semantic has already reported that it is missing. */
bool reported_missing;
};
/* A field within a struct type declaration, used in hlsl_type.e.fields. */