lima: set shader caps to optimize control flow

Graphics / Mesa 3D Graphics Library / Mesa - Erico Nunes [gmail.com] - 20 December 2019 19:59 UTC

With these new caps, nir is able to unroll loops and optimize conditionals much more efficiently in both gpit and ppir. panfrost and vc4 were used as reference for the values.

8e9e94d0843 lima: set shader caps to optimize control flow
src/gallium/drivers/lima/lima_screen.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share