Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLIndexExpression.cpp80 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Convert() local
81 if (indexExpr->isIntLiteral()) { in Convert()
82 SKSL_INT indexValue = indexExpr->as<Literal>().intValue(); in Convert()
97 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Make() local
98 if (indexExpr->isIntLiteral()) { in Make()
99 SKSL_INT indexValue = indexExpr->as<Literal>().intValue(); in Make()
/third_party/skia/src/sksl/
DSkSLInliner.cpp1006 IndexExpression& indexExpr = (*expr)->as<IndexExpression>(); in visitExpression() local
1007 this->visitExpression(&indexExpr.base()); in visitExpression()
1008 this->visitExpression(&indexExpr.index()); in visitExpression()
/third_party/flutter/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1557 IndexExpression& indexExpr = (IndexExpression&) expr; in getAccessChain() local
1558 chain = this->getAccessChain(*indexExpr.fBase, out); in getAccessChain()
1559 chain.push_back(this->writeExpression(*indexExpr.fIndex, out)); in getAccessChain()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1868 const IndexExpression& indexExpr = expr.as<IndexExpression>(); in getAccessChain() local
1869 chain = this->getAccessChain(*indexExpr.base(), out); in getAccessChain()
1870 chain.push_back(this->writeExpression(*indexExpr.index(), out)); in getAccessChain()