aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-12-03 09:29:52 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-03 09:29:53 -0800
commited8bdc51937f1346a44a93010857a9b3a90f54c6 (patch)
treeed77f3d070cd1f733ee67db7d6d978483f55a382 /src
parente2158a52e9234f9561ff934d8a8a6891f1e484fc (diff)
bug fix for cubic low precision
TBR= BUG=skia: Review URL: https://codereview.chromium.org/776953002
Diffstat (limited to 'src')
-rw-r--r--src/gpu/effects/GrBezierEffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBezierEffect.cpp b/src/gpu/effects/GrBezierEffect.cpp
index f38a136992..1b14d349dd 100644
--- a/src/gpu/effects/GrBezierEffect.cpp
+++ b/src/gpu/effects/GrBezierEffect.cpp
@@ -321,7 +321,7 @@ void GrGLCubicEffect::emitCode(const EmitArgs& args) {
const GrCubicEffect& gp = args.fGP.cast<GrCubicEffect>();
GrGLVertToFrag v(kVec4f_GrSLType);
- args.fPB->addVarying("CubicCoeffs", &v);
+ args.fPB->addVarying("CubicCoeffs", &v, GrGLShaderVar::kHigh_Precision);
vsBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inCubicCoeffs()->fName);
// setup coord outputs