Gallium3D Is Getting Closer To Support NIR As An Alternate IR
Written by Michael Larabel in Mesa on 27 March 2016 at 07:48 AM EDT. 15 Comments
Mesa's Gallium3D drivers are stepping closer to supporting the NIR intermediate representation as a tier-one IR.

Rob Clark of the Freedreno project has been spearheading the effort to add support for NIR as an alternate IR to Gallium3D. This would allow interested drivers in utilizing NIR where supported and skipping over TGSI -- the Gallium3D IR -- when going from, as an example. GLSL to NIR.

Rob Clark on Saturday posted the latest sixteen patches for this work and indicated that it should soon be ready to merge. Gallium3D drivers would still need to support TGSI, but this would just help for some cases when being able to jump over the intermediate translation step if preferring NIR. The patches also wire up the Mesa state tracker for supporting NIR as a possible IR.

Freedreno and VC4 have been the main Gallium3D drivers so far interested in making use of NIR, the intermediate representation now part of core Mesa and developed by Intel and now heavily leveraged by their open-source graphics driver.
Related News
About The Author
Author picture

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 or contacted via

Popular News This Week