23 Mar
2023
23 Mar
'23
9:33 p.m.
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 :)
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/124#note_27676