vbo: add vbo_get_minmax_indices_gallium
authorMarek Olšák <marek.olsak@amd.com>
Tue, 3 Nov 2020 18:03:28 +0000 (13:03 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 5 Jan 2021 00:22:33 +0000 (19:22 -0500)
commitfc3d1653545aa9a4ca7762da70b90085c60b7ac5
tree9738652c407f34695144decded6a8d61819572ca
parentbd54e34e4fe4ccf4ab9b8a968808d24a0829ba9a
vbo: add vbo_get_minmax_indices_gallium

to be used by st/mesa to get index bounds because it won't have _mesa_prim
with the new draw interface.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7679>
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_minmax_index.c