diff options
author | Chris Dalton <csmartdalton@google.com> | 2017-10-16 14:15:26 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-16 22:37:03 +0000 |
commit | fdde34eeb2cb5106a6680c49dd30c0b4428cbfbb (patch) | |
tree | 5b6bfa8ee9117126c0abe3c3731c253f91f3e47d /src/gpu/ops/GrTextureOp.cpp | |
parent | 09eeefba6d19dd6bff1e046c31a889393a9447d0 (diff) |
Remove precision from GrGLSLVaryingHandler
(It's built into the types now.)
Bug: skia:
Change-Id: I44edc6e71098cf74387091903e920b1dd929b103
Reviewed-on: https://skia-review.googlesource.com/59880
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/ops/GrTextureOp.cpp')
-rw-r--r-- | src/gpu/ops/GrTextureOp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrTextureOp.cpp b/src/gpu/ops/GrTextureOp.cpp index 133c2fdb7e..291b199423 100644 --- a/src/gpu/ops/GrTextureOp.cpp +++ b/src/gpu/ops/GrTextureOp.cpp @@ -118,8 +118,8 @@ public: args.fOutputColor); } args.fFragBuilder->codeAppend("float2 texCoord;"); - args.fVaryingHandler->addPassThroughAttribute(&textureGP.fTextureCoords, "texCoord", - kHigh_GrSLPrecision); + args.fVaryingHandler->addPassThroughAttribute(&textureGP.fTextureCoords, + "texCoord"); if (textureGP.numTextureSamplers() > 1) { SkASSERT(args.fShaderCaps->integerSupport()); args.fFragBuilder->codeAppend("int texIdx;"); |