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
This commit is contained in:
Jake Turner
2026-09-09 15:18:12 +01:00
parent 0c69b86d7c
commit 4eae579b45
+4
View File
@@ -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)