RADV Lands Rewritten Acceleration Structures For Ray-Tracing In Mesa 22.3

Written by Michael Larabel in Radeon on 7 August 2022 at 06:53 AM EDT. 24 Comments
RADEON
Being merged into Mesa 22.3 this morning for the open-source Radeon Vulkan driver "RADV" are rewritten acceleration structures for the ray-tracing support.

Konstantin Seurer who has been involved in RADV ray-tracing improvements like the RT maintenance extension, indirect ray-tracing, and various other RT features has spent the past several weeks refactoring and rewriting the acceleration structures.

Konstantin has been working to move the acceleration structure build kernels from the existing driver C code over to GLSL/C++ code. In doing so, the intent is to make it easier to implement more complex kernels moving forward.

Additionally, while working on this code its approach was originally aimed to allow more sharing of code between the CPU and GPU paths. However, that CPU execution path looks like it will be shortly discontinued/removed as more complex features are implemented that will not work out for CPU extension. But at least initially while working on this MR, Konstantin commented of the CPU execution emphasis, "testing those shaders on the GPU is really annoying. Hundreds of GPU hangs and little to no debugging options."


The 14 patches rework the acceleration structures around 1.5k lines of code. The merge request landed for next quarter's Mesa 22.3 stable release and long story short is another low-level step toward improving RADV driver's Vulkan ray-tracing support.
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