| Index: src/gpu/effects/GrBicubicEffect.cpp
|
| diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp
|
| index ccbf78808b1bed85434d9ed8a892b1f0928c2597..25a15916de74712d949413ce703637d3f372091a 100644
|
| --- a/src/gpu/effects/GrBicubicEffect.cpp
|
| +++ b/src/gpu/effects/GrBicubicEffect.cpp
|
| @@ -44,6 +44,8 @@ void GrGLBicubicEffect::emitCode(GrGLShaderBuilder* builder,
|
| const char* inputColor,
|
| const TransformedCoordsArray& coords,
|
| const TextureSamplerArray& samplers) {
|
| + sk_ignore_unused_variable(inputColor);
|
| +
|
| SkString coords2D = builder->ensureFSCoords2D(coords, 0);
|
| fCoefficientsUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility,
|
| kMat44f_GrSLType, "Coefficients");
|
| @@ -106,6 +108,7 @@ GrBicubicEffect::GrBicubicEffect(GrTexture* texture,
|
| fCoefficients[x * 4 + y] = SkScalarToFloat(coefficients[y * 4 + x]);
|
| }
|
| }
|
| + this->setWillNotUseInputColor();
|
| }
|
|
|
| GrBicubicEffect::GrBicubicEffect(GrTexture* texture,
|
| @@ -120,6 +123,7 @@ GrBicubicEffect::GrBicubicEffect(GrTexture* texture,
|
| fCoefficients[x * 4 + y] = SkScalarToFloat(coefficients[y * 4 + x]);
|
| }
|
| }
|
| + this->setWillNotUseInputColor();
|
| }
|
|
|
| GrBicubicEffect::~GrBicubicEffect() {
|
|
|