nir_to_tgsi: Turn GS PRIMID into an input instead of a sysval.
authorEmma Anholt <emma@anholt.net>
Fri, 10 Sep 2021 18:38:35 +0000 (11:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 Oct 2021 03:44:17 +0000 (03:44 +0000)
commitc3c560089eabbfe179578fd7a5c73aafd1f05198
tree9b77fe0a01978a5bfecb4044f391558f6d51f4d5
parent91a5a18dbfe12a6836d2fda7a7eeb6fa4546b599
nir_to_tgsi: Turn GS PRIMID into an input instead of a sysval.

While TGSI can represent it either way, virgl and r600 at least demand an
input.

Acked-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12800>
src/gallium/auxiliary/nir/nir_to_tgsi.c