Skip to content

Commit

Permalink
Vulkan AS rebuild-on-replay: Serialise and Replay
Browse files Browse the repository at this point in the history
The VkAccelerationStructureInfo structure is serialised followed by the unified geometry readback buffer.

When the initial state Apply() is called the ASes are built from the input data one at a time so that a single scratch buffer can be built (enlarging when needed) and re-used.  Although this is slower it is necessary on Mali as it has poor space efficiency for the scratch buffer and so can easily OOM a device if all the ASes are built in a single command buffer submission.
  • Loading branch information
cmannett85-arm committed Oct 4, 2024
1 parent a68c076 commit 78476e1
Show file tree
Hide file tree
Showing 5 changed files with 576 additions and 332 deletions.
Loading

0 comments on commit 78476e1

Please sign in to comment.