Intel Lands Compute Shaders In Mainline Mesa

Written by Michael Larabel in Intel on 5 February 2014 at 04:44 PM EST. 1 Comment
INTEL
Last month I shared work being done by Intel on supporting OpenGL compute shaders within Mesa as needed with the ARB_compute_shader extension. That work is now starting to hit Mesa Git master.

The ARB_compute_shader extension allows arbitrary workloads to be done on the GPU. Compute shaders in OpenGL are somewhat similar to OpenCL but there's many low-level differences, among them is that compute shaders are still written in GLSL. The extension is documented at Khronos.org.

As of today the ARB_compute_shader is starting to hit mainline Mesa. Besides the usual caveat that this work is just for core Mesa plus Intel's hardware driver, the ARB_compute_shader support is also hidden for now behind an environment variable. INTEL_COMPUTE_SHADER=1 must be set for utilizing the GLSL compute shaders with the Intel Mesa driver at this time. This work hit today and will be officially christened with the Mesa 10.2/11.0 release.
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