diff options
| author | Robin Kertels <robin.kertels@gmail.com> | 2022-10-01 01:24:54 +0200 |
|---|---|---|
| committer | Robin Kertels <robin.kertels@gmail.com> | 2022-10-01 01:26:04 +0200 |
| commit | e5fb9c9adfcd167145886aa68aa62bc684cacb9c (patch) | |
| tree | 0efb3bc7328b104af397804225d7a2fb973b9143 /Source/Core | |
| parent | fba7d35f94bd4b2e20b8c26be4818a025a0ed5eb (diff) | |
VideoBackends:Vulkan: Raise number of command buffers
Avoid waiting for earlier submissions when we flush more often.
The vertex manager will flush more often if the game accesses the EFB
on the CPU, to give the GPU a head start.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/Constants.h b/Source/Core/VideoBackends/Vulkan/Constants.h index f8888315a8..f166f9b9b4 100644 --- a/Source/Core/VideoBackends/Vulkan/Constants.h +++ b/Source/Core/VideoBackends/Vulkan/Constants.h @@ -12,7 +12,7 @@ namespace Vulkan { // Number of command buffers. -constexpr size_t NUM_COMMAND_BUFFERS = 2; +constexpr size_t NUM_COMMAND_BUFFERS = 8; // Number of frames in flight, will be used to decide how many descriptor pools are used constexpr size_t NUM_FRAMES_IN_FLIGHT = 2; |
