summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-conversion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-conversion.cpp')
-rw-r--r--source/slang/slang-check-conversion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-check-conversion.cpp b/source/slang/slang-check-conversion.cpp
index 74151a4bb..7cb71a1bd 100644
--- a/source/slang/slang-check-conversion.cpp
+++ b/source/slang/slang-check-conversion.cpp
@@ -699,6 +699,8 @@ int getTypeBitSize(Type* t)
return 16;
case BaseType::Int:
case BaseType::UInt:
+ case BaseType::Int8x4Packed:
+ case BaseType::UInt8x4Packed:
return 32;
case BaseType::Int64:
case BaseType::UInt64: