- changed shader loader to load only one shader at a time

This is merely preparation - the actual loading is still in one uninterrupted piece.
This commit is contained in:
Christoph Oelckers 2022-05-13 00:45:27 +02:00
commit 2be13e1b9f
15 changed files with 187 additions and 76 deletions

View file

@ -207,6 +207,11 @@ void VulkanFrameBuffer::Update()
Super::Update();
}
bool VulkanFrameBuffer::CompileNextShader()
{
return mShaderManager->CompileNextShader();
}
void VulkanFrameBuffer::DeleteFrameObjects(bool uploadOnly)
{
FrameTextureUpload.Buffers.clear();