Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
index c1a7dee56a3c54ce8c0a8dff92434652ca32b5a9..f19d63fffa23e0046ee5042fc4e9dc4bc47d420f 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
@@ -87,16 +87,6 @@ void GrGLVertexBuilder::bindVertexAttributes(GrGLuint programID) { |
return; |
} |
-bool |
-GrGLVertexBuilder::compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) { |
- this->versionDecl() = fProgramBuilder->glslCaps()->versionDeclString(); |
- this->compileAndAppendLayoutQualifiers(); |
- fProgramBuilder->appendUniformDecls(GrGLProgramBuilder::kVertex_Visibility, &this->uniforms()); |
- this->appendDecls(fInputs, &this->inputs()); |
- this->appendDecls(fOutputs, &this->outputs()); |
- return this->finalize(programId, GR_GL_VERTEX_SHADER, shaderIds); |
-} |
- |
bool GrGLVertexBuilder::addAttribute(const GrShaderVar& var) { |
SkASSERT(GrShaderVar::kAttribute_TypeModifier == var.getTypeModifier()); |
for (int i = 0; i < fInputs.count(); ++i) { |