radeonsi: add VS epilog
authorMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jan 2016 23:33:07 +0000 (00:33 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 21 Feb 2016 20:08:57 +0000 (21:08 +0100)
commite1b21696a3c2c23ba401fab58ef042d31f7f6273
treedfda3edb5070844e5711a0e91466391cdf629f73
parent70de433dea31c75a2e3f02ba3e060634ee66730d
radeonsi: add VS epilog

It only exports the primitive ID.
Also used by TES when it's compiled as VS.

The VS input location of the primitive ID input is v2.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h