Make GrPipelineInput::setToSolidCoverage set the opaque bit.

Change-Id: I3580a9bf1b40c46ac642157f50e09b1fab40c3d3
Reviewed-on: https://skia-review.googlesource.com/8485
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2017-02-15 09:28:15 -05:00 committed by Skia Commit-Bot
parent 2ae3a2ec29
commit 56ec7586f1

View File

@ -40,7 +40,7 @@ struct GrPipelineInput {
void setToSolidCoverage() {
fColor = GrColor_WHITE;
fFlags = kColorIsKnown_Flag | kColorIsKnown_Flag;
fFlags = kColorIsKnown_Flag | kIsOpaque_Flag;
}
void setToScalar(uint8_t alpha) {