Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp991 TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode) in fold() argument
993 if (aggrNode == nullptr) in fold()
994 return aggrNode; in fold()
996 if (! areAllChildConst(aggrNode)) in fold()
997 return aggrNode; in fold()
999 if (aggrNode->isConstructor()) in fold()
1000 return foldConstructor(aggrNode); in fold()
1002 TIntermSequence& children = aggrNode->getSequence(); in fold()
1009 switch (aggrNode->getOp()) { in fold()
1051 return aggrNode; in fold()
[all …]
Dlocalintermediate.h491 bool areAllChildConst(TIntermAggregate* aggrNode);
526 TIntermTyped* fold(TIntermAggregate* aggrNode);
527 TIntermTyped* foldConstructor(TIntermAggregate* aggrNode);
DParseHelper.cpp2670 TIntermAggregate *aggrNode = rightNode->getAsAggregate(); in lValueErrorCheck() local
2672 for (TIntermSequence::iterator p = aggrNode->getSequence().begin(); in lValueErrorCheck()
2673 p != aggrNode->getSequence().end(); p++) { in lValueErrorCheck()
7118 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
7124 if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) { in addConstructor()
7127 aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true; in addConstructor()
7129 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
7144 if (aggrNode) { in addConstructor()
7145 if (aggrNode->getOp() != EOpNull) in addConstructor()
7172 …TIntermSequence &sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp990 TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode) in fold() argument
992 if (aggrNode == nullptr) in fold()
993 return aggrNode; in fold()
995 if (! areAllChildConst(aggrNode)) in fold()
996 return aggrNode; in fold()
998 if (aggrNode->isConstructor()) in fold()
999 return foldConstructor(aggrNode); in fold()
1001 TIntermSequence& children = aggrNode->getSequence(); in fold()
1008 switch (aggrNode->getOp()) { in fold()
1050 return aggrNode; in fold()
[all …]
Dlocalintermediate.h500 bool areAllChildConst(TIntermAggregate* aggrNode);
535 TIntermTyped* fold(TIntermAggregate* aggrNode);
536 TIntermTyped* foldConstructor(TIntermAggregate* aggrNode);
DParseHelper.cpp2877 TIntermAggregate *aggrNode = rightNode->getAsAggregate(); in lValueErrorCheck() local
2879 for (TIntermSequence::iterator p = aggrNode->getSequence().begin(); in lValueErrorCheck()
2880 p != aggrNode->getSequence().end(); p++) { in lValueErrorCheck()
7567 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
7573 if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) { in addConstructor()
7576 aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true; in addConstructor()
7578 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
7593 if (aggrNode) { in addConstructor()
7594 if (aggrNode->getOp() != EOpNull) in addConstructor()
7621 …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/glslang/HLSL/
DhlslParseHelper.cpp8336 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
8340 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
8354 if (aggrNode != nullptr) { in addConstructor()
8355 if (aggrNode->getOp() != EOpNull) in addConstructor()
8395 …TIntermSequence& sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor()
8420 TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp8340 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local
8344 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
8358 if (aggrNode != nullptr) { in addConstructor()
8359 if (aggrNode->getOp() != EOpNull) in addConstructor()
8399 …TIntermSequence& sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor()
8424 TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()