ac/radeonsi: add load_base_vertex() to the abi
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 26 Feb 2018 11:11:53 +0000 (22:11 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Feb 2018 22:23:49 +0000 (09:23 +1100)
commit8de6f7970702ec69143c4e256bbeab64fe7d79c0
tree8cf7b284764d88da35b0133cb60ee9e5194069d8
parent7f914734146a3008dc0e5b185f7ccab44a803bc9
ac/radeonsi: add load_base_vertex() to the abi

Fixes the following piglit tests:

./bin/arb_shader_draw_parameters-basevertex basevertex -auto -fbo
./bin/arb_shader_draw_parameters-basevertex basevertex-baseinstance -auto -fbo

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/gallium/drivers/radeonsi/si_shader.c