Home
last modified time | relevance | path

Searched refs:kTernary_Precedence (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp951 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
958 this->writeExpression(*b.fLeft, kTernary_Precedence); in writeFunctionCall()
961 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
971 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
973 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
980 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
983 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall()
985 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall()
987 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
988 if (kTernary_Precedence >= parentPrecedence) { in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp720 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
723 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression()
725 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
727 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
728 if (kTernary_Precedence >= parentPrecedence) { in writeTernaryExpression()
DSkSLGLSLCodeGenerator.h70 kTernary_Precedence = 15, enumerator
DSkSLMetalCodeGenerator.h74 kTernary_Precedence = 15, enumerator