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.
unsigned int dimx; unsigned int dimy;* See type initialization functions. */
- 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.