26 Nov
2022
26 Nov
'22
1:25 a.m.
Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
HLSL_IR_SWIZZLE, };
+/* Common data for every type of IR instruction node. */ struct hlsl_ir_node { + /* Item entry for storing the instruction in a list of instructions. Usually hlsl_block.instrs, + * but also hlsl_ctx.static_initializers. */ struct list entry;
Well, currently it's more than that, we pass around bare list pointers in quite a lot of places :-/ For now I'd just omit the latter sentence. Hopefully we can replace all of those with hlsl_block soon. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/50#note_17524