Searched refs:kTernary (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 232 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 …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 432 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()
|
D | SkSLMetalCodeGenerator.cpp | 185 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()
|
D | SkSLVMCodeGenerator.cpp | 1410 case Expression::Kind::kTernary: in writeExpression()
|
D | SkSLSPIRVCodeGenerator.cpp | 748 case Expression::Kind::kTernary: in writeExpression()
|
/external/skia/src/sksl/ |
D | SkSLOperators.h | 43 kTernary = 15, enumerator
|
D | SkSLASTNode.cpp | 203 case Kind::kTernary: in description()
|
D | SkSLASTNode.h | 116 kTernary, enumerator
|
D | SkSLAnalysis.cpp | 1044 case Expression::Kind::kTernary: in visitExpression() 1204 case Expression::Kind::kTernary: { in visitExpression()
|
D | SkSLInliner.cpp | 401 case Expression::Kind::kTernary: { in inlineExpression() 1005 case Expression::Kind::kTernary: { in visitExpression()
|
D | SkSLDehydrator.cpp | 416 case Expression::Kind::kTernary: { in write()
|
D | SkSLIRGenerator.cpp | 1293 case ASTNode::Kind::kTernary: in convertExpression() 1414 SkASSERT(node.fKind == ASTNode::Kind::kTernary); in convertTernaryExpression()
|
D | SkSLParser.cpp | 1601 ASTNode::ID ternary = this->createNode(getNode(base).fOffset, ASTNode::Kind::kTernary); in ternaryExpression()
|
/external/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 21 static constexpr Kind kExpressionKind = Kind::kTernary;
|
D | SkSLExpression.h | 53 kTernary, enumerator
|
D | SkSLBinaryExpression.cpp | 221 case Expression::Kind::kTernary: { in CheckRef()
|