diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/batches/GrNonAAFillRectBatch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp index 54edb7d7c9..765d0dafa8 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)); } |