Chromium Code Reviews| Index: src/gpu/effects/GrBicubicEffect.cpp |
| diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
| index cc621ddec2aef57ecc24e13c71a675ccc12adcc2..fb98b4ac4ce03050e745782c65d144fcfd985c7d 100644 |
| --- a/src/gpu/effects/GrBicubicEffect.cpp |
| +++ b/src/gpu/effects/GrBicubicEffect.cpp |
| @@ -164,7 +164,8 @@ const GrBackendEffectFactory& GrBicubicEffect::getFactory() const { |
| bool GrBicubicEffect::onIsEqual(const GrEffect& sBase) const { |
| const GrBicubicEffect& s = CastEffect<GrBicubicEffect>(sBase); |
| return this->textureAccess(0) == s.textureAccess(0) && |
| - !memcmp(fCoefficients, s.coefficients(), 16); |
| + !memcmp(fCoefficients, s.coefficients(), 16) && |
| + fDomain == s.fDomain; |
|
bsalomon
2014/08/04 19:52:33
uncovered this bug while working on this CL.
|
| } |
| void GrBicubicEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { |