Index: src/gpu/effects/GrMatrixConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
index 0b0a8af1944bc49d8c1824f2b23f1ddf7378ae48..f6b99eff8f77705af5721caf57fb9dfa31d18506 100644 |
--- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
@@ -90,7 +90,7 @@ |
fDomain.sampleTexture(fsBuilder, domain, "c", coord, samplers[0]); |
if (!fConvolveAlpha) { |
fsBuilder->codeAppend("c.rgb /= c.a;"); |
- fsBuilder->codeAppend("c.rgb = clamp(c.rgb, 0.0, 1.0);"); |
+ fsBuilder->codeAppend("c.rgb = clamp(c.rgb, 0, 1);"); |
} |
fsBuilder->codeAppend("sum += c * k;"); |
} |