Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index f89675164ac357ddd599d92063374554ac883249..4b64ca9e478218d62d6068c92cdb3980599559db 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -353,7 +353,8 @@ void GrGLMorphologyEffect::emitCode(GrGLFPBuilder* builder, |
const TransformedCoordsArray& coords, |
const TextureSamplerArray& samplers) { |
fImageIncrementUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec2f_GrSLType, "ImageIncrement"); |
+ kVec2f_GrSLType, kDefault_GrSLPrecision, |
+ "ImageIncrement"); |
GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |
SkString coords2D = fsBuilder->ensureFSCoords2D(coords, 0); |