| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index 6a79203d1a0bcaded4bb6b0fd83387341f391e80..40d3e8bc418a756af67d1b22fb1785664a6ab1c8 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -187,7 +187,7 @@ void GrOptDrawState::copyEffectiveColorStages(const GrDrawState& ds) {
|
| }
|
|
|
| for (int i = 0; i < ds.numColorStages(); ++i) {
|
| - const GrFragmentProcessor* fp = ds.getColorStage(i).getFragmentProcessor();
|
| + const GrFragmentProcessor* fp = ds.getColorStage(i).getProcessor();
|
| if (!fp->willUseInputColor()) {
|
| firstColorStage = i;
|
| fInputColorIsUsed = false;
|
| @@ -235,10 +235,10 @@ void GrOptDrawState::copyEffectiveCoverageStages(const GrDrawState& ds) {
|
| }
|
|
|
| static void get_stage_stats(const GrFragmentStage& stage, bool* readsDst, bool* readsFragPosition) {
|
| - if (stage.getFragmentProcessor()->willReadDstColor()) {
|
| + if (stage.getProcessor()->willReadDstColor()) {
|
| *readsDst = true;
|
| }
|
| - if (stage.getFragmentProcessor()->willReadFragmentPosition()) {
|
| + if (stage.getProcessor()->willReadFragmentPosition()) {
|
| *readsFragPosition = true;
|
| }
|
| }
|
|
|