lavapipe: add a zeroed buffer that can be bound in place of an index buffer
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 31 May 2023 16:01:24 +0000 (12:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 8 Jun 2023 01:22:01 +0000 (01:22 +0000)
commit1d64b185fea111406ce1d5ae107dc0139c3d6a9b
tree1e9c066cc3180781331c870a8d8024c348c8815a
parentea9ded410a4031c83e7c27c570856ce7e8dd29c1
lavapipe: add a zeroed buffer that can be bound in place of an index buffer

technically this is illegal in vulkan semantics, but some extensions have
their own definition of "illegal" when it comes to binding index buffers

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23394>
src/gallium/frontends/lavapipe/lvp_device.c
src/gallium/frontends/lavapipe/lvp_execute.c
src/gallium/frontends/lavapipe/lvp_private.h