diff options
author | bsalomon <bsalomon@google.com> | 2016-09-12 09:30:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-12 09:30:36 -0700 |
commit | 1a1aa9303484106a955e5549bf8ae24950f54e7a (patch) | |
tree | 512123db32ff1045b74f8ac2ef95d60bc4573a62 /src/gpu/effects/GrBicubicEffect.cpp | |
parent | a316395e66095aa1bf495525e34c991688467a45 (diff) |
Remove unneeded GrGLSLTransformedCoordsArray type
Rename GrGLSLFragmentBuilder::ensureFSCoords2D to ensureCoords2D and make it take an arbitrary GrShaderVar.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2324663004
Review-Url: https://codereview.chromium.org/2324663004
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp index 54c536a2a2..86726c9058 100644 --- a/src/gpu/effects/GrBicubicEffect.cpp +++ b/src/gpu/effects/GrBicubicEffect.cpp @@ -75,7 +75,7 @@ void GrGLBicubicEffect::emitCode(EmitArgs& args) { GrGLSLShaderVar("c3", kVec4f_GrSLType), }; GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; - SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); + SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); fragBuilder->emitFunction(kVec4f_GrSLType, "cubicBlend", SK_ARRAY_COUNT(gCubicBlendArgs), |