diff options
author | humper <humper@google.com> | 2014-06-06 11:55:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-06 11:55:24 -0700 |
commit | 1afc04d8773d6e5c71c01bd4d74c9b5019844d45 (patch) | |
tree | 9ff94b00b75dc0a04f1adc4bda6d0ad14f93ba84 /src/effects | |
parent | da1c00914e87c02d936c5833f03a37d7ec42b003 (diff) |
one channel texture fix for blur shader
BUG=skia:
R=bsalomon@google.com
TBR=bsalomon
NOTRY=True
NOTREECHECKS=True
Author: humper@google.com
Review URL: https://codereview.chromium.org/319543007
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkBlurMaskFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index f9760486d7..80fa9f8fe4 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -634,7 +634,7 @@ void OutputRectBlurProfileLookup(GrGLShaderBuilder* builder, loc, blurred_width, sharp_width, profileSize); builder->fsCodeAppendf("\t\t%s = ", output); builder->fsAppendTextureLookup(sampler, "vec2(coord,0.5)"); - builder->fsCodeAppend(";\n"); + builder->fsCodeAppend(".a;\n"); } void GrGLRectBlurEffect::emitCode(GrGLShaderBuilder* builder, |