Skip to content

Commit d58effd

Browse files
Return from FixupDeviceFences if the device had no fences
1 parent 49d4f27 commit d58effd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

framework/decode/vulkan_replay_frame_loop_consumer.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,11 @@ void VulkanReplayFrameLoopConsumer::Process_vkQueueSubmit(const ApiCallInfo&
411411
void VulkanReplayFrameLoopConsumer::FixupDeviceFences(format::HandleId device, format::HandleId queue)
412412
{
413413
// Get fence tracking info associated with this VkDevice
414-
GFXRECON_ASSERT(per_device_fence_tracking_.contains(device));
414+
if (!per_device_fence_tracking_.contains(device))
415+
{
416+
// No need to fixup fences if there weren't any
417+
return;
418+
}
415419
FenceTracking& t = per_device_fence_tracking_[device];
416420

417421
VulkanObjectInfoTable& table = GetObjectInfoTable();

0 commit comments

Comments
 (0)