Index: src/gpu/GrTestBatch.h |
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h |
index e180fac39046f793f278e148f0ee330e92a764de..41839eee86e9269c329221019b4d0ad14d2319e5 100644 |
--- a/src/gpu/GrTestBatch.h |
+++ b/src/gpu/GrTestBatch.h |
@@ -25,11 +25,7 @@ public: |
void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
// When this is called on a batch, there is only one geometry bundle |
- if (fGeometryProcessor->hasVertexColor()) { |
- out->setUnknownFourComponents(); |
- } else { |
- out->setKnownFourComponents(fGeometryProcessor->color()); |
- } |
+ out->setKnownFourComponents(fGeometryProcessor->color()); |
} |
void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |