Home
last modified time | relevance | path

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

/external/skia/src/sksl/ir/
DSkSLIndexExpression.cpp52 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Convert() local
53 if (indexExpr->is<IntLiteral>()) { in Convert()
54 SKSL_INT indexValue = indexExpr->as<IntLiteral>().value(); in Convert()
77 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Make() local
78 if (indexExpr->is<IntLiteral>() && baseType.isVector()) { in Make()
79 SKSL_INT indexValue = indexExpr->as<IntLiteral>().value(); in Make()
/external/skia/src/sksl/
DSkSLInliner.cpp985 IndexExpression& indexExpr = (*expr)->as<IndexExpression>(); in visitExpression() local
986 this->visitExpression(&indexExpr.base()); in visitExpression()
987 this->visitExpression(&indexExpr.index()); in visitExpression()
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1490 IndexExpression& indexExpr = (IndexExpression&) expr; in getAccessChain() local
1491 chain = this->getAccessChain(*indexExpr.fBase, out); in getAccessChain()
1492 chain.push_back(this->writeExpression(*indexExpr.fIndex, out)); in getAccessChain()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1795 const IndexExpression& indexExpr = expr.as<IndexExpression>(); in getAccessChain() local
1796 chain = this->getAccessChain(*indexExpr.base(), out); in getAccessChain()
1797 chain.push_back(this->writeExpression(*indexExpr.index(), out)); in getAccessChain()