Index: src/gpu/effects/GrBezierEffect.cpp |
diff --git a/src/gpu/effects/GrBezierEffect.cpp b/src/gpu/effects/GrBezierEffect.cpp |
index 582558027addb4cbac3916f20989d80573f720c8..840645e5c0940b626e0f7596c10dd5c8dbe4ff6f 100644 |
--- a/src/gpu/effects/GrBezierEffect.cpp |
+++ b/src/gpu/effects/GrBezierEffect.cpp |
@@ -200,7 +200,8 @@ GrConicEffect::GrConicEffect(GrColor color, const SkMatrix& viewMatrix, uint8_t |
, fCoverageScale(coverage) |
, fEdgeType(edgeType) { |
this->initClassID<GrConicEffect>(); |
- fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType)); |
+ fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, |
+ kHigh_GrSLPrecision)); |
fInConicCoeffs = &this->addVertexAttrib(Attribute("inConicCoeffs", |
kVec4f_GrVertexAttribType)); |
} |
@@ -401,7 +402,8 @@ GrQuadEffect::GrQuadEffect(GrColor color, const SkMatrix& viewMatrix, uint8_t co |
, fCoverageScale(coverage) |
, fEdgeType(edgeType) { |
this->initClassID<GrQuadEffect>(); |
- fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType)); |
+ fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, |
+ kHigh_GrSLPrecision)); |
fInHairQuadEdge = &this->addVertexAttrib(Attribute("inHairQuadEdge", |
kVec4f_GrVertexAttribType)); |
} |
@@ -614,7 +616,8 @@ GrCubicEffect::GrCubicEffect(GrColor color, const SkMatrix& viewMatrix, |
, fViewMatrix(viewMatrix) |
, fEdgeType(edgeType) { |
this->initClassID<GrCubicEffect>(); |
- fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType)); |
+ fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, |
+ kHigh_GrSLPrecision)); |
fInCubicCoeffs = &this->addVertexAttrib(Attribute("inCubicCoeffs", |
kVec4f_GrVertexAttribType)); |
} |