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()
186 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
DParseHelper.cpp1240 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1242 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1662 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1665 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1666 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1668 if (*currentFunctionType != converted->getType()) in handleReturnValue()
1681 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
Dglslang.m44033 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4107 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4120 // Set currentFunctionType to empty pointer when goes outside of the function
4121 parseContext.currentFunctionType = nullptr;
Dglslang.y4033 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4107 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4121 parseContext.currentFunctionType = nullptr;
Dglslang_tab.cpp11575 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
11694 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
11708 parseContext.currentFunctionType = nullptr; in yyparse()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1672 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
2456 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
2459 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
2460 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2461 if (value && *currentFunctionType != value->getType()) in handleReturnValue()
2462 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2463 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()