diff options
author | Brian Osman <brianosman@google.com> | 2016-12-20 15:06:18 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-20 20:36:12 +0000 |
commit | 70826d7d9df4163411e6489d9393714cfc6baafd (patch) | |
tree | d9b35776a64b741e226994a532bdaea909ab7809 /src/gpu/effects/GrTextureDomain.cpp | |
parent | b2cb53589b81b450056732b524706fad39bfca1a (diff) |
Add color space xform bits to key for texture domain effect
Overlooked this in a recent CL
BUG=skia:
Change-Id: I050f8843cc2a8caadc2a46f1ea833b74b47f76b7
Reviewed-on: https://skia-review.googlesource.com/6341
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/effects/GrTextureDomain.cpp')
-rw-r--r-- | src/gpu/effects/GrTextureDomain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp index c9bf54594c..c6ff9f73e4 100644 --- a/src/gpu/effects/GrTextureDomain.cpp +++ b/src/gpu/effects/GrTextureDomain.cpp @@ -204,6 +204,7 @@ GrTextureDomainEffect::GrTextureDomainEffect(GrTexture* texture, void GrTextureDomainEffect::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { b->add32(GrTextureDomain::GLDomain::DomainKey(fTextureDomain)); + b->add32(GrColorSpaceXform::XformKey(this->colorSpaceXform())); } GrGLSLFragmentProcessor* GrTextureDomainEffect::onCreateGLSLInstance() const { |