22 Mar
2024
22 Mar
'24
9:13 p.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
/* Scope that contains annotations for this variable. */ struct hlsl_scope *annotations;
- /* The state block on the variable's declaration, if any. + /* A list containing the state block on the variable's declaration, if any. + * An array variable may contain multiple state blocks. * These are only really used for effect profiles. */ - struct hlsl_state_block *state_block; + struct list state_blocks;
Do we really want this to be a list? I feel like an array is probably going to be nicer to work with... -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/739#note_65851