Vulkan: have a whole bunch more scratch command buffer slots

If running non-vsynced apps, we might need to keep track of 500+ in-flight
commits. Maybe make dynamic at some point?
This commit is contained in:
Pierre-Loup A. Griffais 2020-01-26 13:36:30 -08:00
parent ca954bb237
commit 5e3a9c9408

View file

@ -74,7 +74,7 @@ VkBuffer uploadBuffer;
VkDeviceMemory uploadBufferMemory;
void *pUploadBuffer;
const uint32_t k_nScratchCmdBufferCount = 50;
const uint32_t k_nScratchCmdBufferCount = 1000;
struct scratchCmdBuffer_t
{