#include <SkSLUtil.h>
Definition at line 26 of file SkSLUtil.h.
◆ AdvBlendEqInteraction
Indicates how GLSL must interact with advanced blend equations. The KHR extension requires special layout qualifiers in the fragment shader.
Enumerator |
---|
kNotSupported_AdvBlendEqInteraction | |
kAutomatic_AdvBlendEqInteraction | |
kGeneralEnable_AdvBlendEqInteraction | |
kLast_AdvBlendEqInteraction | |
Definition at line 31 of file SkSLUtil.h.
31 {
35
37 };
@ kNotSupported_AdvBlendEqInteraction
@ kAutomatic_AdvBlendEqInteraction
@ kLast_AdvBlendEqInteraction
@ kGeneralEnable_AdvBlendEqInteraction
◆ externalTextureExtensionString()
const char * SkSL::ShaderCaps::externalTextureExtensionString |
( |
| ) |
const |
|
inline |
Definition at line 59 of file SkSLUtil.h.
59 {
62 }
const char * fExternalTextureExtensionString
bool fExternalTextureSupport
◆ mustDeclareFragmentShaderOutput()
bool SkSL::ShaderCaps::mustDeclareFragmentShaderOutput |
( |
| ) |
const |
|
inline |
Definition at line 43 of file SkSLUtil.h.
43 {
45 }
SkSL::GLSLGeneration fGLSLGeneration
◆ mustEnableAdvBlendEqs()
bool SkSL::ShaderCaps::mustEnableAdvBlendEqs |
( |
| ) |
const |
|
inline |
Definition at line 39 of file SkSLUtil.h.
39 {
41 }
AdvBlendEqInteraction fAdvBlendEqInteraction
◆ secondExternalTextureExtensionString()
const char * SkSL::ShaderCaps::secondExternalTextureExtensionString |
( |
| ) |
const |
|
inline |
Definition at line 64 of file SkSLUtil.h.
64 {
67 }
const char * fSecondExternalTextureExtensionString
◆ shaderDerivativeExtensionString()
const char * SkSL::ShaderCaps::shaderDerivativeExtensionString |
( |
| ) |
const |
|
inline |
Definition at line 50 of file SkSLUtil.h.
50 {
53 }
bool fShaderDerivativeSupport
const char * fShaderDerivativeExtensionString
◆ supportedSkSLVerion()
SkSL 300 requires support for derivatives, nonsquare matrices and bitwise integer operations.
Definition at line 72 of file SkSLUtil.h.
72 {
76 }
78 }
bool fNonsquareMatrixSupport
◆ supportsDistanceFieldText()
bool SkSL::ShaderCaps::supportsDistanceFieldText |
( |
| ) |
const |
|
inline |
◆ fAddAndTrueToLoopCondition
bool SkSL::ShaderCaps::fAddAndTrueToLoopCondition = false |
◆ fAdvBlendEqInteraction
◆ fAtan2ImplementedAsAtanYOverX
bool SkSL::ShaderCaps::fAtan2ImplementedAsAtanYOverX = false |
◆ fBuiltinDeterminantSupport
bool SkSL::ShaderCaps::fBuiltinDeterminantSupport = true |
◆ fBuiltinFMASupport
bool SkSL::ShaderCaps::fBuiltinFMASupport = true |
◆ fCanUseFractForNegativeValues
bool SkSL::ShaderCaps::fCanUseFractForNegativeValues = true |
◆ fCanUseFragCoord
bool SkSL::ShaderCaps::fCanUseFragCoord = true |
◆ fCanUseMinAndAbsTogether
bool SkSL::ShaderCaps::fCanUseMinAndAbsTogether = true |
◆ fCanUseVoidInSequenceExpressions
bool SkSL::ShaderCaps::fCanUseVoidInSequenceExpressions = true |
◆ fDualSourceBlendingSupport
bool SkSL::ShaderCaps::fDualSourceBlendingSupport = false |
◆ fEmulateAbsIntFunction
bool SkSL::ShaderCaps::fEmulateAbsIntFunction = false |
◆ fExplicitTextureLodSupport
bool SkSL::ShaderCaps::fExplicitTextureLodSupport = false |
Enables sampleGrad and sampleLod functions that don't rely on implicit derivatives
Definition at line 87 of file SkSLUtil.h.
◆ fExternalTextureExtensionString
const char* SkSL::ShaderCaps::fExternalTextureExtensionString = nullptr |
◆ fExternalTextureSupport
bool SkSL::ShaderCaps::fExternalTextureSupport = false |
◆ fFBFetchColorName
const char* SkSL::ShaderCaps::fFBFetchColorName = nullptr |
◆ fFBFetchNeedsCustomOutput
bool SkSL::ShaderCaps::fFBFetchNeedsCustomOutput = false |
◆ fFBFetchSupport
bool SkSL::ShaderCaps::fFBFetchSupport = false |
◆ fFlatInterpolationSupport
bool SkSL::ShaderCaps::fFlatInterpolationSupport = false |
◆ fFloatBufferArrayName
const char* SkSL::ShaderCaps::fFloatBufferArrayName = nullptr |
◆ fFloatIs32Bits
bool SkSL::ShaderCaps::fFloatIs32Bits = true |
◆ fGLSLGeneration
◆ fInfinitySupport
bool SkSL::ShaderCaps::fInfinitySupport = false |
◆ fIntegerSupport
bool SkSL::ShaderCaps::fIntegerSupport = false |
Indicates true 32-bit integer support, with unsigned types and bitwise operations
Definition at line 89 of file SkSLUtil.h.
◆ fInverseHyperbolicSupport
bool SkSL::ShaderCaps::fInverseHyperbolicSupport = false |
asinh(), acosh(), atanh()
Definition at line 92 of file SkSLUtil.h.
◆ fMustDeclareFragmentFrontFacing
bool SkSL::ShaderCaps::fMustDeclareFragmentFrontFacing = false |
◆ fMustDoOpBetweenFloorAndAbs
bool SkSL::ShaderCaps::fMustDoOpBetweenFloorAndAbs = false |
◆ fMustForceNegatedAtanParamToFloat
bool SkSL::ShaderCaps::fMustForceNegatedAtanParamToFloat = false |
◆ fMustForceNegatedLdexpParamToMultiply
bool SkSL::ShaderCaps::fMustForceNegatedLdexpParamToMultiply = false |
◆ fMustGuardDivisionEvenAfterExplicitZeroCheck
bool SkSL::ShaderCaps::fMustGuardDivisionEvenAfterExplicitZeroCheck = false |
◆ fNoDefaultPrecisionForExternalSamplers
bool SkSL::ShaderCaps::fNoDefaultPrecisionForExternalSamplers = false |
◆ fNonsquareMatrixSupport
bool SkSL::ShaderCaps::fNonsquareMatrixSupport = false |
◆ fNoPerspectiveInterpolationSupport
bool SkSL::ShaderCaps::fNoPerspectiveInterpolationSupport = false |
◆ fPerlinNoiseRoundingFix
bool SkSL::ShaderCaps::fPerlinNoiseRoundingFix = false |
◆ fRemoveConstFromFunctionParameters
bool SkSL::ShaderCaps::fRemoveConstFromFunctionParameters = false |
◆ fRemovePowWithConstantExponent
bool SkSL::ShaderCaps::fRemovePowWithConstantExponent = false |
◆ fRewriteDoWhileLoops
bool SkSL::ShaderCaps::fRewriteDoWhileLoops = false |
◆ fRewriteMatrixComparisons
bool SkSL::ShaderCaps::fRewriteMatrixComparisons = false |
◆ fRewriteMatrixVectorMultiply
bool SkSL::ShaderCaps::fRewriteMatrixVectorMultiply = false |
◆ fRewriteSwitchStatements
bool SkSL::ShaderCaps::fRewriteSwitchStatements = false |
◆ fSampleMaskSupport
bool SkSL::ShaderCaps::fSampleMaskSupport = false |
◆ fSecondExternalTextureExtensionString
const char* SkSL::ShaderCaps::fSecondExternalTextureExtensionString = nullptr |
◆ fShaderDerivativeExtensionString
const char* SkSL::ShaderCaps::fShaderDerivativeExtensionString = nullptr |
◆ fShaderDerivativeSupport
bool SkSL::ShaderCaps::fShaderDerivativeSupport = false |
◆ fUnfoldShortCircuitAsTernary
bool SkSL::ShaderCaps::fUnfoldShortCircuitAsTernary = false |
◆ fUsesPrecisionModifiers
bool SkSL::ShaderCaps::fUsesPrecisionModifiers = false |
◆ fVersionDeclString
const char* SkSL::ShaderCaps::fVersionDeclString = "" |
The documentation for this struct was generated from the following file: