Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index 5c876d5cff959334bc9cc94d6ea0d5a7c98e0295..126a6394277e0ec27e9b52961509b7870f95b650 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -247,7 +247,7 @@ GR_DEFINE_XP_FACTORY_TEST(GrCoverageSetOpXPFactory); |
const GrXPFactory* GrCoverageSetOpXPFactory::TestCreate(GrProcessorTestData* d) { |
SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1)); |
- bool invertCoverage = d->fRandom->nextBool(); |
+ bool invertCoverage = !d->fRenderTarget->hasMixedSamples() && d->fRandom->nextBool(); |
bsalomon
2015/11/12 21:08:28
Can you add a comment here about why?
|
return GrCoverageSetOpXPFactory::Create(regionOp, invertCoverage); |
} |