nir/opt_varyings: group TES inputs based on whether they are used by POS or VAR outputs (new gathering/analysis passes), optimize cloning SSA
- New gathering pass that gathers which input components are used to compute each output.
- New gathering pass that gathers which input components are used to compute POS and CLIP outputs, which input components are used to compute all other outputs, and which input components are used to compute both.
-
nir_opt_varyings
: Compaction groups TES inputs by putting inputs that compute POS and CLIP outputs first, and so on (using the second gathering pass). -
nir_opt_varyings
: Cloning SSA is optimized using a hash table.