Home
last modified time | relevance | path

Searched refs:currentFunctionType (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.h102 void setCurrentFunctionType(const TType *currentFunctionType) in setCurrentFunctionType() argument
104 mCurrentFunctionType = currentFunctionType; in setCurrentFunctionType()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.h87 currentFunctionType(nullptr), in TParseVersions()
183 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
DParseHelper.cpp1055 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1057 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1426 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1429 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1430 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1432 if (*currentFunctionType != converted->getType()) in handleReturnValue()
1445 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
Dglslang.m43796 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
3856 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
3869 // Set currentFunctionType to empty pointer when goes outside of the function
3870 parseContext.currentFunctionType = nullptr;
Dglslang.y3796 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
3856 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
3870 parseContext.currentFunctionType = nullptr;
Dglslang_tab.cpp10225 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
10317 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
10331 parseContext.currentFunctionType = nullptr; in yyparse()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1672 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
2426 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
2429 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
2430 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2431 if (value && *currentFunctionType != value->getType()) in handleReturnValue()
2432 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2433 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()