Skip to content

Draft: radv: Add a debug option for dumping acceleration structures

Konstantin Seurer requested to merge KonstantinSeurer/mesa:radv-as-dump into main

Adds a debug option to dump acceleration structures into a target directory. This will mainly be useful for:

  1. Debugging ray tracing issues.
  2. Improving BVH quality by analyzing the dumped BVHs.
  3. Validating BVHs when adding implementing new build methods.

I also started working on a small tool to process those dumps. (https://gitlab.freedesktop.org/KonstantinSeurer/bvh-analyzer)

image

Edited by Konstantin Seurer

Merge request reports