Skip to content

zink: setup version dependent VkPhysicalDeviceVulkan*Features and...

zink: setup version dependent VkPhysicalDeviceVulkan*Features and VkPhysicalDeviceVulkan*Properties.

Adds template support to zink_device_info.py for setting up the VkPhysicalDeviceVulkan* version Features and Properties structures. When the next Vulkan version with newer structure is released a single like should only need to be added. Note, the 11 structures where not added until Vk 1.2, so that is not a typo. This code does not stop the use of conflicting extensions or other VkPhysicalDevice*Features structures with VkPhysicalDeviceVulkan*Features structures when calling vkCreateDevice()

Edited by Duncan Hopkins

Merge request reports