summaryrefslogtreecommitdiffstats
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, 8 insertions, 0 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index fcb2c3419..c58f92cfb 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -630,6 +630,14 @@ public:
LayoutSize tagOffset;
};
+ /// Layout information for a type with existential (sub-)field types specialized.
+class ExistentialSpecializedTypeLayout : public TypeLayout
+{
+public:
+ RefPtr<TypeLayout> baseTypeLayout;
+ RefPtr<VarLayout> pendingDataVarLayout;
+};
+
/// Layout for a scoped entity like a program, module, or entry point
class ScopeLayout : public Layout
{