Searched refs:aggrNode (Results 1 – 6 of 6) sorted by relevance
/third_party/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 953 TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode) in fold() argument 955 if (aggrNode == nullptr) in fold() 956 return aggrNode; in fold() 958 if (! areAllChildConst(aggrNode)) in fold() 959 return aggrNode; in fold() 961 if (aggrNode->isConstructor()) in fold() 962 return foldConstructor(aggrNode); in fold() 964 TIntermSequence& children = aggrNode->getSequence(); in fold() 971 switch (aggrNode->getOp()) { in fold() 1013 return aggrNode; in fold() [all …]
|
D | localintermediate.h | 537 bool areAllChildConst(TIntermAggregate* aggrNode); 572 TIntermTyped* fold(TIntermAggregate* aggrNode); 573 TIntermTyped* foldConstructor(TIntermAggregate* aggrNode);
|
D | ParseHelper.cpp | 3106 TIntermAggregate *aggrNode = rightNode->getAsAggregate(); in lValueErrorCheck() local 3108 for (TIntermSequence::iterator p = aggrNode->getSequence().begin(); in lValueErrorCheck() 3109 p != aggrNode->getSequence().end(); p++) { in lValueErrorCheck() 8215 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local 8221 if (aggrNode != nullptr) { in addConstructor() 8222 if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) { in addConstructor() 8225 … aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true; in addConstructor() 8227 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor() 8243 if (aggrNode) { in addConstructor() 8244 if (aggrNode->getOp() != EOpNull) in addConstructor() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 322 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()
|
D | ParseHelper.h | 197 TIntermTyped* foldConstConstructor(TIntermAggregate* aggrNode, const TType& type);
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 8451 TIntermAggregate* aggrNode = node->getAsAggregate(); in addConstructor() local 8455 return intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor() 8469 if (aggrNode != nullptr) { in addConstructor() 8470 if (aggrNode->getOp() != EOpNull) in addConstructor() 8510 …TIntermSequence& sequenceVector = aggrNode->getSequence(); // Stores the information about the … in addConstructor() 8535 TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc); in addConstructor()
|