Index: src/gpu/glsl/GrGLSLCaps.cpp |
diff --git a/src/gpu/glsl/GrGLSLCaps.cpp b/src/gpu/glsl/GrGLSLCaps.cpp |
index fef5ab377cc9fa667b637c4066db429a3963e8d0..f6cbfe60fd0f205af9d5afbe74027000a2dcf61b 100755 |
--- a/src/gpu/glsl/GrGLSLCaps.cpp |
+++ b/src/gpu/glsl/GrGLSLCaps.cpp |
@@ -20,7 +20,10 @@ GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options) { |
fUsesPrecisionModifiers = false; |
fCanUseAnyFunctionInShader = true; |
fForceHighPrecisionNDSTransform = false; |
+ fTextureSwizzleSupport = false; |
+ fTextureRedSupport = false; |
fVersionDeclString = nullptr; |
+ fShaderDerivativeExtensionString = nullptr; |
fFBFetchColorName = nullptr; |
fFBFetchExtensionString = nullptr; |
fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; |
@@ -50,6 +53,8 @@ SkString GrGLSLCaps::dump() const { |
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("Support texture swizzle: %s\n", (fTextureSwizzleSupport ? "YES": "NO")); |
+ r.appendf("Red texture support: %s\n", (fTextureRedSupport ? "YES": "NO")); |
r.appendf("Advanced blend equation interaction: %s\n", |
kAdvBlendEqInteractionStr[fAdvBlendEqInteraction]); |
return r; |