summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-metal.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-05-08 23:06:46 -0700
committerGitHub <noreply@github.com>2024-05-08 23:06:46 -0700
commitbf088c3f12cb47d204fdd3df1bb8a2415d46ba7b (patch)
tree82145968864a816ceba4c46619c3841b9a0befd4 /source/slang/slang-emit-metal.cpp
parent526430a0e7053b04eeb9b0c6514065a850042aaf (diff)
Metal: propagate and specialize address space. (#4137)
Diffstat (limited to 'source/slang/slang-emit-metal.cpp')
-rw-r--r--source/slang/slang-emit-metal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-emit-metal.cpp b/source/slang/slang-emit-metal.cpp
index 7da48cac1..4d8a207c3 100644
--- a/source/slang/slang-emit-metal.cpp
+++ b/source/slang/slang-emit-metal.cpp
@@ -420,6 +420,11 @@ void MetalSourceEmitter::emitSimpleValueImpl(IRInst* inst)
Super::emitSimpleValueImpl(inst);
}
+void MetalSourceEmitter::emitParamTypeImpl(IRType* type, String const& name)
+{
+ emitType(type, name);
+}
+
void MetalSourceEmitter::emitSimpleTypeImpl(IRType* type)
{
switch (type->getOp())