Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.cpp217 case Expression::Kind::kTernary: in writeExpression()
922 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
929 this->writeExpression(*b.left(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
932 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
942 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
944 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
951 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
954 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
956 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
958 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
[all …]
DSkSLPipelineStageCodeGenerator.cpp502 case Expression::Kind::kTernary: in writeExpression()
575 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
578 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
580 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
582 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
583 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
DSkSLMetalCodeGenerator.cpp182 case Expression::Kind::kTernary: in writeExpression()
1667 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
1670 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
1672 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
1674 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
1675 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
2602 case Expression::Kind::kTernary: { in requirements()
DSkSLVMCodeGenerator.cpp1545 case Expression::Kind::kTernary: in writeExpression()
DSkSLSPIRVCodeGenerator.cpp800 case Expression::Kind::kTernary: in writeExpression()
/third_party/skia/src/sksl/
DSkSLOperators.h43 kTernary = 15, enumerator
DSkSLInliner.cpp432 case Expression::Kind::kTernary: { in inlineExpression()
1026 case Expression::Kind::kTernary: { in visitExpression()
DSkSLDehydrator.cpp415 case Expression::Kind::kTernary: { in write()
DSkSLAnalysis.cpp693 case Expression::Kind::kTernary: { in visitExpression()
/third_party/skia/src/sksl/analysis/
DSkSLIsConstantExpression.cpp65 case Expression::Kind::kTernary: in visitExpression()
/third_party/skia/src/sksl/ir/
DSkSLTernaryExpression.h20 inline static constexpr Kind kExpressionKind = Kind::kTernary;
DSkSLExpression.h56 kTernary, enumerator
DSkSLBinaryExpression.cpp222 case Expression::Kind::kTernary: { in CheckRef()
/third_party/flutter/skia/src/sksl/
DSkSLASTNode.cpp200 case Kind::kTernary: in description()
DSkSLASTNode.h117 kTernary, enumerator
DSkSLIRGenerator.cpp1134 case ASTNode::Kind::kTernary: in convertExpression()
1706 SkASSERT(node.fKind == ASTNode::Kind::kTernary); in convertTernaryExpression()
DSkSLParser.cpp1567 CREATE_NODE(ternary, getNode(base).fOffset, ASTNode::Kind::kTernary); in ternaryExpression()