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

This reverts commit 1bd99c1d65.
This commit is contained in:
Fernando Sahmkow 2023-11-10 15:40:48 +01:00
parent 2a6abe5470
commit b9087d53d5
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();
}