15#ifdef SK_ENABLE_DUMP_GPU
28 static const char* kAdvBlendEqInteractionStr[] = {
40 writer->
appendBool(
"Can use void-typed expressions in a sequence expression",
45 writer->
appendBool(
"Must force negated ldexp param to multiply",
50 writer->
appendBool(
"Must guard division even after explicit zero check",
60 writer->
appendBool(
"Don't add default precision statement for samplerExternalOES",
92 if (
options.fDisableDriverCorrectnessWorkarounds) {
117 if (
options.fReducedShaderVariations) {
120#if defined(GR_TEST_UTILS)
121 if (
options.fSuppressDualSourceBlending) {
124 if (
options.fSuppressFramebufferFetch) {
void appendS32(int32_t value)
void beginObject(const char *name=nullptr, bool multiline=true)
void appendBool(bool value)
void appendCString(const char *value)
bool fDstReadInShaderSupport
void applyOptionsOverrides(const GrContextOptions &options)
bool fBitManipulationSupport
bool fMustObfuscateUniformColor
bool fPreferFlatInterpolation
bool fRequiresLocalOutputColorForFBFetch
bool fMustWriteToFragColor
void dumpJSON(SkJSONWriter *) const
bool fHasLowFragmentPrecision
bool fNonconstantArrayIndexSupport
bool fMustGuardDivisionEvenAfterExplicitZeroCheck
bool fRewriteMatrixComparisons
bool fExternalTextureSupport
bool fMustForceNegatedAtanParamToFloat
bool fPerlinNoiseRoundingFix
bool fDualSourceBlendingSupport
bool fEmulateAbsIntFunction
bool fMustDeclareFragmentFrontFacing
bool fCanUseVoidInSequenceExpressions
@ kNotSupported_AdvBlendEqInteraction
@ kAutomatic_AdvBlendEqInteraction
@ kLast_AdvBlendEqInteraction
@ kGeneralEnable_AdvBlendEqInteraction
bool fUnfoldShortCircuitAsTernary
bool fShaderDerivativeSupport
bool fRemovePowWithConstantExponent
bool fFlatInterpolationSupport
bool fRewriteMatrixVectorMultiply
bool fRewriteDoWhileLoops
bool fRewriteSwitchStatements
bool fInverseHyperbolicSupport
AdvBlendEqInteraction fAdvBlendEqInteraction
bool fBuiltinDeterminantSupport
bool fNoPerspectiveInterpolationSupport
bool fAddAndTrueToLoopCondition
bool fNonsquareMatrixSupport
bool fMustDoOpBetweenFloorAndAbs
bool fMustForceNegatedLdexpParamToMultiply
bool fCanUseFractForNegativeValues
bool fNoDefaultPrecisionForExternalSamplers
bool fAtan2ImplementedAsAtanYOverX
bool fUsesPrecisionModifiers
bool fCanUseMinAndAbsTogether