tgsi: add support for geometry shader streams.
authorDave Airlie <airlied@gmail.com>
Wed, 27 May 2015 07:35:32 +0000 (17:35 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Apr 2019 01:19:38 +0000 (11:19 +1000)
commit00fe67c01545030a10387fe939275bae2da2d7dd
tree6bf0356b3aa6a756d2d68bb67ca7abb361047742
parent333746011d0ac8e7a99587b61fdada3e351b30a3
tgsi: add support for geometry shader streams.

This adds support to retrieve the primitive counts
for each stream, along with the offset for each
primitive into the output array.

It also adds support for parsing the stream argument
to the emit and end instructions.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_exec.h