mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-17 03:05:44 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user