aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrDitherEffect.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-10-15 13:49:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-15 13:49:02 -0700
commit9e4d6d180fcfbbe2ea242196cc0affd45b7ed7ae (patch)
treed017bec2b2fa112755f361fefdd0bdf6ddf823d0 /src/gpu/effects/GrDitherEffect.cpp
parentebd90ee211bb8740ff0e600632a7220ae82146a7 (diff)
Move willUseInputColor check to computeInvariantOutput
Diffstat (limited to 'src/gpu/effects/GrDitherEffect.cpp')
-rw-r--r--src/gpu/effects/GrDitherEffect.cpp2
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);
}
//////////////////////////////////////////////////////////////////////////////