Index: src/gpu/GrOptDrawState.cpp |
diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp |
index 60360d21c6168d3dd8134c6e3b8eb483bb25a60e..93184b4daa4335ac8ce73735b82959812dd8398f 100644 |
--- a/src/gpu/GrOptDrawState.cpp |
+++ b/src/gpu/GrOptDrawState.cpp |
@@ -157,7 +157,8 @@ void GrOptDrawState::adjustProgramFromOptimizations(const GrDrawState& ds, |
fDescInfo.fReadsDst = false; |
fDescInfo.fReadsFragPosition = false; |
- if (flags & GrXferProcessor::kClearColorStages_OptFlag) { |
+ if (flags & GrXferProcessor::kClearColorStages_OptFlag || |
+ flags & GrXferProcessor::kOverrideColor_OptFlag) { |
fDescInfo.fInputColorIsUsed = true; |
*firstColorStageIdx = ds.numColorStages(); |
fDescInfo.fHasVertexColor = false; |