diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index e1ee6b7..86de11e 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -1231,10 +1231,15 @@ detail::Result PhysicalDeviceSelector::select() const { out_device.physical_device = selected_device.phys_device; out_device.surface = instance_info.surface; out_device.features = criteria.required_features; + out_device.features_11 = criteria.required_features_11; + out_device.features_11.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES; + out_device.features_12 = criteria.required_features_12; + out_device.features_12.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES; out_device.properties = selected_device.device_properties; out_device.memory_properties = selected_device.mem_properties; out_device.queue_families = selected_device.queue_families; out_device.defer_surface_initialization = criteria.defer_surface_initialization; + out_device.instance_version = instance_info.version; out_device.extensions_to_enable.insert(out_device.extensions_to_enable.end(), criteria.required_extensions.begin(),