Home
last modified time | relevance | path

Searched refs:currentFunctionType (Results 1 – 6 of 6) 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()
189 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
DParseHelper.cpp1233 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1235 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1648 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1651 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1652 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1654 if (*currentFunctionType != converted->getType()) in handleReturnValue()
1673 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
Dglslang.y4048 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4118 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4133 parseContext.currentFunctionType = nullptr;
Dglslang_tab.cpp11716 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
11835 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
11850 parseContext.currentFunctionType = nullptr; in yyparse()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp1673 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1675 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
2459 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
2462 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
2463 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2464 if (value && *currentFunctionType != value->getType()) in handleReturnValue()
2465 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2466 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()