From afe4fb76e25bf814894ba4ef7b6d8ed05069805b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 9 Feb 2021 00:22:34 +0100 Subject: [PATCH] Vk: implicitly enable VK_EXT_extended_dynamic_state. All the heavyweight features from this extension have to be explicitly enabled through device features, so it's okay to have it always. --- src/Magnum/Vk/Device.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Vk/Device.cpp b/src/Magnum/Vk/Device.cpp index ec74756e1..0f719eea2 100644 --- a/src/Magnum/Vk/Device.cpp +++ b/src/Magnum/Vk/Device.cpp @@ -191,10 +191,12 @@ DeviceCreateInfo::DeviceCreateInfo(DeviceProperties& deviceProperties, const Ext addEnabledExtensions(); } - /* Enable the KHR_copy_commands2 extension. Not in any Vulkan version - yet. */ + /* Enable the KHR_copy_commands2 and EXT_extended_dynamic_state + extensions. Not in any Vulkan version yet. */ if(extensionProperties->isSupported()) addEnabledExtensions(); + if(extensionProperties->isSupported()) + addEnabledExtensions(); /* Enable the KHR_portability_subset extension, which *has to be* enabled when available. Not enabling any of its features though,