Home
last modified time | relevance | path

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

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