aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPrimitiveProcessor.cpp
diff options
context:
space:
mode:
authorGravatar senorblanco <senorblanco@chromium.org>2015-05-20 14:03:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-20 14:03:42 -0700
commitf2539d50f911914af0f80f0092ff8c654869e650 (patch)
tree9ae4e47b8ff840d58ec268e7137761d7e836af6b /src/gpu/gl/GrGLPrimitiveProcessor.cpp
parent67ca2a93f9269768fac39be4406dc167bea6d716 (diff)
Use high precision vertex attributes.
Specifying vertex attributes and the view matrix as mediump causes bad artifacts on Mali T6XX. Covered by the bigmatrix GM in msaa4 mode. BUG:skia=3545,3771 Review URL: https://codereview.chromium.org/1145273002
Diffstat (limited to 'src/gpu/gl/GrGLPrimitiveProcessor.cpp')
-rw-r--r--src/gpu/gl/GrGLPrimitiveProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLPrimitiveProcessor.cpp b/src/gpu/gl/GrGLPrimitiveProcessor.cpp
index d719774a66..893e55609e 100644
--- a/src/gpu/gl/GrGLPrimitiveProcessor.cpp
+++ b/src/gpu/gl/GrGLPrimitiveProcessor.cpp
@@ -47,7 +47,7 @@ void GrGLPrimitiveProcessor::setupUniformColor(GrGLGPBuilder* pb,
void GrGLPrimitiveProcessor::addUniformViewMatrix(GrGLGPBuilder* pb) {
fViewMatrixUniform = pb->addUniform(GrGLProgramBuilder::kVertex_Visibility,
- kMat33f_GrSLType, kDefault_GrSLPrecision,
+ kMat33f_GrSLType, kHigh_GrSLPrecision,
"uViewM",
&fViewMatrixName);
}