mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 05:05:48 +01:00
vk_command_pool: Reduce the command pool size from 4096 to 4
This allows drivers to reuse memory more easily and preallocate less. The optimal number has been measured booting Pokémon Sword.
This commit is contained in:
parent
ae876ed047
commit
aae399c1a8
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
namespace Vulkan {
|
namespace Vulkan {
|
||||||
|
|
||||||
constexpr size_t COMMAND_BUFFER_POOL_SIZE = 0x1000;
|
constexpr size_t COMMAND_BUFFER_POOL_SIZE = 4;
|
||||||
|
|
||||||
struct CommandPool::Pool {
|
struct CommandPool::Pool {
|
||||||
vk::CommandPool handle;
|
vk::CommandPool handle;
|
||||||
|
Loading…
Reference in New Issue
Block a user