From 97e3f7fd34d299754cc2ae0d461bfbfdedfa13d9 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 11 Nov 2022 22:41:08 +0000 Subject: [PATCH] Increase max swapchain image count --- app/src/main/cpp/skyline/gpu/presentation_engine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/presentation_engine.h b/app/src/main/cpp/skyline/gpu/presentation_engine.h index e0529e78..7f0c9b6a 100644 --- a/app/src/main/cpp/skyline/gpu/presentation_engine.h +++ b/app/src/main/cpp/skyline/gpu/presentation_engine.h @@ -38,7 +38,7 @@ namespace skyline::gpu { texture::Format swapchainFormat{}; //!< The image format of the textures in the current swapchain texture::Dimensions swapchainExtent{}; //!< The extent of images in the current swapchain - static constexpr size_t MaxSwapchainImageCount{6}; //!< The maximum amount of swapchain textures, this affects the amount of images that can be in the swapchain + static constexpr size_t MaxSwapchainImageCount{10}; //!< The maximum amount of swapchain textures, this affects the amount of images that can be in the swapchain std::array, MaxSwapchainImageCount> images; //!< All the swapchain textures in the same order as supplied by the host swapchain std::array presentSemaphores; //!< Array of semaphores used to signal that swapchain images are ready to be completed, indexed by Vulkan swapchain index std::array acquireSemaphores; //!< Array of semaphores used to wait on the GPU for swapchain images to be acquired, indexed by `frameIndex`