Index: src/gpu/glsl/GrGLSLCaps.cpp |
diff --git a/src/gpu/glsl/GrGLSLCaps.cpp b/src/gpu/glsl/GrGLSLCaps.cpp |
index 140cb11494753e28e0b3fea639124b2c551be5cc..aed98880f5af73d1eeaeeb7293b707f2ed0b0a6f 100755 |
--- a/src/gpu/glsl/GrGLSLCaps.cpp |
+++ b/src/gpu/glsl/GrGLSLCaps.cpp |
@@ -22,8 +22,12 @@ GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options) { |
fUsesPrecisionModifiers = false; |
fCanUseAnyFunctionInShader = true; |
fForceHighPrecisionNDSTransform = false; |
+ fCanUseMinAndAbsTogether = true; |
+ fMustForceNegatedAtanParamToFloat = false; |
fVersionDeclString = nullptr; |
fShaderDerivativeExtensionString = nullptr; |
+ fFragCoordConventionsExtensionString = nullptr; |
+ fSecondaryOutputExtensionString = nullptr; |
fFBFetchColorName = nullptr; |
fFBFetchExtensionString = nullptr; |
fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; |
@@ -53,9 +57,12 @@ SkString GrGLSLCaps::dump() const { |
r.appendf("Drops tile on zero divide: %s\n", (fDropsTileOnZeroDivide ? "YES" : "NO")); |
r.appendf("Bindless texture support: %s\n", (fBindlessTextureSupport ? "YES" : "NO")); |
r.appendf("Uses precision modifiers: %s\n", (fUsesPrecisionModifiers ? "YES" : "NO")); |
- r.appendf("Can Use any() function: %s\n", (fCanUseAnyFunctionInShader ? "YES" : "NO")); |
+ r.appendf("Can use any() function: %s\n", (fCanUseAnyFunctionInShader ? "YES" : "NO")); |
r.appendf("Force high precision on NDS transform: %s\n", (fForceHighPrecisionNDSTransform ? |
"YES" : "NO")); |
+ r.appendf("Can use min() and abs() together: %s\n", (fCanUseMinAndAbsTogether ? "YES" : "NO")); |
+ r.appendf("Must force negated atan param to float: %s\n", (fMustForceNegatedAtanParamToFloat ? |
+ "YES" : "NO")); |
r.appendf("Advanced blend equation interaction: %s\n", |
kAdvBlendEqInteractionStr[fAdvBlendEqInteraction]); |
return r; |