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, 8 insertions, 0 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index 66f6025b4..3c2797d48 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -353,6 +353,14 @@ public:
size_t uniformStride;
};
+// type layout for a variable with stream-output type
+class StreamOutputTypeLayout : public TypeLayout
+{
+public:
+ RefPtr<TypeLayout> elementTypeLayout;
+};
+
+
// When storing the layout for a matrix-type
// value, we need to know whether it has been
// laid ot with row-major or column-major