Lot of synchronization changes

This commit is contained in:
Dynamitos
2024-06-07 14:56:42 +02:00
parent cb21e8a85a
commit bc0d05dbb0
14 changed files with 686 additions and 515 deletions
+2 -2
View File
@@ -147,12 +147,12 @@ void Command::checkFence()
{
command->reset();
}
executingComputes.clear();
pool->cacheCommands(std::move(executingComputes));
for(auto& command : executingRenders)
{
command->reset();
}
executingRenders.clear();
pool->cacheCommands(std::move(executingRenders));
for(auto& descriptor : boundResources)
{
descriptor->unbind();