summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-specialize-function-call.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-specialize-function-call.cpp')
-rw-r--r--source/slang/slang-ir-specialize-function-call.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-ir-specialize-function-call.cpp b/source/slang/slang-ir-specialize-function-call.cpp
index aead69258..8b16cd101 100644
--- a/source/slang/slang-ir-specialize-function-call.cpp
+++ b/source/slang/slang-ir-specialize-function-call.cpp
@@ -714,10 +714,10 @@ struct FunctionParameterSpecializationContext
IRType* resultType = argType;
switch (paramType->getOp())
{
- 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 ptrParamType = as<IRPtrTypeBase>(paramType);
argType = as<IRPtrTypeBase>(argType)->getValueType();