Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h102 void setCurrentFunctionType(const TType *currentFunctionType) in setCurrentFunctionType() argument
104 mCurrentFunctionType = currentFunctionType; in setCurrentFunctionType()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h176 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
DParseHelper.cpp962 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
964 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1310 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1313 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1314 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1316 if (*currentFunctionType != converted->getType()) in handleReturnValue()
Dglslang.y3654 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
3704 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
Dglslang_tab.cpp10005 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
10089 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp1663 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1665 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
2333 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
2336 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
2337 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2338 if (value && *currentFunctionType != value->getType()) in handleReturnValue()
2339 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
2340 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()