glthread: fix glArrayElement handling

This must be marshalled synchronously or the attrib pointers' content
might change by the time we use them.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8068
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20748>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2023-01-17 16:06:00 +01:00
committed by Marge Bot
parent 0f5c8c3dc3
commit ddc721e15c

View File

@@ -3189,7 +3189,7 @@
<enum name="CLIENT_VERTEX_ARRAY_BIT" value="0x00000002"/>
<enum name="CLIENT_ALL_ATTRIB_BITS" value="0xFFFFFFFF"/>
<function name="ArrayElement" deprecated="3.1" exec="beginend">
<function name="ArrayElement" deprecated="3.1" exec="beginend" marshal="sync">
<param name="i" type="GLint"/>
<glx handcode="true"/>
</function>