Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index 3691fe994b3977a633947fd0a393a840b059fbb4..4fe7a2b7c92ce4ab9054ecefd3c23b24eaebdd08 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(); |