Home
last modified time | relevance | path

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

/external/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp232 case Expression::Kind::kTernary: in writeExpression()
876 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
883 this->writeExpression(*b.left(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
886 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
896 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
898 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
905 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
908 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
910 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
912 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
[all …]
DSkSLPipelineStageCodeGenerator.cpp432 case Expression::Kind::kTernary: in writeExpression()
505 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
508 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
510 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
512 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
513 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
DSkSLMetalCodeGenerator.cpp185 case Expression::Kind::kTernary: in writeExpression()
1402 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
1405 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
1407 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
1409 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
1410 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
2343 case Expression::Kind::kTernary: { in requirements()
DSkSLVMCodeGenerator.cpp1410 case Expression::Kind::kTernary: in writeExpression()
DSkSLSPIRVCodeGenerator.cpp748 case Expression::Kind::kTernary: in writeExpression()
/external/skia/src/sksl/
DSkSLOperators.h43 kTernary = 15, enumerator
DSkSLASTNode.cpp203 case Kind::kTernary: in description()
DSkSLASTNode.h116 kTernary, enumerator
DSkSLAnalysis.cpp1044 case Expression::Kind::kTernary: in visitExpression()
1204 case Expression::Kind::kTernary: { in visitExpression()
DSkSLInliner.cpp401 case Expression::Kind::kTernary: { in inlineExpression()
1005 case Expression::Kind::kTernary: { in visitExpression()
DSkSLDehydrator.cpp416 case Expression::Kind::kTernary: { in write()
DSkSLIRGenerator.cpp1293 case ASTNode::Kind::kTernary: in convertExpression()
1414 SkASSERT(node.fKind == ASTNode::Kind::kTernary); in convertTernaryExpression()
DSkSLParser.cpp1601 ASTNode::ID ternary = this->createNode(getNode(base).fOffset, ASTNode::Kind::kTernary); in ternaryExpression()
/external/skia/src/sksl/ir/
DSkSLTernaryExpression.h21 static constexpr Kind kExpressionKind = Kind::kTernary;
DSkSLExpression.h53 kTernary, enumerator
DSkSLBinaryExpression.cpp221 case Expression::Kind::kTernary: { in CheckRef()