| Index: src/effects/SkDisplacementMapEffect.cpp
|
| diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp
|
| index 59768fc15879ad036998045bbf46daa54068579b..23da1716479ed146acbdce22ddae537432d99b4f 100644
|
| --- a/src/effects/SkDisplacementMapEffect.cpp
|
| +++ b/src/effects/SkDisplacementMapEffect.cpp
|
| @@ -472,7 +472,6 @@ GrDisplacementMapEffect::GrDisplacementMapEffect(
|
| this->addTextureAccess(&fDisplacementAccess);
|
| this->addCoordTransform(&fColorTransform);
|
| this->addTextureAccess(&fColorAccess);
|
| - this->setWillNotUseInputColor();
|
| }
|
|
|
| GrDisplacementMapEffect::~GrDisplacementMapEffect() {
|
| @@ -497,7 +496,7 @@ void GrDisplacementMapEffect::onComputeInvariantOutput(InvariantOutput* inout) c
|
| // and no displacement offset push any texture coordinates out of bounds OR if the constant
|
| // alpha is 0. Since this isn't trivial to compute at this point, let's assume the output is
|
| // not of constant color when a displacement effect is applied.
|
| - inout->setToUnknown();
|
| + inout->setToUnknown(InvariantOutput::kWillNot_ReadInput);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|