Lines Matching refs:patchConstantFunction

9587     const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {  in addPatchConstantInvocation()  argument
9588 const TType& type = *patchConstantFunction[param].type; in addPatchConstantInvocation()
9589 const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn(); in addPatchConstantInvocation()
9620 TFunction& patchConstantFunction = *patchConstantFunctionPtr; in addPatchConstantInvocation() local
9622 const int pcfParamCount = patchConstantFunction.getParamCount(); in addPatchConstantInvocation()
9637 findBuiltIns(patchConstantFunction, pcfBuiltIns); in addPatchConstantInvocation()
9651 const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn(); in addPatchConstantInvocation()
9652 TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage; in addPatchConstantInvocation()
9655 if (isOutputPatch(patchConstantFunction, p)) { in addPatchConstantInvocation()
9665 TType* paramType = patchConstantFunction[p].type->clone(); in addPatchConstantInvocation()
9681 addToLinkage(*paramType, patchConstantFunction[p].name, nullptr); in addPatchConstantInvocation()
9708 perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name, in addPatchConstantInvocation()
9709 *patchConstantFunction[outPatchParam].type); in addPatchConstantInvocation()
9716 const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn(); in addPatchConstantInvocation()
9745 addInputArgumentConversions(patchConstantFunction, pcfArguments); in addPatchConstantInvocation()
9748 … intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(),… in addPatchConstantInvocation()
9750 pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName()); in addPatchConstantInvocation()
9752 patchConstantFunction.getMangledName()); in addPatchConstantInvocation()
9756 for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) { in addPatchConstantInvocation()
9757 TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage; in addPatchConstantInvocation()
9760 … pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator()); in addPatchConstantInvocation()
9771 const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize(); in addPatchConstantInvocation()
9832 const TType* retType = &patchConstantFunction.getType(); // return type from the PCF in addPatchConstantInvocation()
9842 if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone) in addPatchConstantInvocation()
9843 outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType(); in addPatchConstantInvocation()