Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index b8f2664b207c123ba5197860fb07e37637922e23..28c98f7008ad095a817cce6aa0dd08f426a494b2 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -211,12 +211,8 @@ bool GrGLProgram::genProgram(const GrEffectStage* colorStages[], |
const GrGLProgramDesc::KeyHeader& header = fDesc.getHeader(); |
- bool needsVertexShader = true; |
- |
- GrGLShaderBuilder builder(fGpu, fUniformManager, fDesc, needsVertexShader); |
- if (GrGLShaderBuilder::VertexBuilder* vertexBuilder = builder.getVertexBuilder()) { |
- fUniformHandles.fViewMatrixUni = vertexBuilder->getViewMatrixUniform(); |
- } |
+ GrGLFullShaderBuilder builder(fGpu, fUniformManager, fDesc); |
+ fUniformHandles.fViewMatrixUni = builder.getViewMatrixUniform(); |
// incoming color to current stage being processed. |
SkString inColor = builder.getInputColor(); |