Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 8a0c9a4f57fac4625ebb1f09340e8c40d7b662d3..6b1f8a41f770cc1823e61fe2c46c0516f3de052b 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -736,6 +736,10 @@ private: |
} |
bool onCombineIfPossible(GrBatch* t) override { |
+ if (!this->pipeline()->isEqual(*t->pipeline())) { |
+ return false; |
+ } |
+ |
AAHairlineBatch* that = t->cast<AAHairlineBatch>(); |
if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { |