gallium/u_vbuf: split u_vbuf_get_minmax_index function (v2)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 17 Jul 2018 05:44:30 +0000 (01:44 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 27 Jul 2018 21:50:40 +0000 (17:50 -0400)
commitd89a123dfddf42f289b4c613c64ed8571c519cb0
tree697f3ccbb3deeb237a8c706a51d5b868227a484f
parentda8de6b757db29e440ec086a8dc8855c5d121eae
gallium/u_vbuf: split u_vbuf_get_minmax_index function (v2)

This will be used by indirect multidraws.

v2: clean up the function further, change return types to unsigned

Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
src/gallium/auxiliary/util/u_vbuf.c