Index: src/gpu/effects/GrYUVtoRGBEffect.cpp |
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp |
index f280d1bdd4324a46c330a37088071fbb25677ae6..b18bd7fa015fa6b0c5caa6f5695d2c3d1a3fd279 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 GrFragmentProcessor& 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; |