Index: src/gpu/effects/GrMatrixConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
index 3cd3588a4c4c3548e351febe2e7508b56af3c670..6a710995a2d7e0c7d9e3b43ccab07c68049c4b7b 100644 |
--- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
@@ -55,19 +55,20 @@ void GrGLMatrixConvolutionEffect::emitCode(GrGLFPBuilder* builder, |
const GrTextureDomain& domain = fp.cast<GrMatrixConvolutionEffect>().domain(); |
fBoundsUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec4f_GrSLType, "Bounds"); |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, "Bounds"); |
fImageIncrementUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec2f_GrSLType, "ImageIncrement"); |
+ kVec2f_GrSLType, kDefault_GrSLPrecision, |
+ "ImageIncrement"); |
fKernelUni = builder->addUniformArray(GrGLProgramBuilder::kFragment_Visibility, |
- kFloat_GrSLType, |
+ kFloat_GrSLType, kDefault_GrSLPrecision, |
"Kernel", |
fKernelSize.width() * fKernelSize.height()); |
fKernelOffsetUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec2f_GrSLType, "KernelOffset"); |
+ kVec2f_GrSLType, kDefault_GrSLPrecision, "KernelOffset"); |
fGainUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kFloat_GrSLType, "Gain"); |
+ kFloat_GrSLType, kDefault_GrSLPrecision, "Gain"); |
fBiasUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kFloat_GrSLType, "Bias"); |
+ kFloat_GrSLType, kDefault_GrSLPrecision, "Bias"); |
const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); |
const char* imgInc = builder->getUniformCStr(fImageIncrementUni); |