mesa: add KHR_no_error support for glVertexArrayVertexBuffers()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -607,7 +607,7 @@
|
||||
<param name="stride" type="GLsizei" />
|
||||
</function>
|
||||
|
||||
<function name="VertexArrayVertexBuffers">
|
||||
<function name="VertexArrayVertexBuffers" no_error="true">
|
||||
<param name="vaobj" type="GLuint" />
|
||||
<param name="first" type="GLuint" />
|
||||
<param name="count" type="GLsizei" />
|
||||
|
||||
@@ -2272,6 +2272,21 @@ _mesa_BindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers,
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayVertexBuffers_no_error(GLuint vaobj, GLuint first,
|
||||
GLsizei count, const GLuint *buffers,
|
||||
const GLintptr *offsets,
|
||||
const GLsizei *strides)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
struct gl_vertex_array_object *vao = _mesa_lookup_vao(ctx, vaobj);
|
||||
vertex_array_vertex_buffers(ctx, vao, first, count,
|
||||
buffers, offsets, strides, true,
|
||||
"glVertexArrayVertexBuffers");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayVertexBuffers(GLuint vaobj, GLuint first, GLsizei count,
|
||||
const GLuint *buffers,
|
||||
|
||||
@@ -379,6 +379,12 @@ extern void GLAPIENTRY
|
||||
_mesa_BindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers,
|
||||
const GLintptr *offsets, const GLsizei *strides);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayVertexBuffers_no_error(GLuint vaobj, GLuint first,
|
||||
GLsizei count, const GLuint *buffers,
|
||||
const GLintptr *offsets,
|
||||
const GLsizei *strides);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_VertexArrayVertexBuffers(GLuint vaobj, GLuint first, GLsizei count,
|
||||
const GLuint *buffers,
|
||||
|
||||
Reference in New Issue
Block a user