Lines Matching refs:fVar
805 if (var.fVar->fType.kind() == Type::kSampler_Kind) { in writeFunction()
807 this->writeName(var.fVar->fName); in writeFunction()
809 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
812 this->writeName(var.fVar->fName); in writeFunction()
815 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
918 this->writeName(var->fVar->fName); in writeFunction()
920 this->writeVarInitializer(*var->fVar, *var->fValue); in writeFunction()
1100 if (global && !(var.fVar->fModifiers.fFlags & Modifiers::kConst_Flag)) { in writeVarDeclarations()
1106 this->writeModifiers(var.fVar->fModifiers, global); in writeVarDeclarations()
1111 this->writeName(var.fVar->fName); in writeVarDeclarations()
1121 this->writeVarInitializer(*var.fVar, *var.fValue); in writeVarDeclarations()
1123 if (!fFoundImageDecl && var.fVar->fType == *fContext.fImage2D_Type) { in writeVarDeclarations()
1291 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1311 this->writeName(var.fVar->fName); in writeUniformStruct()
1330 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1338 this->writeName(var.fVar->fName); in writeInputStruct()
1339 if (-1 != var.fVar->fModifiers.fLayout.fLocation) { in writeInputStruct()
1342 to_string(var.fVar->fModifiers.fLayout.fLocation) + ")]]"); in writeInputStruct()
1345 to_string(var.fVar->fModifiers.fLayout.fLocation) + ")]]"); in writeInputStruct()
1369 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeOutputStruct()
1377 this->writeName(var.fVar->fName); in writeOutputStruct()
1380 to_string(var.fVar->fModifiers.fLayout.fLocation) + ")]]"); in writeOutputStruct()
1383 to_string(var.fVar->fModifiers.fLayout.fLocation) +")"); in writeOutputStruct()
1384 int colorIndex = var.fVar->fModifiers.fLayout.fIndex; in writeOutputStruct()
1438 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeGlobalStruct()
1451 this->writeName(var.fVar->fName); in writeGlobalStruct()
1452 if (var.fVar->fType.kind() == Type::kSampler_Kind) { in writeGlobalStruct()
1453 fTextures.push_back(var.fVar); in writeGlobalStruct()
1456 this->writeName(var.fVar->fName); in writeGlobalStruct()
1479 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeProgramElement()