Freedreno Gallium3D Enables NIR By Default
Written by Michael Larabel in Mesa on 23 May 2017 at 05:50 PM EDT. 2 Comments
MESA --
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.

About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Mesa News
Popular News