diff options
Diffstat (limited to 'src/gpu/GrDrawState.cpp')
-rw-r--r-- | src/gpu/GrDrawState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp index c4b8154852..d300f2b9bb 100644 --- a/src/gpu/GrDrawState.cpp +++ b/src/gpu/GrDrawState.cpp @@ -389,7 +389,7 @@ bool GrDrawState::hasSolidCoverage() const { } GrProcessor::InvariantOutput inout; - inout.fIsSingleComponent = false; + inout.fIsSingleComponent = true; // Initialize to an unknown starting coverage if per-vertex coverage is specified. if (this->hasCoverageVertexAttribute()) { inout.fValidFlags = 0; @@ -738,7 +738,7 @@ bool GrDrawState::srcAlphaWillBeOne() const { // The shader generated for coverage drawing runs the full coverage computation and then // makes the shader output be the multiplication of color and coverage. We mirror that here. GrProcessor::InvariantOutput inoutCoverage; - inoutCoverage.fIsSingleComponent = false; + inoutCoverage.fIsSingleComponent = true; if (this->hasCoverageVertexAttribute()) { inoutCoverage.fValidFlags = 0; inoutCoverage.fColor = 0; // suppresses any warnings. |