Index: src/gpu/effects/GrBicubicEffect.cpp |
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
index d9e6182e7b6367e26119bfda5d1058f0cd437812..8efcffdf030ca0aec4d088d2074b34500ab694cc 100644 |
--- a/src/gpu/effects/GrBicubicEffect.cpp |
+++ b/src/gpu/effects/GrBicubicEffect.cpp |
@@ -97,7 +97,12 @@ void GrGLBicubicEffect::emitCode(EmitArgs& args) { |
coord.printf("coord + %s * vec2(%d, %d)", imgInc, x - 1, y - 1); |
SkString sampleVar; |
sampleVar.printf("rowColors[%d]", x); |
- fDomain.sampleTexture(fragBuilder, domain, sampleVar.c_str(), coord, args.fSamplers[0]); |
+ fDomain.sampleTexture(fragBuilder, |
+ args.fGLSLCaps, |
+ domain, |
+ sampleVar.c_str(), |
+ coord, |
+ args.fSamplers[0]); |
} |
fragBuilder->codeAppendf( |
"\tvec4 s%d = %s(%s, f.x, rowColors[0], rowColors[1], rowColors[2], rowColors[3]);\n", |