Lines Matching refs:fProgram
79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers()
250 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
486 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall()
506 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
521 if (fProgram.fSettings.fFlipY) { in writeFunctionCall()
530 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
531 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
532 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
537 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
544 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall()
557 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall()
568 if (fProgram.fSettings.fCaps->generation() < k140_GrGLSLGeneration) { in writeFunctionCall()
575 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
582 if (!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()) { in writeFunctionCall()
597 if (!fProgram.fSettings.fCaps->removePowWithConstantExponent()) { in writeFunctionCall()
674 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
684 if (fProgram.fSettings.fCaps->generation() < k130_GrGLSLGeneration) { in writeFunctionCall()
702 if (fProgram.fSettings.fSharpenTextures && isTextureFunctionWithBias) { in writeFunctionCall()
731 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeFunctionCall()
751 if (!fProgram.fSettings.fFlipY) { in writeFunctionCall()
754 fProgram.fSettings.fCaps->fragCoordConventionsExtensionString()) { in writeFunctionCall()
756 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
777 if (fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput()) { in writeFunctionCall()
793 this->write(fProgram.fSettings.fFlipY ? "(!gl_FrontFacing)" : "gl_FrontFacing"); in writeFunctionCall()
811 this->write(fProgram.fSettings.fCaps->fbFetchColorName()); in writeFunctionCall()
913 if (fProgram.fSettings.fCaps->unfoldShortCircuitAsTernary() && in writeFunctionCall()
928 !fProgram.fSettings.fCaps->canUseFragCoord(); in writeFunctionCall()
1114 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeFunctionCall()
1122 fProgram.fSettings.fCaps->generation() < GrGLSLGeneration::k130_GrGLSLGeneration) { in writeFunctionCall()
1207 if (fProgram.fSettings.fForceHighPrecision || in writeFunctionCall()
1208 fProgram.fSettings.fCaps->incompleteShortIntPrecision()) { in writeFunctionCall()
1214 return fProgram.fSettings.fForceHighPrecision ? "highp " : "mediump "; in writeFunctionCall()
1264 if (fProgram.fSettings.fCaps->imageLoadStoreExtensionString()) { in writeFunctionCall()
1265 this->writeExtension(fProgram.fSettings.fCaps->imageLoadStoreExtensionString()); in writeFunctionCall()
1270 if (fProgram.fSettings.fCaps->externalTextureExtensionString()) { in writeFunctionCall()
1271 this->writeExtension(fProgram.fSettings.fCaps->externalTextureExtensionString()); in writeFunctionCall()
1273 if (fProgram.fSettings.fCaps->secondExternalTextureExtensionString()) { in writeFunctionCall()
1275 fProgram.fSettings.fCaps->secondExternalTextureExtensionString()); in writeFunctionCall()
1368 if (fProgram.fSettings.fCaps->addAndTrueToLoopCondition()) { in writeFunctionCall()
1395 if (!fProgram.fSettings.fCaps->rewriteDoWhileLoops()) { in writeFunctionCall()
1481 this->write(fProgram.fSettings.fCaps->versionDeclString()); in writeFunctionCall()
1499 fProgram.fSettings.fCaps->mustDeclareFragmentShaderOutput() && in writeFunctionCall()
1501 if (fProgram.fSettings.fFragColorIsInOut) { in writeFunctionCall()
1523 if (fProgram.fSettings.fCaps->gsInvocationsExtensionString()) { in writeFunctionCall()
1524 this->writeExtension(fProgram.fSettings.fCaps->gsInvocationsExtensionString()); in writeFunctionCall()
1541 if (fProgram.fInputs.fRTWidth) { in writeFunctionCall()
1547 if (fProgram.fInputs.fRTHeight) { in writeFunctionCall()
1560 fProgram.fSettings.fCaps->geometryShaderExtensionString()) { in writeFunctionCall()
1561 this->writeExtension(fProgram.fSettings.fCaps->geometryShaderExtensionString()); in writeFunctionCall()
1566 for (const auto& e : fProgram) { in writeFunctionCall()
1575 if (!fProgram.fSettings.fCaps->canUseFragCoord()) { in writeFunctionCall()
1577 switch (fProgram.fKind) { in writeFunctionCall()