From 4eae579b45cfe7737cf94f927939232b093d214b Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Tue, 18 Aug 2026 09:39:02 +0100 Subject: [PATCH] Do not add an empty Vulkan APIEvent for SystemChunk::CaptureEnd Does not change the existing behaviour to an action if the preceding chunk is not vkQueuePresentKHR --- renderdoc/driver/vulkan/vk_core.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renderdoc/driver/vulkan/vk_core.cpp b/renderdoc/driver/vulkan/vk_core.cpp index 54557ed64..9414394b4 100644 --- a/renderdoc/driver/vulkan/vk_core.cpp +++ b/renderdoc/driver/vulkan/vk_core.cpp @@ -4476,6 +4476,10 @@ bool WrappedVulkan::ContextProcessChunk(ReadSerialiser &ser, VulkanChunk chunk) else if(chunk == VulkanChunk::SetCommandAnnotation || chunk == VulkanChunk::SetQueueAnnotation) { } + else if((SystemChunk)chunk == SystemChunk::CaptureEnd) + { + // don't add this as an APIEvent + } else { if(!m_AddedEventNode)