lavapipe: fix primitive-restart for uint8 indices
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 16 Mar 2021 15:00:33 +0000 (16:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Mar 2021 21:17:16 +0000 (21:17 +0000)
commit30cf07cc8ac1f2432b78336774ee43a7ef8d19e8
treee48d4e3dbd336f9dfcca454cc6058b29bbeb5d8b
parent3aa2da96df80a1fe57169d82e6604694d0601561
lavapipe: fix primitive-restart for uint8 indices

I forgot to add an implicit primitive-restart index for uint8 while
adding support for this initially. But we also have a nice little
helper to simplify this, so let's use that instead of open-coding.

Fixes: 6526e6d11b8 ("lavapipe: implement VK_EXT_index_type_uint8")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9622>
src/gallium/drivers/llvmpipe/ci/deqp-lvp-fails.txt
src/gallium/drivers/zink/ci/deqp-zink-lvp-fails.txt
src/gallium/drivers/zink/ci/deqp-zink-lvp-flakes.txt
src/gallium/drivers/zink/ci/zink-quick_gl.txt
src/gallium/frontends/lavapipe/lvp_execute.c