| Index: src/gpu/effects/GrMatrixConvolutionEffect.cpp
|
| diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp
|
| index f6b99eff8f77705af5721caf57fb9dfa31d18506..cd6d7c1f862b70e699b5c5ad8d92583602dd0731 100644
|
| --- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp
|
| +++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp
|
| @@ -90,7 +90,6 @@
|
| fDomain.sampleTexture(fsBuilder, domain, "c", coord, samplers[0]);
|
| if (!fConvolveAlpha) {
|
| fsBuilder->codeAppend("c.rgb /= c.a;");
|
| - fsBuilder->codeAppend("c.rgb = clamp(c.rgb, 0, 1);");
|
| }
|
| fsBuilder->codeAppend("sum += c * k;");
|
| }
|
| @@ -153,7 +152,7 @@
|
| fGain(SkScalarToFloat(gain)),
|
| fBias(SkScalarToFloat(bias) / 255.0f),
|
| fConvolveAlpha(convolveAlpha),
|
| - fDomain(GrTextureDomain::MakeTexelDomainForMode(texture, bounds, tileMode), tileMode) {
|
| + fDomain(GrTextureDomain::MakeTexelDomain(texture, bounds), tileMode) {
|
| this->initClassID<GrMatrixConvolutionEffect>();
|
| for (int i = 0; i < kernelSize.width() * kernelSize.height(); i++) {
|
| fKernel[i] = SkScalarToFloat(kernel[i]);
|
|
|