panvk: implement multiview on v10+
Multiview is implemented by looping over enabled views in the vertex shader and writing multiple copies of outputs.
CTS results for dEQP-VK.multiview.*
on a G610:
Test run totals:
Passed: 314/649 (48.4%)
Failed: 3/649 (0.5%)
Not supported: 332/649 (51.2%)
Warnings: 0/649 (0.0%)
Waived: 0/649 (0.0%)
I also tested the pointsize case by modifying the CTS multiview tests to add a dummy pointsize write in the vertex shader.
The three failures are depth/stencil tests. These are a CTS bug, with a patch here (public link here).
/cc @marysaka @bbrezillon
Edited by Benjamin Lee