aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrSimpleTextureEffect.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-09-12 09:30:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-12 09:30:36 -0700
commit1a1aa9303484106a955e5549bf8ae24950f54e7a (patch)
tree512123db32ff1045b74f8ac2ef95d60bc4573a62 /src/gpu/effects/GrSimpleTextureEffect.cpp
parenta316395e66095aa1bf495525e34c991688467a45 (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/GrSimpleTextureEffect.cpp')
-rw-r--r--src/gpu/effects/GrSimpleTextureEffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp
index b819cf3b81..6eb15e0c31 100644
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp
@@ -24,8 +24,8 @@ public:
fragBuilder->codeAppendf("%s = ", args.fOutputColor);
fragBuilder->appendTextureLookupAndModulate(args.fInputColor,
args.fTexSamplers[0],
- args.fCoords[0].c_str(),
- args.fCoords[0].getType(),
+ args.fTransformedCoords[0].c_str(),
+ args.fTransformedCoords[0].getType(),
&colorSpaceHelper);
fragBuilder->codeAppend(";");
}