gallivm: fixup base_vertex support
authorDave Airlie <airlied@redhat.com>
Wed, 11 Dec 2019 03:29:45 +0000 (13:29 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Dec 2019 00:16:19 +0000 (10:16 +1000)
commit75f21895de7c945d8fa9105a5d84a9c568488511
tree50070db72fc5c9adac4a727c34692485bd695e7e
parent73f5e2d7ef7783027a5ecd71d1ada12eeaa21a10
gallivm: fixup base_vertex support

base vertex should be 0 for non-indexed draws according to the
piglit tests.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c