summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit-wgsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-wgsl.cpp')
-rw-r--r--source/slang/slang-emit-wgsl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-emit-wgsl.cpp b/source/slang/slang-emit-wgsl.cpp
index b115c723a..3cebae97c 100644
--- a/source/slang/slang-emit-wgsl.cpp
+++ b/source/slang/slang-emit-wgsl.cpp
@@ -567,10 +567,10 @@ void WGSLSourceEmitter::emitSimpleTypeImpl(IRType* type)
}
case kIROp_PtrType:
- case kIROp_InOutType:
- case kIROp_OutType:
- case kIROp_RefType:
- case kIROp_ConstRefType:
+ case kIROp_BorrowInOutParamType:
+ case kIROp_OutParamType:
+ case kIROp_RefParamType:
+ case kIROp_BorrowInParamType:
{
auto ptrType = cast<IRPtrTypeBase>(type);
m_writer->emit("ptr<");