Index: src/gpu/GrOptDrawState.h |
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h |
index 55a5071d4179414af49eca990ec7166d934fe678..cf5737373caa44ba3134f6a7d9efb56bc52ecef4 100644 |
--- a/src/gpu/GrOptDrawState.h |
+++ b/src/gpu/GrOptDrawState.h |
@@ -79,8 +79,7 @@ |
int numCoverageStages() const { return fFragmentStages.count() - fNumColorStages; } |
int numFragmentStages() const { return fFragmentStages.count(); } |
int numTotalStages() const { |
- // the + 1 at the end is for the xferProcessor which will always be present |
- return this->numFragmentStages() + (this->hasGeometryProcessor() ? 1 : 0) + 1; |
+ return this->numFragmentStages() + (this->hasGeometryProcessor() ? 1 : 0); |
} |
bool hasGeometryProcessor() const { return SkToBool(fGeometryProcessor.get()); } |