glthread: handle GL_*_ARRAY in glEnable/Disable
authorMarek Olšák <marek.olsak@amd.com>
Mon, 26 Dec 2022 19:59:53 +0000 (14:59 -0500)
committerEric Engestrom <eric@engestrom.ch>
Thu, 26 Jan 2023 15:40:34 +0000 (15:40 +0000)
commit16fc1641ccad15bc34dd2b77d1a91cc38ebbc444
tree6ca8eb1c6e8d5103587dddb0cae368da567e7902
parent75a63104b02ce7e3b7aec8f867c215a8e99c433d
glthread: handle GL_*_ARRAY in glEnable/Disable

Surprisingly, the GL compatibility profile allows these in both
glEnableClientState and glEnable.

Fixes: 0b1dd185913 - glthread: track which vertex array attribs are enabled

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824>
(cherry picked from commit 777166cc66c7330e66e493ee804d32d1f87d297a)
.pick_status.json
src/mesa/main/glthread_marshal.h