More ACO Code Landing For RadeonSI Gallium3D

Written by Michael Larabel in Radeon on 11 June 2023 at 03:25 PM EDT. Add A Comment
RADEON
AMD engineer Qiang Yu has recently been working on bringing support for Valve's ACO compiler from RADV over to the RadeonSI Gallium3D OpenGL driver as an alternative to using the default AMDGPU LLVM shader compiler. More code has landed this week in furthering the effort.

Last month the initial code was wired up so Valve's ACO could be used for select shaders within RadeonSI. Last week more ACO code was merged and this week additional code was merged as well as there being another open merge request.


Merged most recently on the RadeonSI front is enabling ACO support for standalone tessellation control shader (TCS) / tessellation / geometry shaders. That expands the scope of the ACO compiler usage within RadeonSI. As with the prior shader types supported, the AMD_DEBUG=useaco environment variable must be set for enabling ACO usage where capable in place of AMDGPU LLVM.

Equally exciting is a new merge request that was opened on Friday for allowing compute shader support with ACO. In turn that gets RadeonSI ACO support for all shader types besides SI_SHADER_MERGED_VERTEX_TESSCTRL and SI_SHADER_MERGED_VERTEX_OR_TESSEVAL_GEOMETRY. Hopefully the compute shader support is all reviewed and merged in time for next quarter's Mesa 23.2 release so we could have some usable experimental ACO support available for interested Linux enthusiasts/gamers.
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