Basic shader compilation

This commit is contained in:
Dynamitos committed 2024-04-11 12:38:42 +02:00
1 parent c3be0e23e7
commit 77dc9ef3fd
24 files changed
+254 -148

No files matched your search

+3 -1
View File
@@ -48,7 +48,9 @@ void UIPass::render()
command->bindVertexBuffer({elementBuffer});
command->bindDescriptor(descriptorSet);
command->draw(4, static_cast<uint32>(renderElements.size()), 0, 0);
graphics->executeCommands(Array{std::move(command)});
Array<Gfx::ORenderCommand> commands;
commands.add(std::move(command));
graphics->executeCommands(std::move(commands));
graphics->endRenderPass();
//co_return;