Revert "renderer_vulkan: add locks to avoid scheduler flushes from CPU"

This reverts commit d9dde7e6f3.
This commit is contained in:
Fernando Sahmkow 2023-11-10 15:40:48 +01:00
parent f75363177e
commit 1d03a0fa75
4 changed files with 10 additions and 23 deletions

View file

@ -86,10 +86,7 @@ public:
uncommitted_operations.emplace_back(std::move(func));
}
pending_operations.emplace_back(std::move(uncommitted_operations));
{
std::scoped_lock lock{buffer_cache.mutex, texture_cache.mutex};
QueueFence(new_fence);
}
QueueFence(new_fence);
if (!delay_fence) {
func();
}