Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 835c86b5fb811d58289e2cf4c7cfad7faa30199e..e1f3e1b0330215adf60948c7eb854f9aa172ef88 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -536,7 +536,8 @@ void GrGLCaps::initGLSL(const GrContextOptions& contextOptions, |
// from our GrTextureDomain processor. |
glslCaps->fCanUseAnyFunctionInShader = kImagination_GrGLVendor != ctxInfo.vendor(); |
- glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor(); |
+ glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor() || |
+ kPowerVR54x_GrGLRenderer == ctxInfo.renderer(); |
glslCaps->fVersionDeclString = get_glsl_version_decl_string(standard, glslCaps->fGLSLGeneration, |
fIsCoreProfile); |