diff options
author | Marek Olšák <[email protected]> | 2020-03-04 19:24:34 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-30 22:01:55 +0000 |
commit | 9037005d6034d6bcbeb508e0f783622e2351b957 (patch) | |
tree | f3d4a4558d1d40b70bd9bd203ece357c297da004 /src/mapi/glapi/gen | |
parent | c9c9f57b022ab47251c260825e81241fdad9b3ea (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.xml | 6 |
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, &vaobj, VERT_ATTRIB_GENERIC(index), divisor);"> <param name="vaobj" type="GLuint"/> <param name="index" type="GLuint"/> <param name="divisor" type="GLuint"/> |