summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_update_descriptor.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-25 06:29:29 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:06:03 +0200
commitf0ed20c8a26fb95882fa6a2224ea2ad4efa473c4 (patch)
tree55edff68d29635a232bf46dab8ea839c52c81880 /src/video_core/renderer_vulkan/vk_update_descriptor.h
parentandroid: Enable onBackInvokedCallback (diff)
downloadyuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.gz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.bz2
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.lz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.xz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.zst
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_update_descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_update_descriptor.h b/src/video_core/renderer_vulkan/vk_update_descriptor.h
index 310fb551a..e77b576ec 100644
--- a/src/video_core/renderer_vulkan/vk_update_descriptor.h
+++ b/src/video_core/renderer_vulkan/vk_update_descriptor.h
@@ -31,7 +31,7 @@ struct DescriptorUpdateEntry {
class UpdateDescriptorQueue final {
// This should be plenty for the vast majority of cases. Most desktop platforms only
// provide up to 3 swapchain images.
- static constexpr size_t FRAMES_IN_FLIGHT = 5;
+ static constexpr size_t FRAMES_IN_FLIGHT = 7;
static constexpr size_t FRAME_PAYLOAD_SIZE = 0x20000;
static constexpr size_t PAYLOAD_SIZE = FRAME_PAYLOAD_SIZE * FRAMES_IN_FLIGHT;