u_vbuf: use single vertex buffer if it's not possible to have multiple
authorWladimir J. van der Laan <laanwj@gmail.com>
Thu, 3 Oct 2013 10:32:12 +0000 (12:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 21 Dec 2019 18:29:30 +0000 (18:29 +0000)
commit87a6029ccf531d5d7400664d89ca2356760f87ec
treef051bfa8caf43cb41f825328678cce9afb9a99fb
parent18a8c3f7f11307b348f72c64603b5761c0ce406f
u_vbuf: use single vertex buffer if it's not possible to have multiple

Put CONST, VERTEX and INSTANCE attributes into one vertex buffer if
necessary due to hardware constraints.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2807>
src/gallium/auxiliary/util/u_vbuf.c