mesa: add vao/vbo lookup helper for EXT_dsa
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 25 Oct 2019 12:28:21 +0000 (14:28 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 5 Nov 2019 12:58:28 +0000 (13:58 +0100)
commita78d4e7e757f83f3fc5eaa289c5a608e4a3a338e
tree543a4179afae27241a3d44142b26fc7f34f51b77
parent3e842a0b0ea93a8ec754cbf656c44310f47f72e0
mesa: add vao/vbo lookup helper for EXT_dsa

Add a single helper dealing with the lookup of both the vao
and the vbo to avoid duplicating this code in all the
glVertexArray* functions.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/varray.c