vkd3d-shader/hlsl: Add field-level documentation to struct hlsl_scope.

This commit is contained in:
Francisco Casas 2022-11-16 15:39:51 -03:00 committed by Alexandre Julliard
parent eabd742f3e
commit 2b1ec0cfe5
Notes: Alexandre Julliard 2023-01-19 22:45:24 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/61

View File

@ -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;
};