From a462235e2a0163510d3fe3c5dd140eb91ef0f28e Mon Sep 17 00:00:00 2001 From: Fernando Velazquez Innella Date: Tue, 19 Mar 2024 12:18:05 -0400 Subject: [PATCH] a/vk: Fix build with Vulkan SDK's older than 1.3 --- src/xrt/auxiliary/vk/vk_bundle_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/auxiliary/vk/vk_bundle_init.c b/src/xrt/auxiliary/vk/vk_bundle_init.c index 6bea42a27..2e3242ee7 100644 --- a/src/xrt/auxiliary/vk/vk_bundle_init.c +++ b/src/xrt/auxiliary/vk/vk_bundle_init.c @@ -1024,8 +1024,8 @@ filter_device_features(struct vk_bundle *vk, #endif #ifdef VK_KHR_synchronization2 - VkPhysicalDeviceSynchronization2Features synchronization_2_info = { - .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES, + VkPhysicalDeviceSynchronization2FeaturesKHR synchronization_2_info = { + .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR, .pNext = NULL, }; #endif