Feral Adding AMD_shader_info To RADV Vulkan Driver

Written by Michael Larabel in AMD on 25 October 2017 at 08:43 AM EDT. 16 Comments
AMD
As further sign of Feral Interactive continuing to pursue Vulkan for their Linux games, a Feral developer today posted a patch for implementing the brand new AMD_shader_info extension for the RADV Mesa driver.

Alex Smith of Feral posted the patch today wiring in AMD_shader_info. This AMD-developed shader information extension debuted just days ago with the Vulkan 1.0.64 update. This Vulkan extension provides a means of querying information about a compiled shader from the shader disassembly to statistics, but the extension itself places no mandates about what is exposed.

With Feral's RADV VK_AMD_shader_info support, it dumps various shader statistics like the number of spilled registers, code size, waves, scratch memory used, and more. It also is able to provide the disassembly of the shaders.

Alex mentions that this extension support works in conjunction with the latest development code for RenderDoc, a popular Vulkan debugging application, to then easily see the shader disassembly of a capture. This should help a lot for allowing game/app developers like Feral Interactive to be able to quickly analyze the disassembly output when trying to debug a problem.

Great to see all the work continuing to build up around RADV but a shame AMD hasn't yet opened up any more of their own Vulkan driver.
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