Home
last modified time | relevance | path

Searched refs:fnCandidate (Results 1 – 8 of 8) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp1159 const TFunction* fnCandidate; in handleFunctionCall() local
1161 fnCandidate = findFunction(loc, *function, builtIn); in handleFunctionCall()
1162 if (fnCandidate) { in handleFunctionCall()
1169 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
1170 …requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate-… in handleFunctionCall()
1172 if (builtIn && fnCandidate->getType().contains16BitFloat()) in handleFunctionCall()
1174 if (builtIn && fnCandidate->getType().contains16BitInt()) in handleFunctionCall()
1176 if (builtIn && fnCandidate->getType().contains8BitInt()) in handleFunctionCall()
1182 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1186 …TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequ… in handleFunctionCall()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp1288 const TFunction* fnCandidate; in handleFunctionCall() local
1290 fnCandidate = findFunction(loc, *function, builtIn); in handleFunctionCall()
1291 if (fnCandidate) { in handleFunctionCall()
1298 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
1299 …requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate-… in handleFunctionCall()
1301 if (builtIn && fnCandidate->getType().contains16BitFloat()) in handleFunctionCall()
1303 if (builtIn && fnCandidate->getType().contains16BitInt()) in handleFunctionCall()
1305 if (builtIn && fnCandidate->getType().contains8BitInt()) in handleFunctionCall()
1311 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1315 …TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequ… in handleFunctionCall()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp1083 bool TParseContext::functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *ag… in functionCallLValueErrorCheck() argument
1085 for(size_t i = 0; i < fnCandidate->getParamCount(); ++i) in functionCallLValueErrorCheck()
1087 TQualifier qual = fnCandidate->getParam(i).type->getQualifier(); in functionCallLValueErrorCheck()
3584 const TFunction *fnCandidate; in addFunctionCallOrMethod() local
3586 fnCandidate = findFunction(loc, fnCall, &builtIn); in addFunctionCallOrMethod()
3587 if(fnCandidate) in addFunctionCallOrMethod()
3592 if(builtIn && !fnCandidate->getExtension().empty() && in addFunctionCallOrMethod()
3593 extensionErrorCheck(loc, fnCandidate->getExtension())) in addFunctionCallOrMethod()
3597 op = fnCandidate->getBuiltInOp(); in addFunctionCallOrMethod()
3603 if(fnCandidate->getParamCount() == 1) in addFunctionCallOrMethod()
[all …]
DParseHelper.h144 bool functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *);
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp5419 const TFunction* fnCandidate = nullptr; in handleFunctionCall() local
5454 fnCandidate = symbol->getAsFunction(); in handleFunctionCall()
5459 if (fnCandidate == nullptr) in handleFunctionCall()
5460 fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments); in handleFunctionCall()
5462 if (fnCandidate) { in handleFunctionCall()
5471 callerName = fnCandidate->getMangledName(); in handleFunctionCall()
5475 callerName += fnCandidate->getMangledName(); in handleFunctionCall()
5483 addInputArgumentConversions(*fnCandidate, arguments); in handleFunctionCall()
5488 expandArguments(loc, *fnCandidate, arguments); in handleFunctionCall()
5493 op = fnCandidate->getBuiltInOp(); in handleFunctionCall()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp5419 const TFunction* fnCandidate = nullptr; in handleFunctionCall() local
5454 fnCandidate = symbol->getAsFunction(); in handleFunctionCall()
5459 if (fnCandidate == nullptr) in handleFunctionCall()
5460 fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments); in handleFunctionCall()
5462 if (fnCandidate) { in handleFunctionCall()
5471 callerName = fnCandidate->getMangledName(); in handleFunctionCall()
5475 callerName += fnCandidate->getMangledName(); in handleFunctionCall()
5483 addInputArgumentConversions(*fnCandidate, arguments); in handleFunctionCall()
5488 expandArguments(loc, *fnCandidate, arguments); in handleFunctionCall()
5493 op = fnCandidate->getBuiltInOp(); in handleFunctionCall()
[all …]
/external/angle/src/compiler/translator/
DParseContext.cpp2028 void TParseContext::functionCallRValueLValueErrorCheck(const TFunction *fnCandidate, in functionCallRValueLValueErrorCheck() argument
2031 for (size_t i = 0; i < fnCandidate->getParamCount(); ++i) in functionCallRValueLValueErrorCheck()
2033 TQualifier qual = fnCandidate->getParam(i)->getType().getQualifier(); in functionCallRValueLValueErrorCheck()
6888 const TFunction *fnCandidate = static_cast<const TFunction *>(symbol); in addNonConstructorFunctionCall() local
6890 TIntermAggregate::CreateFunctionCall(*fnCandidate, &fnCall->arguments()); in addNonConstructorFunctionCall()
6892 checkImageMemoryAccessForUserDefinedFunctions(fnCandidate, callNode); in addNonConstructorFunctionCall()
6893 functionCallRValueLValueErrorCheck(fnCandidate, callNode); in addNonConstructorFunctionCall()
6910 const TFunction *fnCandidate = static_cast<const TFunction *>(symbol); in addNonConstructorFunctionCall() local
6912 if (!fnCandidate->extensions().empty() && in addNonConstructorFunctionCall()
6913 fnCandidate->extensions()[0] != TExtension::UNDEFINED) in addNonConstructorFunctionCall()
[all …]
DParseContext.h186 void functionCallRValueLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *fnCall);