Shaders are not compiling anymore...
This commit is contained in:
@@ -469,6 +469,10 @@ CommandPool::CommandPool(PGraphics graphics, PQueue queue)
|
||||
CommandPool::~CommandPool()
|
||||
{
|
||||
vkDeviceWaitIdle(graphics->getDevice());
|
||||
for (auto& command : allocatedBuffers)
|
||||
{
|
||||
command->checkFence();
|
||||
}
|
||||
allocatedRenderCommands.clear();
|
||||
allocatedComputeCommands.clear();
|
||||
allocatedBuffers.clear();
|
||||
|
||||
Reference in New Issue
Block a user