See my other email implementing sysvals. That avoids changing the state
tracker in uncomfortable ways or having special uniforms introduced.
Lima should implement sysvals too, not just for viewport but also for
emulating certain desktop functionality. See what vc4/v3d/freedreno do
with sysvals for
This is needed by Mali Utgard/Midgard GPU which don't have viewport
transform HW, and Lima/Panfrost driver can share same implementation
in a common place.
I send out this patch series seperatly because Lima is under review in
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/465
and Panfros