On Tue Mar 26 20:27:22 2024 +0000, Francisco Casas wrote:
The complication of having two struts, as I see it, can arise from having to define `struct hlsl_state_block_entry` as the union of both structs with some flag to identify which one of these we are dealing with. This, because both types can be contained in a state block. That, or having them in two different arrays in `struct hlsl_state_block`.
I'd probably define them as two separate arrays, but in any case I'm not sure I see why that makes things more complicated?