diff options
author | 2017-10-16 14:15:26 -0600 | |
---|---|---|
committer | 2017-10-16 22:37:03 +0000 | |
commit | fdde34eeb2cb5106a6680c49dd30c0b4428cbfbb (patch) | |
tree | 5b6bfa8ee9117126c0abe3c3731c253f91f3e47d /src/gpu/ccpr/GrCCPRPathProcessor.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/ccpr/GrCCPRPathProcessor.cpp')
-rw-r--r-- | src/gpu/ccpr/GrCCPRPathProcessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ccpr/GrCCPRPathProcessor.cpp b/src/gpu/ccpr/GrCCPRPathProcessor.cpp index 585f3beb94..6608ce8114 100644 --- a/src/gpu/ccpr/GrCCPRPathProcessor.cpp +++ b/src/gpu/ccpr/GrCCPRPathProcessor.cpp @@ -126,9 +126,9 @@ void GLSLPathProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { GrGLSLVertToFrag texcoord(kFloat2_GrSLType); GrGLSLVertToFrag color(kHalf4_GrSLType); - varyingHandler->addVarying("texcoord", &texcoord, kHigh_GrSLPrecision); + varyingHandler->addVarying("texcoord", &texcoord); varyingHandler->addFlatPassThroughAttribute(&proc.getInstanceAttrib(InstanceAttribs::kColor), - args.fOutputColor, kLow_GrSLPrecision); + args.fOutputColor); // Vertex shader. GrGLSLVertexBuilder* v = args.fVertBuilder; |