nir: remove gl_PrimitiveID output from MS when it's not used in FS
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 11 Mar 2022 10:01:38 +0000 (11:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Apr 2022 09:35:26 +0000 (09:35 +0000)
commit9b23aaf3cf89cec0b9fae283adca7812e40ac257
tree7818436da91c1038e90851ad8447dafdb1669e25
parent65600a34c251b2005f063e6c2f3012258dc2b513
nir: remove gl_PrimitiveID output from MS when it's not used in FS

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15340>
src/compiler/nir/nir_linking_helpers.c