summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit-cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cpp.cpp')
-rw-r--r--source/slang/slang-emit-cpp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-emit-cpp.cpp b/source/slang/slang-emit-cpp.cpp
index ed51f7825..f91c4d06e 100644
--- a/source/slang/slang-emit-cpp.cpp
+++ b/source/slang/slang-emit-cpp.cpp
@@ -101,6 +101,10 @@ static const char s_xyzwNames[] = "xyzw";
case kIROp_UIntPtrType:
return UnownedStringSlice("uintptr_t");
+ case kIROp_Int8x4PackedType:
+ case kIROp_UInt8x4PackedType:
+ return UnownedStringSlice("uint32_t");
+
// Not clear just yet how we should handle half... we want all processing as float
// probly, but when reading/writing to memory converting