diff options
author | Liam <byteslice@airmail.cc> | 2023-05-10 19:35:25 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-05-10 19:46:48 +0200 |
commit | 67fd1df762c125fe8a04d7bbded42ba50a1cdef1 (patch) | |
tree | 2323933878dcd1fb788a99d8da56a7aff4c635d8 /src/video_core/renderer_vulkan/vk_update_descriptor.h | |
parent | Merge pull request #10207 from german77/amiibo_cheater (diff) | |
download | yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.gz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.bz2 yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.lz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.xz yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.tar.zst yuzu-67fd1df762c125fe8a04d7bbded42ba50a1cdef1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_update_descriptor.h | 6 |
1 files changed, 5 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 1c1a7020b..310fb551a 100644 --- a/src/video_core/renderer_vulkan/vk_update_descriptor.h +++ b/src/video_core/renderer_vulkan/vk_update_descriptor.h @@ -32,7 +32,7 @@ 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 FRAME_PAYLOAD_SIZE = 0x10000; + static constexpr size_t FRAME_PAYLOAD_SIZE = 0x20000; static constexpr size_t PAYLOAD_SIZE = FRAME_PAYLOAD_SIZE * FRAMES_IN_FLIGHT; public: @@ -86,4 +86,8 @@ private: std::array<DescriptorUpdateEntry, PAYLOAD_SIZE> payload; }; +// TODO: should these be separate classes instead? +using GuestDescriptorQueue = UpdateDescriptorQueue; +using ComputePassDescriptorQueue = UpdateDescriptorQueue; + } // namespace Vulkan |