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