Freedreno Gallium3D Enables NIR By Default

Written by Michael Larabel in Mesa on 23 May 2017 at 05:50 PM EDT. 2 Comments
Freedreno Gallium3D as the open-source, reverse-engineered driver for Qualcomm Adreno graphics hardware has switched to using NIR by default.

Freedreno has long supported NIR as a native IR but required setting an environment variable while the default intermediate representation was Gallium3D's TGSI. Well, Freedreno compute shaders were already using NIR by default but not vertex and fragment shaders. With the latest Mesa Git today, TGSI is bypassed in using NIR by default.

Switching over to NIR happened now that Freedreno added an additional lowering pass and other changes needed to make the IR a better candidate. This is material to be found in this summer's Mesa 17.2 release.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week