Home
last modified time | relevance | path

Searched refs:BoolLiteral (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLBoolLiteral.h19 struct BoolLiteral : public Expression { struct
20 BoolLiteral(const Context& context, Position position, bool value) in BoolLiteral() function
/external/deqp/framework/randomshaders/
DrsgExpression.hpp142 class BoolLiteral : public Expression class
145 BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange);
146 virtual ~BoolLiteral (void) {} in ~BoolLiteral()
DrsgExpression.cpp285 { getWeight<BoolLiteral>, create<BoolLiteral> },
471 BoolLiteral::BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in BoolLiteral() function in rsg::BoolLiteral
490 float BoolLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
502 void BoolLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.h141 void writeBoolLiteral(const BoolLiteral& b);
DSkSLIRGenerator.cpp301 if (((BoolLiteral&) *test).fValue) { in convertIf()
698 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fPosition, in convertExpression()
952 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold()
953 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold()
961 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fPosition, result)); in constantFold()
1102 if (((BoolLiteral&) *test).fValue) { in convertTernaryExpression()
1411 return std::unique_ptr<Expression>(new BoolLiteral(fContext, base->fPosition, in convertPrefixExpression()
1412 !((BoolLiteral&) *base).fValue)); in convertPrefixExpression()
1540 return std::unique_ptr<Expression>(new BoolLiteral(fContext, position, in getCap()
DSkSLGLSLCodeGenerator.cpp89 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
467 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
DSkSLSPIRVCodeGenerator.h204 SpvId writeBoolLiteral(const BoolLiteral& b);
DSkSLSPIRVCodeGenerator.cpp1198 return this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
2200 BoolLiteral falseLiteral(fContext, Position(), false); in writeLogicalAnd()
2221 BoolLiteral trueLiteral(fContext, Position(), true); in writeLogicalOr()
2359 SpvId SPIRVCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()