summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
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
757} 757}
758 758
759void RasterizerVulkan::FlushWork() { 759void RasterizerVulkan::FlushWork() {
760#ifdef ANDROID
761 static constexpr u32 DRAWS_TO_DISPATCH = 1024;
762#else
760 static constexpr u32 DRAWS_TO_DISPATCH = 4096; 763 static constexpr u32 DRAWS_TO_DISPATCH = 4096;
764#endif // ANDROID
761 765
762 // Only check multiples of 8 draws 766 // Only check multiples of 8 draws
763 static_assert(DRAWS_TO_DISPATCH % 8 == 0); 767 static_assert(DRAWS_TO_DISPATCH % 8 == 0);