nir: Improve nir_opt_varyings for per-primitive I/O and a few other fixes.
This adds the missing pieces for per-primitive I/O, as well as fixes a crash for explicit and per-vertex FS inputs.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This adds the missing pieces for per-primitive I/O, as well as fixes a crash for explicit and per-vertex FS inputs.