Index: src/gpu/effects/GrConvexPolyEffect.cpp |
diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp |
index 6f93fb5277fb878d35c98ad79f1d37c58ee36e7c..248cd1735352a27dc4ac7b5a33ef33a81e1b3f6d 100644 |
--- a/src/gpu/effects/GrConvexPolyEffect.cpp |
+++ b/src/gpu/effects/GrConvexPolyEffect.cpp |
@@ -118,6 +118,7 @@ void GLAARectEffect::emitCode(GrGLFPBuilder* builder, |
// respectively. |
fRectUniform = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
kVec4f_GrSLType, |
+ kDefault_GrSLPrecision, |
"rect", |
&rectName); |
@@ -211,7 +212,8 @@ void GrGLConvexPolyEffect::emitCode(GrGLFPBuilder* builder, |
const char *edgeArrayName; |
fEdgeUniform = builder->addUniformArray(GrGLProgramBuilder::kFragment_Visibility, |
kVec3f_GrSLType, |
- "edges", |
+ kDefault_GrSLPrecision, |
+ "edges", |
cpe.getEdgeCount(), |
&edgeArrayName); |
GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |