Index: src/gpu/effects/GrMatrixConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
index 21af5351c7a70330424ea4410987af9b8ec73f7a..60f518ba24588408deef50350e31def3b406c2ed 100644 |
--- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
@@ -86,7 +86,7 @@ void GrGLMatrixConvolutionEffect::emitCode(EmitArgs& args) { |
domain, |
"c", |
coord, |
- args.fSamplers[0]); |
+ args.fTexSamplers[0]); |
if (!mce.convolveAlpha()) { |
fragBuilder->codeAppend("c.rgb /= c.a;"); |
fragBuilder->codeAppend("c.rgb = clamp(c.rgb, 0.0, 1.0);"); |
@@ -105,7 +105,7 @@ void GrGLMatrixConvolutionEffect::emitCode(EmitArgs& args) { |
domain, |
"c", |
coords2D, |
- args.fSamplers[0]); |
+ args.fTexSamplers[0]); |
fragBuilder->codeAppendf("%s.a = c.a;", args.fOutputColor); |
fragBuilder->codeAppendf("%s.rgb = sum.rgb * %s + %s;", args.fOutputColor, gain, bias); |
fragBuilder->codeAppendf("%s.rgb *= %s.a;", args.fOutputColor, args.fOutputColor); |