| Index: src/gpu/effects/GrSimpleTextureEffect.cpp
|
| diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| index ccf761ab946c96e8d1e5ab3dbe5d7e804aaf5eca..97e711e8d2a170c0b341a1ad69ae7ed071f92353 100644
|
| --- a/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| +++ b/src/gpu/effects/GrSimpleTextureEffect.cpp
|
| @@ -24,6 +24,11 @@ public:
|
| }
|
| }
|
|
|
| + virtual bool requiresVertexShader(const GrDrawEffect& drawEffect) const SK_OVERRIDE {
|
| + const GrSimpleTextureEffect& ste = drawEffect.castEffect<GrSimpleTextureEffect>();
|
| + return GrEffect::kCustom_CoordsType == ste.coordsType();
|
| + }
|
| +
|
| virtual void emitCode(GrGLShaderBuilder* builder,
|
| const GrDrawEffect& drawEffect,
|
| EffectKey key,
|
|
|