VideoBackends:Vulkan: Improve backend multithreading

Makes the multiple threads actually able to run at the same time
This commit is contained in:
TellowKrinkle 2022-08-10 23:46:36 -05:00
commit 6fd933915b
2 changed files with 12 additions and 3 deletions

View file

@ -118,6 +118,7 @@ private:
u64 fence_counter = 0;
bool init_command_buffer_used = false;
bool semaphore_used = false;
std::atomic<bool> waiting_for_submit{false};
u32 frame_index = 0;
std::vector<std::function<void()>> cleanup_resources;