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>
(cherry picked from commit ddc721e15c)
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2023-01-17 16:06:00 +01:00 committed by Eric Engestrom
parent bc487cecdc
commit c70ffcc8e3
2 changed files with 2 additions and 2 deletions

View file

@ -2929,7 +2929,7 @@
"description": "glthread: fix glArrayElement handling",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

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>