| Index: src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| index e3d25a2f1d456119ec6049fd5c4242e5080f7d74..11d973f114f3091a0c904b175a228504c92bd0db 100644
|
| --- a/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| +++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| @@ -99,7 +99,6 @@ private:
|
| this->addTextureAccess(&fYAccess);
|
| this->addTextureAccess(&fUAccess);
|
| this->addTextureAccess(&fVAccess);
|
| - this->setWillNotUseInputColor();
|
| }
|
|
|
| virtual bool onIsEqual(const GrProcessor& sBase) const {
|
| @@ -112,7 +111,8 @@ private:
|
|
|
| virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE {
|
| // YUV is opaque
|
| - inout->setToOther(kA_GrColorComponentFlag, 0xFF << GrColor_SHIFT_A);
|
| + inout->setToOther(kA_GrColorComponentFlag, 0xFF << GrColor_SHIFT_A,
|
| + InvariantOutput::kWill_ReadInput);
|
| }
|
|
|
| GrCoordTransform fCoordTransform;
|
|
|