Home
last modified time | relevance | path

Searched refs:currentFunctionType (Results 1 – 13 of 13) 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.h87 currentFunctionType(nullptr), in TParseVersions()
184 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
DParseHelper.cpp1059 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1061 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1430 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1433 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1434 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1436 if (*currentFunctionType != converted->getType()) in handleReturnValue()
1449 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
Dglslang.m43926 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4000 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4013 // Set currentFunctionType to empty pointer when goes outside of the function
4014 parseContext.currentFunctionType = nullptr;
Dglslang.y3926 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4000 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4014 parseContext.currentFunctionType = nullptr;
Dglslang_tab.cpp10905 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
11024 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
11038 parseContext.currentFunctionType = nullptr; in yyparse()
/external/angle/third_party/vulkan-deps/glslang/src/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.cpp1180 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
1182 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()
1602 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()
1605 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()
1606 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1608 if (*currentFunctionType != converted->getType()) in handleReturnValue()
1621 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
Dglslang.m44006 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4080 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4093 // Set currentFunctionType to empty pointer when goes outside of the function
4094 parseContext.currentFunctionType = nullptr;
Dglslang.y4006 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
4080 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
4094 parseContext.currentFunctionType = nullptr;
Dglslang_tab.cpp11515 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()
11634 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
11648 parseContext.currentFunctionType = nullptr; in yyparse()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/glslang/src/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()