mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: add KHR_no_error support to glVertexArrayBindingDivisor()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
a466b74241
commit
0e69fc92e2
3 changed files with 16 additions and 1 deletions
|
|
@ -647,7 +647,7 @@
|
|||
<param name="bindingindex" type="GLuint" />
|
||||
</function>
|
||||
|
||||
<function name="VertexArrayBindingDivisor">
|
||||
<function name="VertexArrayBindingDivisor" no_error="true">
|
||||
<param name="vaobj" type="GLuint" />
|
||||
<param name="bindingindex" type="GLuint" />
|
||||
<param name="divisor" type="GLuint" />
|
||||
|
|
|
|||
|
|
@ -2743,6 +2743,17 @@ _mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor)
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayBindingDivisor_no_error(GLuint vaobj, GLuint bindingIndex,
|
||||
GLuint divisor)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
struct gl_vertex_array_object *vao = _mesa_lookup_vao(ctx, vaobj);
|
||||
vertex_binding_divisor(ctx, vao, VERT_ATTRIB_GENERIC(bindingIndex), divisor);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayBindingDivisor(GLuint vaobj, GLuint bindingIndex,
|
||||
GLuint divisor)
|
||||
|
|
|
|||
|
|
@ -458,6 +458,10 @@ _mesa_VertexBindingDivisor_no_error(GLuint bindingIndex, GLuint divisor);
|
|||
extern void GLAPIENTRY
|
||||
_mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayBindingDivisor_no_error(GLuint vaobj, GLuint bindingIndex,
|
||||
GLuint divisor);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_VertexArrayBindingDivisor(GLuint vaobj, GLuint bindingIndex, GLuint divisor);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue