Skip to content

radv: Support accelerationStructureCaptureReplay.

Tatsuyuki Ishi requested to merge ishitatsuyuki/mesa:as-replay into main

The address itself was already stable assuming that the memory itself was allocated with capture/replay. Enable the feature flag and add an equality check to return VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR on mismatch.

Tested with:

  • dEQP-VK.ray_tracing_pipeline.capture_replay.*
  • q2rtx gfxrecon replays correctly without major errors.
    • There are debug logs about VkBuffers missing opaque address for unknown reason, however the AS part is confirmed to be correctly captured.

Merge request reports