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/effects/SkLightingImageFilter.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/effects/SkLightingImageFilter.cpp')
-rw-r--r-- | src/effects/SkLightingImageFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp index 5e5aca96af..0c82b1655e 100644 --- a/src/effects/SkLightingImageFilter.cpp +++ b/src/effects/SkLightingImageFilter.cpp @@ -1803,7 +1803,7 @@ void GrGLLightingEffect::emitCode(EmitArgs& args) { GrGLSLShaderVar("scale", kFloat_GrSLType), }; SkString sobelFuncName; - SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); + SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); fragBuilder->emitFunction(kFloat_GrSLType, "sobel", |