Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp1401 TIntermTyped* TIntermConstantUnion::fold(TOperator op, TIntermTyped* constantNode, TInfoSink& infoS… in fold() argument
1406 if (constantNode) { // binary operations in fold()
1407 TIntermConstantUnion *node = constantNode->getAsConstantUnion(); in fold()
1412 if (constantNode->getType().getObjectSize() == 1 && objectSize > 1) { in fold()
1417 } else if (constantNode->getType().getObjectSize() > 1 && objectSize == 1) { in fold()
1419 unionArray = new ConstantUnion[constantNode->getType().getObjectSize()]; in fold()
1420 for (size_t i = 0; i < constantNode->getType().getObjectSize(); ++i) in fold()
1423 objectSize = constantNode->getType().getObjectSize(); in fold()