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
This commit is contained in:
humper 2014-06-06 11:55:24 -07:00 committed by Commit bot
parent da1c00914e
commit 1afc04d877

View File

@ -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,