zink: implement Vk_EXT_index_type_uint8
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 1 Jul 2020 13:13:35 +0000 (09:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 07:11:27 +0000 (07:11 +0000)
commitf2f57ef9f785459faeda61622bc96b139aa46e8f
tree0e05a2f9c20d21da3283c8c6f71fc1b12e0ee844
parent53372175c9b42605cc411e45d100245ba3b93e2e
zink: implement Vk_EXT_index_type_uint8

this is a simple extension that enables using uint8-sized index buffers,
which lets us avoid having those go through primconvert

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5712>
src/gallium/drivers/zink/zink_draw.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h