zink: move 8bit index handling out of u_primconvert path
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 20 Jul 2020 13:04:21 +0000 (09:04 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Aug 2020 11:17:04 +0000 (11:17 +0000)
commitf4583b40863e3e57fe0df60daf1d5ab5ea8ebbae
treeb9ceeddf9f51d6c5e2606cd48309ec4b1f0b6703
parent5edaf081cdbdadfd027c2ba9ee5095f49b274f81
zink: move 8bit index handling out of u_primconvert path

putting this through util_translate_prim_restart_ib reduces our reliance on
u_primconvert, which ideally we don't want to be using

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