The open source OpenXR runtime
0
fork

Configure Feed

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

a/vk: Add to the file comments mentioning the script.

+27 -11
+8
src/xrt/auxiliary/vk/vk_helpers.c
··· 3 3 /*! 4 4 * @file 5 5 * @brief Common Vulkan code. 6 + * 7 + * Note that some sections of this are generated 8 + * by `scripts/generate_vk_helpers.py` - lists of functions 9 + * and of optional extensions to check for. In those, 10 + * please update the script and run it, instead of editing 11 + * directly in this file. The generated parts are delimited 12 + * by special comments. 13 + * 6 14 * @author Jakob Bornecrantz <jakob@collabora.com> 7 15 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> 8 16 * @ingroup aux_vk
+19 -11
src/xrt/auxiliary/vk/vk_helpers.h
··· 3 3 /*! 4 4 * @file 5 5 * @brief Common Vulkan code header. 6 + * 7 + * Note that some sections of this are generated 8 + * by `scripts/generate_vk_helpers.py` - lists of functions 9 + * and of optional extensions to check for. In those, 10 + * please update the script and run it, instead of editing 11 + * directly in this file. The generated parts are delimited 12 + * by special comments. 13 + * 6 14 * @author Jakob Bornecrantz <jakob@collabora.com> 7 15 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> 8 16 * @ingroup aux_vk ··· 99 107 PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR; 100 108 PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT; 101 109 102 - #endif // defined(VK_USE_PLATFORM_DISPLAY_KHR) 110 + #endif // defined(VK_USE_PLATFORM_DISPLAY_KHR) 103 111 104 112 #if defined(VK_USE_PLATFORM_XCB_KHR) 105 113 PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR; 106 114 107 - #endif // defined(VK_USE_PLATFORM_XCB_KHR) 115 + #endif // defined(VK_USE_PLATFORM_XCB_KHR) 108 116 109 117 #if defined(VK_USE_PLATFORM_WAYLAND_KHR) 110 118 PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR; 111 119 112 - #endif // defined(VK_USE_PLATFORM_WAYLAND_KHR) 120 + #endif // defined(VK_USE_PLATFORM_WAYLAND_KHR) 113 121 114 122 #if defined(VK_USE_PLATFORM_WAYLAND_KHR) && defined(VK_EXT_acquire_drm_display) 115 123 PFN_vkAcquireDrmDisplayEXT vkAcquireDrmDisplayEXT; 116 124 PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT; 117 125 118 - #endif // defined(VK_USE_PLATFORM_WAYLAND_KHR) && defined(VK_EXT_acquire_drm_display) 126 + #endif // defined(VK_USE_PLATFORM_WAYLAND_KHR) && defined(VK_EXT_acquire_drm_display) 119 127 120 128 #if defined(VK_USE_PLATFORM_XLIB_XRANDR_EXT) 121 129 PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT; 122 130 PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT; 123 131 124 - #endif // defined(VK_USE_PLATFORM_XLIB_XRANDR_EXT) 132 + #endif // defined(VK_USE_PLATFORM_XLIB_XRANDR_EXT) 125 133 126 134 #if defined(VK_USE_PLATFORM_ANDROID_KHR) 127 135 PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR; 128 136 129 - #endif // defined(VK_USE_PLATFORM_ANDROID_KHR) 137 + #endif // defined(VK_USE_PLATFORM_ANDROID_KHR) 130 138 131 139 #if defined(VK_USE_PLATFORM_WIN32_KHR) 132 140 PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR; 133 - #endif // defined(VK_USE_PLATFORM_WIN32_KHR) 141 + #endif // defined(VK_USE_PLATFORM_WIN32_KHR) 134 142 135 143 // end of GENERATED instance loader code - do not modify - used by scripts 136 144 ··· 224 232 PFN_vkCreateSemaphore vkCreateSemaphore; 225 233 #if defined(VK_KHR_timeline_semaphore) 226 234 PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR; 227 - #endif // defined(VK_KHR_timeline_semaphore) 235 + #endif // defined(VK_KHR_timeline_semaphore) 228 236 229 237 PFN_vkDestroySemaphore vkDestroySemaphore; 230 238 ··· 244 252 PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR; 245 253 PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR; 246 254 PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR; 247 - #endif // defined(VK_USE_PLATFORM_WIN32_KHR) 255 + #endif // defined(VK_USE_PLATFORM_WIN32_KHR) 248 256 249 257 #if !defined(VK_USE_PLATFORM_WIN32_KHR) 250 258 PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR; ··· 254 262 255 263 PFN_vkImportFenceFdKHR vkImportFenceFdKHR; 256 264 PFN_vkGetFenceFdKHR vkGetFenceFdKHR; 257 - #endif // !defined(VK_USE_PLATFORM_WIN32_KHR) 265 + #endif // !defined(VK_USE_PLATFORM_WIN32_KHR) 258 266 259 267 #if defined(VK_USE_PLATFORM_ANDROID_KHR) 260 268 PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID; 261 269 PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID; 262 270 263 - #endif // defined(VK_USE_PLATFORM_ANDROID_KHR) 271 + #endif // defined(VK_USE_PLATFORM_ANDROID_KHR) 264 272 265 273 PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE; 266 274 // end of GENERATED device loader code - do not modify - used by scripts