Index: src/gpu/effects/GrRRectEffect.cpp |
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp |
index d1d811da902212fc1b39232b04497b3ecd108fdb..c8ef7d9363f6150ec74a8fa6c4ccb09daf9ab438 100644 |
--- a/src/gpu/effects/GrRRectEffect.cpp |
+++ b/src/gpu/effects/GrRRectEffect.cpp |
@@ -97,7 +97,7 @@ CircularRRectEffect::CircularRRectEffect(GrPrimitiveEdgeType edgeType, uint32_t |
, fEdgeType(edgeType) |
, fCircularCornerFlags(circularCornerFlags) { |
this->initClassID<CircularRRectEffect>(); |
- this->setWillReadFragmentPosition(); |
+ this->enableBuiltInState(kFragmentPosition_BuiltInState); |
} |
bool CircularRRectEffect::onIsEqual(const GrFragmentProcessor& other) const { |
@@ -432,7 +432,7 @@ EllipticalRRectEffect::EllipticalRRectEffect(GrPrimitiveEdgeType edgeType, const |
: fRRect(rrect) |
, fEdgeType(edgeType) { |
this->initClassID<EllipticalRRectEffect>(); |
- this->setWillReadFragmentPosition(); |
+ this->enableBuiltInState(kFragmentPosition_BuiltInState); |
} |
bool EllipticalRRectEffect::onIsEqual(const GrFragmentProcessor& other) const { |