diff options
author | 2015-05-20 14:03:42 -0700 | |
---|---|---|
committer | 2015-05-20 14:03:42 -0700 | |
commit | f2539d50f911914af0f80f0092ff8c654869e650 (patch) | |
tree | 9ae4e47b8ff840d58ec268e7137761d7e836af6b /src/gpu/gl/GrGLPrimitiveProcessor.cpp | |
parent | 67ca2a93f9269768fac39be4406dc167bea6d716 (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.cpp | 2 |
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); } |