diff options
Diffstat (limited to 'source/slang/slang-ir-lower-generic-call.cpp')
| -rw-r--r-- | source/slang/slang-ir-lower-generic-call.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-ir-lower-generic-call.cpp b/source/slang/slang-ir-lower-generic-call.cpp index dc234bbbc..094baaca1 100644 --- a/source/slang/slang-ir-lower-generic-call.cpp +++ b/source/slang/slang-ir-lower-generic-call.cpp @@ -36,17 +36,13 @@ namespace Slang IRType* paramValType = paramType; IRType* argValType = arg->getDataType(); IRInst* argVal = arg; - bool isParamPointer = false; if (auto ptrType = as<IRPtrTypeBase>(paramType)) { - isParamPointer = true; paramValType = ptrType->getValueType(); } - bool isArgPointer = false; auto argType = arg->getDataType(); if (auto argPtrType = as<IRPtrTypeBase>(argType)) { - isArgPointer = true; argValType = argPtrType->getValueType(); argVal = builder->emitLoad(arg); } |
