mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 13:21:45 +00:00
Don't reset list of fences if there are no live fences
This commit is contained in:
1 parent
40b9e6d80b
commit
24f225899e
1 file changed
+1
-1
@@ -200,7 +200,7 @@ bool WrappedVulkan::Serialise_vkResetFences(
|
||||
fences.push_back(Unwrap(GetResourceManager()->GetLiveHandle<VkFence>(id)));
|
||||
}
|
||||
|
||||
if(m_State < WRITING)
|
||||
if(m_State < WRITING && !fences.empty())
|
||||
{
|
||||
// we don't care about fence states ourselves as we cannot record them perfectly and just
|
||||
// do full waitidle flushes. However if the fence is passed to vkQueueSubmit we need to
|
||||
|
||||
Reference in new issue
Block a user