mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
VideoBackends:Vulkan: Decouple available command buffers from frames in flight
This commit is contained in:
@ -11,10 +11,12 @@
|
||||
|
||||
namespace Vulkan
|
||||
{
|
||||
// Number of command buffers. Having two allows one buffer to be
|
||||
// executed whilst another is being built.
|
||||
// Number of command buffers.
|
||||
constexpr size_t NUM_COMMAND_BUFFERS = 2;
|
||||
|
||||
// Number of frames in flight, will be used to decide how many descriptor pools are used
|
||||
constexpr size_t NUM_FRAMES_IN_FLIGHT = 2;
|
||||
|
||||
// Staging buffer usage - optimize for uploads or readbacks
|
||||
enum STAGING_BUFFER_TYPE
|
||||
{
|
||||
|
Reference in New Issue
Block a user