From: Francisco Casas fcasas@codeweavers.com
--- libs/vkd3d-shader/hlsl.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libs/vkd3d-shader/hlsl.h b/libs/vkd3d-shader/hlsl.h index a0d5ebe1..e8d804a2 100644 --- a/libs/vkd3d-shader/hlsl.h +++ b/libs/vkd3d-shader/hlsl.h @@ -254,6 +254,9 @@ struct hlsl_block struct list instrs; };
+/* A reference to an instruction node (hlsl_ir_node), used by other instructions. Besides a pointer + * to this instruction node, this struct also contains a linked list entry, which allows the instruction + * node to keep track of all the hlsl_srcs that reference it. */ struct hlsl_src { struct hlsl_ir_node *node;