Replaying vkResetFences() calls is necessary. Refs #210

This commit is contained in:
baldurk
2016-03-09 19:54:13 +01:00
parent d1aba21985
commit 2091a6c7d5
@@ -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;