aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-07-16 09:13:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-16 09:13:51 -0700
commit8cab9a7685e872427e6f0388f149575a9b6016ee (patch)
tree7e9456dfab4ac0def923aef86520e3cb0fcf6c8b /src/gpu/effects
parente8d21e8f24aa676765d0ff8f433228665c75cdc2 (diff)
All batches do their own pipeline compare
Diffstat (limited to 'src/gpu/effects')
-rw-r--r--src/gpu/effects/GrDashingEffect.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp
index 18cd3d12ac..f6fe81ba36 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()) {