Index: src/gpu/GrDrawState.cpp |
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp |
index d300f2b9bbd12d6d78f66bbccedefe2a144a82f8..f1e7704300080b22acfd6e9986c6f976ed3ca578 100644 |
--- a/src/gpu/GrDrawState.cpp |
+++ b/src/gpu/GrDrawState.cpp |
@@ -7,6 +7,7 @@ |
#include "GrDrawState.h" |
+#include "GrInvariantOutput.h" |
#include "GrOptDrawState.h" |
#include "GrPaint.h" |
@@ -388,7 +389,7 @@ bool GrDrawState::hasSolidCoverage() const { |
return true; |
} |
- GrProcessor::InvariantOutput inout; |
+ GrInvariantOutput inout; |
inout.fIsSingleComponent = true; |
// Initialize to an unknown starting coverage if per-vertex coverage is specified. |
if (this->hasCoverageVertexAttribute()) { |
@@ -710,7 +711,7 @@ GrDrawState::BlendOptFlags GrDrawState::getBlendOpts(bool forceCoverage, |
bool GrDrawState::srcAlphaWillBeOne() const { |
- GrProcessor::InvariantOutput inoutColor; |
+ GrInvariantOutput inoutColor; |
inoutColor.fIsSingleComponent = false; |
// Check if per-vertex or constant color may have partial alpha |
if (this->hasColorVertexAttribute()) { |
@@ -737,7 +738,7 @@ bool GrDrawState::srcAlphaWillBeOne() const { |
if (this->isCoverageDrawing()) { |
// 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; |
+ GrInvariantOutput inoutCoverage; |
inoutCoverage.fIsSingleComponent = true; |
if (this->hasCoverageVertexAttribute()) { |
inoutCoverage.fValidFlags = 0; |