nir: fix marking XFB varyings as always active IO
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Apr 2022 07:50:16 +0000 (09:50 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 25 Apr 2022 07:56:27 +0000 (07:56 +0000)
commit26f74f17d9be014e70f297a0af4143970347008e
tree1211129f213feec96b9170da12f5ba56d72b93ed
parent6873da0e42182520a38a6f88abb3717eea12d774
nir: fix marking XFB varyings as always active IO

Components need to be handled, otherwise if a shader has two XFB
varyings at the same location, only one will be marked as always active.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16092>
src/compiler/nir/nir_linking_helpers.c