Index: src/effects/SkPerlinNoiseShader.cpp |
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp |
index 3dd161cb783dc245f4297734aa438a0dd7ab8f0f..de1780622f63ebd683cc7f2e41f62bb9f3ac87c9 100644 |
--- a/src/effects/SkPerlinNoiseShader.cpp |
+++ b/src/effects/SkPerlinNoiseShader.cpp |
@@ -587,7 +587,7 @@ private: |
} |
void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
- inout->setToUnknown(); |
+ inout->setToUnknown(InvariantOutput::kWillNot_ReadInput); |
} |
GrPerlinNoiseEffect(SkPerlinNoiseShader::Type type, |
@@ -606,7 +606,6 @@ private: |
this->addTextureAccess(&fNoiseAccess); |
fCoordTransform.reset(kLocal_GrCoordSet, matrix); |
this->addCoordTransform(&fCoordTransform); |
- this->setWillNotUseInputColor(); |
} |
GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |