shader: Emit input arrays the way the prev shader emits outputs

Gert Wollny requested to merge gerddie/virglrenderer:dont_sync_patch_io into master

If a pre-NTT guest mesa version is run the outputs may still be emitted by the TGSI as arrays, and we have to emit the same layout, especially for the inputs that are emitted just to sync the IO interfaces.

Fixes: 1a106aed shader: pass info about written outputs and create inputs when missing

Related: #281 (closed)

Merge request reports