mesa/src/mapi/glapi/gen/ARB_instanced_arrays.xml
Marek Olšák b5a0714aae glthread: fix glVertexAttribDivisor calls not being tracked by non-VBO uploads
marshal_call_after is ignored if the function is an alias of another
function. Move it to the right place.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8753>
2021-01-29 02:28:42 +00:00

28 lines
752 B
XML

<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
<!-- Note: no GLX protocol info yet. -->
<OpenGLAPI>
<category name="GL_ARB_instanced_arrays" number="49">
<enum name="VERTEX_ATTRIB_ARRAY_DIVISOR_ARB" value="0x88FE"/>
<function name="VertexAttribDivisorARB" alias="VertexAttribDivisor">
<param name="index" type="GLuint"/>
<param name="divisor" type="GLuint"/>
</function>
<function name="VertexArrayVertexAttribDivisorEXT"
marshal_call_after="if (COMPAT) _mesa_glthread_AttribDivisor(ctx, &amp;vaobj, VERT_ATTRIB_GENERIC(index), divisor);">
<param name="vaobj" type="GLuint"/>
<param name="index" type="GLuint"/>
<param name="divisor" type="GLuint"/>
</function>
</category>
</OpenGLAPI>