Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index d3376033291e2b444874febc814e474ebfaa0715..06a602ac012f04fce29c52020a7f58c8958336f7 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -346,7 +346,7 @@ const GrBackendFragmentProcessorFactory& GrArithmeticEffect::getFactory() const |
void GrArithmeticEffect::onComputeInvariantOutput(InvariantOutput* inout) const { |
// TODO: optimize this |
- inout->setToUnknown(); |
+ inout->setToUnknown(InvariantOutput::kWill_ReadInput); |
} |
/////////////////////////////////////////////////////////////////////////////// |