Lines Matching refs:fSettings
79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers()
254 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
490 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall()
510 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
526 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
527 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
528 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
533 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
540 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall()
553 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall()
564 if (fProgram.fSettings.fCaps->generation() < k140_GrGLSLGeneration) { in writeFunctionCall()
571 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
578 if (!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()) { in writeFunctionCall()
593 if (!fProgram.fSettings.fCaps->removePowWithConstantExponent()) { in writeFunctionCall()
670 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
680 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
698 if (fProgram.fSettings.fSharpenTextures && isTextureFunctionWithBias) { in writeFunctionCall()
725 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeFunctionCall()
745 if (!fProgram.fSettings.fFlipY) { in writeFunctionCall()
748 fProgram.fSettings.fCaps->fragCoordConventionsExtensionString()) { in writeFunctionCall()
750 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
771 if (fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput()) { in writeFunctionCall()
787 this->write(fProgram.fSettings.fFlipY ? "(!gl_FrontFacing)" : "gl_FrontFacing"); in writeFunctionCall()
805 this->write(fProgram.fSettings.fCaps->fbFetchColorName()); in writeFunctionCall()
894 if (fProgram.fSettings.fCaps->unfoldShortCircuitAsTernary() && in writeFunctionCall()
909 !fProgram.fSettings.fCaps->canUseFragCoord(); in writeFunctionCall()
1095 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeFunctionCall()
1103 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeFunctionCall()
1180 if (fProgram.fSettings.fForceHighPrecision || in writeFunctionCall()
1181 fProgram.fSettings.fCaps->incompleteShortIntPrecision()) { in writeFunctionCall()
1187 return fProgram.fSettings.fForceHighPrecision ? "highp " : "mediump "; in writeFunctionCall()
1237 if (fProgram.fSettings.fCaps->imageLoadStoreExtensionString()) { in writeFunctionCall()
1238 this->writeExtension(fProgram.fSettings.fCaps->imageLoadStoreExtensionString()); in writeFunctionCall()
1243 if (fProgram.fSettings.fCaps->externalTextureExtensionString()) { in writeFunctionCall()
1244 this->writeExtension(fProgram.fSettings.fCaps->externalTextureExtensionString()); in writeFunctionCall()
1246 if (fProgram.fSettings.fCaps->secondExternalTextureExtensionString()) { in writeFunctionCall()
1248 fProgram.fSettings.fCaps->secondExternalTextureExtensionString()); in writeFunctionCall()
1341 if (fProgram.fSettings.fCaps->addAndTrueToLoopCondition()) { in writeFunctionCall()
1368 if (!fProgram.fSettings.fCaps->rewriteDoWhileLoops()) { in writeFunctionCall()
1454 this->write(fProgram.fSettings.fCaps->versionDeclString()); in writeFunctionCall()
1472 fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput() && in writeFunctionCall()
1474 if (fProgram.fSettings.fFragColorIsInOut) { in writeFunctionCall()
1496 if (fProgram.fSettings.fCaps->gsInvocationsExtensionString()) { in writeFunctionCall()
1497 this->writeExtension(fProgram.fSettings.fCaps->gsInvocationsExtensionString()); in writeFunctionCall()
1533 fProgram.fSettings.fCaps->geometryShaderExtensionString()) { in writeFunctionCall()
1534 this->writeExtension(fProgram.fSettings.fCaps->geometryShaderExtensionString()); in writeFunctionCall()
1548 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeFunctionCall()