| Index: src/gpu/GrDrawState.h
|
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
|
| index 97516e80432190adc444b68cf306e55ae5a68933..e731911016879d2450aa75c1d35eddd4f7e55aa4 100644
|
| --- a/src/gpu/GrDrawState.h
|
| +++ b/src/gpu/GrDrawState.h
|
| @@ -249,9 +249,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()); }
|
|
|