diff options
author | egdaniel <egdaniel@google.com> | 2014-10-15 13:49:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-15 13:49:02 -0700 |
commit | 9e4d6d180fcfbbe2ea242196cc0affd45b7ed7ae (patch) | |
tree | d017bec2b2fa112755f361fefdd0bdf6ddf823d0 /src/gpu/effects/GrDitherEffect.cpp | |
parent | ebd90ee211bb8740ff0e600632a7220ae82146a7 (diff) |
Move willUseInputColor check to computeInvariantOutput
BUG=skia:
Review URL: https://codereview.chromium.org/656503002
Diffstat (limited to 'src/gpu/effects/GrDitherEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrDitherEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp index 068a23eae7..643829b848 100644 --- a/src/gpu/effects/GrDitherEffect.cpp +++ b/src/gpu/effects/GrDitherEffect.cpp @@ -50,7 +50,7 @@ private: }; void DitherEffect::onComputeInvariantOutput(InvariantOutput* inout) const { - inout->setToUnknown(); + inout->setToUnknown(InvariantOutput::kWill_ReadInput); } ////////////////////////////////////////////////////////////////////////////// |