Intel's Mesa Driver Now Uses NIR By Default For Vertex Shaders

Written by Michael Larabel in Intel on 19 May 2015 at 09:37 AM EDT. 6 Comments
INTEL
Back in April Intel enabled the NIR IR by default within their Mesa driver but initially only for fragment shaders. Intel has now enabled NIR usage by default for vertex shaders within their i965 DRI driver.

For Broadwell and newer, NIR is now being used by default as the intermediate representation in dealing with vertex shaders. Using NIR led to a reduction of a few percent in the overall number of instructions generated for their reference test cases. Up to now the INTEL_USE_NIR environment variable had to be enabled for doing NIR VS while now it can be set to false if you wish to disable the new code-paths.

Details on this change affecting vertex shaders for the Intel Mesa driver can be found via this Git commit.
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