util/vbuf: clarify indirect draws handling
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 31 Mar 2023 14:59:32 +0000 (16:59 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 11:50:58 +0000 (11:50 +0000)
commitc19a3a6ddf463c93716aba2842346eef72f81df7
treeb0dafffade2e8387619f4662c201eee8b96062d4
parent2b717f01f711f4326c956c72a4515871a0987742
util/vbuf: clarify indirect draws handling

It wasn't obvious from the u_vbuf code alone that num_draws
is guaranteed to be 1 in the indirect case.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22237>
src/gallium/auxiliary/util/u_vbuf.c