The open source OpenXR runtime

a/vk: Track VK_KHR_video_maintenance1

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2562>

+10
+1
scripts/generate_vk_helpers.py
··· 307 "VK_KHR_present_wait", 308 "VK_KHR_synchronization2", 309 "VK_KHR_timeline_semaphore", 310 "VK_EXT_calibrated_timestamps", 311 "VK_EXT_display_control", 312 "VK_EXT_external_memory_dma_buf",
··· 307 "VK_KHR_present_wait", 308 "VK_KHR_synchronization2", 309 "VK_KHR_timeline_semaphore", 310 + "VK_KHR_video_maintenance1", 311 "VK_EXT_calibrated_timestamps", 312 "VK_EXT_display_control", 313 "VK_EXT_external_memory_dma_buf",
+8
src/xrt/auxiliary/vk/vk_bundle_init.c
··· 754 vk->has_KHR_present_wait = false; 755 vk->has_KHR_synchronization2 = false; 756 vk->has_KHR_timeline_semaphore = false; 757 vk->has_EXT_calibrated_timestamps = false; 758 vk->has_EXT_display_control = false; 759 vk->has_EXT_external_memory_dma_buf = false; ··· 867 continue; 868 } 869 #endif // defined(VK_KHR_timeline_semaphore) 870 871 #if defined(VK_EXT_calibrated_timestamps) 872 if (strcmp(ext, VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME) == 0) {
··· 754 vk->has_KHR_present_wait = false; 755 vk->has_KHR_synchronization2 = false; 756 vk->has_KHR_timeline_semaphore = false; 757 + vk->has_KHR_video_maintenance1 = false; 758 vk->has_EXT_calibrated_timestamps = false; 759 vk->has_EXT_display_control = false; 760 vk->has_EXT_external_memory_dma_buf = false; ··· 868 continue; 869 } 870 #endif // defined(VK_KHR_timeline_semaphore) 871 + 872 + #if defined(VK_KHR_video_maintenance1) 873 + if (strcmp(ext, VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME) == 0) { 874 + vk->has_KHR_video_maintenance1 = true; 875 + continue; 876 + } 877 + #endif // defined(VK_KHR_video_maintenance1) 878 879 #if defined(VK_EXT_calibrated_timestamps) 880 if (strcmp(ext, VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME) == 0) {
+1
src/xrt/auxiliary/vk/vk_helpers.h
··· 142 bool has_KHR_present_wait; 143 bool has_KHR_synchronization2; 144 bool has_KHR_timeline_semaphore; 145 bool has_EXT_calibrated_timestamps; 146 bool has_EXT_display_control; 147 bool has_EXT_external_memory_dma_buf;
··· 142 bool has_KHR_present_wait; 143 bool has_KHR_synchronization2; 144 bool has_KHR_timeline_semaphore; 145 + bool has_KHR_video_maintenance1; 146 bool has_EXT_calibrated_timestamps; 147 bool has_EXT_display_control; 148 bool has_EXT_external_memory_dma_buf;