summaryrefslogtreecommitdiff
path: root/source/slang/slang-type-layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-type-layout.cpp')
-rw-r--r--source/slang/slang-type-layout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp
index 17f1ae677..c6acf5250 100644
--- a/source/slang/slang-type-layout.cpp
+++ b/source/slang/slang-type-layout.cpp
@@ -110,6 +110,10 @@ struct DefaultLayoutRulesImpl : SimpleLayoutRulesImpl
sizeof(intptr_t),
sizeof(intptr_t));
+ case BaseType::Int8x4Packed:
+ case BaseType::UInt8x4Packed:
+ return SimpleLayoutInfo(LayoutResourceKind::Uniform, 4, 4);
+
case BaseType::Half:
return SimpleLayoutInfo(LayoutResourceKind::Uniform, 2, 2);
case BaseType::Float: