Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index 3ccc72b8dfbdd7680e2dd53483cfd03c5398e2a5..61462469de48d8e69aa37d4da6d4ebd09dfb73e6 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -102,6 +102,8 @@ GrPipeline::GrPipeline(const GrPipelineBuilder& pipelineBuilder, |
fInitBT.fOverrideColor = fInitBT.fColorIgnored ? GrColor_ILLEGAL : overrideColor; |
fInitBT.fCoverageIgnored = SkToBool(optFlags & GrXferProcessor::kIgnoreCoverage_OptFlag); |
fInitBT.fUsesLocalCoords = usesLocalCoords; |
+ fInitBT.fCanTweakAlphaForCoverage = |
+ SkToBool(optFlags & GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag); |
} |
void GrPipeline::adjustProgramFromOptimizations(const GrPipelineBuilder& pipelineBuilder, |