Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index c26229d60d283a6791c9a1148fa5f533df9e9d32..dd20a2701674e075bbeb0cfef67e6a1405c23cfd 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -281,10 +281,12 @@ void GrColorCubeEffect::GLProcessor::emitCode(GrGLFPBuilder* builder, |
} |
fColorCubeSizeUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kFloat_GrSLType, "Size"); |
+ kFloat_GrSLType, kDefault_GrSLPrecision, |
+ "Size"); |
const char* colorCubeSizeUni = builder->getUniformCStr(fColorCubeSizeUni); |
fColorCubeInvSizeUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kFloat_GrSLType, "InvSize"); |
+ kFloat_GrSLType, kDefault_GrSLPrecision, |
+ "InvSize"); |
const char* colorCubeInvSizeUni = builder->getUniformCStr(fColorCubeInvSizeUni); |
const char* nonZeroAlpha = "nonZeroAlpha"; |