summaryrefslogtreecommitdiff
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 bcb9ed9da..19dc05dcf 100644
--- a/source/slang/slang-emit-cpp.cpp
+++ b/source/slang/slang-emit-cpp.cpp
@@ -337,6 +337,10 @@ SlangResult CPPSourceEmitter::calcTypeName(IRType* type, CodeGenTarget target, S
out << intLit->getValue();
return SLANG_OK;
}
+ case kIROp_AtomicType:
+ {
+ return calcTypeName((IRType*)type->getOperand(0), target, out);
+ }
default:
{
if (isNominalOp(type->getOp()))