| Index: src/gpu/GrDrawState.h
|
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
|
| index 15df975d73c4470d5c1e0b83a85ae77c96e4fe9a..baa92afd594d348dc38612585797a5ed022c1396 100644
|
| --- a/src/gpu/GrDrawState.h
|
| +++ b/src/gpu/GrDrawState.h
|
| @@ -246,9 +246,9 @@ public:
|
|
|
| int numColorStages() const { return fColorStages.count(); }
|
| int numCoverageStages() const { return fCoverageStages.count(); }
|
| + int numFragmentStages() const { return this->numColorStages() + this->numCoverageStages(); }
|
| int numTotalStages() const {
|
| - return this->numColorStages() + this->numCoverageStages() +
|
| - (this->hasGeometryProcessor() ? 1 : 0);
|
| + return this->numFragmentStages() + (this->hasGeometryProcessor() ? 1 : 0);
|
| }
|
|
|
| bool hasGeometryProcessor() const { return SkToBool(fGeometryProcessor.get()); }
|
|
|