Cleanup shader handling

This commit is contained in:
2023-08-05 21:01:11 +02:00
parent 836e9dce42
commit da1782c4a9
9 changed files with 28 additions and 24 deletions

View File

@@ -154,6 +154,7 @@ namespace openVulkanoCpp::Vulkan
while((drawablePointer = jobQueue->Pop()) != nullptr)
{
Scene::Drawable* drawable = *drawablePointer;
drawContext.EncodeShader(drawable->GetShader());
drawable->GetEncoder().vulkan(drawable, &drawContext);
}
cmdHelper->cmdBuffer.end();