enable dynamic state extension

This commit is contained in:
Matthew 2026-01-11 14:33:33 +11:00
parent 5b448ab728
commit 3390ee9742

View File

@ -3009,8 +3009,15 @@ Init(PlatformHandles platform_handles, u64 permanent_mem, u64 frame_mem)
count += 1; count += 1;
} }
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT extended_dynamic_state = {
sType: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT,
pNext: null,
extendedDynamicState: VK_TRUE,
};
VkPhysicalDeviceSynchronization2Features synchronization2 = { VkPhysicalDeviceSynchronization2Features synchronization2 = {
sType: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES, sType: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES,
pNext: &extended_dynamic_state,
synchronization2: VK_TRUE, synchronization2: VK_TRUE,
}; };