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:
parent
da1c00914e
commit
1afc04d877
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user