The open source OpenXR runtime
0
fork

Configure Feed

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

a/vk: Track VK_KHR_8bit_storage

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

authored by

Jakob Bornecrantz and committed by
Marge Bot
76055f64 e689bd43

+10
+1
scripts/generate_vk_helpers.py
··· 288 288 ] 289 289 # Sorted KHR, EXT, Vendor, interally alphabetically 290 290 DEVICE_EXTENSIONS_TO_CHECK = [ 291 + "VK_KHR_8bit_storage", 291 292 "VK_KHR_external_fence_fd", 292 293 "VK_KHR_external_semaphore_fd", 293 294 "VK_KHR_format_feature_flags2",
+8
src/xrt/auxiliary/vk/vk_bundle_init.c
··· 740 740 { 741 741 // beginning of GENERATED device extension code - do not modify - used by scripts 742 742 // Reset before filling out. 743 + vk->has_KHR_8bit_storage = false; 743 744 vk->has_KHR_external_fence_fd = false; 744 745 vk->has_KHR_external_semaphore_fd = false; 745 746 vk->has_KHR_format_feature_flags2 = false; ··· 765 766 766 767 for (uint32_t i = 0; i < ext_count; i++) { 767 768 const char *ext = exts[i]; 769 + 770 + #if defined(VK_KHR_8bit_storage) 771 + if (strcmp(ext, VK_KHR_8BIT_STORAGE_EXTENSION_NAME) == 0) { 772 + vk->has_KHR_8bit_storage = true; 773 + continue; 774 + } 775 + #endif // defined(VK_KHR_8bit_storage) 768 776 769 777 #if defined(VK_KHR_external_fence_fd) 770 778 if (strcmp(ext, VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME) == 0) {
+1
src/xrt/auxiliary/vk/vk_helpers.h
··· 126 126 // end of GENERATED instance extension code - do not modify - used by scripts 127 127 128 128 // beginning of GENERATED device extension code - do not modify - used by scripts 129 + bool has_KHR_8bit_storage; 129 130 bool has_KHR_external_fence_fd; 130 131 bool has_KHR_external_semaphore_fd; 131 132 bool has_KHR_format_feature_flags2;