diff options
Diffstat (limited to 'src/gpu/effects/GrConvexPolyEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrConvexPolyEffect.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp index b37964d6b8..714c68a9ce 100644 --- a/src/gpu/effects/GrConvexPolyEffect.cpp +++ b/src/gpu/effects/GrConvexPolyEffect.cpp @@ -212,11 +212,6 @@ void GrGLConvexPolyEffect::emitCode(EmitArgs& args) { fsBuilder->codeAppend("\t\talpha *= edge;\n"); } - // Woe is me. See https://bug.skia.org/2149 . - if (kTegra2_GrGLRenderer == args.fBuilder->ctxInfo().renderer()) { - fsBuilder->codeAppend("\t\tif (-1.0 == alpha) {\n\t\t\tdiscard;\n\t\t}\n"); - } - if (GrProcessorEdgeTypeIsInverseFill(cpe.getEdgeType())) { fsBuilder->codeAppend("\talpha = 1.0 - alpha;\n"); } |