Index: src/gpu/effects/GrOvalEffect.cpp |
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp |
index 1ea93a927b7b5c80634e442de18e199cd8fc05c6..b750599aec664419252a6a254d8f48f0876689b1 100644 |
--- a/src/gpu/effects/GrOvalEffect.cpp |
+++ b/src/gpu/effects/GrOvalEffect.cpp |
@@ -131,7 +131,7 @@ void GLCircleEffect::emitCode(GrGLFPBuilder* builder, |
// The circle uniform is (center.x, center.y, radius + 0.5) for regular fills and |
// (... ,radius - 0.5) for inverse fills. |
fCircleUniform = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec3f_GrSLType, |
+ kVec3f_GrSLType, kDefault_GrSLPrecision, |
"circle", |
&circleName); |
@@ -308,7 +308,7 @@ void GLEllipseEffect::emitCode(GrGLFPBuilder* builder, |
const char *ellipseName; |
// The ellipse uniform is (center.x, center.y, 1 / rx^2, 1 / ry^2) |
fEllipseUniform = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec4f_GrSLType, |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
"ellipse", |
&ellipseName); |