Index: src/gpu/effects/GrBicubicEffect.cpp |
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
index cc38d626a9fbb6819bbf9d0885c8ea4b901c9030..567c38c7a89e0fcc7ad0bba0a60d4c745dba6cbd 100644 |
--- a/src/gpu/effects/GrBicubicEffect.cpp |
+++ b/src/gpu/effects/GrBicubicEffect.cpp |
@@ -48,10 +48,10 @@ void GrGLBicubicEffect::emitCode(EmitArgs& args) { |
const GrTextureDomain& domain = args.fFp.cast<GrBicubicEffect>().domain(); |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
- fCoefficientsUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fCoefficientsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kMat44f_GrSLType, kDefault_GrSLPrecision, |
"Coefficients"); |
- fImageIncrementUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec2f_GrSLType, kDefault_GrSLPrecision, |
"ImageIncrement"); |