zink: add VK_BUFFER_USAGE_INDEX_BUFFER_BIT to vertex buffer creation
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 2 Jul 2020 21:40:16 +0000 (17:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 15 Oct 2020 12:02:55 +0000 (12:02 +0000)
commit8e96b4f430f0af2a0712b721ad9308b267888fae
treed5f060923783ccb5b5c0b49ee5a0c340927ca2c3
parentc364124440c7e08e4e092beb9a1d064838167994
zink: add VK_BUFFER_USAGE_INDEX_BUFFER_BIT to vertex buffer creation

these can be mixed vertex/index buffers, and there's not really any way
to know in advance

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