Lines Matching refs:trueBlock
2451 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument
2455 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2456 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2467 auto children = addPairConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2468 trueBlock = std::get<0>(children); in addSelection()
2471 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2476 TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary, in addSelection()
2479 trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock); in addSelection()
2483 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2489 mix = growAggregate(mix, trueBlock); in addSelection()
2500 addBiShapeConversion(EOpMix, trueBlock, falseBlock); in addSelection()
2503 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2507 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()
2509 return trueBlock; in addSelection()
2517 … TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType()); in addSelection()
2519 …node->getQualifier().precision = std::max(trueBlock->getQualifier().precision, falseBlock->getQual… in addSelection()
2521 if ((cond->getQualifier().isConstant() && specConstantPropagates(*trueBlock, *falseBlock)) || in addSelection()
2522 (cond->getQualifier().isSpecConstant() && trueBlock->getQualifier().isConstant() && in addSelection()