Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index db25a6fa0475f1bec7de1b56059b84971db46a7f..942bae7d06361d2b136cda1bcff482eab71dcc22 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -343,7 +343,8 @@ void GLColorTableEffect::emitCode(GrGLFPBuilder* builder, |
const TextureSamplerArray& samplers) { |
const char* yoffsets; |
fRGBAYValuesUni = builder->addUniform(GrGLFPBuilder::kFragment_Visibility, |
- kVec4f_GrSLType, "yoffsets", &yoffsets); |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
+ "yoffsets", &yoffsets); |
static const float kColorScaleFactor = 255.0f / 256.0f; |
static const float kColorOffsetFactor = 1.0f / 512.0f; |
GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |