Cleanup code generation with focus on removing the need to sort all dependencies before writing them.

This commit is contained in:
Andreas Süßenbach
2019-01-09 11:55:11 +01:00
committed by Markus Tavenrath
parent b4080fb425
commit a147b07737
5 changed files with 50299 additions and 50288 deletions

View File

@@ -51,6 +51,8 @@ int main(int /*argc*/, char * /*argv[]*/)
std::vector<vk::UniqueCommandBuffer>::allocator_type vectorAllocator;
std::vector<vk::UniqueCommandBuffer> commandBuffers = device->allocateCommandBuffersUnique({}, vectorAllocator, vk::DispatchLoaderStatic());
commandBuffers[0]->begin(nullptr);
std::vector<vk::UniqueHandle<vk::CommandBuffer, vk::DispatchLoaderDynamic>>::allocator_type dynamicVectorAllocator;
std::vector<vk::UniqueHandle<vk::CommandBuffer, vk::DispatchLoaderDynamic>> dynamicCommandBuffers = device->allocateCommandBuffersUnique({}, dynamicVectorAllocator, vk::DispatchLoaderDynamic());
}