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)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 21 Jan 2023 02:34:09 +0000 (21:34 -0500)
commit777166cc66c7330e66e493ee804d32d1f87d297a
treeeb51641604d434db94f180ec8ff6f0e3954f861b
parenta4d813ba54793dcadfcd76e1f6cd1f44d4f99331
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>
src/mesa/main/glthread_marshal.h