Intel Adds A Tiny OpenCL Compiler To Mesa 22.1 For Their Vulkan Ray-Tracing Code

Written by Michael Larabel in Intel on 21 March 2022 at 08:24 AM EDT. 5 Comments
Intel has added a little OpenCL C compiler binary to Mesa 22.1 today in the latest development code-base.

Mesa 22.1 is adding intel_clc for compiling OpenCL sources, this isn't related to Gallium3D Clover or the recent "Rusticl" OpenCL implementation in Rust for Mesa. Intel's primary OpenCL compute support is provided as part of their open-source Compute-Runtime that also provides oneAPI Level Zero support.

The purpose of intel_clc is for compiling OpenCL C code that will be used for building acceleration structures for their Vulkan ray-tracing implementation. The Intel CLC compiler tool is limited to Intel GFX12.5 hardware and newer and only supports a subset of relevant extensions necessary for their intended workflow. The intel-clc compiler emits SPIR-V that is then consumed by the Intel ANV driver.

Intel has been working a lot on Vulkan ray-tracing for their open-source ANV driver over the past year ahead of Intel Arc discrete graphics processors coming to market with hardware ray-tracing support.

See this merge request that had been open for the past five months but as of this morning has landed in Mesa 22.1.
Related News
About The Author
Michael Larabel

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

Popular News This Week