summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-spirv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
-rw-r--r--source/slang/slang-emit-spirv.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp
index ea49cb08c..b3232de93 100644
--- a/source/slang/slang-emit-spirv.cpp
+++ b/source/slang/slang-emit-spirv.cpp
@@ -1793,10 +1793,10 @@ struct SPIRVEmitContext : public SourceEmitterBase, public SPIRVEmitSharedContex
return emitOpTypeFloat(inst, SpvLiteralInteger::from32(int32_t(i.width)));
}
case kIROp_PtrType:
- case kIROp_RefType:
- case kIROp_ConstRefType:
- case kIROp_OutType:
- case kIROp_InOutType:
+ case kIROp_RefParamType:
+ case kIROp_BorrowInParamType:
+ case kIROp_OutParamType:
+ case kIROp_BorrowInOutParamType:
{
SpvStorageClass storageClass = SpvStorageClassFunction;
auto ptrType = as<IRPtrTypeBase>(inst);
@@ -8167,10 +8167,10 @@ struct SPIRVEmitContext : public SourceEmitterBase, public SPIRVEmitSharedContex
break;
case kIROp_PtrType:
- case kIROp_RefType:
- case kIROp_ConstRefType:
- case kIROp_OutType:
- case kIROp_InOutType:
+ case kIROp_RefParamType:
+ case kIROp_BorrowInParamType:
+ case kIROp_OutParamType:
+ case kIROp_BorrowInOutParamType:
if (auto ptrType = as<IRPtrTypeBase>(type))
return checkTypeNeedsStorageCapability(
ptrType->getValueType(),