summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-emit-metal.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-emit-metal.cpp b/source/slang/slang-emit-metal.cpp
index 1915be58b..9858e51a1 100644
--- a/source/slang/slang-emit-metal.cpp
+++ b/source/slang/slang-emit-metal.cpp
@@ -1102,6 +1102,9 @@ void MetalSourceEmitter::emitSimpleTypeImpl(IRType* type)
case kIROp_StructType:
m_writer->emit(getName(type));
return;
+ case kIROp_DescriptorHandleType:
+ emitType(type);
+ return;
case kIROp_DoubleType:
SLANG_UNEXPECTED("'double' type emitted");