The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/vk: Add check for VK_KHR_image_format_list device extension

+10
+1
scripts/generate_vk_helpers.py
··· 254 254 DEVICE_EXTENSIONS_TO_CHECK = [ 255 255 "VK_KHR_external_fence_fd", 256 256 "VK_KHR_external_semaphore_fd", 257 + "VK_KHR_image_format_list", 257 258 "VK_KHR_timeline_semaphore", 258 259 "VK_EXT_calibrated_timestamps", 259 260 "VK_EXT_display_control",
+8
src/xrt/auxiliary/vk/vk_bundle_init.c
··· 534 534 // Reset before filling out. 535 535 vk->has_KHR_external_fence_fd = false; 536 536 vk->has_KHR_external_semaphore_fd = false; 537 + vk->has_KHR_image_format_list = false; 537 538 vk->has_KHR_timeline_semaphore = false; 538 539 vk->has_EXT_calibrated_timestamps = false; 539 540 vk->has_EXT_display_control = false; ··· 560 561 continue; 561 562 } 562 563 #endif // defined(VK_KHR_external_semaphore_fd) 564 + 565 + #if defined(VK_KHR_image_format_list) 566 + if (strcmp(ext, VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME) == 0) { 567 + vk->has_KHR_image_format_list = true; 568 + continue; 569 + } 570 + #endif // defined(VK_KHR_image_format_list) 563 571 564 572 #if defined(VK_KHR_timeline_semaphore) 565 573 if (strcmp(ext, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME) == 0) {
+1
src/xrt/auxiliary/vk/vk_helpers.h
··· 89 89 // beginning of GENERATED device extension code - do not modify - used by scripts 90 90 bool has_KHR_external_fence_fd; 91 91 bool has_KHR_external_semaphore_fd; 92 + bool has_KHR_image_format_list; 92 93 bool has_KHR_timeline_semaphore; 93 94 bool has_EXT_calibrated_timestamps; 94 95 bool has_EXT_display_control;