NIR Mesa Functions Support Is Coming Along With SPIR-V To NIR
Written by Michael Larabel in Mesa on 26 December 2015 at 03:51 PM EST. 2 Comments
Mesa developer Jason Ekstrand has published a patch set today for providing real function support inside NIR, the new Mesa intermediate representation.

Up to now they haven't had suitable support for functions sans the single-function main(). However, these 12 patches wire everything up for functions.

Perhaps of more interest from this patch series to the non Mesa developer is that Jason is looking at upstreaming his "SPIR-V stuff" soon, the intermediate representation now used by Vulkan and OpenCL 2.1+. For a while now he's been working on SPIR-V to NIR support.
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