gallium/tgsi: Add support for PRIMITIVEID as a system value.
authorEric Anholt <eric@anholt.net>
Tue, 14 Jan 2020 19:31:22 +0000 (11:31 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Sep 2020 16:58:44 +0000 (09:58 -0700)
commit1ca9f22a8bd34e17f061378cf7568d40267e3c58
tree92576914d7fb23975560ebbf78bf924cc1d99df6
parent6e7c006062ce1b95d527a50a03642cb532de5f04
gallium/tgsi: Add support for PRIMITIVEID as a system value.

NIR always represents this as a system value, so for NIR-to-TGSI we need
this support.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>
src/gallium/auxiliary/draw/draw_gs.c