Mesa Adds Compute Shader Decoding For ASTC

Written by Michael Larabel in Mesa on 17 February 2023 at 06:47 AM EST. 5 Comments
The Mesa 23.1 graphics driver code has added support for software-based decoding of Adaptive Scalable Texture Compression (ASTC) textures via compute shaders.

For hardware without native Adaptive Scalable Texture Compression (ASTC) support, the Mesa state tracker for Gallium3D has implemented compute shader based decoding that will work across hardware.

This is similar to Mesa's recent addition of compute based transcoding for DXT5. The ASTC compute shader implementation is based on the code from the Granite Vulkan renderer by Hans-Kristian Arntzen.

Intel dropped ASTC hardware support in Gen12.5 graphics hardware and newer. Adaptive Scalable Texture Compression was originally devised by AMD and Arm while has been supported by The Khronos Group for OpenGL and OpenGL ES for the past decade. While surprising Intel had removed it from Gen12.5 graphics hardware, at least there is this new compute shader based implementation.

See this merge request that landed in Mesa 23.1 today for all the details on this compute shader based decoding for ASTC.
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