mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 17:25:54 +00:00
Replaying vkResetFences() calls is necessary. Refs #210
This commit is contained in:
@@ -202,8 +202,13 @@ bool WrappedVulkan::Serialise_vkResetFences(
|
||||
|
||||
if(m_State < WRITING)
|
||||
{
|
||||
// we don't care about fence states as we cannot record them perfectly and just
|
||||
// do full waitidle flushes.
|
||||
// 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
|
||||
// make sure it is correctly unsignalled.
|
||||
|
||||
device = GetResourceManager()->GetLiveHandle<VkDevice>(id);
|
||||
|
||||
ObjDisp(device)->ResetFences(Unwrap(device), (uint32_t)fences.size(), &fences[0]);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user