From 4aaa6ffb57bf25d634775538381973626ab8106d Mon Sep 17 00:00:00 2001 From: Panagiotis Apostolou Date: Wed, 6 Nov 2024 18:46:11 +0200 Subject: [PATCH] Fix clang-format --- framework/decode/file_processor.h | 1 - framework/decode/vulkan_virtual_swapchain.cpp | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/decode/file_processor.h b/framework/decode/file_processor.h index ec1b3cc9f..c8cf0c12a 100644 --- a/framework/decode/file_processor.h +++ b/framework/decode/file_processor.h @@ -276,7 +276,6 @@ class FileProcessor return file_stack_.back(); } - }; GFXRECON_END_NAMESPACE(decode) diff --git a/framework/decode/vulkan_virtual_swapchain.cpp b/framework/decode/vulkan_virtual_swapchain.cpp index 5f4e50f8b..11bf37027 100644 --- a/framework/decode/vulkan_virtual_swapchain.cpp +++ b/framework/decode/vulkan_virtual_swapchain.cpp @@ -636,12 +636,10 @@ VkResult VulkanVirtualSwapchain::GetSwapchainImagesKHR(VkResult // Notify any layers by calling the provided pointer to their ReportReplayGeneratedVulkanCommands decode::BeginInjectedCommands(); - VkResult res = CreateSwapchainResourceData( + result = CreateSwapchainResourceData( device_info, swapchain_info, capture_image_count, replay_image_count, images, false); decode::EndInjectedCommands(); - - return res; } return result; @@ -983,7 +981,6 @@ VkResult VulkanVirtualSwapchain::QueuePresentKHR(VkResult VkPresentInfoKHR modified_present_info = *present_info; modified_present_info.waitSemaphoreCount = static_cast(present_wait_semaphores.size()); modified_present_info.pWaitSemaphores = present_wait_semaphores.data(); - return func(queue, &modified_present_info); }