radeonsi: program the DRAWID SGPR
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 8 Aug 2016 13:54:50 +0000 (15:54 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 9 Aug 2016 13:56:04 +0000 (15:56 +0200)
commitb6c71d37c760242998a8e75b49c38134401eedd5
tree5d4ad4cfa2f64330e293e106f1fe6da1e0e6d048
parent8dbf2a857008599a9432d64c1363c5a1139e6acd
radeonsi: program the DRAWID SGPR

Note that for indirect draws, the new MULTI firmware packets are required.

There's also no need to reset last_{start_instance,sh_base_reg}, since
resetting last_base_vertex is sufficient.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c