On Fri Mar 22 21:12:57 2024 +0000, Zebediah Figura wrote:
Does this need to be a pointer?
Only for consistency with `hlsl_ir_var.state_block` (and then `hlsl_ir_var.state_blocks`).
When I have to copy a struct that contains pointers I prefer to do it by copying the pointer than doing a copy-on-assignment (or having to specify the fields to be copied individually), but it is just personal preference. If you want I can change it.