Home
last modified time | relevance | path

Searched refs:fVars (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/sksl/ir/
DSkSLVarDeclarations.h76 fVars.push_back(std::unique_ptr<Statement>(var.release())); in VarDeclarations()
82 for (const auto& v : fVars) { in clone()
91 if (!fVars.size()) { in description()
94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
97 for (const auto& var : fVars) { in description()
108 std::vector<std::unique_ptr<Statement>> fVars; member
DSkSLVarDeclarationsStatement.h25 for (const auto& s : fDeclaration->fVars) { in isEmpty()
/external/skqp/src/sksl/
DSkSLInterpreter.cpp48 fVars.emplace_back(); in run()
52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()
163 for (const auto& decl :((const VarDeclarationsStatement&) stmt).fDeclaration->fVars) { in runStatement()
166 fVars.back()[var] = pos; in runStatement()
199 SkASSERT(fVars.size()); in getLValue()
200 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in getLValue()
201 fVars.back().end()); in getLValue()
202 return fVars.back()[&((VariableReference&) expr).fVariable]; in getLValue()
454 SkASSERT(fVars.size()); in evaluate()
455 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in evaluate()
[all …]
DSkSLMetalCodeGenerator.cpp654 if (!decls.fVars.size()) { in writeFunction()
657 for (const auto& stmt: decls.fVars) { in writeFunction()
952 SkASSERT(decl.fVars.size() > 0); in writeVarDeclarations()
954 for (const auto& stmt : decl.fVars) { in writeVarDeclarations()
1144 if (!decls.fVars.size()) { in writeUniformStruct()
1147 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1165 for (const auto& stmt : decls.fVars) { in writeUniformStruct()
1183 if (!decls.fVars.size()) { in writeInputStruct()
1186 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1192 for (const auto& stmt : decls.fVars) { in writeInputStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp88 for (const auto& raw : decls.fVars) { in writeFunctionCall()
143 for (const auto& decl : decls.fVars) { in writeVariableReference()
217 if (!decls.fVars.size()) { in writeProgramElement()
220 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
DSkSLCPPCodeGenerator.cpp356 for (const auto& raw : decls.fVars) { in getChildFPIndex()
479 if (!decls.fVars.size()) { in writeProgramElement()
482 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
545 for (const auto& raw : decls.fVars) { in writePrivateVars()
585 for (const auto& raw : decls.fVars) { in writePrivateVarValues()
810 for (const auto& raw : decls.fVars) { in writeEmitCode()
926 for (const auto& raw : decls.fVars) { in writeSetData()
1107 for (const auto& raw : decls.fVars) { in generateCode()
DSkSLInterpreter.h83 std::vector<std::unordered_map<const Variable*, StackIndex>> fVars; variable
DSkSLSectionAndParameterHelper.h46 for (const auto& raw : decls.fVars) { in SectionAndParameterHelper()
DSkSLGLSLCodeGenerator.cpp1209 if (!decl.fVars.size()) { in writeFunctionCall()
1213 for (const auto& stmt : decl.fVars) { in writeFunctionCall()
1465 if (decl.fVars.size() > 0) { in writeFunctionCall()
1466 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1473 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
DSkSLCompiler.cpp435 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state()
1202 for (auto varIter = decls.fVars.begin(); varIter != decls.fVars.end();) { in scanCFG()
1204 varIter = decls.fVars.erase(varIter); in scanCFG()
1209 if (!decls.fVars.size()) { in scanCFG()
DSkSLCFGGenerator.cpp488 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
DSkSLParser.cpp496 for (const auto& var : decl->fVars) { in structDeclaration()
535 for (const auto& var : result->fVars) { in structVarDeclaration()
DSkSLSPIRVCodeGenerator.cpp2684 for (size_t i = 0; i < decl.fVars.size(); i++) { in writeGlobalVars()
2685 if (decl.fVars[i]->fKind == Statement::kNop_Kind) { in writeGlobalVars()
2688 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; in writeGlobalVars()
2760 for (const auto& stmt : decl.fVars) { in writeVarDeclarations()
DSkSLIRGenerator.cpp265 for (const auto& varDecl : decl.fVars) { in convertVarDeclarations()
830 for (const auto& stmt : decl->fVars) { in convertInterfaceBlock()
DSkSLJIT.cpp1072 for (const auto& declStatement : decls.fDeclaration->fVars) { in compileVarDeclarations()
/external/skqp/src/sksl/ast/
DSkSLASTVarDeclaration.h66 , fVars(std::move(vars)) {} in ASTVarDeclarations()
71 for (const auto& var : fVars) { in description()
81 const std::vector<ASTVarDeclaration> fVars; member
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp32 for (const auto& varStatement : v.fVars) { in GrSkSLFPFactory()