summaryrefslogtreecommitdiff
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index fc2007437..6874fc460 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -307,11 +307,13 @@ public:
class ParameterGroupTypeLayout : public TypeLayout
{
public:
- // The layout of the "container" type itself.
+ // The layout of the "container" part itself.
// E.g., for a constant buffer, this would reflect
// the resource usage of the container, without
- // the element type factored in.
- RefPtr<TypeLayout> containerTypeLayout;
+ // the element type factored in. All of the offsets
+ // for this variable should be zero, but it is included
+ // for completeness.
+ RefPtr<VarLayout> containerVarLayout;
// A variable layout for the element of the container.
// The offsets of the variable layout will reflect