Lines Matching refs:fProgram
71 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers()
236 ASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
436 if (!fProgram.fSettings.fCaps->canUseMinAndAbsTogether() && c.fFunction.fName == "min" && in writeFunctionCall()
450 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues() && c.fFunction.fName == "fract" && in writeFunctionCall()
462 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
477 fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
483 fProgram.fSettings.fCaps->generation() < k140_GrGLSLGeneration) { in writeFunctionCall()
489 fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
495 fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
501 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
502 ASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
504 fHeader.writeText(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
559 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
600 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeFragCoord()
620 if (!fProgram.fSettings.fFlipY) { in writeFragCoord()
623 fProgram.fSettings.fCaps->fragCoordConventionsExtensionString()) { in writeFragCoord()
625 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFragCoord()
663 if (fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput()) { in writeVariableReference()
782 !fProgram.fSettings.fCaps->canUseFragCoord(); in writeBinaryExpression()
934 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeModifiers()
942 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeModifiers()
1010 return fProgram.fSettings.fForceHighPrecision ? "highp " : "mediump "; in getTypePrecision()
1060 if (fProgram.fSettings.fCaps->imageLoadStoreExtensionString()) { in writeVarDeclarations()
1062 fHeader.writeText(fProgram.fSettings.fCaps->imageLoadStoreExtensionString()); in writeVarDeclarations()
1215 this->write(fProgram.fSettings.fCaps->versionDeclString()); in writeHeader()
1217 for (const auto& e : fProgram.fElements) { in writeHeader()
1222 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeHeader()
1224 switch (fProgram.fKind) { in writeHeader()
1256 fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput()) { in writeProgramElement()
1257 if (fProgram.fSettings.fFragColorIsInOut) { in writeProgramElement()
1279 if (fProgram.fSettings.fCaps->gsInvocationsExtensionString()) { in writeProgramElement()
1281 fHeader.writeText(fProgram.fSettings.fCaps->gsInvocationsExtensionString()); in writeProgramElement()
1301 fProgramKind = fProgram.fKind; in generateCode()
1304 fProgram.fSettings.fCaps->geometryShaderExtensionString()) { in generateCode()
1306 fHeader.writeText(fProgram.fSettings.fCaps->geometryShaderExtensionString()); in generateCode()
1311 for (const auto& e : fProgram.fElements) { in generateCode()