@@ -253,8 +253,6 @@ void VulkanReplayFrameLoopConsumer::Process_vkFreeDescriptorSets(const ApiCallIn
253253 call_info, returnValue, device, descriptorPool, descriptorSetCount, pDescriptorSets);
254254}
255255
256-
257-
258256void VulkanReplayFrameLoopConsumer::OnLoopStart ()
259257{
260258 WaitDevicesIdle ();
@@ -273,7 +271,7 @@ void VulkanReplayFrameLoopConsumer::CaptureInitialFenceStates()
273271 auto device_info = table.GetVkDeviceInfo (fence_info->parent_id );
274272 if (device_info != nullptr && device_info->handle != VK_NULL_HANDLE )
275273 {
276- VkDevice device = device_info->handle ;
274+ VkDevice device = device_info->handle ;
277275 const graphics::VulkanDeviceTable* device_table = GetDeviceTable (device);
278276 if (device_table != nullptr )
279277 {
@@ -282,7 +280,8 @@ void VulkanReplayFrameLoopConsumer::CaptureInitialFenceStates()
282280 GFXRECON_LOG_DEBUG (" Fence %" PRIu64 " (handle %" PRIu64 " ) initial state: %s" ,
283281 fence_info->capture_id ,
284282 (uint64_t )fence_info->handle ,
285- status == VK_SUCCESS ? " SIGNALED" : (status == VK_NOT_READY ? " UNSIGNALED" : " ERROR" ));
283+ status == VK_SUCCESS ? " SIGNALED"
284+ : (status == VK_NOT_READY ? " UNSIGNALED" : " ERROR" ));
286285 }
287286 }
288287 }
@@ -327,14 +326,18 @@ void VulkanReplayFrameLoopConsumer::FixupDeviceFences(format::HandleId device, f
327326
328327 if (initial_status == VK_NOT_READY && current_status == VK_SUCCESS )
329328 {
330- GFXRECON_LOG_DEBUG (" Fence %" PRIu64 " (handle %" PRIu64 " ) was initially UNSIGNALED but is now SIGNALED. Will reset it." ,
331- fence_id, (uint64_t )fence_info->handle );
329+ GFXRECON_LOG_DEBUG (" Fence %" PRIu64 " (handle %" PRIu64
330+ " ) was initially UNSIGNALED but is now SIGNALED. Will reset it." ,
331+ fence_id,
332+ (uint64_t )fence_info->handle );
332333 fences_to_reset.push_back (fence_info->handle );
333334 }
334335 else if (initial_status == VK_SUCCESS && current_status == VK_NOT_READY )
335336 {
336- GFXRECON_LOG_DEBUG (" Fence %" PRIu64 " (handle %" PRIu64 " ) was initially SIGNALED but is now UNSIGNALED. Will signal it." ,
337- fence_id, (uint64_t )fence_info->handle );
337+ GFXRECON_LOG_DEBUG (" Fence %" PRIu64 " (handle %" PRIu64
338+ " ) was initially SIGNALED but is now UNSIGNALED. Will signal it." ,
339+ fence_id,
340+ (uint64_t )fence_info->handle );
338341 fences_to_signal.push_back (fence_info->handle );
339342 }
340343 }
@@ -352,7 +355,7 @@ void VulkanReplayFrameLoopConsumer::FixupDeviceFences(format::HandleId device, f
352355 VulkanQueueInfo* queue_info = table.GetVkQueueInfo (queue);
353356 for (VkFence fence : fences_to_signal)
354357 {
355- VkResult result = device_table->QueueSubmit (queue_info->handle , 0 , nullptr , fence);
358+ VkResult result = device_table->QueueSubmit (queue_info->handle , 0 , nullptr , fence);
356359 CHECK_VK_RESULT (result, " vkQueueSubmit" );
357360 }
358361 }
@@ -382,8 +385,6 @@ void VulkanReplayFrameLoopConsumer::Process_vkMapMemory(const ApiCallInfo&
382385 VulkanReplayConsumer::Process_vkMapMemory (call_info, returnValue, device, memory, offset, size, flags, ppData);
383386}
384387
385-
386-
387388void VulkanReplayFrameLoopConsumer::Process_vkQueuePresentKHR (
388389 const ApiCallInfo& call_info,
389390 VkResult returnValue,
@@ -412,12 +413,11 @@ void VulkanReplayFrameLoopConsumer::Process_vkQueuePresentKHR(
412413 }
413414}
414415
415- void VulkanReplayFrameLoopConsumer::Process_vkCmdWriteTimestamp (
416- const ApiCallInfo& call_info,
417- format::HandleId commandBuffer,
418- VkPipelineStageFlagBits pipelineStage,
419- format::HandleId queryPool,
420- uint32_t query)
416+ void VulkanReplayFrameLoopConsumer::Process_vkCmdWriteTimestamp (const ApiCallInfo& call_info,
417+ format::HandleId commandBuffer,
418+ VkPipelineStageFlagBits pipelineStage,
419+ format::HandleId queryPool,
420+ uint32_t query)
421421{
422422 if (frame_loop_info_.IsRepetition ())
423423 {
0 commit comments