Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp984 TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode) in fold() argument
986 if (aggrNode == nullptr) in fold()
987 return aggrNode; in fold()
989 if (! areAllChildConst(aggrNode)) in fold()
990 return aggrNode; in fold()
992 if (aggrNode->isConstructor()) in fold()
993 return foldConstructor(aggrNode); in fold()
995 TIntermSequence& children = aggrNode->getSequence(); in fold()
1002 switch (aggrNode->getOp()) { in fold()
1043 return aggrNode; in fold()
[all …]
Dlocalintermediate.h476 bool areAllChildConst(TIntermAggregate* aggrNode);
510 TIntermTyped* fold(TIntermAggregate* aggrNode);
511 TIntermTyped* foldConstructor(TIntermAggregate* aggrNode);
DParseHelper.cpp2373 TIntermAggregate *aggrNode = rightNode->getAsAggregate(); in lValueErrorCheck() local
2375 for (TIntermSequence::iterator p = aggrNode->getSequence().begin(); in lValueErrorCheck()
2376 p != aggrNode->getSequence().end(); p++) { in lValueErrorCheck()
6521 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
6527 if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) { in addConstructor()
6530 aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true; in addConstructor()
6532 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
6547 if (aggrNode) { in addConstructor()
6548 if (aggrNode->getOp() != EOpNull) in addConstructor()
6575 …TIntermSequence &sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp322 TIntermAggregate *aggrNode = rightNode->getAsAggregate(); in lValueErrorCheck() local
324 for (TIntermSequence::iterator p = aggrNode->getSequence().begin(); in lValueErrorCheck()
325 p != aggrNode->getSequence().end(); p++) { in lValueErrorCheck()
2155 TIntermTyped* TParseContext::foldConstConstructor(TIntermAggregate* aggrNode, const TType& type) in foldConstConstructor() argument
2157 aggrNode->setType(type); in foldConstConstructor()
2158 if (aggrNode->isConstantFoldable()) { in foldConstConstructor()
2161 if (aggrNode->getSequence().size() == 1) { in foldConstConstructor()
2162 …returnVal = intermediate.parseConstTree(aggrNode->getLine(), aggrNode, unionArray, aggrNode->getOp… in foldConstConstructor()
2165 …returnVal = intermediate.parseConstTree(aggrNode->getLine(), aggrNode, unionArray, aggrNode->getOp… in foldConstConstructor()
2170 return intermediate.addConstantUnion(unionArray, type, aggrNode->getLine()); in foldConstConstructor()
DParseHelper.h197 TIntermTyped* foldConstConstructor(TIntermAggregate* aggrNode, const TType& type);
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp8158 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
8162 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
8176 if (aggrNode != nullptr) { in addConstructor()
8177 if (aggrNode->getOp() != EOpNull) in addConstructor()
8217 …TIntermSequence& sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor()
8242 TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()