Trying to fix weird sync issue

This commit is contained in:
Dynamitos
2024-01-26 23:19:18 +01:00
parent 09790c4cbd
commit 1bf08f696b
12 changed files with 54 additions and 31 deletions
@@ -9,6 +9,8 @@
#include "Math/Vector.h"
#include "RenderGraph.h"
#include "Graphics/Command.h"
#include <vulkan/vulkan.h>
#include "Graphics/Vulkan/Graphics.h"
using namespace Seele;
@@ -130,6 +132,7 @@ void DepthPrepass::render()
}
graphics->executeCommands(commands);
graphics->endRenderPass();
//vkDeviceWaitIdle(((Vulkan::Graphics*)graphics.getHandle())->getDevice());
}
void DepthPrepass::endFrame()