Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index 240173b3155121fc5261fa70f44356caf5acadaa..a1f14ec1cb4ccdb7f30604c142599c83a23bfb25 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -371,7 +371,8 @@ void GrGLArithmeticEffect::emitCode(GrGLFPBuilder* builder, |
SkASSERT(dstColor); |
fKUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec4f_GrSLType, "k"); |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
+ "k"); |
const char* kUni = builder->getUniformCStr(fKUni); |
// We don't try to optimize for this case at all |