From bb2d02c7b53d2bcbdddcbe4e82a912e5183fdb8c Mon Sep 17 00:00:00 2001 From: Fredrik Höglund Date: Tue, 9 Apr 2013 20:44:58 +0200 Subject: glapi: Add infrastructure for ARB_vertex_attrib_binding Reviewed-by: Eric Anholt Reviewed-by: Ian Romanick --- src/mesa/main/varray.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'src/mesa/main/varray.c') diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index e6997f4862f..a705b6b9368 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1230,6 +1230,49 @@ _mesa_primitive_restart_index(const struct gl_context *ctx, GLenum ib_type) } +/** + * GL_ARB_vertex_attrib_binding + */ +void GLAPIENTRY +_mesa_BindVertexBuffer(GLuint bindingIndex, GLuint buffer, GLintptr offset, + GLsizei stride) +{ +} + + +void GLAPIENTRY +_mesa_VertexAttribFormat(GLuint attribIndex, GLint size, GLenum type, + GLboolean normalized, GLuint relativeOffset) +{ +} + + +void GLAPIENTRY +_mesa_VertexAttribIFormat(GLuint attribIndex, GLint size, GLenum type, + GLuint relativeOffset) +{ +} + + +void GLAPIENTRY +_mesa_VertexAttribLFormat(GLuint attribIndex, GLint size, GLenum type, + GLuint relativeOffset) +{ +} + + +void GLAPIENTRY +_mesa_VertexAttribBinding(GLuint attribIndex, GLuint bindingIndex) +{ +} + + +void GLAPIENTRY +_mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor) +{ +} + + /** * Copy one client vertex array to another. */ -- cgit v1.2.3