Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
struct hlsl_struct_field { struct vkd3d_shader_location loc; struct hlsl_type *type; const char *name; struct hlsl_semantic semantic;
- /* Bitfield for storing type modifiers specific to this field, subset of
* HLSL_TYPE_MODIFIERS_MASK, but can also include interpolation modifiers such as
unsigned int modifiers;* HLSL_STORAGE_NOINTERPOLATION for pixel shader inputs. */
- /* Offset of the field within the type it belongs to, in numeric register components. */ unsigned int reg_offset;
- /* Offset where the fields's name starts in the output bytecode. */ size_t name_bytecode_offset;
I'd leave the newline here. Also, output in bytes (right?)