Etnaviv Strips Out Its TGSI Backend In Favor Of NIR

Written by Michael Larabel in Mesa on 13 February 2022 at 05:13 AM EST. 2 Comments
MESA
Mesa's NIR bandwagon continues moving around with the Etnaviv Gallium3D driver now being the latest to outright remove its Gallium3D TGSI back-end in favor of going purely with NIR for its driver intermediate representation.

Etnaviv is the reverse-engineered, open-source OpenGL driver for Vivante graphics IP. For a few years now Etnaviv has been working on a NIR compiler. Last year Etnaviv switched over to NIR by default over TGSI, the long-standing default IR of Gallium3D.

Now like the other major drivers, Etnaviv is doing a pure play on NIR. Etnaviv lead developer Christian Gmeiner this week dropped the TGSI support.

With its removal for Mesa 22.1 it frees up over 2.5k lines of code. Gmeiner commented with its removal, "I think it is time to switch to NIR per default and forget about the past. There might be stuff that will explode in different ways now but thats all fixable."
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week