diff options
author | Brian Osman <brianosman@google.com> | 2017-08-15 09:19:53 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-15 13:41:26 +0000 |
commit | 72a37bed66c90ff2acb930dc4493dc633f265488 (patch) | |
tree | ea52ba710b25bfb28b9dce235dceacc44bf1c17c /src/gpu/effects/GrSimpleTextureEffect.cpp | |
parent | 5b117eafdf213f57b8873addcd8f558aceb76af8 (diff) |
Fix string typing in generated code
Bug: skia:
Change-Id: Ifbccc6d6880522177ac7a0ae2183be64a3ebfe50
Reviewed-on: https://skia-review.googlesource.com/34681
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrSimpleTextureEffect.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp index 63f41a814d..ed2734b579 100644 --- a/src/gpu/effects/GrSimpleTextureEffect.cpp +++ b/src/gpu/effects/GrSimpleTextureEffect.cpp @@ -24,8 +24,7 @@ public: const GrSimpleTextureEffect& _outer = args.fFp.cast<GrSimpleTextureEffect>(); (void)_outer; fColorSpaceHelper.emitCode(args.fUniformHandler, _outer.colorXform().get()); - SkString sk_TransformedCoords2D_0 = - fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); + SkString sk_TransformedCoords2D_0 = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); fragBuilder->codeAppendf( "float4 _tmpVar1;%s = %s * %stexture(%s, %s).%s%s;\n", args.fOutputColor, args.fInputColor ? args.fInputColor : "float4(1)", |