llvmpipe: handle firstvertex for vulkan draw parameters
authorDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2020 23:50:45 +0000 (09:50 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 27 Jan 2021 23:36:52 +0000 (23:36 +0000)
commitae2edc81271ca19e3a293e74ea6e766b28ff46c4
treed2ed4243a17ed7ffa10e1d4cd92a47c0443619f7
parent4ad4cd89069bfc98533182d2ae9151fa74fb5414
llvmpipe: handle firstvertex for vulkan draw parameters

Vulkan defines this a bit differently, so add support for
load_first_vertex.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8219>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h