Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index e1c733a676114dd559795fcaee1eb7b19181221e..8e542d2a70697ca9d5fba96f714e74993b5b3516 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -184,23 +184,14 @@ void GrPipeline::adjustProgramFromOptimizations(const GrPipelineBuilder& pipelin |
int* firstColorProcessorIdx, |
int* firstCoverageProcessorIdx) { |
fIgnoresCoverage = SkToBool(flags & GrXferProcessor::kIgnoreCoverage_OptFlag); |
- fReadsFragPosition = this->getXferProcessor().willReadFragmentPosition(); |
if ((flags & GrXferProcessor::kIgnoreColor_OptFlag) || |
(flags & GrXferProcessor::kOverrideColor_OptFlag)) { |
*firstColorProcessorIdx = pipelineBuilder.numColorFragmentProcessors(); |
- } else { |
- if (colorPOI.readsFragPosition()) { |
- fReadsFragPosition = true; |
- } |
} |
if (flags & GrXferProcessor::kIgnoreCoverage_OptFlag) { |
*firstCoverageProcessorIdx = pipelineBuilder.numCoverageFragmentProcessors(); |
- } else { |
- if (coveragePOI.readsFragPosition()) { |
- fReadsFragPosition = true; |
- } |
} |
} |