Lines Matching refs:varDecl
271 for (const auto& varDecl : decl.fVars) { in convertVarDeclarations() local
274 varDecl.fName != "sk_FragColor") { in convertVarDeclarations()
280 for (const auto& rawSize : varDecl.fSizes) { in convertVarDeclarations()
308 varDecl.fName, *type, storage)); in convertVarDeclarations()
315 if (varDecl.fValue) { in convertVarDeclarations()
316 value = this->convertExpression(*varDecl.fValue); in convertVarDeclarations()
327 if (storage == Variable::kGlobal_Storage && varDecl.fName == "sk_FragColor" && in convertVarDeclarations()
328 (*fSymbolTable)[varDecl.fName]) { in convertVarDeclarations()
330 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && in convertVarDeclarations()
331 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations()
332 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
334 Variable* old = (Variable*) (*fSymbolTable)[varDecl.fName]; in convertVarDeclarations()
339 fSymbolTable->add(varDecl.fName, std::move(var)); in convertVarDeclarations()