Index: src/gpu/GrOptDrawState.cpp |
diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp |
index 2365f1e5a456ad3b3a72d16ec88e8ddb8b268e34..f9febf445b87bd6afdc9ab23718738af5760f1ff 100644 |
--- a/src/gpu/GrOptDrawState.cpp |
+++ b/src/gpu/GrOptDrawState.cpp |
@@ -87,9 +87,6 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState, |
fFlags |= kDither_Flag; |
} |
- // TODO move local coords completely into GP |
- bool hasLocalCoords = gp && gp->hasLocalCoords(); |
- |
int firstColorStageIdx = colorPOI.firstEffectiveStageIndex(); |
// TODO: Once we can handle single or four channel input into coverage stages then we can use |
@@ -102,8 +99,6 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState, |
this->adjustProgramFromOptimizations(drawState, optFlags, colorPOI, coveragePOI, |
&firstColorStageIdx, &firstCoverageStageIdx); |
- fDescInfo.fRequiresLocalCoordAttrib = hasLocalCoords; |
- |
bool usesLocalCoords = false; |
// Copy Stages from DS to ODS |