vk/util: add macros for multidraw
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 30 Mar 2021 18:48:50 +0000 (14:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Jun 2021 15:53:03 +0000 (15:53 +0000)
commit6d0aceae4db45542f8d9531ec6e9ff5bee6ed282
treeb9ec6f146965fa852a5d197da8a183fd84f625fd
parent8c968b8301bec54f4b7a61e4c4144ccd322ca92c
vk/util: add macros for multidraw

this simplifies implementations since a lot of the code is going to be
copy/pasted around, enabling related tweaks to be made in a centralized place

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11496>
src/vulkan/util/vk_util.h