The source project of this merge request has been removed.
vulkan/overay: fix violation of VUID-VkDeviceCreateInfo-pNext-00373
We can't use VkDeviceCreateInfo::pEnabledFeatures
when VkPhysicalDeviceFeatures2
is present in pNext
chain.
I'm not sure about adding VkLayerDeviceCreateInfo
to vk_structure_type_size()
, but I don't see other ways to make clone_chain()
work with VkDeviceCreateInfo
.