Index: src/gpu/glsl/GrGLSLCaps.cpp |
diff --git a/src/gpu/glsl/GrGLSLCaps.cpp b/src/gpu/glsl/GrGLSLCaps.cpp |
index c82d8333dff89a786a721429a7b30cb4da34e332..b03a6ea7941ff5d0bca494934813ef119befee9f 100755 |
--- a/src/gpu/glsl/GrGLSLCaps.cpp |
+++ b/src/gpu/glsl/GrGLSLCaps.cpp |
@@ -23,11 +23,14 @@ GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options) { |
fCanUseAnyFunctionInShader = true; |
fCanUseMinAndAbsTogether = true; |
fMustForceNegatedAtanParamToFloat = false; |
+ // Consistent with the default GLSL generation. |
+ fRectangleTextureUseUnifiedTextureFunctionName = true; |
fVersionDeclString = nullptr; |
fShaderDerivativeExtensionString = nullptr; |
fFragCoordConventionsExtensionString = nullptr; |
fSecondaryOutputExtensionString = nullptr; |
fExternalTextureExtensionString = nullptr; |
+ fRectangleTextureExtensionString = nullptr; |
fFBFetchColorName = nullptr; |
fFBFetchExtensionString = nullptr; |
fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; |