Home
last modified time | relevance | path

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

/third_party/glslang/glslang/MachineIndependent/
DIntermTraverse.cpp206 if (trueBlock) in traverse()
207 trueBlock->traverse(it); in traverse()
211 if (trueBlock) in traverse()
212 trueBlock->traverse(it); in traverse()
DIntermediate.cpp2452 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument
2456 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2457 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2468 auto children = addPairConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2469 trueBlock = std::get<0>(children); in addSelection()
2472 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2477 TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary, in addSelection()
2480 trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock); in addSelection()
2484 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2490 mix = growAggregate(mix, trueBlock); in addSelection()
[all …]
Dlocalintermediate.h539 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DIntermTraverse.cpp205 if (trueBlock) in traverse()
206 trueBlock->traverse(it); in traverse()
210 if (trueBlock) in traverse()
211 trueBlock->traverse(it); in traverse()
Dintermediate.h613 …TIntermTyped(TType(EbtVoid, EbpUndefined)), condition(cond), trueBlock(trueB), falseBlock(falseB) … in TIntermSelection()
615 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB) in TIntermSelection()
624 TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock()
630 TIntermNode* trueBlock; variable
Dlocalintermediate.h43 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
DOutputASM.cpp1745 TIntermNode *trueBlock = node->getTrueBlock(); in visitSelection() local
1759 trueBlock->traverse(this); in visitSelection()
1760 copy(node, trueBlock); in visitSelection()
1770 trueBlock->traverse(this); in visitSelection()
1772 emit(sw::Shader::OPCODE_SELECT, node, condition, trueBlock, falseBlock); in visitSelection()
1778 if(trueBlock) in visitSelection()
1780 trueBlock->traverse(this); in visitSelection()
1781 copy(node, trueBlock); in visitSelection()
1802 if(trueBlock) in visitSelection()
1804 trueBlock->traverse(this); in visitSelection()
[all …]
DIntermediate.cpp659 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument
661 if (trueBlock->getType() != falseBlock->getType()) in addSelection()
670 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()
672 return trueBlock; in addSelection()
680 TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType()); in addSelection()
DParseHelper.cpp3719 TIntermTyped *TParseContext::addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TInte… in addTernarySelection() argument
3724 if(trueBlock->getType() != falseBlock->getType()) in addTernarySelection()
3726 binaryOpError(loc, ":", trueBlock->getCompleteString(), falseBlock->getCompleteString()); in addTernarySelection()
3733 if(trueBlock->isArray() || trueBlock->getBasicType() == EbtStruct) in addTernarySelection()
3739 return intermediate.addSelection(cond, trueBlock, falseBlock, loc); in addTernarySelection()
DParseHelper.h240 …TIntermTyped *addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *false…
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DRewriteSampleMaskVariable.cpp153 TIntermBlock *trueBlock = new TIntermBlock(); in RewriteSampleMask() local
160 trueBlock->appendStatement(assignment); in RewriteSampleMask()
162 TIntermIfElse *multiSampleOrNot = new TIntermIfElse(equalTo, trueBlock, nullptr); in RewriteSampleMask()
DReplaceClipCullDistanceVariable.cpp230 TIntermBlock *trueBlock = new TIntermBlock(); in assignFuncWithEnableFlags() local
231 trueBlock->appendStatement(assignment); in assignFuncWithEnableFlags()
238 return new TIntermIfElse(nonZero, trueBlock, falseBlock); in assignFuncWithEnableFlags()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DUnfoldShortCircuitToIf.cpp151 TIntermBlock *trueBlock = new TIntermBlock(); in visitTernary() local
154 trueBlock->getSequence()->push_back(trueAssignment); in visitTernary()
162 new TIntermIfElse(node->getCondition()->getAsTyped(), trueBlock, falseBlock); in visitTernary()
/third_party/glslang/glslang/Include/
Dintermediate.h1730 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1734 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1740 virtual TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock()
1741 virtual void setTrueBlock(TIntermTyped* tb) { trueBlock = tb; } in setTrueBlock()
1757 TIntermNode* trueBlock; variable
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.h365 spirv::IdRef trueBlock,
DBuildSPIRV.cpp1788 spirv::IdRef trueBlock, in writeBranchConditional() argument
1799 spirv::WriteBranchConditional(getSpirvCurrentFunctionBlock(), conditionValue, trueBlock, in writeBranchConditional()
DOutputSPIRV.cpp1963 const spirv::IdRef trueBlock = node->getOp() == EOpLogicalAnd ? ifBlock : mergeBlock; in startShortCircuit() local
1968 mBuilder.writeBranchConditional(left, trueBlock, falseBlock, mergeBlock); in startShortCircuit()
5250 spirv::IdRef trueBlock = mergeBlock; in visitIfElse() local
5256 trueBlock = conditional->blockIds[nextBlockIndex++]; in visitIfElse()
5263 mBuilder.writeBranchConditional(conditionValue, trueBlock, falseBlock, mergeBlock); in visitIfElse()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexProgram.cpp1349 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() local
1352 branch(condition, trueBlock, falseBlock); in IFb()
1398 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() local
1403 branch(notAllFalse, trueBlock, falseBlock); in IF()
DPixelProgram.cpp1665 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() local
1668 branch(condition, trueBlock, falseBlock); in IFb()
1714 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() local
1719 branch(notAllFalse, trueBlock, falseBlock); in IF()