Index: src/gpu/gl/GrGLShaderBuilder.cpp |
diff --git a/src/gpu/gl/GrGLShaderBuilder.cpp b/src/gpu/gl/GrGLShaderBuilder.cpp |
index 7a57d8e32e609e3909a436b92bafb5755aaf239f..8d1e66be7c0e69ec7c3de2b1d05bc582f9f74519 100644 |
--- a/src/gpu/gl/GrGLShaderBuilder.cpp |
+++ b/src/gpu/gl/GrGLShaderBuilder.cpp |
@@ -164,10 +164,6 @@ bool GrGLShaderBuilder::genProgram(const GrEffectStage* colorStages[], |
this->addUniform(GrGLShaderBuilder::kFragment_Visibility, kVec4f_GrSLType, "Color", |
&name); |
inputColor = GrGLSLExpr4(name); |
- } else if (GrGLProgramDesc::kSolidWhite_ColorInput == header.fColorInput) { |
- inputColor = GrGLSLExpr4(1); |
- } else if (GrGLProgramDesc::kTransBlack_ColorInput == header.fColorInput) { |
- inputColor = GrGLSLExpr4(0); |
} |
if (GrGLProgramDesc::kUniform_ColorInput == header.fCoverageInput) { |
@@ -178,8 +174,6 @@ bool GrGLShaderBuilder::genProgram(const GrEffectStage* colorStages[], |
inputCoverage = GrGLSLExpr4(name); |
} else if (GrGLProgramDesc::kSolidWhite_ColorInput == header.fCoverageInput) { |
inputCoverage = GrGLSLExpr4(1); |
- } else if (GrGLProgramDesc::kTransBlack_ColorInput == header.fCoverageInput) { |
- inputCoverage = GrGLSLExpr4(0); |
} |
if (k110_GrGLSLGeneration != fGpu->glslGeneration()) { |