Experimental Patches For ARB_parallel_shader_compile In Mesa
Written by Michael Larabel in Mesa on 17 April 2017 at 09:13 AM EDT. 2 Comments
Independent Mesa contributor Edward O'Callaghan has posted some early patches for supporting the OpenGL ARB_parallel_shader_compile extension in Mesa.

ARB_parallel_shader_compile provides a way for the game/application a hint so it can limit the number of threads to be used to compile shaders as well as a means of querying for when the shader compilation process is complete.

O'Callaghan commented on the patch series, "This is my early draft on the threaded shader compile "suggestion" thread. The requirements according the spec are rather weak as it is up to the implementation, which frankly can even just ignore the requested thread count. However, afaik in the case of radeonsi it is already threaded. Anyhoo I just wanted to get some feedback."

RadeonSI is the prime benefactor of this extension for now but doesn't appear to have too much benefit at this time.
ARB_parallel_shader_compile isn't currently part of a released version of the OpenGL specification.
Related News
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 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 or contacted via MichaelLarabel.com.

Popular News This Week