Józef Kucia joseph.kucia@gmail.com writes:
From: Józef Kucia jkucia@codeweavers.com
Signed-off-by: Józef Kucia jkucia@codeweavers.com
libs/vkd3d/device.c | 24 ++++++++++++++++++------ libs/vkd3d/vkd3d_private.h | 1 + libs/vkd3d/vulkan_procs.h | 2 ++ 3 files changed, 21 insertions(+), 6 deletions(-)
This doesn't build on Debian, since it still has vulkan 1.1.73. Do we need to ship our own headers?
libs/vkd3d/device.c: In function ‘vkd3d_create_vk_device’: libs/vkd3d/device.c:998:5: error: unknown type name ‘VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT’; did you mean ‘VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT’? VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT vertex_divisor_features; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT libs/vkd3d/device.c:1090:28: error: request for member ‘sType’ in something not a structure or union vertex_divisor_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT; ^ libs/vkd3d/device.c:1090:37: error: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT’ undeclared (first use in this function); did you mean ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT’? vertex_divisor_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT libs/vkd3d/device.c:1090:37: note: each undeclared identifier is reported only once for each function it appears in