util/vbuf: handle multidraws
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 21 Jul 2022 16:48:17 +0000 (12:48 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Jul 2022 12:40:56 +0000 (12:40 +0000)
commit6b07893b31fe4e6cac7bc73155770672ce7753cb
tree21db9bb99df82f47523171c598a4b2c4257ca85c
parent7c484b0c1c9b126e5573cbe4a7fd718437b36eeb
util/vbuf: handle multidraws

this moves the handling from cso_conext to vbuf, which reduces overhead
for draws that aren't rewritten

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