summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar bunnei2023-05-24 21:29:29 -0700
committerGravatar bunnei2023-06-03 00:06:03 -0700
commitf0ed20c8a26fb95882fa6a2224ea2ad4efa473c4 (patch)
tree55edff68d29635a232bf46dab8ea839c52c81880 /src/video_core
parentandroid: Enable onBackInvokedCallback (diff)
downloadyuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.gz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.xz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.zip
android: GPU: Enable async presentation, increase frames in flight.
Diffstat (limited to 'src/video_core')
-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 {
31class UpdateDescriptorQueue final { 31class UpdateDescriptorQueue final {
32 // This should be plenty for the vast majority of cases. Most desktop platforms only 32 // This should be plenty for the vast majority of cases. Most desktop platforms only
33 // provide up to 3 swapchain images. 33 // provide up to 3 swapchain images.
34 static constexpr size_t FRAMES_IN_FLIGHT = 5; 34 static constexpr size_t FRAMES_IN_FLIGHT = 7;
35 static constexpr size_t FRAME_PAYLOAD_SIZE = 0x20000; 35 static constexpr size_t FRAME_PAYLOAD_SIZE = 0x20000;
36 static constexpr size_t PAYLOAD_SIZE = FRAME_PAYLOAD_SIZE * FRAMES_IN_FLIGHT; 36 static constexpr size_t PAYLOAD_SIZE = FRAME_PAYLOAD_SIZE * FRAMES_IN_FLIGHT;
37 37