Index: include/gpu/GrPaint.h |
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h |
index ff37fcfee899d9f4728d94006208b02f508ed12a..c5563f00fa28ee1fcfb1cd3150eaa5f5b5cdc9da 100644 |
--- a/include/gpu/GrPaint.h |
+++ b/include/gpu/GrPaint.h |
@@ -89,9 +89,6 @@ public: |
*/ |
const GrFragmentProcessor* addColorProcessor(const GrFragmentProcessor* fp) { |
SkASSERT(fp); |
- if (!fp->willUseInputColor()) { |
- fColorStages.reset(); |
- } |
SkNEW_APPEND_TO_TARRAY(&fColorStages, GrFragmentStage, (fp)); |
return fp; |
} |
@@ -101,9 +98,6 @@ public: |
*/ |
const GrFragmentProcessor* addCoverageProcessor(const GrFragmentProcessor* fp) { |
SkASSERT(fp); |
- if (!fp->willUseInputColor()) { |
- fCoverageStages.reset(); |
- } |
SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrFragmentStage, (fp)); |
return fp; |
} |