forked from Dynamitos/Seele
Starting implementation of UI framework
This commit is contained in:
1 parent
65caae9e21
commit
fb3c66cc4c
57 files changed
+381
-186
No files matched your search
@@ -89,6 +89,10 @@ void CmdBuffer::executeCommands(Array<Gfx::PRenderCommand> commands)
|
||||
auto command = commands[i].cast<SecondaryCmdBuffer>();
|
||||
command->end();
|
||||
executingCommands.add(command);
|
||||
for(PDescriptorSet set : command->boundDescriptors)
|
||||
{
|
||||
set->setCurrentlyBound(this);
|
||||
}
|
||||
cmdBuffers[i] = command->getHandle();
|
||||
}
|
||||
vkCmdExecuteCommands(handle, cmdBuffers.size(), cmdBuffers.data());
|
||||
@@ -112,7 +116,7 @@ void CmdBuffer::refreshFence()
|
||||
{
|
||||
command->reset();
|
||||
}
|
||||
|
||||
executingCommands.clear();
|
||||
fence->reset();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user