On Thu Mar 23 21:31:37 2023 +0000, Zebediah Figura wrote:
For new code I think we want to return hlsl_ir_node here, unless there's some reason we can't quite do that? (The basic reason, which I might have gone into before, is that this firstly simplifies code a bit, by turning e.g. "&index->node" into "index" in a lot of places, and secondly, I have plans in the works that we can then return nodes of type HLSL_IR_ERROR, potentially negating the need to check for allocation failure.)
Okay, I think it helps :)