| Index: src/gpu/GrAARectRenderer.cpp
|
| diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp
|
| index ee7c024fe81aab548e9493dccd3cc721c759e70c..fec3e11f1babbe04340babb30b3ca63e04173187 100644
|
| --- a/src/gpu/GrAARectRenderer.cpp
|
| +++ b/src/gpu/GrAARectRenderer.cpp
|
| @@ -49,7 +49,7 @@ public:
|
| const GrDrawEffect& drawEffect,
|
| EffectKey key,
|
| const char* outputColor,
|
| - const char* inputColor,
|
| + const GrGLSLExpr4& inputColor,
|
| const TransformedCoordsArray&,
|
| const TextureSamplerArray& samplers) SK_OVERRIDE {
|
| // setup the varying for the Axis aligned rect effect
|
| @@ -86,7 +86,7 @@ public:
|
|
|
|
|
| builder->fsCodeAppendf("\t%s = %s;\n", outputColor,
|
| - (GrGLSLExpr4(inputColor) * GrGLSLExpr1("coverage")).c_str());
|
| + (inputColor * GrGLSLExpr1("coverage")).c_str());
|
| }
|
|
|
| static inline EffectKey GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) {
|
| @@ -167,7 +167,7 @@ public:
|
| const GrDrawEffect& drawEffect,
|
| EffectKey key,
|
| const char* outputColor,
|
| - const char* inputColor,
|
| + const GrGLSLExpr4& inputColor,
|
| const TransformedCoordsArray&,
|
| const TextureSamplerArray& samplers) SK_OVERRIDE {
|
| // setup the varying for the center point and the unit vector
|
| @@ -219,7 +219,7 @@ public:
|
|
|
|
|
| builder->fsCodeAppendf("\t%s = %s;\n", outputColor,
|
| - (GrGLSLExpr4(inputColor) * GrGLSLExpr1("coverage")).c_str());
|
| + (inputColor * GrGLSLExpr1("coverage")).c_str());
|
| }
|
|
|
| static inline EffectKey GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) {
|
|
|