Require device properties 2 in instance

This commit is contained in:
hodasemi 2023-01-20 13:47:37 +01:00
parent 69ec318579
commit c8385997cd

View file

@ -140,8 +140,11 @@ impl Instance {
pub fn new( pub fn new(
app_info: VkApplicationInfo<'_>, app_info: VkApplicationInfo<'_>,
debug_info: VulkanDebugInfo, debug_info: VulkanDebugInfo,
extensions: InstanceExtensions, mut extensions: InstanceExtensions,
) -> Result<Arc<Instance>> { ) -> Result<Arc<Instance>> {
// required in physical device
extensions.physical_device_properties2 = true;
let static_functions = StaticFunctions::load()?; let static_functions = StaticFunctions::load()?;
let entry_functions = EntryFunctions::new(&static_functions); let entry_functions = EntryFunctions::new(&static_functions);