Index: src/gpu/GrFragmentProcessor.cpp |
diff --git a/src/gpu/GrFragmentProcessor.cpp b/src/gpu/GrFragmentProcessor.cpp |
index c905fcc44f3fb34835c095e20a274799de714214..a9d4a5e8a18bcb4ec6b976b154b732ae3d9c718a 100644 |
--- a/src/gpu/GrFragmentProcessor.cpp |
+++ b/src/gpu/GrFragmentProcessor.cpp |
@@ -24,17 +24,12 @@ GrFragmentProcessor::~GrFragmentProcessor() { |
} |
} |
-bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that, |
- bool ignoreCoordTransforms) const { |
+bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that) const { |
if (this->classID() != that.classID() || |
!this->hasSameSamplers(that)) { |
return false; |
} |
- if (ignoreCoordTransforms) { |
- if (this->numTransforms() != that.numTransforms()) { |
- return false; |
- } |
- } else if (!this->hasSameTransforms(that)) { |
+ if (!this->hasSameTransforms(that)) { |
return false; |
} |
if (!this->onIsEqual(that)) { |
@@ -44,7 +39,7 @@ bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that, |
return false; |
} |
for (int i = 0; i < this->numChildProcessors(); ++i) { |
- if (!this->childProcessor(i).isEqual(that.childProcessor(i), ignoreCoordTransforms)) { |
+ if (!this->childProcessor(i).isEqual(that.childProcessor(i))) { |
return false; |
} |
} |