Mesa 22.0 Lands Some Patches Toward OpenCL Image Support

Written by Michael Larabel in Mesa on 18 October 2021 at 05:29 AM EDT. 19 Comments
MESA
Mesa 22.0-devel is one step closer to having OpenCL image support that is sought after by many individuals for allowing more OpenCL-enabled desktop software to work nicely with this open-source OpenCL component in Mesa.

For nearly a year there has been the work-in-progress merge request implementing OpenCL 1.2 image support. That work was started by Red Hat's Karol Herbst.

Now David Airlie has picked up some of the reviewed and ready patches from that MR and has merged them into Mesa 22.0-devel as of today.

CL_MEM_OBJECT_IMAGE1D_ARRAY / CL_MEM_OBJECT_IMAGE1D_BUFFER / CL_MEM_OBJECT_IMAGE2D_ARRAY / CL_IMAGE_BUFFER are all now implemented along with other changes to the Clover Gallium3D state tracker and SPIR-V code. The OpenCL image support isn't yet complete but this was just the code that was ready for landing so far.

OpenCL image support is required for Darktable, DaVinci Resolve, and various other applications. It will be great if the OpenCL image support is all ironed out for next quarter's Mesa 22.0 stable release but remains to be seen as the lack of time seems to be the main blocker for the developers in getting these Clover improvements squared away along with the likes of OpenCL 3.0.
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