Index: src/gpu/batches/GrNonAAFillRectBatch.cpp |
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp |
index 54edb7d7c925ed7eb58591e634862b5f3a36e796..765d0dafa89885dae2527eeb0e2bd4709ea7252c 100644 |
--- a/src/gpu/batches/GrNonAAFillRectBatch.cpp |
+++ b/src/gpu/batches/GrNonAAFillRectBatch.cpp |
@@ -157,6 +157,7 @@ public: |
const GrPipelineOptimizations& opts) { |
// We could batch across perspective vm changes if we really wanted to |
return mine.fViewMatrix.cheapEqualTo(theirs.fViewMatrix) && |
+ mine.fHasLocalRect == theirs.fHasLocalRect && |
(!mine.fHasLocalMatrix || mine.fLocalMatrix.cheapEqualTo(theirs.fLocalMatrix)); |
} |