Index: src/gpu/effects/GrConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp |
index f3bd028c2cf0b78af335893a0407521ea30f9eba..0b2adac1c80283c3b698c35c3924c8f92bcf4666 100644 |
--- a/src/gpu/effects/GrConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrConvolutionEffect.cpp |
@@ -35,18 +35,18 @@ void GrGLConvolutionEffect::emitCode(EmitArgs& args) { |
const GrConvolutionEffect& ce = args.fFp.cast<GrConvolutionEffect>(); |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fImageIncrementUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"ImageIncrement"); |
if (ce.useBounds()) { |
- fBoundsUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fBoundsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"Bounds"); |
} |
int width = Gr1DKernelEffect::WidthFromRadius(ce.radius()); |
- fKernelUni = uniformHandler->addUniformArray(GrGLSLUniformHandler::kFragment_Visibility, |
+ fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, |
kFloat_GrSLType, kDefault_GrSLPrecision, |
"Kernel", width); |