Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index 18cd3d12ac35e73ab5d380110ef0cc44252ea3ed..f6fe81ba36779247953b0792b833906ead91573c 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -620,6 +620,10 @@ private: |
} |
bool onCombineIfPossible(GrBatch* t) override { |
+ if (!this->pipeline()->isEqual(*t->pipeline())) { |
+ return false; |
+ } |
+ |
DashBatch* that = t->cast<DashBatch>(); |
if (this->aaMode() != that->aaMode()) { |