aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-03-04 19:24:34 -0500
committerMarge Bot <[email protected]>2020-04-30 22:01:55 +0000
commit9037005d6034d6bcbeb508e0f783622e2351b957 (patch)
treef3d4a4558d1d40b70bd9bd203ece357c297da004 /src/mapi/glapi/gen
parentc9c9f57b022ab47251c260825e81241fdad9b3ea (diff)
glthread: track instance divisor changes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/ARB_instanced_arrays.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/ARB_instanced_arrays.xml b/src/mapi/glapi/gen/ARB_instanced_arrays.xml
index 8ecf7951af8..feeeeabeb1c 100644
--- a/src/mapi/glapi/gen/ARB_instanced_arrays.xml
+++ b/src/mapi/glapi/gen/ARB_instanced_arrays.xml
@@ -10,12 +10,14 @@
<enum name="VERTEX_ATTRIB_ARRAY_DIVISOR_ARB" value="0x88FE"/>
- <function name="VertexAttribDivisorARB" alias="VertexAttribDivisor">
+ <function name="VertexAttribDivisorARB" alias="VertexAttribDivisor"
+ marshal_call_after="if (COMPAT) _mesa_glthread_AttribDivisor(ctx, NULL, VERT_ATTRIB_GENERIC(index), divisor);">
<param name="index" type="GLuint"/>
<param name="divisor" type="GLuint"/>
</function>
- <function name="VertexArrayVertexAttribDivisorEXT">
+ <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"/>