Shader: Add support for using mediump accuracy

Open Gert Wollny requested to merge gerddie/virglrenderer:support-mediump into main

This series adds support for emitting code that uses mixed highp and mediump. It has been tested on a radeonsi driver that was patched to enable fp16. There are some regressions when running the CTS that have no obvious reason on the TGSI/GLSL level.

The related mesa patches are in mesa/mesa!16321

Edited by Gert Wollny

Merge request reports