zink: use util_draw_vbo_without_prim_restart for unsupported prim modes
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 1 Jul 2020 21:45:18 +0000 (17:45 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Aug 2020 11:17:04 +0000 (11:17 +0000)
commit5959178381f3a3e88d33f76426172e55c9884ddd
tree0d49843b2b473b8e392f367351191bc855845315
parentf4583b40863e3e57fe0df60daf1d5ab5ea8ebbae
zink: use util_draw_vbo_without_prim_restart for unsupported prim modes

this fixes up primitive restart functionality for the primitive types that
vulkan doesn't support using primitive restart with

fixes #2873

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