Re: [Mesa-dev] [PATCH 0/4] Add nir_lower_viewport_transform

2019-04-05 Thread Alyssa Rosenzweig
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

[Mesa-dev] [PATCH 0/4] Add nir_lower_viewport_transform

2019-03-26 Thread Qiang Yu
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