Improving performance, but breaking vertex buffers

This commit is contained in:
Dynamitos committed 2020-10-30 18:45:35 +01:00
1 parent 84b3fa29bf
commit 41710220ec
25 files changed
+164 -62

No files matched your search

@@ -159,6 +159,11 @@ void SecondaryCmdBuffer::end()
VK_CHECK(vkEndCommandBuffer(handle));
}
void SecondaryCmdBuffer::begin()
{
begin(graphics->getGraphicsCommands()->getCommands());
}
void SecondaryCmdBuffer::setViewport(Gfx::PViewport viewport)
{
VkViewport vp = viewport.cast<Viewport>()->getHandle();