From e5fb9c9adfcd167145886aa68aa62bc684cacb9c Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Sat, 1 Oct 2022 01:24:54 +0200 Subject: [PATCH] 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. --- Source/Core/VideoBackends/Vulkan/Constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;