radeonsi: add si_vs_prolog_bits::unpack_instance_id_from_vertex_id:1
authorMarek Olšák <marek.olsak@amd.com>
Tue, 12 Feb 2019 20:26:41 +0000 (15:26 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 16 May 2019 17:10:07 +0000 (13:10 -0400)
commit4eb377d1c3363b3a372fb2c812fc741730c2cef7
tree8f559d7cd3090043557f49f9b00768d7acb0024c
parentb206f007de566ee538c15d2e57ae27172ce494d2
radeonsi: add si_vs_prolog_bits::unpack_instance_id_from_vertex_id:1

The prim discard compute shader bakes InstanceID into the output index buffer.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h