Home
last modified time | relevance | path

Searched refs:indexExpr (Results 1 – 3 of 3) 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/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()