nir: add transform feedback info into nir_intrinsic_store_output
authorMarek Olšák <marek.olsak@amd.com>
Sun, 19 Dec 2021 19:20:52 +0000 (14:20 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Mar 2022 21:59:55 +0000 (21:59 +0000)
commit4636fa7f384dc06f3e1d94adbfc70b3e986c2cb2
tree28ee17e62f3a4717a3a2f0c6e56f51db779ac05b
parent2c6e41bfe1d4261fdf37ba59d71d961d664cffc4
nir: add transform feedback info into nir_intrinsic_store_output

This will allow compaction of transform feedback varyings because they
are no longer tied to varying slots with this information.
It will also make transform feedback info available to all NIR passes
after IO is lowered. It's meant to replace pipe_stream_output_info.

Other intrinsics are not used with transform feedback.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14388>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_intrinsics_indices_h.py
src/compiler/nir/nir_print.c
src/compiler/nir/nir_validate.c