Index: src/gpu/GrRectBatch.cpp |
diff --git a/src/gpu/GrRectBatch.cpp b/src/gpu/GrRectBatch.cpp |
index 222aaef8a90e78780f19813d511e48cc57d37ae8..6933dc1c57787f5520740449d826a0741e54dc18 100644 |
--- a/src/gpu/GrRectBatch.cpp |
+++ b/src/gpu/GrRectBatch.cpp |
@@ -173,6 +173,10 @@ private: |
bool coverageIgnored() const { return fBatch.fCoverageIgnored; } |
bool onCombineIfPossible(GrBatch* t) override { |
+ if (!this->pipeline()->isEqual(*t->pipeline())) { |
+ return false; |
+ } |
+ |
RectBatch* that = t->cast<RectBatch>(); |
if (this->hasLocalRect() != that->hasLocalRect()) { |