| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index 529e9ed75e9bbe5bc773de378474da442afe91d2..36d592f718d0c8e43d134b3609ca0845e99cbdc4 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "GrDrawState.h"
|
| #include "GrDrawTargetCaps.h"
|
| +#include "GrInvariantOutput.h"
|
| #include "gl/GrGpuGL.h"
|
|
|
| GrOptDrawState::GrOptDrawState(const GrDrawState& drawState,
|
| @@ -245,7 +246,7 @@ void GrOptDrawState::computeEffectiveColorStages(const GrDrawState& ds,
|
| int* firstColorStageIdx,
|
| uint8_t* fixedFunctionVAToRemove) {
|
| // Set up color and flags for ConstantColorComponent checks
|
| - GrProcessor::InvariantOutput inout;
|
| + GrInvariantOutput inout;
|
| inout.fIsSingleComponent = false;
|
| if (!descInfo->hasColorVertexAttribute()) {
|
| inout.fColor = ds.getColor();
|
| @@ -290,7 +291,7 @@ void GrOptDrawState::computeEffectiveCoverageStages(const GrDrawState& ds,
|
| // Don't do any optimizations on coverage stages. It should not be the case where we do not use
|
| // input coverage in an effect
|
| #ifdef OptCoverageStages
|
| - GrProcessor::InvariantOutput inout;
|
| + GrInvariantOutput inout;
|
| for (int i = 0; i < ds.numCoverageStages(); ++i) {
|
| const GrFragmentProcessor* fp = ds.getCoverageStage(i).getProcessor();
|
| fp->computeInvariantOutput(&inout);
|
|
|