| Index: src/gpu/GrProcessor.cpp
|
| diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
|
| index bf65cb0fb98ff66828d5c51c084ad96093487dc1..04401c8adf895d3d487020e9e9d4ef725244c7fe 100644
|
| --- a/src/gpu/GrProcessor.cpp
|
| +++ b/src/gpu/GrProcessor.cpp
|
| @@ -133,6 +133,9 @@ void GrProcessor::InvariantOutput::validate() const {
|
| }
|
|
|
| SkASSERT(this->validPreMulColor());
|
| +
|
| + // If we claim that we are not using the input color we must not be modulating the input.
|
| + SkASSERT(fNonMulStageFound || fWillUseInputColor);
|
| }
|
|
|
| bool GrProcessor::InvariantOutput::colorComponentsAllEqual() const {
|
|
|