On Tue Mar 26 17:51:51 2024 +0000, Zebediah Figura wrote:
I dunno. It seems awkward to me, and it's not clear to me that defining a separate struct is actually going to complicate the code at all?
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`.