diff options
author | bunnei <[email protected]> | 2023-05-26 22:19:36 -0700 |
---|---|---|
committer | bunnei <[email protected]> | 2023-06-03 00:06:04 -0700 |
commit | cf9f4f67ddf5869a99a231092d035b2bf4e2a2f0 (patch) | |
tree | 54e6d0ca72246f149146d186574e50360d861e70 /src | |
parent | b4725332a2ad8217e1b1afcfff7ccecc818c4e1c (diff) | |
download | yuzu-android-cf9f4f67ddf5869a99a231092d035b2bf4e2a2f0.tar.gz yuzu-android-cf9f4f67ddf5869a99a231092d035b2bf4e2a2f0.zip |
video_core: vk_rasterizer: Decrease draw dispatch count for Android.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 4f2346a50..84e3a30cc 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -757,7 +757,11 @@ void RasterizerVulkan::LoadDiskResources(u64 title_id, std::stop_token stop_load } void RasterizerVulkan::FlushWork() { +#ifdef ANDROID + static constexpr u32 DRAWS_TO_DISPATCH = 1024; +#else static constexpr u32 DRAWS_TO_DISPATCH = 4096; +#endif // ANDROID // Only check multiples of 8 draws static_assert(DRAWS_TO_DISPATCH % 8 == 0); |