mesa: add KHR_no_error support to glVertexBindingDivisor()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<param name="bindingindex" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexBindingDivisor" es2="3.1">
|
||||
<function name="VertexBindingDivisor" es2="3.1" no_error="true">
|
||||
<param name="attribindex" type="GLuint"/>
|
||||
<param name="divisor" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
@@ -2711,6 +2711,15 @@ vertex_array_binding_divisor(struct gl_context *ctx,
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexBindingDivisor_no_error(GLuint bindingIndex, GLuint divisor)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
vertex_binding_divisor(ctx, ctx->Array.VAO,
|
||||
VERT_ATTRIB_GENERIC(bindingIndex), divisor);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor)
|
||||
{
|
||||
|
||||
@@ -452,6 +452,9 @@ extern void GLAPIENTRY
|
||||
_mesa_VertexArrayAttribBinding(GLuint vaobj, GLuint attribIndex,
|
||||
GLuint bindingIndex);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexBindingDivisor_no_error(GLuint bindingIndex, GLuint divisor);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user