Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.h:
unsigned int modifiers; + /* Size of the type values on each dimension; primarily intended for numeric types: scalars, + * vectors, and matrices.Other types may assign values to them for convenience. + * See type initialization functions. */ unsigned int dimx; unsigned int dimy; + union { + /* Additional information if the type is HLSL_CLASS_STRUCT. */ struct { + /* Fields contained within the struct. */ struct hlsl_struct_field *fields; + /* Number of fields contained in the struct. */ size_t field_count;
These two seem pretty obvious. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/38#note_12045