glthread: handle ARB_vertex_attrib_binding
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 May 2020 21:42:46 +0000 (17:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Jun 2020 06:41:37 +0000 (06:41 +0000)
commita2d7f4fe5a52d2968f8d0fbbf879368a6e7044aa
treea4a72666446fd255a9577339c668315834e4d51c
parent66c2c9c6a957c55effc29ad4e1e7461bb8c85508
glthread: handle ARB_vertex_attrib_binding

This handles ARB_vertex_attrib_binding for vertex uploads correctly.
Before this, the extension might have led to crashes if non-VBO vertex
attribs were present.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5303>
src/mapi/glapi/gen/ARB_direct_state_access.xml
src/mapi/glapi/gen/ARB_vertex_attrib_binding.xml
src/mesa/main/glthread.h
src/mesa/main/glthread_draw.c
src/mesa/main/glthread_marshal.h
src/mesa/main/glthread_varray.c