summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-cuda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cuda.cpp')
-rw-r--r--source/slang/slang-emit-cuda.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-emit-cuda.cpp b/source/slang/slang-emit-cuda.cpp
index c51d0c20a..58ac377bf 100644
--- a/source/slang/slang-emit-cuda.cpp
+++ b/source/slang/slang-emit-cuda.cpp
@@ -84,6 +84,10 @@ UnownedStringSlice CUDASourceEmitter::getBuiltinTypeName(IROp op)
case kIROp_UIntPtrType:
return UnownedStringSlice("uint");
#endif
+ case kIROp_Int8x4PackedType:
+ case kIROp_UInt8x4PackedType:
+ return UnownedStringSlice("uint");
+
case kIROp_HalfType:
return UnownedStringSlice("__half");