gallium/u_vbuf: handle indirect multidraws correctly and efficiently (v3)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 17 Jul 2018 05:52:25 +0000 (01:52 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 3 Aug 2018 22:30:46 +0000 (18:30 -0400)
commit0f79b2015bc0c44a8ed470684b6789f0e2e6aa6c
tree04129fc0767b855862fc21ee7547aa7e6ec7b0cb
parent1c7a2433b270afb65f044d0cf49cb67715f50b5b
gallium/u_vbuf: handle indirect multidraws correctly and efficiently (v3)

v2: need to do MAX{start+count} instead of MAX{count}
    added piglit tests
v3: use malloc

Cc: 18.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/util/u_vbuf.c