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,
struct list entry;* but also hlsl_ctx.static_initializers. */
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.