aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrTextureDomain.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2016-12-20 15:06:18 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-20 20:36:12 +0000
commit70826d7d9df4163411e6489d9393714cfc6baafd (patch)
treed9b35776a64b741e226994a532bdaea909ab7809 /src/gpu/effects/GrTextureDomain.cpp
parentb2cb53589b81b450056732b524706fad39bfca1a (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.cpp1
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 {