Module: vkd3d Branch: master Commit: 2b1ec0cfe525c12ea05ad95a6be8209746d80abe URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/2b1ec0cfe525c12ea05ad95a6be820...
Author: Francisco Casas fcasas@codeweavers.com Date: Wed Nov 16 15:39:51 2022 -0300
vkd3d-shader/hlsl: Add field-level documentation to struct hlsl_scope.
---
libs/vkd3d-shader/hlsl.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/libs/vkd3d-shader/hlsl.h b/libs/vkd3d-shader/hlsl.h index 07718316..3317bd6f 100644 --- a/libs/vkd3d-shader/hlsl.h +++ b/libs/vkd3d-shader/hlsl.h @@ -598,9 +598,15 @@ struct hlsl_ir_constant
struct hlsl_scope { + /* Item entry for hlsl_ctx.scopes. */ struct list entry; + + /* List containing the variables declared in this scope; linked by hlsl_ir_var->scope_entry. */ struct list vars; + /* Tree map containing the types declared in this scope, using hlsl_tree.name as key. + * The types are attached through the hlsl_type.scope_entry fields. */ struct rb_tree types; + /* Scope containing this scope. This value is NULL for the global scope. */ struct hlsl_scope *upper; };