diff options
author | Brian Salomon <bsalomon@google.com> | 2016-11-17 12:47:06 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-17 18:33:05 +0000 |
commit | a7c4c29abfee3b17f1ba0e6c6b1f98b6fb9cd2b8 (patch) | |
tree | 2c4e0989c32561a4dc923c1395568a0191982af3 /src/gpu/effects | |
parent | 4eb35bb7d72d0e87f1546e822909929e1eef12bb (diff) |
Remove unnecessary TextureSampler comparison in GrTextureDomainEffect.
The base class already performs this comparison.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4960
Change-Id: Ic2a46e05f05ba36b291c05e324aa29b4aad15c23
Reviewed-on: https://skia-review.googlesource.com/4960
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrTextureDomain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp index 4418730961..4d163b88d3 100644 --- a/src/gpu/effects/GrTextureDomain.cpp +++ b/src/gpu/effects/GrTextureDomain.cpp @@ -242,8 +242,7 @@ GrGLSLFragmentProcessor* GrTextureDomainEffect::onCreateGLSLInstance() const { bool GrTextureDomainEffect::onIsEqual(const GrFragmentProcessor& sBase) const { const GrTextureDomainEffect& s = sBase.cast<GrTextureDomainEffect>(); - return this->fTextureDomain == s.fTextureDomain && - s.textureSampler(0) == this->textureSampler(0); + return this->fTextureDomain == s.fTextureDomain; } void GrTextureDomainEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |