mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-23 12:43:14 +00:00
video_core: vk_rasterizer: Decrease draw dispatch count for Android.
This commit is contained in:
parent
b4725332a2
commit
cf9f4f67dd
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue