Merge pull request #10977 from tellowkrinkle/FixBackendMultithreading

VideoBackends:Vulkan: Improve backend multithreading
This commit is contained in:
JMC47 2022-10-25 04:14:01 -04:00 committed by GitHub
commit 027e10460a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View file

@ -117,6 +117,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;