Lines Matching refs:fVar

358                 if (decl.fVar == &reference.fVariable) {  in getChildFPIndex()
360 } else if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in getChildFPIndex()
482 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
547 if (is_private(*decl.fVar)) { in writePrivateVars()
548 if (decl.fVar->fType == *fContext.fFragmentProcessor_Type) { in writePrivateVars()
554 HCodeGenerator::FieldType(fContext, decl.fVar->fType, in writePrivateVars()
555 decl.fVar->fModifiers.fLayout).c_str(), in writePrivateVars()
556 String(decl.fVar->fName).c_str(), in writePrivateVars()
557 default_value(*decl.fVar).c_str()); in writePrivateVars()
558 } else if (decl.fVar->fModifiers.fLayout.fFlags & Layout::kTracked_Flag) { in writePrivateVars()
562 … const UniformCTypeMapper* mapper = UniformCTypeMapper::Get(fContext, *decl.fVar); in writePrivateVars()
565 String name = HCodeGenerator::FieldName(String(decl.fVar->fName).c_str()); in writePrivateVars()
587 if (is_private(*decl.fVar) && decl.fValue) { in writePrivateVarValues()
588 this->writef("%s = ", String(decl.fVar->fName).c_str()); in writePrivateVarValues()
812 String nameString(decl.fVar->fName); in writeEmitCode()
814 if (SectionAndParameterHelper::IsParameter(*decl.fVar) && in writeEmitCode()
815 is_accessible(*decl.fVar)) { in writeEmitCode()
928 String nameString(decl.fVar->fName); in writeSetData()
930 if (decl.fVar->fType.kind() == Type::kSampler_Kind) { in writeSetData()
938 } else if (needs_uniform_var(*decl.fVar)) { in writeSetData()
942 } else if (SectionAndParameterHelper::IsParameter(*decl.fVar) && in writeSetData()
943 decl.fVar->fType != *fContext.fFragmentProcessor_Type) { in writeSetData()
1109 if ((decl.fVar->fModifiers.fFlags & Modifiers::kUniform_Flag) && in generateCode()
1110 decl.fVar->fType.kind() != Type::kSampler_Kind) { in generateCode()
1111 uniforms.push_back(decl.fVar); in generateCode()
1114 if (is_uniform_in(*decl.fVar)) { in generateCode()
1118 UniformCTypeMapper::Get(fContext, *decl.fVar); in generateCode()
1120 fErrors.error(decl.fOffset, String(decl.fVar->fName) in generateCode()
1124 if (decl.fVar->fModifiers.fLayout.fFlags & Layout::kTracked_Flag) { in generateCode()
1126 fErrors.error(decl.fOffset, String(decl.fVar->fName) in generateCode()
1134 if (decl.fVar->fModifiers.fLayout.fFlags & Layout::kTracked_Flag) { in generateCode()