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

@@ -71,6 +71,10 @@ int main(int /*argc*/, char * /*argv[]*/)
auto d = pd.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVariablePointerFeatures>(vk::DispatchLoaderStatic());
vk::PhysicalDeviceFeatures2 & d0 = d.get<vk::PhysicalDeviceFeatures2>();
vk::PhysicalDeviceVariablePointerFeatures & d1 = d.get<vk::PhysicalDeviceVariablePointerFeatures>();
using StructureChain = vk::StructureChain<vk::QueueFamilyProperties2, vk::QueueFamilyCheckpointPropertiesNV>;
using AllocatorType = std::vector<StructureChain>::allocator_type;
auto qfd = pd.getQueueFamilyProperties2<StructureChain, AllocatorType>(vk::DispatchLoaderStatic());
}
catch (vk::SystemError err)
{