summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-util.cpp')
-rw-r--r--source/slang/slang-ir-util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp
index 5b29d23a8..295fbd642 100644
--- a/source/slang/slang-ir-util.cpp
+++ b/source/slang/slang-ir-util.cpp
@@ -181,6 +181,7 @@ bool isValueType(IRInst* dataType)
case kIROp_ArrayType:
case kIROp_FuncType:
case kIROp_RaytracingAccelerationStructureType:
+ case kIROp_GLSLAtomicUintType:
return true;
default:
// Read-only resource handles are considered as Value type.
@@ -507,6 +508,8 @@ void getTypeNameHint(StringBuilder& sb, IRInst* type)
case kIROp_HLSLRasterizerOrderedByteAddressBufferType:
sb << "RasterizerOrderedByteAddressBuffer";
break;
+ case kIROp_GLSLAtomicUintType:
+ sb << "AtomicCounter";
case kIROp_RaytracingAccelerationStructureType:
sb << "RayTracingAccelerationStructure";
break;