ac/radv: move load base vertex abi setup to vertex shader.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Feb 2018 23:53:51 +0000 (09:53 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Feb 2018 23:58:12 +0000 (09:58 +1000)
commitc7b25005a135199a84d3eec7cc96b6a789ece0b3
tree2a09b7ea8b288b045fdfee428194d4caab1a443d
parent3401b028df1074a06a7fbc3fb1cda949646ef75d
ac/radv: move load base vertex abi setup to vertex shader.

This was segfaulting:
dEQP-VK.memory.pipeline_barrier.host_write_index_buffer.1024

Fixes: 8de6f797070 (ac/radeonsi: add load_base_vertex() to the abi)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c