Index: src/gpu/GrDrawState.cpp |
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp |
index 36042e19ab21fb1b224406481ee41635ffdecc02..4ec39e7005a327d5470fafebfd40c61efa209f6d 100644 |
--- a/src/gpu/GrDrawState.cpp |
+++ b/src/gpu/GrDrawState.cpp |
@@ -147,11 +147,8 @@ bool GrDrawState::canUseFracCoveragePrimProc(GrColor color, const GrDrawTargetCa |
//////////////////////////////////////////////////////////////////////////////s |
-bool GrDrawState::willEffectReadDstColor(const GrPrimitiveProcessor* pp) const { |
- this->calcColorInvariantOutput(pp); |
- this->calcCoverageInvariantOutput(pp); |
- |
- return fXPFactory->willReadDst(fColorProcInfo, fCoverageProcInfo); |
+bool GrDrawState::willEffectReadDstColor() const { |
+ return fXPFactory->willReadDst(); |
} |
void GrDrawState::AutoRestoreEffects::set(GrDrawState* ds) { |