Files
renderdoc/renderdoc
Cam Mannett b730e55b93 Vulkan AS rebuild-on-replay: On queue submission completion events
If an AS build command is called on an already built AS (i.e. an update build) then we need to safely destroy the previously copied input buffers and their memory.  However at the point this happens, we do not own the command buffer so we don't know if the original data has actually been copied yet.

Using the mechanism in this patch we associate function objects with the command buffer that will be executed when the queue the command buffer is submitted to, has finished executing on the GPU.

This works by carying the function objects in command buffer and once it is submitted, we poll on a VkEvent we inserted.  Once signalled, we call the function objects in the order they were inserted.
2024-09-06 16:38:43 +01:00
..
2024-07-12 14:50:54 +01:00
2024-08-05 14:35:40 +01:00
2024-09-03 17:00:49 +01:00