Line data Source code
1 : /**
2 : Copyright (c) 2023 Stappler LLC <admin@stappler.dev>
3 :
4 : Permission is hereby granted, free of charge, to any person obtaining a copy
5 : of this software and associated documentation files (the "Software"), to deal
6 : in the Software without restriction, including without limitation the rights
7 : to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 : copies of the Software, and to permit persons to whom the Software is
9 : furnished to do so, subject to the following conditions:
10 :
11 : The above copyright notice and this permission notice shall be included in
12 : all copies or substantial portions of the Software.
13 :
14 : THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 : IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 : FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 : AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 : LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 : OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 : THE SOFTWARE.
21 : **/
22 :
23 : // Autogenerated with 'headergen' script
24 : // Excluded from documentation/codegen tool
25 : ///@ SP_EXCLUDE
26 :
27 : #include "XLVkTable.h"
28 :
29 : namespace STAPPLER_VERSIONIZED stappler::xenolith::vk {
30 :
31 : #if VK_HOOK_DEBUG
32 :
33 : struct InstanceTableHookInfo {
34 : void (*preCall) (void *, const char *, PFN_vkVoidFunction);
35 : void (*postCall) (void *, const char *, PFN_vkVoidFunction);
36 : const InstanceTable *table;
37 : const InstanceTable *replace;
38 : void *ctx;
39 : };
40 :
41 : struct DeviceTableHookInfo {
42 : void (*preCall) (void *, const char *, PFN_vkVoidFunction);
43 : void (*postCall) (void *, const char *, PFN_vkVoidFunction);
44 : const DeviceTable *table;
45 : const DeviceTable *replace;
46 : void *ctx;
47 : };
48 :
49 : thread_local InstanceTableHookInfo tl_instanceHookTable;
50 : thread_local DeviceTableHookInfo tl_deviceHookTable;
51 :
52 : void setInstanceHookThreadContext(
53 : void (*pre) (void *, const char *, PFN_vkVoidFunction),
54 : void (*post) (void *, const char *, PFN_vkVoidFunction),
55 : const InstanceTable *t, const InstanceTable *r, void *c) {
56 : tl_instanceHookTable.preCall = pre;
57 : tl_instanceHookTable.postCall = post;
58 : tl_instanceHookTable.table = t;
59 : tl_instanceHookTable.replace = r;
60 : tl_instanceHookTable.ctx = c;
61 : }
62 :
63 : void setDeviceHookThreadContext(
64 : void (*pre) (void *ctx, const char *, PFN_vkVoidFunction),
65 : void (*post) (void *ctx, const char *, PFN_vkVoidFunction),
66 : const DeviceTable *t, const DeviceTable *r, void *c) {
67 : tl_deviceHookTable.preCall = pre;
68 : tl_deviceHookTable.postCall = post;
69 : tl_deviceHookTable.table = t;
70 : tl_deviceHookTable.replace = r;
71 : tl_deviceHookTable.ctx = c;
72 : }
73 :
74 : #endif /* VK_HOOK_DEBUG */
75 :
76 1008 : static PFN_vkVoidFunction loadInstanceAliased(PFN_vkGetInstanceProcAddr addr, VkInstance instance, const char *name,
77 : std::initializer_list<const char *> aliases) {
78 1008 : auto ret = addr(instance, name);
79 1008 : if (!ret) {
80 0 : for (auto it : aliases) {
81 0 : ret = addr(instance, it);
82 : }
83 : }
84 1008 : return ret;
85 : }
86 :
87 5670 : static PFN_vkVoidFunction loadDeviceAliased(PFN_vkGetDeviceProcAddr addr, VkDevice instance, const char *name,
88 : std::initializer_list<const char *> aliases) {
89 5670 : auto ret = addr(instance, name);
90 5670 : if (!ret) {
91 336 : for (auto it : aliases) {
92 168 : ret = addr(instance, it);
93 : }
94 : }
95 5670 : return ret;
96 : }
97 :
98 42 : LoaderTable::LoaderTable(PFN_vkGetInstanceProcAddr addr)
99 : #if defined(VK_VERSION_1_0)
100 42 : : vkGetInstanceProcAddr(addr)
101 42 : , vkCreateInstance((PFN_vkCreateInstance)addr(nullptr, "vkCreateInstance"))
102 42 : , vkEnumerateInstanceExtensionProperties((PFN_vkEnumerateInstanceExtensionProperties)addr(nullptr, "vkEnumerateInstanceExtensionProperties"))
103 42 : , vkEnumerateInstanceLayerProperties((PFN_vkEnumerateInstanceLayerProperties)addr(nullptr, "vkEnumerateInstanceLayerProperties"))
104 : #endif /* defined(VK_VERSION_1_0) */
105 : #if defined(VK_VERSION_1_1)
106 42 : , vkEnumerateInstanceVersion((PFN_vkEnumerateInstanceVersion)addr(nullptr, "vkEnumerateInstanceVersion"))
107 : #endif /* defined(VK_VERSION_1_1) */
108 42 : { }
109 :
110 42 : InstanceTable::InstanceTable(PFN_vkGetInstanceProcAddr addr, VkInstance instance)
111 : #if defined(VK_VERSION_1_0)
112 42 : : vkGetInstanceProcAddr(addr)
113 42 : , vkDestroyInstance((PFN_vkDestroyInstance)addr(instance, "vkDestroyInstance"))
114 42 : , vkEnumeratePhysicalDevices((PFN_vkEnumeratePhysicalDevices)addr(instance, "vkEnumeratePhysicalDevices"))
115 42 : , vkGetPhysicalDeviceFeatures((PFN_vkGetPhysicalDeviceFeatures)addr(instance, "vkGetPhysicalDeviceFeatures"))
116 42 : , vkGetPhysicalDeviceFormatProperties((PFN_vkGetPhysicalDeviceFormatProperties)addr(instance, "vkGetPhysicalDeviceFormatProperties"))
117 42 : , vkGetPhysicalDeviceImageFormatProperties((PFN_vkGetPhysicalDeviceImageFormatProperties)addr(instance, "vkGetPhysicalDeviceImageFormatProperties"))
118 42 : , vkGetPhysicalDeviceProperties((PFN_vkGetPhysicalDeviceProperties)addr(instance, "vkGetPhysicalDeviceProperties"))
119 42 : , vkGetPhysicalDeviceQueueFamilyProperties((PFN_vkGetPhysicalDeviceQueueFamilyProperties)addr(instance, "vkGetPhysicalDeviceQueueFamilyProperties"))
120 42 : , vkGetPhysicalDeviceMemoryProperties((PFN_vkGetPhysicalDeviceMemoryProperties)addr(instance, "vkGetPhysicalDeviceMemoryProperties"))
121 42 : , vkGetDeviceProcAddr((PFN_vkGetDeviceProcAddr)addr(instance, "vkGetDeviceProcAddr"))
122 42 : , vkCreateDevice((PFN_vkCreateDevice)addr(instance, "vkCreateDevice"))
123 42 : , vkEnumerateDeviceExtensionProperties((PFN_vkEnumerateDeviceExtensionProperties)addr(instance, "vkEnumerateDeviceExtensionProperties"))
124 42 : , vkEnumerateDeviceLayerProperties((PFN_vkEnumerateDeviceLayerProperties)addr(instance, "vkEnumerateDeviceLayerProperties"))
125 42 : , vkGetPhysicalDeviceSparseImageFormatProperties((PFN_vkGetPhysicalDeviceSparseImageFormatProperties)addr(instance, "vkGetPhysicalDeviceSparseImageFormatProperties"))
126 : #endif /* defined(VK_VERSION_1_0) */
127 : #if defined(VK_VERSION_1_1)
128 42 : , vkEnumeratePhysicalDeviceGroups((PFN_vkEnumeratePhysicalDeviceGroups)loadInstanceAliased(addr, instance, "vkEnumeratePhysicalDeviceGroups", {"vkEnumeratePhysicalDeviceGroupsKHR"}))
129 42 : , vkGetPhysicalDeviceFeatures2((PFN_vkGetPhysicalDeviceFeatures2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceFeatures2", {"vkGetPhysicalDeviceFeatures2KHR"}))
130 42 : , vkGetPhysicalDeviceProperties2((PFN_vkGetPhysicalDeviceProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceProperties2", {"vkGetPhysicalDeviceProperties2KHR"}))
131 42 : , vkGetPhysicalDeviceFormatProperties2((PFN_vkGetPhysicalDeviceFormatProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceFormatProperties2", {"vkGetPhysicalDeviceFormatProperties2KHR"}))
132 42 : , vkGetPhysicalDeviceImageFormatProperties2((PFN_vkGetPhysicalDeviceImageFormatProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceImageFormatProperties2", {"vkGetPhysicalDeviceImageFormatProperties2KHR"}))
133 42 : , vkGetPhysicalDeviceQueueFamilyProperties2((PFN_vkGetPhysicalDeviceQueueFamilyProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceQueueFamilyProperties2", {"vkGetPhysicalDeviceQueueFamilyProperties2KHR"}))
134 42 : , vkGetPhysicalDeviceMemoryProperties2((PFN_vkGetPhysicalDeviceMemoryProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceMemoryProperties2", {"vkGetPhysicalDeviceMemoryProperties2KHR"}))
135 42 : , vkGetPhysicalDeviceSparseImageFormatProperties2((PFN_vkGetPhysicalDeviceSparseImageFormatProperties2)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceSparseImageFormatProperties2", {"vkGetPhysicalDeviceSparseImageFormatProperties2KHR"}))
136 42 : , vkGetPhysicalDeviceExternalBufferProperties((PFN_vkGetPhysicalDeviceExternalBufferProperties)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalBufferProperties", {"vkGetPhysicalDeviceExternalBufferPropertiesKHR"}))
137 42 : , vkGetPhysicalDeviceExternalFenceProperties((PFN_vkGetPhysicalDeviceExternalFenceProperties)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalFenceProperties", {"vkGetPhysicalDeviceExternalFencePropertiesKHR"}))
138 42 : , vkGetPhysicalDeviceExternalSemaphoreProperties((PFN_vkGetPhysicalDeviceExternalSemaphoreProperties)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalSemaphoreProperties", {"vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"}))
139 : #endif /* defined(VK_VERSION_1_1) */
140 : #if defined(VK_VERSION_1_3)
141 42 : , vkGetPhysicalDeviceToolProperties((PFN_vkGetPhysicalDeviceToolProperties)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceToolProperties", {"vkGetPhysicalDeviceToolPropertiesEXT"}))
142 : #endif /* defined(VK_VERSION_1_3) */
143 : #if defined(VK_KHR_surface)
144 42 : , vkDestroySurfaceKHR((PFN_vkDestroySurfaceKHR)addr(instance, "vkDestroySurfaceKHR"))
145 42 : , vkGetPhysicalDeviceSurfaceSupportKHR((PFN_vkGetPhysicalDeviceSurfaceSupportKHR)addr(instance, "vkGetPhysicalDeviceSurfaceSupportKHR"))
146 42 : , vkGetPhysicalDeviceSurfaceCapabilitiesKHR((PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR)addr(instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"))
147 42 : , vkGetPhysicalDeviceSurfaceFormatsKHR((PFN_vkGetPhysicalDeviceSurfaceFormatsKHR)addr(instance, "vkGetPhysicalDeviceSurfaceFormatsKHR"))
148 42 : , vkGetPhysicalDeviceSurfacePresentModesKHR((PFN_vkGetPhysicalDeviceSurfacePresentModesKHR)addr(instance, "vkGetPhysicalDeviceSurfacePresentModesKHR"))
149 : #endif /* defined(VK_KHR_surface) */
150 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
151 42 : , vkGetPhysicalDevicePresentRectanglesKHR((PFN_vkGetPhysicalDevicePresentRectanglesKHR)addr(instance, "vkGetPhysicalDevicePresentRectanglesKHR"))
152 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
153 : #if defined(VK_KHR_display)
154 42 : , vkGetPhysicalDeviceDisplayPropertiesKHR((PFN_vkGetPhysicalDeviceDisplayPropertiesKHR)addr(instance, "vkGetPhysicalDeviceDisplayPropertiesKHR"))
155 42 : , vkGetPhysicalDeviceDisplayPlanePropertiesKHR((PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR)addr(instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR"))
156 42 : , vkGetDisplayPlaneSupportedDisplaysKHR((PFN_vkGetDisplayPlaneSupportedDisplaysKHR)addr(instance, "vkGetDisplayPlaneSupportedDisplaysKHR"))
157 42 : , vkGetDisplayModePropertiesKHR((PFN_vkGetDisplayModePropertiesKHR)addr(instance, "vkGetDisplayModePropertiesKHR"))
158 42 : , vkCreateDisplayModeKHR((PFN_vkCreateDisplayModeKHR)addr(instance, "vkCreateDisplayModeKHR"))
159 42 : , vkGetDisplayPlaneCapabilitiesKHR((PFN_vkGetDisplayPlaneCapabilitiesKHR)addr(instance, "vkGetDisplayPlaneCapabilitiesKHR"))
160 42 : , vkCreateDisplayPlaneSurfaceKHR((PFN_vkCreateDisplayPlaneSurfaceKHR)addr(instance, "vkCreateDisplayPlaneSurfaceKHR"))
161 : #endif /* defined(VK_KHR_display) */
162 : #if defined(VK_KHR_xlib_surface)
163 : , vkCreateXlibSurfaceKHR((PFN_vkCreateXlibSurfaceKHR)addr(instance, "vkCreateXlibSurfaceKHR"))
164 : , vkGetPhysicalDeviceXlibPresentationSupportKHR((PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR)addr(instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR"))
165 : #endif /* defined(VK_KHR_xlib_surface) */
166 : #if defined(VK_KHR_xcb_surface)
167 42 : , vkCreateXcbSurfaceKHR((PFN_vkCreateXcbSurfaceKHR)addr(instance, "vkCreateXcbSurfaceKHR"))
168 42 : , vkGetPhysicalDeviceXcbPresentationSupportKHR((PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR)addr(instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR"))
169 : #endif /* defined(VK_KHR_xcb_surface) */
170 : #if defined(VK_KHR_wayland_surface)
171 42 : , vkCreateWaylandSurfaceKHR((PFN_vkCreateWaylandSurfaceKHR)addr(instance, "vkCreateWaylandSurfaceKHR"))
172 42 : , vkGetPhysicalDeviceWaylandPresentationSupportKHR((PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR)addr(instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"))
173 : #endif /* defined(VK_KHR_wayland_surface) */
174 : #if defined(VK_KHR_android_surface)
175 : , vkCreateAndroidSurfaceKHR((PFN_vkCreateAndroidSurfaceKHR)addr(instance, "vkCreateAndroidSurfaceKHR"))
176 : #endif /* defined(VK_KHR_android_surface) */
177 : #if defined(VK_KHR_win32_surface)
178 : , vkCreateWin32SurfaceKHR((PFN_vkCreateWin32SurfaceKHR)addr(instance, "vkCreateWin32SurfaceKHR"))
179 : , vkGetPhysicalDeviceWin32PresentationSupportKHR((PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR)addr(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"))
180 : #endif /* defined(VK_KHR_win32_surface) */
181 : #if defined(VK_EXT_debug_report)
182 42 : , vkCreateDebugReportCallbackEXT((PFN_vkCreateDebugReportCallbackEXT)addr(instance, "vkCreateDebugReportCallbackEXT"))
183 42 : , vkDestroyDebugReportCallbackEXT((PFN_vkDestroyDebugReportCallbackEXT)addr(instance, "vkDestroyDebugReportCallbackEXT"))
184 42 : , vkDebugReportMessageEXT((PFN_vkDebugReportMessageEXT)addr(instance, "vkDebugReportMessageEXT"))
185 : #endif /* defined(VK_EXT_debug_report) */
186 : #if defined(VK_KHR_video_queue)
187 42 : , vkGetPhysicalDeviceVideoCapabilitiesKHR((PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR)addr(instance, "vkGetPhysicalDeviceVideoCapabilitiesKHR"))
188 42 : , vkGetPhysicalDeviceVideoFormatPropertiesKHR((PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR)addr(instance, "vkGetPhysicalDeviceVideoFormatPropertiesKHR"))
189 : #endif /* defined(VK_KHR_video_queue) */
190 : #if defined(VK_GGP_stream_descriptor_surface)
191 : , vkCreateStreamDescriptorSurfaceGGP((PFN_vkCreateStreamDescriptorSurfaceGGP)addr(instance, "vkCreateStreamDescriptorSurfaceGGP"))
192 : #endif /* defined(VK_GGP_stream_descriptor_surface) */
193 : #if defined(VK_NV_external_memory_capabilities)
194 42 : , vkGetPhysicalDeviceExternalImageFormatPropertiesNV((PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV)addr(instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV"))
195 : #endif /* defined(VK_NV_external_memory_capabilities) */
196 : #if defined(VK_KHR_get_physical_device_properties2)
197 42 : , vkGetPhysicalDeviceFeatures2KHR((PFN_vkGetPhysicalDeviceFeatures2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceFeatures2", {"vkGetPhysicalDeviceFeatures2KHR"}))
198 42 : , vkGetPhysicalDeviceProperties2KHR((PFN_vkGetPhysicalDeviceProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceProperties2", {"vkGetPhysicalDeviceProperties2KHR"}))
199 42 : , vkGetPhysicalDeviceFormatProperties2KHR((PFN_vkGetPhysicalDeviceFormatProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceFormatProperties2", {"vkGetPhysicalDeviceFormatProperties2KHR"}))
200 42 : , vkGetPhysicalDeviceImageFormatProperties2KHR((PFN_vkGetPhysicalDeviceImageFormatProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceImageFormatProperties2", {"vkGetPhysicalDeviceImageFormatProperties2KHR"}))
201 42 : , vkGetPhysicalDeviceQueueFamilyProperties2KHR((PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceQueueFamilyProperties2", {"vkGetPhysicalDeviceQueueFamilyProperties2KHR"}))
202 42 : , vkGetPhysicalDeviceMemoryProperties2KHR((PFN_vkGetPhysicalDeviceMemoryProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceMemoryProperties2", {"vkGetPhysicalDeviceMemoryProperties2KHR"}))
203 42 : , vkGetPhysicalDeviceSparseImageFormatProperties2KHR((PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceSparseImageFormatProperties2", {"vkGetPhysicalDeviceSparseImageFormatProperties2KHR"}))
204 : #endif /* defined(VK_KHR_get_physical_device_properties2) */
205 : #if defined(VK_NN_vi_surface)
206 : , vkCreateViSurfaceNN((PFN_vkCreateViSurfaceNN)addr(instance, "vkCreateViSurfaceNN"))
207 : #endif /* defined(VK_NN_vi_surface) */
208 : #if defined(VK_KHR_device_group_creation)
209 42 : , vkEnumeratePhysicalDeviceGroupsKHR((PFN_vkEnumeratePhysicalDeviceGroupsKHR)loadInstanceAliased(addr, instance, "vkEnumeratePhysicalDeviceGroups", {"vkEnumeratePhysicalDeviceGroupsKHR"}))
210 : #endif /* defined(VK_KHR_device_group_creation) */
211 : #if defined(VK_KHR_external_memory_capabilities)
212 42 : , vkGetPhysicalDeviceExternalBufferPropertiesKHR((PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalBufferProperties", {"vkGetPhysicalDeviceExternalBufferPropertiesKHR"}))
213 : #endif /* defined(VK_KHR_external_memory_capabilities) */
214 : #if defined(VK_KHR_external_semaphore_capabilities)
215 42 : , vkGetPhysicalDeviceExternalSemaphorePropertiesKHR((PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalSemaphoreProperties", {"vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"}))
216 : #endif /* defined(VK_KHR_external_semaphore_capabilities) */
217 : #if defined(VK_EXT_direct_mode_display)
218 42 : , vkReleaseDisplayEXT((PFN_vkReleaseDisplayEXT)addr(instance, "vkReleaseDisplayEXT"))
219 : #endif /* defined(VK_EXT_direct_mode_display) */
220 : #if defined(VK_EXT_acquire_xlib_display)
221 : , vkAcquireXlibDisplayEXT((PFN_vkAcquireXlibDisplayEXT)addr(instance, "vkAcquireXlibDisplayEXT"))
222 : , vkGetRandROutputDisplayEXT((PFN_vkGetRandROutputDisplayEXT)addr(instance, "vkGetRandROutputDisplayEXT"))
223 : #endif /* defined(VK_EXT_acquire_xlib_display) */
224 : #if defined(VK_EXT_display_surface_counter)
225 42 : , vkGetPhysicalDeviceSurfaceCapabilities2EXT((PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT)addr(instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT"))
226 : #endif /* defined(VK_EXT_display_surface_counter) */
227 : #if defined(VK_KHR_external_fence_capabilities)
228 42 : , vkGetPhysicalDeviceExternalFencePropertiesKHR((PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceExternalFenceProperties", {"vkGetPhysicalDeviceExternalFencePropertiesKHR"}))
229 : #endif /* defined(VK_KHR_external_fence_capabilities) */
230 : #if defined(VK_KHR_performance_query)
231 42 : , vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR((PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR)addr(instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR"))
232 42 : , vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR((PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR)addr(instance, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR"))
233 : #endif /* defined(VK_KHR_performance_query) */
234 : #if defined(VK_KHR_get_surface_capabilities2)
235 42 : , vkGetPhysicalDeviceSurfaceCapabilities2KHR((PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR)addr(instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR"))
236 42 : , vkGetPhysicalDeviceSurfaceFormats2KHR((PFN_vkGetPhysicalDeviceSurfaceFormats2KHR)addr(instance, "vkGetPhysicalDeviceSurfaceFormats2KHR"))
237 : #endif /* defined(VK_KHR_get_surface_capabilities2) */
238 : #if defined(VK_KHR_get_display_properties2)
239 42 : , vkGetPhysicalDeviceDisplayProperties2KHR((PFN_vkGetPhysicalDeviceDisplayProperties2KHR)addr(instance, "vkGetPhysicalDeviceDisplayProperties2KHR"))
240 42 : , vkGetPhysicalDeviceDisplayPlaneProperties2KHR((PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR)addr(instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR"))
241 42 : , vkGetDisplayModeProperties2KHR((PFN_vkGetDisplayModeProperties2KHR)addr(instance, "vkGetDisplayModeProperties2KHR"))
242 42 : , vkGetDisplayPlaneCapabilities2KHR((PFN_vkGetDisplayPlaneCapabilities2KHR)addr(instance, "vkGetDisplayPlaneCapabilities2KHR"))
243 : #endif /* defined(VK_KHR_get_display_properties2) */
244 : #if defined(VK_MVK_ios_surface)
245 : , vkCreateIOSSurfaceMVK((PFN_vkCreateIOSSurfaceMVK)addr(instance, "vkCreateIOSSurfaceMVK"))
246 : #endif /* defined(VK_MVK_ios_surface) */
247 : #if defined(VK_MVK_macos_surface)
248 : , vkCreateMacOSSurfaceMVK((PFN_vkCreateMacOSSurfaceMVK)addr(instance, "vkCreateMacOSSurfaceMVK"))
249 : #endif /* defined(VK_MVK_macos_surface) */
250 : #if defined(VK_EXT_debug_utils)
251 42 : , vkSetDebugUtilsObjectNameEXT((PFN_vkSetDebugUtilsObjectNameEXT)addr(instance, "vkSetDebugUtilsObjectNameEXT"))
252 42 : , vkSetDebugUtilsObjectTagEXT((PFN_vkSetDebugUtilsObjectTagEXT)addr(instance, "vkSetDebugUtilsObjectTagEXT"))
253 42 : , vkQueueBeginDebugUtilsLabelEXT((PFN_vkQueueBeginDebugUtilsLabelEXT)addr(instance, "vkQueueBeginDebugUtilsLabelEXT"))
254 42 : , vkQueueEndDebugUtilsLabelEXT((PFN_vkQueueEndDebugUtilsLabelEXT)addr(instance, "vkQueueEndDebugUtilsLabelEXT"))
255 42 : , vkQueueInsertDebugUtilsLabelEXT((PFN_vkQueueInsertDebugUtilsLabelEXT)addr(instance, "vkQueueInsertDebugUtilsLabelEXT"))
256 42 : , vkCmdBeginDebugUtilsLabelEXT((PFN_vkCmdBeginDebugUtilsLabelEXT)addr(instance, "vkCmdBeginDebugUtilsLabelEXT"))
257 42 : , vkCmdEndDebugUtilsLabelEXT((PFN_vkCmdEndDebugUtilsLabelEXT)addr(instance, "vkCmdEndDebugUtilsLabelEXT"))
258 42 : , vkCmdInsertDebugUtilsLabelEXT((PFN_vkCmdInsertDebugUtilsLabelEXT)addr(instance, "vkCmdInsertDebugUtilsLabelEXT"))
259 42 : , vkCreateDebugUtilsMessengerEXT((PFN_vkCreateDebugUtilsMessengerEXT)addr(instance, "vkCreateDebugUtilsMessengerEXT"))
260 42 : , vkDestroyDebugUtilsMessengerEXT((PFN_vkDestroyDebugUtilsMessengerEXT)addr(instance, "vkDestroyDebugUtilsMessengerEXT"))
261 42 : , vkSubmitDebugUtilsMessageEXT((PFN_vkSubmitDebugUtilsMessageEXT)addr(instance, "vkSubmitDebugUtilsMessageEXT"))
262 : #endif /* defined(VK_EXT_debug_utils) */
263 : #if defined(VK_EXT_sample_locations)
264 42 : , vkGetPhysicalDeviceMultisamplePropertiesEXT((PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT)addr(instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT"))
265 : #endif /* defined(VK_EXT_sample_locations) */
266 : #if defined(VK_EXT_calibrated_timestamps)
267 42 : , vkGetPhysicalDeviceCalibrateableTimeDomainsEXT((PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT)addr(instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"))
268 : #endif /* defined(VK_EXT_calibrated_timestamps) */
269 : #if defined(VK_FUCHSIA_imagepipe_surface)
270 : , vkCreateImagePipeSurfaceFUCHSIA((PFN_vkCreateImagePipeSurfaceFUCHSIA)addr(instance, "vkCreateImagePipeSurfaceFUCHSIA"))
271 : #endif /* defined(VK_FUCHSIA_imagepipe_surface) */
272 : #if defined(VK_EXT_metal_surface)
273 : , vkCreateMetalSurfaceEXT((PFN_vkCreateMetalSurfaceEXT)addr(instance, "vkCreateMetalSurfaceEXT"))
274 : #endif /* defined(VK_EXT_metal_surface) */
275 : #if defined(VK_KHR_fragment_shading_rate)
276 42 : , vkGetPhysicalDeviceFragmentShadingRatesKHR((PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR)addr(instance, "vkGetPhysicalDeviceFragmentShadingRatesKHR"))
277 : #endif /* defined(VK_KHR_fragment_shading_rate) */
278 : #if defined(VK_EXT_tooling_info)
279 42 : , vkGetPhysicalDeviceToolPropertiesEXT((PFN_vkGetPhysicalDeviceToolPropertiesEXT)loadInstanceAliased(addr, instance, "vkGetPhysicalDeviceToolProperties", {"vkGetPhysicalDeviceToolPropertiesEXT"}))
280 : #endif /* defined(VK_EXT_tooling_info) */
281 : #if defined(VK_NV_cooperative_matrix)
282 42 : , vkGetPhysicalDeviceCooperativeMatrixPropertiesNV((PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)addr(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV"))
283 : #endif /* defined(VK_NV_cooperative_matrix) */
284 : #if defined(VK_NV_coverage_reduction_mode)
285 42 : , vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV((PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV)addr(instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV"))
286 : #endif /* defined(VK_NV_coverage_reduction_mode) */
287 : #if defined(VK_EXT_full_screen_exclusive)
288 : , vkGetPhysicalDeviceSurfacePresentModes2EXT((PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT)addr(instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT"))
289 : #endif /* defined(VK_EXT_full_screen_exclusive) */
290 : #if defined(VK_EXT_headless_surface)
291 42 : , vkCreateHeadlessSurfaceEXT((PFN_vkCreateHeadlessSurfaceEXT)addr(instance, "vkCreateHeadlessSurfaceEXT"))
292 : #endif /* defined(VK_EXT_headless_surface) */
293 : #if defined(VK_EXT_acquire_drm_display)
294 42 : , vkAcquireDrmDisplayEXT((PFN_vkAcquireDrmDisplayEXT)addr(instance, "vkAcquireDrmDisplayEXT"))
295 42 : , vkGetDrmDisplayEXT((PFN_vkGetDrmDisplayEXT)addr(instance, "vkGetDrmDisplayEXT"))
296 : #endif /* defined(VK_EXT_acquire_drm_display) */
297 : #if defined(VK_KHR_video_encode_queue)
298 : , vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR((PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR)addr(instance, "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR"))
299 : #endif /* defined(VK_KHR_video_encode_queue) */
300 : #if defined(VK_KHR_object_refresh)
301 : , vkGetPhysicalDeviceRefreshableObjectTypesKHR((PFN_vkGetPhysicalDeviceRefreshableObjectTypesKHR)addr(instance, "vkGetPhysicalDeviceRefreshableObjectTypesKHR"))
302 : #endif /* defined(VK_KHR_object_refresh) */
303 : #if defined(VK_NV_acquire_winrt_display)
304 : , vkAcquireWinrtDisplayNV((PFN_vkAcquireWinrtDisplayNV)addr(instance, "vkAcquireWinrtDisplayNV"))
305 : , vkGetWinrtDisplayNV((PFN_vkGetWinrtDisplayNV)addr(instance, "vkGetWinrtDisplayNV"))
306 : #endif /* defined(VK_NV_acquire_winrt_display) */
307 : #if defined(VK_EXT_directfb_surface)
308 : , vkCreateDirectFBSurfaceEXT((PFN_vkCreateDirectFBSurfaceEXT)addr(instance, "vkCreateDirectFBSurfaceEXT"))
309 : , vkGetPhysicalDeviceDirectFBPresentationSupportEXT((PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT)addr(instance, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT"))
310 : #endif /* defined(VK_EXT_directfb_surface) */
311 : #if defined(VK_NV_external_sci_sync)
312 : , vkGetPhysicalDeviceSciSyncAttributesNV((PFN_vkGetPhysicalDeviceSciSyncAttributesNV)addr(instance, "vkGetPhysicalDeviceSciSyncAttributesNV"))
313 : #endif /* defined(VK_NV_external_sci_sync) */
314 : #if defined(VK_NV_external_memory_sci_buf)
315 : , vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV((PFN_vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV)addr(instance, "vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV"))
316 : , vkGetPhysicalDeviceSciBufAttributesNV((PFN_vkGetPhysicalDeviceSciBufAttributesNV)addr(instance, "vkGetPhysicalDeviceSciBufAttributesNV"))
317 : #endif /* defined(VK_NV_external_memory_sci_buf) */
318 : #if defined(VK_QNX_screen_surface)
319 : , vkCreateScreenSurfaceQNX((PFN_vkCreateScreenSurfaceQNX)addr(instance, "vkCreateScreenSurfaceQNX"))
320 : , vkGetPhysicalDeviceScreenPresentationSupportQNX((PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)addr(instance, "vkGetPhysicalDeviceScreenPresentationSupportQNX"))
321 : #endif /* defined(VK_QNX_screen_surface) */
322 : #if defined(VK_NV_optical_flow)
323 42 : , vkGetPhysicalDeviceOpticalFlowImageFormatsNV((PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV)addr(instance, "vkGetPhysicalDeviceOpticalFlowImageFormatsNV"))
324 : #endif /* defined(VK_NV_optical_flow) */
325 : #if defined(VK_KHR_cooperative_matrix)
326 42 : , vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR((PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR)addr(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR"))
327 : #endif /* defined(VK_KHR_cooperative_matrix) */
328 42 : { }
329 :
330 42 : DeviceTable::DeviceTable(PFN_vkGetDeviceProcAddr addr, VkDevice device)
331 : #if defined(VK_VERSION_1_0)
332 42 : : vkGetDeviceProcAddr(addr)
333 42 : , vkDestroyDevice((PFN_vkDestroyDevice)addr(device, "vkDestroyDevice"))
334 42 : , vkGetDeviceQueue((PFN_vkGetDeviceQueue)addr(device, "vkGetDeviceQueue"))
335 42 : , vkQueueSubmit((PFN_vkQueueSubmit)addr(device, "vkQueueSubmit"))
336 42 : , vkQueueWaitIdle((PFN_vkQueueWaitIdle)addr(device, "vkQueueWaitIdle"))
337 42 : , vkDeviceWaitIdle((PFN_vkDeviceWaitIdle)addr(device, "vkDeviceWaitIdle"))
338 42 : , vkAllocateMemory((PFN_vkAllocateMemory)addr(device, "vkAllocateMemory"))
339 42 : , vkFreeMemory((PFN_vkFreeMemory)addr(device, "vkFreeMemory"))
340 42 : , vkMapMemory((PFN_vkMapMemory)addr(device, "vkMapMemory"))
341 42 : , vkUnmapMemory((PFN_vkUnmapMemory)addr(device, "vkUnmapMemory"))
342 42 : , vkFlushMappedMemoryRanges((PFN_vkFlushMappedMemoryRanges)addr(device, "vkFlushMappedMemoryRanges"))
343 42 : , vkInvalidateMappedMemoryRanges((PFN_vkInvalidateMappedMemoryRanges)addr(device, "vkInvalidateMappedMemoryRanges"))
344 42 : , vkGetDeviceMemoryCommitment((PFN_vkGetDeviceMemoryCommitment)addr(device, "vkGetDeviceMemoryCommitment"))
345 42 : , vkBindBufferMemory((PFN_vkBindBufferMemory)addr(device, "vkBindBufferMemory"))
346 42 : , vkBindImageMemory((PFN_vkBindImageMemory)addr(device, "vkBindImageMemory"))
347 42 : , vkGetBufferMemoryRequirements((PFN_vkGetBufferMemoryRequirements)addr(device, "vkGetBufferMemoryRequirements"))
348 42 : , vkGetImageMemoryRequirements((PFN_vkGetImageMemoryRequirements)addr(device, "vkGetImageMemoryRequirements"))
349 42 : , vkGetImageSparseMemoryRequirements((PFN_vkGetImageSparseMemoryRequirements)addr(device, "vkGetImageSparseMemoryRequirements"))
350 42 : , vkQueueBindSparse((PFN_vkQueueBindSparse)addr(device, "vkQueueBindSparse"))
351 42 : , vkCreateFence((PFN_vkCreateFence)addr(device, "vkCreateFence"))
352 42 : , vkDestroyFence((PFN_vkDestroyFence)addr(device, "vkDestroyFence"))
353 42 : , vkResetFences((PFN_vkResetFences)addr(device, "vkResetFences"))
354 42 : , vkGetFenceStatus((PFN_vkGetFenceStatus)addr(device, "vkGetFenceStatus"))
355 42 : , vkWaitForFences((PFN_vkWaitForFences)addr(device, "vkWaitForFences"))
356 42 : , vkCreateSemaphore((PFN_vkCreateSemaphore)addr(device, "vkCreateSemaphore"))
357 42 : , vkDestroySemaphore((PFN_vkDestroySemaphore)addr(device, "vkDestroySemaphore"))
358 42 : , vkCreateEvent((PFN_vkCreateEvent)addr(device, "vkCreateEvent"))
359 42 : , vkDestroyEvent((PFN_vkDestroyEvent)addr(device, "vkDestroyEvent"))
360 42 : , vkGetEventStatus((PFN_vkGetEventStatus)addr(device, "vkGetEventStatus"))
361 42 : , vkSetEvent((PFN_vkSetEvent)addr(device, "vkSetEvent"))
362 42 : , vkResetEvent((PFN_vkResetEvent)addr(device, "vkResetEvent"))
363 42 : , vkCreateQueryPool((PFN_vkCreateQueryPool)addr(device, "vkCreateQueryPool"))
364 42 : , vkDestroyQueryPool((PFN_vkDestroyQueryPool)addr(device, "vkDestroyQueryPool"))
365 42 : , vkGetQueryPoolResults((PFN_vkGetQueryPoolResults)addr(device, "vkGetQueryPoolResults"))
366 42 : , vkCreateBuffer((PFN_vkCreateBuffer)addr(device, "vkCreateBuffer"))
367 42 : , vkDestroyBuffer((PFN_vkDestroyBuffer)addr(device, "vkDestroyBuffer"))
368 42 : , vkCreateBufferView((PFN_vkCreateBufferView)addr(device, "vkCreateBufferView"))
369 42 : , vkDestroyBufferView((PFN_vkDestroyBufferView)addr(device, "vkDestroyBufferView"))
370 42 : , vkCreateImage((PFN_vkCreateImage)addr(device, "vkCreateImage"))
371 42 : , vkDestroyImage((PFN_vkDestroyImage)addr(device, "vkDestroyImage"))
372 42 : , vkGetImageSubresourceLayout((PFN_vkGetImageSubresourceLayout)addr(device, "vkGetImageSubresourceLayout"))
373 42 : , vkCreateImageView((PFN_vkCreateImageView)addr(device, "vkCreateImageView"))
374 42 : , vkDestroyImageView((PFN_vkDestroyImageView)addr(device, "vkDestroyImageView"))
375 42 : , vkCreateShaderModule((PFN_vkCreateShaderModule)addr(device, "vkCreateShaderModule"))
376 42 : , vkDestroyShaderModule((PFN_vkDestroyShaderModule)addr(device, "vkDestroyShaderModule"))
377 42 : , vkCreatePipelineCache((PFN_vkCreatePipelineCache)addr(device, "vkCreatePipelineCache"))
378 42 : , vkDestroyPipelineCache((PFN_vkDestroyPipelineCache)addr(device, "vkDestroyPipelineCache"))
379 42 : , vkGetPipelineCacheData((PFN_vkGetPipelineCacheData)addr(device, "vkGetPipelineCacheData"))
380 42 : , vkMergePipelineCaches((PFN_vkMergePipelineCaches)addr(device, "vkMergePipelineCaches"))
381 42 : , vkCreateGraphicsPipelines((PFN_vkCreateGraphicsPipelines)addr(device, "vkCreateGraphicsPipelines"))
382 42 : , vkCreateComputePipelines((PFN_vkCreateComputePipelines)addr(device, "vkCreateComputePipelines"))
383 42 : , vkDestroyPipeline((PFN_vkDestroyPipeline)addr(device, "vkDestroyPipeline"))
384 42 : , vkCreatePipelineLayout((PFN_vkCreatePipelineLayout)addr(device, "vkCreatePipelineLayout"))
385 42 : , vkDestroyPipelineLayout((PFN_vkDestroyPipelineLayout)addr(device, "vkDestroyPipelineLayout"))
386 42 : , vkCreateSampler((PFN_vkCreateSampler)addr(device, "vkCreateSampler"))
387 42 : , vkDestroySampler((PFN_vkDestroySampler)addr(device, "vkDestroySampler"))
388 42 : , vkCreateDescriptorSetLayout((PFN_vkCreateDescriptorSetLayout)addr(device, "vkCreateDescriptorSetLayout"))
389 42 : , vkDestroyDescriptorSetLayout((PFN_vkDestroyDescriptorSetLayout)addr(device, "vkDestroyDescriptorSetLayout"))
390 42 : , vkCreateDescriptorPool((PFN_vkCreateDescriptorPool)addr(device, "vkCreateDescriptorPool"))
391 42 : , vkDestroyDescriptorPool((PFN_vkDestroyDescriptorPool)addr(device, "vkDestroyDescriptorPool"))
392 42 : , vkResetDescriptorPool((PFN_vkResetDescriptorPool)addr(device, "vkResetDescriptorPool"))
393 42 : , vkAllocateDescriptorSets((PFN_vkAllocateDescriptorSets)addr(device, "vkAllocateDescriptorSets"))
394 42 : , vkFreeDescriptorSets((PFN_vkFreeDescriptorSets)addr(device, "vkFreeDescriptorSets"))
395 42 : , vkUpdateDescriptorSets((PFN_vkUpdateDescriptorSets)addr(device, "vkUpdateDescriptorSets"))
396 42 : , vkCreateFramebuffer((PFN_vkCreateFramebuffer)addr(device, "vkCreateFramebuffer"))
397 42 : , vkDestroyFramebuffer((PFN_vkDestroyFramebuffer)addr(device, "vkDestroyFramebuffer"))
398 42 : , vkCreateRenderPass((PFN_vkCreateRenderPass)addr(device, "vkCreateRenderPass"))
399 42 : , vkDestroyRenderPass((PFN_vkDestroyRenderPass)addr(device, "vkDestroyRenderPass"))
400 42 : , vkGetRenderAreaGranularity((PFN_vkGetRenderAreaGranularity)addr(device, "vkGetRenderAreaGranularity"))
401 42 : , vkCreateCommandPool((PFN_vkCreateCommandPool)addr(device, "vkCreateCommandPool"))
402 42 : , vkDestroyCommandPool((PFN_vkDestroyCommandPool)addr(device, "vkDestroyCommandPool"))
403 42 : , vkResetCommandPool((PFN_vkResetCommandPool)addr(device, "vkResetCommandPool"))
404 42 : , vkAllocateCommandBuffers((PFN_vkAllocateCommandBuffers)addr(device, "vkAllocateCommandBuffers"))
405 42 : , vkFreeCommandBuffers((PFN_vkFreeCommandBuffers)addr(device, "vkFreeCommandBuffers"))
406 42 : , vkBeginCommandBuffer((PFN_vkBeginCommandBuffer)addr(device, "vkBeginCommandBuffer"))
407 42 : , vkEndCommandBuffer((PFN_vkEndCommandBuffer)addr(device, "vkEndCommandBuffer"))
408 42 : , vkResetCommandBuffer((PFN_vkResetCommandBuffer)addr(device, "vkResetCommandBuffer"))
409 42 : , vkCmdBindPipeline((PFN_vkCmdBindPipeline)addr(device, "vkCmdBindPipeline"))
410 42 : , vkCmdSetViewport((PFN_vkCmdSetViewport)addr(device, "vkCmdSetViewport"))
411 42 : , vkCmdSetScissor((PFN_vkCmdSetScissor)addr(device, "vkCmdSetScissor"))
412 42 : , vkCmdSetLineWidth((PFN_vkCmdSetLineWidth)addr(device, "vkCmdSetLineWidth"))
413 42 : , vkCmdSetDepthBias((PFN_vkCmdSetDepthBias)addr(device, "vkCmdSetDepthBias"))
414 42 : , vkCmdSetBlendConstants((PFN_vkCmdSetBlendConstants)addr(device, "vkCmdSetBlendConstants"))
415 42 : , vkCmdSetDepthBounds((PFN_vkCmdSetDepthBounds)addr(device, "vkCmdSetDepthBounds"))
416 42 : , vkCmdSetStencilCompareMask((PFN_vkCmdSetStencilCompareMask)addr(device, "vkCmdSetStencilCompareMask"))
417 42 : , vkCmdSetStencilWriteMask((PFN_vkCmdSetStencilWriteMask)addr(device, "vkCmdSetStencilWriteMask"))
418 42 : , vkCmdSetStencilReference((PFN_vkCmdSetStencilReference)addr(device, "vkCmdSetStencilReference"))
419 42 : , vkCmdBindDescriptorSets((PFN_vkCmdBindDescriptorSets)addr(device, "vkCmdBindDescriptorSets"))
420 42 : , vkCmdBindIndexBuffer((PFN_vkCmdBindIndexBuffer)addr(device, "vkCmdBindIndexBuffer"))
421 42 : , vkCmdBindVertexBuffers((PFN_vkCmdBindVertexBuffers)addr(device, "vkCmdBindVertexBuffers"))
422 42 : , vkCmdDraw((PFN_vkCmdDraw)addr(device, "vkCmdDraw"))
423 42 : , vkCmdDrawIndexed((PFN_vkCmdDrawIndexed)addr(device, "vkCmdDrawIndexed"))
424 42 : , vkCmdDrawIndirect((PFN_vkCmdDrawIndirect)addr(device, "vkCmdDrawIndirect"))
425 42 : , vkCmdDrawIndexedIndirect((PFN_vkCmdDrawIndexedIndirect)addr(device, "vkCmdDrawIndexedIndirect"))
426 42 : , vkCmdDispatch((PFN_vkCmdDispatch)addr(device, "vkCmdDispatch"))
427 42 : , vkCmdDispatchIndirect((PFN_vkCmdDispatchIndirect)addr(device, "vkCmdDispatchIndirect"))
428 42 : , vkCmdCopyBuffer((PFN_vkCmdCopyBuffer)addr(device, "vkCmdCopyBuffer"))
429 42 : , vkCmdCopyImage((PFN_vkCmdCopyImage)addr(device, "vkCmdCopyImage"))
430 42 : , vkCmdBlitImage((PFN_vkCmdBlitImage)addr(device, "vkCmdBlitImage"))
431 42 : , vkCmdCopyBufferToImage((PFN_vkCmdCopyBufferToImage)addr(device, "vkCmdCopyBufferToImage"))
432 42 : , vkCmdCopyImageToBuffer((PFN_vkCmdCopyImageToBuffer)addr(device, "vkCmdCopyImageToBuffer"))
433 42 : , vkCmdUpdateBuffer((PFN_vkCmdUpdateBuffer)addr(device, "vkCmdUpdateBuffer"))
434 42 : , vkCmdFillBuffer((PFN_vkCmdFillBuffer)addr(device, "vkCmdFillBuffer"))
435 42 : , vkCmdClearColorImage((PFN_vkCmdClearColorImage)addr(device, "vkCmdClearColorImage"))
436 42 : , vkCmdClearDepthStencilImage((PFN_vkCmdClearDepthStencilImage)addr(device, "vkCmdClearDepthStencilImage"))
437 42 : , vkCmdClearAttachments((PFN_vkCmdClearAttachments)addr(device, "vkCmdClearAttachments"))
438 42 : , vkCmdResolveImage((PFN_vkCmdResolveImage)addr(device, "vkCmdResolveImage"))
439 42 : , vkCmdSetEvent((PFN_vkCmdSetEvent)addr(device, "vkCmdSetEvent"))
440 42 : , vkCmdResetEvent((PFN_vkCmdResetEvent)addr(device, "vkCmdResetEvent"))
441 42 : , vkCmdWaitEvents((PFN_vkCmdWaitEvents)addr(device, "vkCmdWaitEvents"))
442 42 : , vkCmdPipelineBarrier((PFN_vkCmdPipelineBarrier)addr(device, "vkCmdPipelineBarrier"))
443 42 : , vkCmdBeginQuery((PFN_vkCmdBeginQuery)addr(device, "vkCmdBeginQuery"))
444 42 : , vkCmdEndQuery((PFN_vkCmdEndQuery)addr(device, "vkCmdEndQuery"))
445 42 : , vkCmdResetQueryPool((PFN_vkCmdResetQueryPool)addr(device, "vkCmdResetQueryPool"))
446 42 : , vkCmdWriteTimestamp((PFN_vkCmdWriteTimestamp)addr(device, "vkCmdWriteTimestamp"))
447 42 : , vkCmdCopyQueryPoolResults((PFN_vkCmdCopyQueryPoolResults)addr(device, "vkCmdCopyQueryPoolResults"))
448 42 : , vkCmdPushConstants((PFN_vkCmdPushConstants)addr(device, "vkCmdPushConstants"))
449 42 : , vkCmdBeginRenderPass((PFN_vkCmdBeginRenderPass)addr(device, "vkCmdBeginRenderPass"))
450 42 : , vkCmdNextSubpass((PFN_vkCmdNextSubpass)addr(device, "vkCmdNextSubpass"))
451 42 : , vkCmdEndRenderPass((PFN_vkCmdEndRenderPass)addr(device, "vkCmdEndRenderPass"))
452 42 : , vkCmdExecuteCommands((PFN_vkCmdExecuteCommands)addr(device, "vkCmdExecuteCommands"))
453 : #endif /* defined(VK_VERSION_1_0) */
454 : #if defined(VK_VERSION_1_1)
455 42 : , vkBindBufferMemory2((PFN_vkBindBufferMemory2)loadDeviceAliased(addr, device, "vkBindBufferMemory2", {"vkBindBufferMemory2KHR"}))
456 42 : , vkBindImageMemory2((PFN_vkBindImageMemory2)loadDeviceAliased(addr, device, "vkBindImageMemory2", {"vkBindImageMemory2KHR"}))
457 42 : , vkGetDeviceGroupPeerMemoryFeatures((PFN_vkGetDeviceGroupPeerMemoryFeatures)loadDeviceAliased(addr, device, "vkGetDeviceGroupPeerMemoryFeatures", {"vkGetDeviceGroupPeerMemoryFeaturesKHR"}))
458 42 : , vkCmdSetDeviceMask((PFN_vkCmdSetDeviceMask)loadDeviceAliased(addr, device, "vkCmdSetDeviceMask", {"vkCmdSetDeviceMaskKHR"}))
459 42 : , vkCmdDispatchBase((PFN_vkCmdDispatchBase)loadDeviceAliased(addr, device, "vkCmdDispatchBase", {"vkCmdDispatchBaseKHR"}))
460 42 : , vkGetImageMemoryRequirements2((PFN_vkGetImageMemoryRequirements2)loadDeviceAliased(addr, device, "vkGetImageMemoryRequirements2", {"vkGetImageMemoryRequirements2KHR"}))
461 42 : , vkGetBufferMemoryRequirements2((PFN_vkGetBufferMemoryRequirements2)loadDeviceAliased(addr, device, "vkGetBufferMemoryRequirements2", {"vkGetBufferMemoryRequirements2KHR"}))
462 42 : , vkGetImageSparseMemoryRequirements2((PFN_vkGetImageSparseMemoryRequirements2)loadDeviceAliased(addr, device, "vkGetImageSparseMemoryRequirements2", {"vkGetImageSparseMemoryRequirements2KHR"}))
463 42 : , vkTrimCommandPool((PFN_vkTrimCommandPool)loadDeviceAliased(addr, device, "vkTrimCommandPool", {"vkTrimCommandPoolKHR"}))
464 42 : , vkGetDeviceQueue2((PFN_vkGetDeviceQueue2)addr(device, "vkGetDeviceQueue2"))
465 42 : , vkCreateSamplerYcbcrConversion((PFN_vkCreateSamplerYcbcrConversion)loadDeviceAliased(addr, device, "vkCreateSamplerYcbcrConversion", {"vkCreateSamplerYcbcrConversionKHR"}))
466 42 : , vkDestroySamplerYcbcrConversion((PFN_vkDestroySamplerYcbcrConversion)loadDeviceAliased(addr, device, "vkDestroySamplerYcbcrConversion", {"vkDestroySamplerYcbcrConversionKHR"}))
467 42 : , vkCreateDescriptorUpdateTemplate((PFN_vkCreateDescriptorUpdateTemplate)loadDeviceAliased(addr, device, "vkCreateDescriptorUpdateTemplate", {"vkCreateDescriptorUpdateTemplateKHR"}))
468 42 : , vkDestroyDescriptorUpdateTemplate((PFN_vkDestroyDescriptorUpdateTemplate)loadDeviceAliased(addr, device, "vkDestroyDescriptorUpdateTemplate", {"vkDestroyDescriptorUpdateTemplateKHR"}))
469 42 : , vkUpdateDescriptorSetWithTemplate((PFN_vkUpdateDescriptorSetWithTemplate)loadDeviceAliased(addr, device, "vkUpdateDescriptorSetWithTemplate", {"vkUpdateDescriptorSetWithTemplateKHR"}))
470 42 : , vkGetDescriptorSetLayoutSupport((PFN_vkGetDescriptorSetLayoutSupport)loadDeviceAliased(addr, device, "vkGetDescriptorSetLayoutSupport", {"vkGetDescriptorSetLayoutSupportKHR"}))
471 : #endif /* defined(VK_VERSION_1_1) */
472 : #if defined(VK_VERSION_1_2)
473 42 : , vkCmdDrawIndirectCount((PFN_vkCmdDrawIndirectCount)loadDeviceAliased(addr, device, "vkCmdDrawIndirectCount", {"vkCmdDrawIndirectCountAMD", "vkCmdDrawIndirectCountKHR"}))
474 42 : , vkCmdDrawIndexedIndirectCount((PFN_vkCmdDrawIndexedIndirectCount)loadDeviceAliased(addr, device, "vkCmdDrawIndexedIndirectCount", {"vkCmdDrawIndexedIndirectCountAMD", "vkCmdDrawIndexedIndirectCountKHR"}))
475 42 : , vkCreateRenderPass2((PFN_vkCreateRenderPass2)loadDeviceAliased(addr, device, "vkCreateRenderPass2", {"vkCreateRenderPass2KHR"}))
476 42 : , vkCmdBeginRenderPass2((PFN_vkCmdBeginRenderPass2)loadDeviceAliased(addr, device, "vkCmdBeginRenderPass2", {"vkCmdBeginRenderPass2KHR"}))
477 42 : , vkCmdNextSubpass2((PFN_vkCmdNextSubpass2)loadDeviceAliased(addr, device, "vkCmdNextSubpass2", {"vkCmdNextSubpass2KHR"}))
478 42 : , vkCmdEndRenderPass2((PFN_vkCmdEndRenderPass2)loadDeviceAliased(addr, device, "vkCmdEndRenderPass2", {"vkCmdEndRenderPass2KHR"}))
479 42 : , vkResetQueryPool((PFN_vkResetQueryPool)loadDeviceAliased(addr, device, "vkResetQueryPool", {"vkResetQueryPoolEXT"}))
480 42 : , vkGetSemaphoreCounterValue((PFN_vkGetSemaphoreCounterValue)loadDeviceAliased(addr, device, "vkGetSemaphoreCounterValue", {"vkGetSemaphoreCounterValueKHR"}))
481 42 : , vkWaitSemaphores((PFN_vkWaitSemaphores)loadDeviceAliased(addr, device, "vkWaitSemaphores", {"vkWaitSemaphoresKHR"}))
482 42 : , vkSignalSemaphore((PFN_vkSignalSemaphore)loadDeviceAliased(addr, device, "vkSignalSemaphore", {"vkSignalSemaphoreKHR"}))
483 42 : , vkGetBufferDeviceAddress((PFN_vkGetBufferDeviceAddress)loadDeviceAliased(addr, device, "vkGetBufferDeviceAddress", {"vkGetBufferDeviceAddressEXT", "vkGetBufferDeviceAddressKHR"}))
484 42 : , vkGetBufferOpaqueCaptureAddress((PFN_vkGetBufferOpaqueCaptureAddress)loadDeviceAliased(addr, device, "vkGetBufferOpaqueCaptureAddress", {"vkGetBufferOpaqueCaptureAddressKHR"}))
485 42 : , vkGetDeviceMemoryOpaqueCaptureAddress((PFN_vkGetDeviceMemoryOpaqueCaptureAddress)loadDeviceAliased(addr, device, "vkGetDeviceMemoryOpaqueCaptureAddress", {"vkGetDeviceMemoryOpaqueCaptureAddressKHR"}))
486 : #endif /* defined(VK_VERSION_1_2) */
487 : #if defined(VK_VERSION_1_3)
488 42 : , vkCreatePrivateDataSlot((PFN_vkCreatePrivateDataSlot)loadDeviceAliased(addr, device, "vkCreatePrivateDataSlot", {"vkCreatePrivateDataSlotEXT"}))
489 42 : , vkDestroyPrivateDataSlot((PFN_vkDestroyPrivateDataSlot)loadDeviceAliased(addr, device, "vkDestroyPrivateDataSlot", {"vkDestroyPrivateDataSlotEXT"}))
490 42 : , vkSetPrivateData((PFN_vkSetPrivateData)loadDeviceAliased(addr, device, "vkSetPrivateData", {"vkSetPrivateDataEXT"}))
491 42 : , vkGetPrivateData((PFN_vkGetPrivateData)loadDeviceAliased(addr, device, "vkGetPrivateData", {"vkGetPrivateDataEXT"}))
492 42 : , vkCmdSetEvent2((PFN_vkCmdSetEvent2)loadDeviceAliased(addr, device, "vkCmdSetEvent2", {"vkCmdSetEvent2KHR"}))
493 42 : , vkCmdResetEvent2((PFN_vkCmdResetEvent2)loadDeviceAliased(addr, device, "vkCmdResetEvent2", {"vkCmdResetEvent2KHR"}))
494 42 : , vkCmdWaitEvents2((PFN_vkCmdWaitEvents2)loadDeviceAliased(addr, device, "vkCmdWaitEvents2", {"vkCmdWaitEvents2KHR"}))
495 42 : , vkCmdPipelineBarrier2((PFN_vkCmdPipelineBarrier2)loadDeviceAliased(addr, device, "vkCmdPipelineBarrier2", {"vkCmdPipelineBarrier2KHR"}))
496 42 : , vkCmdWriteTimestamp2((PFN_vkCmdWriteTimestamp2)loadDeviceAliased(addr, device, "vkCmdWriteTimestamp2", {"vkCmdWriteTimestamp2KHR"}))
497 42 : , vkQueueSubmit2((PFN_vkQueueSubmit2)loadDeviceAliased(addr, device, "vkQueueSubmit2", {"vkQueueSubmit2KHR"}))
498 42 : , vkCmdCopyBuffer2((PFN_vkCmdCopyBuffer2)loadDeviceAliased(addr, device, "vkCmdCopyBuffer2", {"vkCmdCopyBuffer2KHR"}))
499 42 : , vkCmdCopyImage2((PFN_vkCmdCopyImage2)loadDeviceAliased(addr, device, "vkCmdCopyImage2", {"vkCmdCopyImage2KHR"}))
500 42 : , vkCmdCopyBufferToImage2((PFN_vkCmdCopyBufferToImage2)loadDeviceAliased(addr, device, "vkCmdCopyBufferToImage2", {"vkCmdCopyBufferToImage2KHR"}))
501 42 : , vkCmdCopyImageToBuffer2((PFN_vkCmdCopyImageToBuffer2)loadDeviceAliased(addr, device, "vkCmdCopyImageToBuffer2", {"vkCmdCopyImageToBuffer2KHR"}))
502 42 : , vkCmdBlitImage2((PFN_vkCmdBlitImage2)loadDeviceAliased(addr, device, "vkCmdBlitImage2", {"vkCmdBlitImage2KHR"}))
503 42 : , vkCmdResolveImage2((PFN_vkCmdResolveImage2)loadDeviceAliased(addr, device, "vkCmdResolveImage2", {"vkCmdResolveImage2KHR"}))
504 42 : , vkCmdBeginRendering((PFN_vkCmdBeginRendering)loadDeviceAliased(addr, device, "vkCmdBeginRendering", {"vkCmdBeginRenderingKHR"}))
505 42 : , vkCmdEndRendering((PFN_vkCmdEndRendering)loadDeviceAliased(addr, device, "vkCmdEndRendering", {"vkCmdEndRenderingKHR"}))
506 42 : , vkCmdSetCullMode((PFN_vkCmdSetCullMode)loadDeviceAliased(addr, device, "vkCmdSetCullMode", {"vkCmdSetCullModeEXT"}))
507 42 : , vkCmdSetFrontFace((PFN_vkCmdSetFrontFace)loadDeviceAliased(addr, device, "vkCmdSetFrontFace", {"vkCmdSetFrontFaceEXT"}))
508 42 : , vkCmdSetPrimitiveTopology((PFN_vkCmdSetPrimitiveTopology)loadDeviceAliased(addr, device, "vkCmdSetPrimitiveTopology", {"vkCmdSetPrimitiveTopologyEXT"}))
509 42 : , vkCmdSetViewportWithCount((PFN_vkCmdSetViewportWithCount)loadDeviceAliased(addr, device, "vkCmdSetViewportWithCount", {"vkCmdSetViewportWithCountEXT"}))
510 42 : , vkCmdSetScissorWithCount((PFN_vkCmdSetScissorWithCount)loadDeviceAliased(addr, device, "vkCmdSetScissorWithCount", {"vkCmdSetScissorWithCountEXT"}))
511 42 : , vkCmdBindVertexBuffers2((PFN_vkCmdBindVertexBuffers2)loadDeviceAliased(addr, device, "vkCmdBindVertexBuffers2", {"vkCmdBindVertexBuffers2EXT"}))
512 42 : , vkCmdSetDepthTestEnable((PFN_vkCmdSetDepthTestEnable)loadDeviceAliased(addr, device, "vkCmdSetDepthTestEnable", {"vkCmdSetDepthTestEnableEXT"}))
513 42 : , vkCmdSetDepthWriteEnable((PFN_vkCmdSetDepthWriteEnable)loadDeviceAliased(addr, device, "vkCmdSetDepthWriteEnable", {"vkCmdSetDepthWriteEnableEXT"}))
514 42 : , vkCmdSetDepthCompareOp((PFN_vkCmdSetDepthCompareOp)loadDeviceAliased(addr, device, "vkCmdSetDepthCompareOp", {"vkCmdSetDepthCompareOpEXT"}))
515 42 : , vkCmdSetDepthBoundsTestEnable((PFN_vkCmdSetDepthBoundsTestEnable)loadDeviceAliased(addr, device, "vkCmdSetDepthBoundsTestEnable", {"vkCmdSetDepthBoundsTestEnableEXT"}))
516 42 : , vkCmdSetStencilTestEnable((PFN_vkCmdSetStencilTestEnable)loadDeviceAliased(addr, device, "vkCmdSetStencilTestEnable", {"vkCmdSetStencilTestEnableEXT"}))
517 42 : , vkCmdSetStencilOp((PFN_vkCmdSetStencilOp)loadDeviceAliased(addr, device, "vkCmdSetStencilOp", {"vkCmdSetStencilOpEXT"}))
518 42 : , vkCmdSetRasterizerDiscardEnable((PFN_vkCmdSetRasterizerDiscardEnable)loadDeviceAliased(addr, device, "vkCmdSetRasterizerDiscardEnable", {"vkCmdSetRasterizerDiscardEnableEXT"}))
519 42 : , vkCmdSetDepthBiasEnable((PFN_vkCmdSetDepthBiasEnable)loadDeviceAliased(addr, device, "vkCmdSetDepthBiasEnable", {"vkCmdSetDepthBiasEnableEXT"}))
520 42 : , vkCmdSetPrimitiveRestartEnable((PFN_vkCmdSetPrimitiveRestartEnable)loadDeviceAliased(addr, device, "vkCmdSetPrimitiveRestartEnable", {"vkCmdSetPrimitiveRestartEnableEXT"}))
521 42 : , vkGetDeviceBufferMemoryRequirements((PFN_vkGetDeviceBufferMemoryRequirements)loadDeviceAliased(addr, device, "vkGetDeviceBufferMemoryRequirements", {"vkGetDeviceBufferMemoryRequirementsKHR"}))
522 42 : , vkGetDeviceImageMemoryRequirements((PFN_vkGetDeviceImageMemoryRequirements)loadDeviceAliased(addr, device, "vkGetDeviceImageMemoryRequirements", {"vkGetDeviceImageMemoryRequirementsKHR"}))
523 42 : , vkGetDeviceImageSparseMemoryRequirements((PFN_vkGetDeviceImageSparseMemoryRequirements)loadDeviceAliased(addr, device, "vkGetDeviceImageSparseMemoryRequirements", {"vkGetDeviceImageSparseMemoryRequirementsKHR"}))
524 : #endif /* defined(VK_VERSION_1_3) */
525 : #if defined(VKSC_VERSION_1_0)
526 : , vkGetCommandPoolMemoryConsumption((PFN_vkGetCommandPoolMemoryConsumption)addr(device, "vkGetCommandPoolMemoryConsumption"))
527 : , vkGetFaultData((PFN_vkGetFaultData)addr(device, "vkGetFaultData"))
528 : #endif /* defined(VKSC_VERSION_1_0) */
529 : #if defined(VK_KHR_swapchain)
530 42 : , vkCreateSwapchainKHR((PFN_vkCreateSwapchainKHR)addr(device, "vkCreateSwapchainKHR"))
531 42 : , vkDestroySwapchainKHR((PFN_vkDestroySwapchainKHR)addr(device, "vkDestroySwapchainKHR"))
532 42 : , vkGetSwapchainImagesKHR((PFN_vkGetSwapchainImagesKHR)addr(device, "vkGetSwapchainImagesKHR"))
533 42 : , vkAcquireNextImageKHR((PFN_vkAcquireNextImageKHR)addr(device, "vkAcquireNextImageKHR"))
534 42 : , vkQueuePresentKHR((PFN_vkQueuePresentKHR)addr(device, "vkQueuePresentKHR"))
535 : #endif /* defined(VK_KHR_swapchain) */
536 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
537 42 : , vkGetDeviceGroupPresentCapabilitiesKHR((PFN_vkGetDeviceGroupPresentCapabilitiesKHR)addr(device, "vkGetDeviceGroupPresentCapabilitiesKHR"))
538 42 : , vkGetDeviceGroupSurfacePresentModesKHR((PFN_vkGetDeviceGroupSurfacePresentModesKHR)addr(device, "vkGetDeviceGroupSurfacePresentModesKHR"))
539 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
540 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain))
541 42 : , vkAcquireNextImage2KHR((PFN_vkAcquireNextImage2KHR)addr(device, "vkAcquireNextImage2KHR"))
542 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) */
543 : #if defined(VK_KHR_display_swapchain)
544 42 : , vkCreateSharedSwapchainsKHR((PFN_vkCreateSharedSwapchainsKHR)addr(device, "vkCreateSharedSwapchainsKHR"))
545 : #endif /* defined(VK_KHR_display_swapchain) */
546 : #if defined(VK_EXT_debug_marker)
547 42 : , vkDebugMarkerSetObjectTagEXT((PFN_vkDebugMarkerSetObjectTagEXT)addr(device, "vkDebugMarkerSetObjectTagEXT"))
548 42 : , vkDebugMarkerSetObjectNameEXT((PFN_vkDebugMarkerSetObjectNameEXT)addr(device, "vkDebugMarkerSetObjectNameEXT"))
549 42 : , vkCmdDebugMarkerBeginEXT((PFN_vkCmdDebugMarkerBeginEXT)addr(device, "vkCmdDebugMarkerBeginEXT"))
550 42 : , vkCmdDebugMarkerEndEXT((PFN_vkCmdDebugMarkerEndEXT)addr(device, "vkCmdDebugMarkerEndEXT"))
551 42 : , vkCmdDebugMarkerInsertEXT((PFN_vkCmdDebugMarkerInsertEXT)addr(device, "vkCmdDebugMarkerInsertEXT"))
552 : #endif /* defined(VK_EXT_debug_marker) */
553 : #if defined(VK_KHR_video_queue)
554 42 : , vkCreateVideoSessionKHR((PFN_vkCreateVideoSessionKHR)addr(device, "vkCreateVideoSessionKHR"))
555 42 : , vkDestroyVideoSessionKHR((PFN_vkDestroyVideoSessionKHR)addr(device, "vkDestroyVideoSessionKHR"))
556 42 : , vkGetVideoSessionMemoryRequirementsKHR((PFN_vkGetVideoSessionMemoryRequirementsKHR)addr(device, "vkGetVideoSessionMemoryRequirementsKHR"))
557 42 : , vkBindVideoSessionMemoryKHR((PFN_vkBindVideoSessionMemoryKHR)addr(device, "vkBindVideoSessionMemoryKHR"))
558 42 : , vkCreateVideoSessionParametersKHR((PFN_vkCreateVideoSessionParametersKHR)addr(device, "vkCreateVideoSessionParametersKHR"))
559 42 : , vkUpdateVideoSessionParametersKHR((PFN_vkUpdateVideoSessionParametersKHR)addr(device, "vkUpdateVideoSessionParametersKHR"))
560 42 : , vkDestroyVideoSessionParametersKHR((PFN_vkDestroyVideoSessionParametersKHR)addr(device, "vkDestroyVideoSessionParametersKHR"))
561 42 : , vkCmdBeginVideoCodingKHR((PFN_vkCmdBeginVideoCodingKHR)addr(device, "vkCmdBeginVideoCodingKHR"))
562 42 : , vkCmdEndVideoCodingKHR((PFN_vkCmdEndVideoCodingKHR)addr(device, "vkCmdEndVideoCodingKHR"))
563 42 : , vkCmdControlVideoCodingKHR((PFN_vkCmdControlVideoCodingKHR)addr(device, "vkCmdControlVideoCodingKHR"))
564 : #endif /* defined(VK_KHR_video_queue) */
565 : #if defined(VK_KHR_video_decode_queue)
566 42 : , vkCmdDecodeVideoKHR((PFN_vkCmdDecodeVideoKHR)addr(device, "vkCmdDecodeVideoKHR"))
567 : #endif /* defined(VK_KHR_video_decode_queue) */
568 : #if defined(VK_EXT_transform_feedback)
569 42 : , vkCmdBindTransformFeedbackBuffersEXT((PFN_vkCmdBindTransformFeedbackBuffersEXT)addr(device, "vkCmdBindTransformFeedbackBuffersEXT"))
570 42 : , vkCmdBeginTransformFeedbackEXT((PFN_vkCmdBeginTransformFeedbackEXT)addr(device, "vkCmdBeginTransformFeedbackEXT"))
571 42 : , vkCmdEndTransformFeedbackEXT((PFN_vkCmdEndTransformFeedbackEXT)addr(device, "vkCmdEndTransformFeedbackEXT"))
572 42 : , vkCmdBeginQueryIndexedEXT((PFN_vkCmdBeginQueryIndexedEXT)addr(device, "vkCmdBeginQueryIndexedEXT"))
573 42 : , vkCmdEndQueryIndexedEXT((PFN_vkCmdEndQueryIndexedEXT)addr(device, "vkCmdEndQueryIndexedEXT"))
574 42 : , vkCmdDrawIndirectByteCountEXT((PFN_vkCmdDrawIndirectByteCountEXT)addr(device, "vkCmdDrawIndirectByteCountEXT"))
575 : #endif /* defined(VK_EXT_transform_feedback) */
576 : #if defined(VK_NVX_binary_import)
577 42 : , vkCreateCuModuleNVX((PFN_vkCreateCuModuleNVX)addr(device, "vkCreateCuModuleNVX"))
578 42 : , vkCreateCuFunctionNVX((PFN_vkCreateCuFunctionNVX)addr(device, "vkCreateCuFunctionNVX"))
579 42 : , vkDestroyCuModuleNVX((PFN_vkDestroyCuModuleNVX)addr(device, "vkDestroyCuModuleNVX"))
580 42 : , vkDestroyCuFunctionNVX((PFN_vkDestroyCuFunctionNVX)addr(device, "vkDestroyCuFunctionNVX"))
581 42 : , vkCmdCuLaunchKernelNVX((PFN_vkCmdCuLaunchKernelNVX)addr(device, "vkCmdCuLaunchKernelNVX"))
582 : #endif /* defined(VK_NVX_binary_import) */
583 : #if defined(VK_NVX_image_view_handle)
584 42 : , vkGetImageViewHandleNVX((PFN_vkGetImageViewHandleNVX)addr(device, "vkGetImageViewHandleNVX"))
585 42 : , vkGetImageViewAddressNVX((PFN_vkGetImageViewAddressNVX)addr(device, "vkGetImageViewAddressNVX"))
586 : #endif /* defined(VK_NVX_image_view_handle) */
587 : #if defined(VK_AMD_draw_indirect_count)
588 42 : , vkCmdDrawIndirectCountAMD((PFN_vkCmdDrawIndirectCountAMD)loadDeviceAliased(addr, device, "vkCmdDrawIndirectCount", {"vkCmdDrawIndirectCountAMD", "vkCmdDrawIndirectCountKHR"}))
589 42 : , vkCmdDrawIndexedIndirectCountAMD((PFN_vkCmdDrawIndexedIndirectCountAMD)loadDeviceAliased(addr, device, "vkCmdDrawIndexedIndirectCount", {"vkCmdDrawIndexedIndirectCountAMD", "vkCmdDrawIndexedIndirectCountKHR"}))
590 : #endif /* defined(VK_AMD_draw_indirect_count) */
591 : #if defined(VK_AMD_shader_info)
592 42 : , vkGetShaderInfoAMD((PFN_vkGetShaderInfoAMD)addr(device, "vkGetShaderInfoAMD"))
593 : #endif /* defined(VK_AMD_shader_info) */
594 : #if defined(VK_KHR_dynamic_rendering)
595 42 : , vkCmdBeginRenderingKHR((PFN_vkCmdBeginRenderingKHR)loadDeviceAliased(addr, device, "vkCmdBeginRendering", {"vkCmdBeginRenderingKHR"}))
596 42 : , vkCmdEndRenderingKHR((PFN_vkCmdEndRenderingKHR)loadDeviceAliased(addr, device, "vkCmdEndRendering", {"vkCmdEndRenderingKHR"}))
597 : #endif /* defined(VK_KHR_dynamic_rendering) */
598 : #if defined(VK_NV_external_memory_win32)
599 : , vkGetMemoryWin32HandleNV((PFN_vkGetMemoryWin32HandleNV)addr(device, "vkGetMemoryWin32HandleNV"))
600 : #endif /* defined(VK_NV_external_memory_win32) */
601 : #if defined(VK_KHR_device_group)
602 42 : , vkGetDeviceGroupPeerMemoryFeaturesKHR((PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR)loadDeviceAliased(addr, device, "vkGetDeviceGroupPeerMemoryFeatures", {"vkGetDeviceGroupPeerMemoryFeaturesKHR"}))
603 42 : , vkCmdSetDeviceMaskKHR((PFN_vkCmdSetDeviceMaskKHR)loadDeviceAliased(addr, device, "vkCmdSetDeviceMask", {"vkCmdSetDeviceMaskKHR"}))
604 42 : , vkCmdDispatchBaseKHR((PFN_vkCmdDispatchBaseKHR)loadDeviceAliased(addr, device, "vkCmdDispatchBase", {"vkCmdDispatchBaseKHR"}))
605 : #endif /* defined(VK_KHR_device_group) */
606 : #if defined(VK_KHR_maintenance1)
607 42 : , vkTrimCommandPoolKHR((PFN_vkTrimCommandPoolKHR)loadDeviceAliased(addr, device, "vkTrimCommandPool", {"vkTrimCommandPoolKHR"}))
608 : #endif /* defined(VK_KHR_maintenance1) */
609 : #if defined(VK_KHR_external_memory_win32)
610 : , vkGetMemoryWin32HandleKHR((PFN_vkGetMemoryWin32HandleKHR)addr(device, "vkGetMemoryWin32HandleKHR"))
611 : , vkGetMemoryWin32HandlePropertiesKHR((PFN_vkGetMemoryWin32HandlePropertiesKHR)addr(device, "vkGetMemoryWin32HandlePropertiesKHR"))
612 : #endif /* defined(VK_KHR_external_memory_win32) */
613 : #if defined(VK_KHR_external_memory_fd)
614 42 : , vkGetMemoryFdKHR((PFN_vkGetMemoryFdKHR)addr(device, "vkGetMemoryFdKHR"))
615 42 : , vkGetMemoryFdPropertiesKHR((PFN_vkGetMemoryFdPropertiesKHR)addr(device, "vkGetMemoryFdPropertiesKHR"))
616 : #endif /* defined(VK_KHR_external_memory_fd) */
617 : #if defined(VK_KHR_external_semaphore_win32)
618 : , vkImportSemaphoreWin32HandleKHR((PFN_vkImportSemaphoreWin32HandleKHR)addr(device, "vkImportSemaphoreWin32HandleKHR"))
619 : , vkGetSemaphoreWin32HandleKHR((PFN_vkGetSemaphoreWin32HandleKHR)addr(device, "vkGetSemaphoreWin32HandleKHR"))
620 : #endif /* defined(VK_KHR_external_semaphore_win32) */
621 : #if defined(VK_KHR_external_semaphore_fd)
622 42 : , vkImportSemaphoreFdKHR((PFN_vkImportSemaphoreFdKHR)addr(device, "vkImportSemaphoreFdKHR"))
623 42 : , vkGetSemaphoreFdKHR((PFN_vkGetSemaphoreFdKHR)addr(device, "vkGetSemaphoreFdKHR"))
624 : #endif /* defined(VK_KHR_external_semaphore_fd) */
625 : #if defined(VK_KHR_push_descriptor)
626 42 : , vkCmdPushDescriptorSetKHR((PFN_vkCmdPushDescriptorSetKHR)addr(device, "vkCmdPushDescriptorSetKHR"))
627 : #endif /* defined(VK_KHR_push_descriptor) */
628 : #if (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor))
629 42 : , vkCmdPushDescriptorSetWithTemplateKHR((PFN_vkCmdPushDescriptorSetWithTemplateKHR)addr(device, "vkCmdPushDescriptorSetWithTemplateKHR"))
630 : #endif /* (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) */
631 : #if defined(VK_EXT_conditional_rendering)
632 42 : , vkCmdBeginConditionalRenderingEXT((PFN_vkCmdBeginConditionalRenderingEXT)addr(device, "vkCmdBeginConditionalRenderingEXT"))
633 42 : , vkCmdEndConditionalRenderingEXT((PFN_vkCmdEndConditionalRenderingEXT)addr(device, "vkCmdEndConditionalRenderingEXT"))
634 : #endif /* defined(VK_EXT_conditional_rendering) */
635 : #if defined(VK_KHR_descriptor_update_template)
636 42 : , vkCreateDescriptorUpdateTemplateKHR((PFN_vkCreateDescriptorUpdateTemplateKHR)loadDeviceAliased(addr, device, "vkCreateDescriptorUpdateTemplate", {"vkCreateDescriptorUpdateTemplateKHR"}))
637 42 : , vkDestroyDescriptorUpdateTemplateKHR((PFN_vkDestroyDescriptorUpdateTemplateKHR)loadDeviceAliased(addr, device, "vkDestroyDescriptorUpdateTemplate", {"vkDestroyDescriptorUpdateTemplateKHR"}))
638 42 : , vkUpdateDescriptorSetWithTemplateKHR((PFN_vkUpdateDescriptorSetWithTemplateKHR)loadDeviceAliased(addr, device, "vkUpdateDescriptorSetWithTemplate", {"vkUpdateDescriptorSetWithTemplateKHR"}))
639 : #endif /* defined(VK_KHR_descriptor_update_template) */
640 : #if defined(VK_NV_clip_space_w_scaling)
641 42 : , vkCmdSetViewportWScalingNV((PFN_vkCmdSetViewportWScalingNV)addr(device, "vkCmdSetViewportWScalingNV"))
642 : #endif /* defined(VK_NV_clip_space_w_scaling) */
643 : #if defined(VK_EXT_display_control)
644 42 : , vkDisplayPowerControlEXT((PFN_vkDisplayPowerControlEXT)addr(device, "vkDisplayPowerControlEXT"))
645 42 : , vkRegisterDeviceEventEXT((PFN_vkRegisterDeviceEventEXT)addr(device, "vkRegisterDeviceEventEXT"))
646 42 : , vkRegisterDisplayEventEXT((PFN_vkRegisterDisplayEventEXT)addr(device, "vkRegisterDisplayEventEXT"))
647 42 : , vkGetSwapchainCounterEXT((PFN_vkGetSwapchainCounterEXT)addr(device, "vkGetSwapchainCounterEXT"))
648 : #endif /* defined(VK_EXT_display_control) */
649 : #if defined(VK_GOOGLE_display_timing)
650 42 : , vkGetRefreshCycleDurationGOOGLE((PFN_vkGetRefreshCycleDurationGOOGLE)addr(device, "vkGetRefreshCycleDurationGOOGLE"))
651 42 : , vkGetPastPresentationTimingGOOGLE((PFN_vkGetPastPresentationTimingGOOGLE)addr(device, "vkGetPastPresentationTimingGOOGLE"))
652 : #endif /* defined(VK_GOOGLE_display_timing) */
653 : #if defined(VK_EXT_discard_rectangles)
654 42 : , vkCmdSetDiscardRectangleEXT((PFN_vkCmdSetDiscardRectangleEXT)addr(device, "vkCmdSetDiscardRectangleEXT"))
655 : #if (VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION == 2)
656 42 : , vkCmdSetDiscardRectangleEnableEXT((PFN_vkCmdSetDiscardRectangleEnableEXT)addr(device, "vkCmdSetDiscardRectangleEnableEXT"))
657 42 : , vkCmdSetDiscardRectangleModeEXT((PFN_vkCmdSetDiscardRectangleModeEXT)addr(device, "vkCmdSetDiscardRectangleModeEXT"))
658 : #endif
659 : #endif /* defined(VK_EXT_discard_rectangles) */
660 : #if defined(VK_EXT_hdr_metadata)
661 42 : , vkSetHdrMetadataEXT((PFN_vkSetHdrMetadataEXT)addr(device, "vkSetHdrMetadataEXT"))
662 : #endif /* defined(VK_EXT_hdr_metadata) */
663 : #if defined(VK_KHR_create_renderpass2)
664 42 : , vkCreateRenderPass2KHR((PFN_vkCreateRenderPass2KHR)loadDeviceAliased(addr, device, "vkCreateRenderPass2", {"vkCreateRenderPass2KHR"}))
665 42 : , vkCmdBeginRenderPass2KHR((PFN_vkCmdBeginRenderPass2KHR)loadDeviceAliased(addr, device, "vkCmdBeginRenderPass2", {"vkCmdBeginRenderPass2KHR"}))
666 42 : , vkCmdNextSubpass2KHR((PFN_vkCmdNextSubpass2KHR)loadDeviceAliased(addr, device, "vkCmdNextSubpass2", {"vkCmdNextSubpass2KHR"}))
667 42 : , vkCmdEndRenderPass2KHR((PFN_vkCmdEndRenderPass2KHR)loadDeviceAliased(addr, device, "vkCmdEndRenderPass2", {"vkCmdEndRenderPass2KHR"}))
668 : #endif /* defined(VK_KHR_create_renderpass2) */
669 : #if defined(VK_KHR_shared_presentable_image)
670 42 : , vkGetSwapchainStatusKHR((PFN_vkGetSwapchainStatusKHR)addr(device, "vkGetSwapchainStatusKHR"))
671 : #endif /* defined(VK_KHR_shared_presentable_image) */
672 : #if defined(VK_KHR_external_fence_win32)
673 : , vkImportFenceWin32HandleKHR((PFN_vkImportFenceWin32HandleKHR)addr(device, "vkImportFenceWin32HandleKHR"))
674 : , vkGetFenceWin32HandleKHR((PFN_vkGetFenceWin32HandleKHR)addr(device, "vkGetFenceWin32HandleKHR"))
675 : #endif /* defined(VK_KHR_external_fence_win32) */
676 : #if defined(VK_KHR_external_fence_fd)
677 42 : , vkImportFenceFdKHR((PFN_vkImportFenceFdKHR)addr(device, "vkImportFenceFdKHR"))
678 42 : , vkGetFenceFdKHR((PFN_vkGetFenceFdKHR)addr(device, "vkGetFenceFdKHR"))
679 : #endif /* defined(VK_KHR_external_fence_fd) */
680 : #if defined(VK_KHR_performance_query)
681 42 : , vkAcquireProfilingLockKHR((PFN_vkAcquireProfilingLockKHR)addr(device, "vkAcquireProfilingLockKHR"))
682 42 : , vkReleaseProfilingLockKHR((PFN_vkReleaseProfilingLockKHR)addr(device, "vkReleaseProfilingLockKHR"))
683 : #endif /* defined(VK_KHR_performance_query) */
684 : #if defined(VK_ANDROID_external_memory_android_hardware_buffer)
685 : , vkGetAndroidHardwareBufferPropertiesANDROID((PFN_vkGetAndroidHardwareBufferPropertiesANDROID)addr(device, "vkGetAndroidHardwareBufferPropertiesANDROID"))
686 : , vkGetMemoryAndroidHardwareBufferANDROID((PFN_vkGetMemoryAndroidHardwareBufferANDROID)addr(device, "vkGetMemoryAndroidHardwareBufferANDROID"))
687 : #endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
688 : #if defined(VK_AMDX_shader_enqueue)
689 : , vkCreateExecutionGraphPipelinesAMDX((PFN_vkCreateExecutionGraphPipelinesAMDX)addr(device, "vkCreateExecutionGraphPipelinesAMDX"))
690 : , vkGetExecutionGraphPipelineScratchSizeAMDX((PFN_vkGetExecutionGraphPipelineScratchSizeAMDX)addr(device, "vkGetExecutionGraphPipelineScratchSizeAMDX"))
691 : , vkGetExecutionGraphPipelineNodeIndexAMDX((PFN_vkGetExecutionGraphPipelineNodeIndexAMDX)addr(device, "vkGetExecutionGraphPipelineNodeIndexAMDX"))
692 : , vkCmdInitializeGraphScratchMemoryAMDX((PFN_vkCmdInitializeGraphScratchMemoryAMDX)addr(device, "vkCmdInitializeGraphScratchMemoryAMDX"))
693 : , vkCmdDispatchGraphAMDX((PFN_vkCmdDispatchGraphAMDX)addr(device, "vkCmdDispatchGraphAMDX"))
694 : , vkCmdDispatchGraphIndirectAMDX((PFN_vkCmdDispatchGraphIndirectAMDX)addr(device, "vkCmdDispatchGraphIndirectAMDX"))
695 : , vkCmdDispatchGraphIndirectCountAMDX((PFN_vkCmdDispatchGraphIndirectCountAMDX)addr(device, "vkCmdDispatchGraphIndirectCountAMDX"))
696 : #endif /* defined(VK_AMDX_shader_enqueue) */
697 : #if defined(VK_EXT_sample_locations)
698 42 : , vkCmdSetSampleLocationsEXT((PFN_vkCmdSetSampleLocationsEXT)addr(device, "vkCmdSetSampleLocationsEXT"))
699 : #endif /* defined(VK_EXT_sample_locations) */
700 : #if defined(VK_KHR_get_memory_requirements2)
701 42 : , vkGetImageMemoryRequirements2KHR((PFN_vkGetImageMemoryRequirements2KHR)loadDeviceAliased(addr, device, "vkGetImageMemoryRequirements2", {"vkGetImageMemoryRequirements2KHR"}))
702 42 : , vkGetBufferMemoryRequirements2KHR((PFN_vkGetBufferMemoryRequirements2KHR)loadDeviceAliased(addr, device, "vkGetBufferMemoryRequirements2", {"vkGetBufferMemoryRequirements2KHR"}))
703 42 : , vkGetImageSparseMemoryRequirements2KHR((PFN_vkGetImageSparseMemoryRequirements2KHR)loadDeviceAliased(addr, device, "vkGetImageSparseMemoryRequirements2", {"vkGetImageSparseMemoryRequirements2KHR"}))
704 : #endif /* defined(VK_KHR_get_memory_requirements2) */
705 : #if defined(VK_KHR_acceleration_structure)
706 42 : , vkCreateAccelerationStructureKHR((PFN_vkCreateAccelerationStructureKHR)addr(device, "vkCreateAccelerationStructureKHR"))
707 42 : , vkDestroyAccelerationStructureKHR((PFN_vkDestroyAccelerationStructureKHR)addr(device, "vkDestroyAccelerationStructureKHR"))
708 42 : , vkCmdBuildAccelerationStructuresKHR((PFN_vkCmdBuildAccelerationStructuresKHR)addr(device, "vkCmdBuildAccelerationStructuresKHR"))
709 42 : , vkCmdBuildAccelerationStructuresIndirectKHR((PFN_vkCmdBuildAccelerationStructuresIndirectKHR)addr(device, "vkCmdBuildAccelerationStructuresIndirectKHR"))
710 42 : , vkBuildAccelerationStructuresKHR((PFN_vkBuildAccelerationStructuresKHR)addr(device, "vkBuildAccelerationStructuresKHR"))
711 42 : , vkCopyAccelerationStructureKHR((PFN_vkCopyAccelerationStructureKHR)addr(device, "vkCopyAccelerationStructureKHR"))
712 42 : , vkCopyAccelerationStructureToMemoryKHR((PFN_vkCopyAccelerationStructureToMemoryKHR)addr(device, "vkCopyAccelerationStructureToMemoryKHR"))
713 42 : , vkCopyMemoryToAccelerationStructureKHR((PFN_vkCopyMemoryToAccelerationStructureKHR)addr(device, "vkCopyMemoryToAccelerationStructureKHR"))
714 42 : , vkWriteAccelerationStructuresPropertiesKHR((PFN_vkWriteAccelerationStructuresPropertiesKHR)addr(device, "vkWriteAccelerationStructuresPropertiesKHR"))
715 42 : , vkCmdCopyAccelerationStructureKHR((PFN_vkCmdCopyAccelerationStructureKHR)addr(device, "vkCmdCopyAccelerationStructureKHR"))
716 42 : , vkCmdCopyAccelerationStructureToMemoryKHR((PFN_vkCmdCopyAccelerationStructureToMemoryKHR)addr(device, "vkCmdCopyAccelerationStructureToMemoryKHR"))
717 42 : , vkCmdCopyMemoryToAccelerationStructureKHR((PFN_vkCmdCopyMemoryToAccelerationStructureKHR)addr(device, "vkCmdCopyMemoryToAccelerationStructureKHR"))
718 42 : , vkGetAccelerationStructureDeviceAddressKHR((PFN_vkGetAccelerationStructureDeviceAddressKHR)addr(device, "vkGetAccelerationStructureDeviceAddressKHR"))
719 42 : , vkCmdWriteAccelerationStructuresPropertiesKHR((PFN_vkCmdWriteAccelerationStructuresPropertiesKHR)addr(device, "vkCmdWriteAccelerationStructuresPropertiesKHR"))
720 42 : , vkGetDeviceAccelerationStructureCompatibilityKHR((PFN_vkGetDeviceAccelerationStructureCompatibilityKHR)addr(device, "vkGetDeviceAccelerationStructureCompatibilityKHR"))
721 42 : , vkGetAccelerationStructureBuildSizesKHR((PFN_vkGetAccelerationStructureBuildSizesKHR)addr(device, "vkGetAccelerationStructureBuildSizesKHR"))
722 : #endif /* defined(VK_KHR_acceleration_structure) */
723 : #if defined(VK_KHR_ray_tracing_pipeline)
724 42 : , vkCmdTraceRaysKHR((PFN_vkCmdTraceRaysKHR)addr(device, "vkCmdTraceRaysKHR"))
725 42 : , vkCreateRayTracingPipelinesKHR((PFN_vkCreateRayTracingPipelinesKHR)addr(device, "vkCreateRayTracingPipelinesKHR"))
726 42 : , vkGetRayTracingShaderGroupHandlesKHR((PFN_vkGetRayTracingShaderGroupHandlesKHR)loadDeviceAliased(addr, device, "vkGetRayTracingShaderGroupHandlesKHR", {"vkGetRayTracingShaderGroupHandlesNV"}))
727 42 : , vkGetRayTracingCaptureReplayShaderGroupHandlesKHR((PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR)addr(device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"))
728 42 : , vkCmdTraceRaysIndirectKHR((PFN_vkCmdTraceRaysIndirectKHR)addr(device, "vkCmdTraceRaysIndirectKHR"))
729 42 : , vkGetRayTracingShaderGroupStackSizeKHR((PFN_vkGetRayTracingShaderGroupStackSizeKHR)addr(device, "vkGetRayTracingShaderGroupStackSizeKHR"))
730 42 : , vkCmdSetRayTracingPipelineStackSizeKHR((PFN_vkCmdSetRayTracingPipelineStackSizeKHR)addr(device, "vkCmdSetRayTracingPipelineStackSizeKHR"))
731 : #endif /* defined(VK_KHR_ray_tracing_pipeline) */
732 : #if defined(VK_KHR_sampler_ycbcr_conversion)
733 42 : , vkCreateSamplerYcbcrConversionKHR((PFN_vkCreateSamplerYcbcrConversionKHR)loadDeviceAliased(addr, device, "vkCreateSamplerYcbcrConversion", {"vkCreateSamplerYcbcrConversionKHR"}))
734 42 : , vkDestroySamplerYcbcrConversionKHR((PFN_vkDestroySamplerYcbcrConversionKHR)loadDeviceAliased(addr, device, "vkDestroySamplerYcbcrConversion", {"vkDestroySamplerYcbcrConversionKHR"}))
735 : #endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
736 : #if defined(VK_KHR_bind_memory2)
737 42 : , vkBindBufferMemory2KHR((PFN_vkBindBufferMemory2KHR)loadDeviceAliased(addr, device, "vkBindBufferMemory2", {"vkBindBufferMemory2KHR"}))
738 42 : , vkBindImageMemory2KHR((PFN_vkBindImageMemory2KHR)loadDeviceAliased(addr, device, "vkBindImageMemory2", {"vkBindImageMemory2KHR"}))
739 : #endif /* defined(VK_KHR_bind_memory2) */
740 : #if defined(VK_EXT_image_drm_format_modifier)
741 42 : , vkGetImageDrmFormatModifierPropertiesEXT((PFN_vkGetImageDrmFormatModifierPropertiesEXT)addr(device, "vkGetImageDrmFormatModifierPropertiesEXT"))
742 : #endif /* defined(VK_EXT_image_drm_format_modifier) */
743 : #if defined(VK_EXT_validation_cache)
744 42 : , vkCreateValidationCacheEXT((PFN_vkCreateValidationCacheEXT)addr(device, "vkCreateValidationCacheEXT"))
745 42 : , vkDestroyValidationCacheEXT((PFN_vkDestroyValidationCacheEXT)addr(device, "vkDestroyValidationCacheEXT"))
746 42 : , vkMergeValidationCachesEXT((PFN_vkMergeValidationCachesEXT)addr(device, "vkMergeValidationCachesEXT"))
747 42 : , vkGetValidationCacheDataEXT((PFN_vkGetValidationCacheDataEXT)addr(device, "vkGetValidationCacheDataEXT"))
748 : #endif /* defined(VK_EXT_validation_cache) */
749 : #if defined(VK_NV_shading_rate_image)
750 42 : , vkCmdBindShadingRateImageNV((PFN_vkCmdBindShadingRateImageNV)addr(device, "vkCmdBindShadingRateImageNV"))
751 42 : , vkCmdSetViewportShadingRatePaletteNV((PFN_vkCmdSetViewportShadingRatePaletteNV)addr(device, "vkCmdSetViewportShadingRatePaletteNV"))
752 42 : , vkCmdSetCoarseSampleOrderNV((PFN_vkCmdSetCoarseSampleOrderNV)addr(device, "vkCmdSetCoarseSampleOrderNV"))
753 : #endif /* defined(VK_NV_shading_rate_image) */
754 : #if defined(VK_NV_ray_tracing)
755 42 : , vkCreateAccelerationStructureNV((PFN_vkCreateAccelerationStructureNV)addr(device, "vkCreateAccelerationStructureNV"))
756 42 : , vkDestroyAccelerationStructureNV((PFN_vkDestroyAccelerationStructureNV)addr(device, "vkDestroyAccelerationStructureNV"))
757 42 : , vkGetAccelerationStructureMemoryRequirementsNV((PFN_vkGetAccelerationStructureMemoryRequirementsNV)addr(device, "vkGetAccelerationStructureMemoryRequirementsNV"))
758 42 : , vkBindAccelerationStructureMemoryNV((PFN_vkBindAccelerationStructureMemoryNV)addr(device, "vkBindAccelerationStructureMemoryNV"))
759 42 : , vkCmdBuildAccelerationStructureNV((PFN_vkCmdBuildAccelerationStructureNV)addr(device, "vkCmdBuildAccelerationStructureNV"))
760 42 : , vkCmdCopyAccelerationStructureNV((PFN_vkCmdCopyAccelerationStructureNV)addr(device, "vkCmdCopyAccelerationStructureNV"))
761 42 : , vkCmdTraceRaysNV((PFN_vkCmdTraceRaysNV)addr(device, "vkCmdTraceRaysNV"))
762 42 : , vkCreateRayTracingPipelinesNV((PFN_vkCreateRayTracingPipelinesNV)addr(device, "vkCreateRayTracingPipelinesNV"))
763 42 : , vkGetRayTracingShaderGroupHandlesNV((PFN_vkGetRayTracingShaderGroupHandlesNV)loadDeviceAliased(addr, device, "vkGetRayTracingShaderGroupHandlesKHR", {"vkGetRayTracingShaderGroupHandlesNV"}))
764 42 : , vkGetAccelerationStructureHandleNV((PFN_vkGetAccelerationStructureHandleNV)addr(device, "vkGetAccelerationStructureHandleNV"))
765 42 : , vkCmdWriteAccelerationStructuresPropertiesNV((PFN_vkCmdWriteAccelerationStructuresPropertiesNV)addr(device, "vkCmdWriteAccelerationStructuresPropertiesNV"))
766 42 : , vkCompileDeferredNV((PFN_vkCompileDeferredNV)addr(device, "vkCompileDeferredNV"))
767 : #endif /* defined(VK_NV_ray_tracing) */
768 : #if defined(VK_KHR_maintenance3)
769 42 : , vkGetDescriptorSetLayoutSupportKHR((PFN_vkGetDescriptorSetLayoutSupportKHR)loadDeviceAliased(addr, device, "vkGetDescriptorSetLayoutSupport", {"vkGetDescriptorSetLayoutSupportKHR"}))
770 : #endif /* defined(VK_KHR_maintenance3) */
771 : #if defined(VK_KHR_draw_indirect_count)
772 42 : , vkCmdDrawIndirectCountKHR((PFN_vkCmdDrawIndirectCountKHR)loadDeviceAliased(addr, device, "vkCmdDrawIndirectCount", {"vkCmdDrawIndirectCountAMD", "vkCmdDrawIndirectCountKHR"}))
773 42 : , vkCmdDrawIndexedIndirectCountKHR((PFN_vkCmdDrawIndexedIndirectCountKHR)loadDeviceAliased(addr, device, "vkCmdDrawIndexedIndirectCount", {"vkCmdDrawIndexedIndirectCountAMD", "vkCmdDrawIndexedIndirectCountKHR"}))
774 : #endif /* defined(VK_KHR_draw_indirect_count) */
775 : #if defined(VK_EXT_external_memory_host)
776 42 : , vkGetMemoryHostPointerPropertiesEXT((PFN_vkGetMemoryHostPointerPropertiesEXT)addr(device, "vkGetMemoryHostPointerPropertiesEXT"))
777 : #endif /* defined(VK_EXT_external_memory_host) */
778 : #if defined(VK_AMD_buffer_marker)
779 42 : , vkCmdWriteBufferMarkerAMD((PFN_vkCmdWriteBufferMarkerAMD)addr(device, "vkCmdWriteBufferMarkerAMD"))
780 : #endif /* defined(VK_AMD_buffer_marker) */
781 : #if defined(VK_EXT_calibrated_timestamps)
782 42 : , vkGetCalibratedTimestampsEXT((PFN_vkGetCalibratedTimestampsEXT)addr(device, "vkGetCalibratedTimestampsEXT"))
783 : #endif /* defined(VK_EXT_calibrated_timestamps) */
784 : #if defined(VK_NV_mesh_shader)
785 42 : , vkCmdDrawMeshTasksNV((PFN_vkCmdDrawMeshTasksNV)addr(device, "vkCmdDrawMeshTasksNV"))
786 42 : , vkCmdDrawMeshTasksIndirectNV((PFN_vkCmdDrawMeshTasksIndirectNV)addr(device, "vkCmdDrawMeshTasksIndirectNV"))
787 42 : , vkCmdDrawMeshTasksIndirectCountNV((PFN_vkCmdDrawMeshTasksIndirectCountNV)addr(device, "vkCmdDrawMeshTasksIndirectCountNV"))
788 : #endif /* defined(VK_NV_mesh_shader) */
789 : #if defined(VK_NV_scissor_exclusive)
790 : #if (VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION == 2)
791 42 : , vkCmdSetExclusiveScissorEnableNV((PFN_vkCmdSetExclusiveScissorEnableNV)addr(device, "vkCmdSetExclusiveScissorEnableNV"))
792 : #endif
793 42 : , vkCmdSetExclusiveScissorNV((PFN_vkCmdSetExclusiveScissorNV)addr(device, "vkCmdSetExclusiveScissorNV"))
794 : #endif /* defined(VK_NV_scissor_exclusive) */
795 : #if defined(VK_NV_device_diagnostic_checkpoints)
796 42 : , vkCmdSetCheckpointNV((PFN_vkCmdSetCheckpointNV)addr(device, "vkCmdSetCheckpointNV"))
797 42 : , vkGetQueueCheckpointDataNV((PFN_vkGetQueueCheckpointDataNV)addr(device, "vkGetQueueCheckpointDataNV"))
798 : #endif /* defined(VK_NV_device_diagnostic_checkpoints) */
799 : #if defined(VK_KHR_timeline_semaphore)
800 42 : , vkGetSemaphoreCounterValueKHR((PFN_vkGetSemaphoreCounterValueKHR)loadDeviceAliased(addr, device, "vkGetSemaphoreCounterValue", {"vkGetSemaphoreCounterValueKHR"}))
801 42 : , vkWaitSemaphoresKHR((PFN_vkWaitSemaphoresKHR)loadDeviceAliased(addr, device, "vkWaitSemaphores", {"vkWaitSemaphoresKHR"}))
802 42 : , vkSignalSemaphoreKHR((PFN_vkSignalSemaphoreKHR)loadDeviceAliased(addr, device, "vkSignalSemaphore", {"vkSignalSemaphoreKHR"}))
803 : #endif /* defined(VK_KHR_timeline_semaphore) */
804 : #if defined(VK_INTEL_performance_query)
805 42 : , vkInitializePerformanceApiINTEL((PFN_vkInitializePerformanceApiINTEL)addr(device, "vkInitializePerformanceApiINTEL"))
806 42 : , vkUninitializePerformanceApiINTEL((PFN_vkUninitializePerformanceApiINTEL)addr(device, "vkUninitializePerformanceApiINTEL"))
807 42 : , vkCmdSetPerformanceMarkerINTEL((PFN_vkCmdSetPerformanceMarkerINTEL)addr(device, "vkCmdSetPerformanceMarkerINTEL"))
808 42 : , vkCmdSetPerformanceStreamMarkerINTEL((PFN_vkCmdSetPerformanceStreamMarkerINTEL)addr(device, "vkCmdSetPerformanceStreamMarkerINTEL"))
809 42 : , vkCmdSetPerformanceOverrideINTEL((PFN_vkCmdSetPerformanceOverrideINTEL)addr(device, "vkCmdSetPerformanceOverrideINTEL"))
810 42 : , vkAcquirePerformanceConfigurationINTEL((PFN_vkAcquirePerformanceConfigurationINTEL)addr(device, "vkAcquirePerformanceConfigurationINTEL"))
811 42 : , vkReleasePerformanceConfigurationINTEL((PFN_vkReleasePerformanceConfigurationINTEL)addr(device, "vkReleasePerformanceConfigurationINTEL"))
812 42 : , vkQueueSetPerformanceConfigurationINTEL((PFN_vkQueueSetPerformanceConfigurationINTEL)addr(device, "vkQueueSetPerformanceConfigurationINTEL"))
813 42 : , vkGetPerformanceParameterINTEL((PFN_vkGetPerformanceParameterINTEL)addr(device, "vkGetPerformanceParameterINTEL"))
814 : #endif /* defined(VK_INTEL_performance_query) */
815 : #if defined(VK_AMD_display_native_hdr)
816 42 : , vkSetLocalDimmingAMD((PFN_vkSetLocalDimmingAMD)addr(device, "vkSetLocalDimmingAMD"))
817 : #endif /* defined(VK_AMD_display_native_hdr) */
818 : #if defined(VK_KHR_fragment_shading_rate)
819 42 : , vkCmdSetFragmentShadingRateKHR((PFN_vkCmdSetFragmentShadingRateKHR)addr(device, "vkCmdSetFragmentShadingRateKHR"))
820 : #endif /* defined(VK_KHR_fragment_shading_rate) */
821 : #if defined(VK_EXT_buffer_device_address)
822 42 : , vkGetBufferDeviceAddressEXT((PFN_vkGetBufferDeviceAddressEXT)loadDeviceAliased(addr, device, "vkGetBufferDeviceAddress", {"vkGetBufferDeviceAddressEXT", "vkGetBufferDeviceAddressKHR"}))
823 : #endif /* defined(VK_EXT_buffer_device_address) */
824 : #if defined(VK_KHR_present_wait)
825 42 : , vkWaitForPresentKHR((PFN_vkWaitForPresentKHR)addr(device, "vkWaitForPresentKHR"))
826 : #endif /* defined(VK_KHR_present_wait) */
827 : #if defined(VK_EXT_full_screen_exclusive)
828 : , vkAcquireFullScreenExclusiveModeEXT((PFN_vkAcquireFullScreenExclusiveModeEXT)addr(device, "vkAcquireFullScreenExclusiveModeEXT"))
829 : , vkReleaseFullScreenExclusiveModeEXT((PFN_vkReleaseFullScreenExclusiveModeEXT)addr(device, "vkReleaseFullScreenExclusiveModeEXT"))
830 : #endif /* defined(VK_EXT_full_screen_exclusive) */
831 : #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
832 : , vkGetDeviceGroupSurfacePresentModes2EXT((PFN_vkGetDeviceGroupSurfacePresentModes2EXT)addr(device, "vkGetDeviceGroupSurfacePresentModes2EXT"))
833 : #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
834 : #if defined(VK_KHR_buffer_device_address)
835 42 : , vkGetBufferDeviceAddressKHR((PFN_vkGetBufferDeviceAddressKHR)loadDeviceAliased(addr, device, "vkGetBufferDeviceAddress", {"vkGetBufferDeviceAddressEXT", "vkGetBufferDeviceAddressKHR"}))
836 42 : , vkGetBufferOpaqueCaptureAddressKHR((PFN_vkGetBufferOpaqueCaptureAddressKHR)loadDeviceAliased(addr, device, "vkGetBufferOpaqueCaptureAddress", {"vkGetBufferOpaqueCaptureAddressKHR"}))
837 42 : , vkGetDeviceMemoryOpaqueCaptureAddressKHR((PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR)loadDeviceAliased(addr, device, "vkGetDeviceMemoryOpaqueCaptureAddress", {"vkGetDeviceMemoryOpaqueCaptureAddressKHR"}))
838 : #endif /* defined(VK_KHR_buffer_device_address) */
839 : #if defined(VK_EXT_line_rasterization)
840 42 : , vkCmdSetLineStippleEXT((PFN_vkCmdSetLineStippleEXT)addr(device, "vkCmdSetLineStippleEXT"))
841 : #endif /* defined(VK_EXT_line_rasterization) */
842 : #if defined(VK_EXT_host_query_reset)
843 42 : , vkResetQueryPoolEXT((PFN_vkResetQueryPoolEXT)loadDeviceAliased(addr, device, "vkResetQueryPool", {"vkResetQueryPoolEXT"}))
844 : #endif /* defined(VK_EXT_host_query_reset) */
845 : #if defined(VK_EXT_extended_dynamic_state)
846 42 : , vkCmdSetCullModeEXT((PFN_vkCmdSetCullModeEXT)loadDeviceAliased(addr, device, "vkCmdSetCullMode", {"vkCmdSetCullModeEXT"}))
847 42 : , vkCmdSetFrontFaceEXT((PFN_vkCmdSetFrontFaceEXT)loadDeviceAliased(addr, device, "vkCmdSetFrontFace", {"vkCmdSetFrontFaceEXT"}))
848 42 : , vkCmdSetPrimitiveTopologyEXT((PFN_vkCmdSetPrimitiveTopologyEXT)loadDeviceAliased(addr, device, "vkCmdSetPrimitiveTopology", {"vkCmdSetPrimitiveTopologyEXT"}))
849 42 : , vkCmdSetViewportWithCountEXT((PFN_vkCmdSetViewportWithCountEXT)loadDeviceAliased(addr, device, "vkCmdSetViewportWithCount", {"vkCmdSetViewportWithCountEXT"}))
850 42 : , vkCmdSetScissorWithCountEXT((PFN_vkCmdSetScissorWithCountEXT)loadDeviceAliased(addr, device, "vkCmdSetScissorWithCount", {"vkCmdSetScissorWithCountEXT"}))
851 42 : , vkCmdBindVertexBuffers2EXT((PFN_vkCmdBindVertexBuffers2EXT)loadDeviceAliased(addr, device, "vkCmdBindVertexBuffers2", {"vkCmdBindVertexBuffers2EXT"}))
852 42 : , vkCmdSetDepthTestEnableEXT((PFN_vkCmdSetDepthTestEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetDepthTestEnable", {"vkCmdSetDepthTestEnableEXT"}))
853 42 : , vkCmdSetDepthWriteEnableEXT((PFN_vkCmdSetDepthWriteEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetDepthWriteEnable", {"vkCmdSetDepthWriteEnableEXT"}))
854 42 : , vkCmdSetDepthCompareOpEXT((PFN_vkCmdSetDepthCompareOpEXT)loadDeviceAliased(addr, device, "vkCmdSetDepthCompareOp", {"vkCmdSetDepthCompareOpEXT"}))
855 42 : , vkCmdSetDepthBoundsTestEnableEXT((PFN_vkCmdSetDepthBoundsTestEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetDepthBoundsTestEnable", {"vkCmdSetDepthBoundsTestEnableEXT"}))
856 42 : , vkCmdSetStencilTestEnableEXT((PFN_vkCmdSetStencilTestEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetStencilTestEnable", {"vkCmdSetStencilTestEnableEXT"}))
857 42 : , vkCmdSetStencilOpEXT((PFN_vkCmdSetStencilOpEXT)loadDeviceAliased(addr, device, "vkCmdSetStencilOp", {"vkCmdSetStencilOpEXT"}))
858 : #endif /* defined(VK_EXT_extended_dynamic_state) */
859 : #if defined(VK_KHR_deferred_host_operations)
860 42 : , vkCreateDeferredOperationKHR((PFN_vkCreateDeferredOperationKHR)addr(device, "vkCreateDeferredOperationKHR"))
861 42 : , vkDestroyDeferredOperationKHR((PFN_vkDestroyDeferredOperationKHR)addr(device, "vkDestroyDeferredOperationKHR"))
862 42 : , vkGetDeferredOperationMaxConcurrencyKHR((PFN_vkGetDeferredOperationMaxConcurrencyKHR)addr(device, "vkGetDeferredOperationMaxConcurrencyKHR"))
863 42 : , vkGetDeferredOperationResultKHR((PFN_vkGetDeferredOperationResultKHR)addr(device, "vkGetDeferredOperationResultKHR"))
864 42 : , vkDeferredOperationJoinKHR((PFN_vkDeferredOperationJoinKHR)addr(device, "vkDeferredOperationJoinKHR"))
865 : #endif /* defined(VK_KHR_deferred_host_operations) */
866 : #if defined(VK_KHR_pipeline_executable_properties)
867 42 : , vkGetPipelineExecutablePropertiesKHR((PFN_vkGetPipelineExecutablePropertiesKHR)addr(device, "vkGetPipelineExecutablePropertiesKHR"))
868 42 : , vkGetPipelineExecutableStatisticsKHR((PFN_vkGetPipelineExecutableStatisticsKHR)addr(device, "vkGetPipelineExecutableStatisticsKHR"))
869 42 : , vkGetPipelineExecutableInternalRepresentationsKHR((PFN_vkGetPipelineExecutableInternalRepresentationsKHR)addr(device, "vkGetPipelineExecutableInternalRepresentationsKHR"))
870 : #endif /* defined(VK_KHR_pipeline_executable_properties) */
871 : #if defined(VK_EXT_host_image_copy)
872 42 : , vkCopyMemoryToImageEXT((PFN_vkCopyMemoryToImageEXT)addr(device, "vkCopyMemoryToImageEXT"))
873 42 : , vkCopyImageToMemoryEXT((PFN_vkCopyImageToMemoryEXT)addr(device, "vkCopyImageToMemoryEXT"))
874 42 : , vkCopyImageToImageEXT((PFN_vkCopyImageToImageEXT)addr(device, "vkCopyImageToImageEXT"))
875 42 : , vkTransitionImageLayoutEXT((PFN_vkTransitionImageLayoutEXT)addr(device, "vkTransitionImageLayoutEXT"))
876 42 : , vkGetImageSubresourceLayout2EXT((PFN_vkGetImageSubresourceLayout2EXT)loadDeviceAliased(addr, device, "vkGetImageSubresourceLayout2KHR", {"vkGetImageSubresourceLayout2EXT"}))
877 : #endif /* defined(VK_EXT_host_image_copy) */
878 : #if defined(VK_KHR_map_memory2)
879 42 : , vkMapMemory2KHR((PFN_vkMapMemory2KHR)addr(device, "vkMapMemory2KHR"))
880 42 : , vkUnmapMemory2KHR((PFN_vkUnmapMemory2KHR)addr(device, "vkUnmapMemory2KHR"))
881 : #endif /* defined(VK_KHR_map_memory2) */
882 : #if defined(VK_EXT_swapchain_maintenance1)
883 42 : , vkReleaseSwapchainImagesEXT((PFN_vkReleaseSwapchainImagesEXT)addr(device, "vkReleaseSwapchainImagesEXT"))
884 : #endif /* defined(VK_EXT_swapchain_maintenance1) */
885 : #if defined(VK_NV_device_generated_commands)
886 42 : , vkGetGeneratedCommandsMemoryRequirementsNV((PFN_vkGetGeneratedCommandsMemoryRequirementsNV)addr(device, "vkGetGeneratedCommandsMemoryRequirementsNV"))
887 42 : , vkCmdPreprocessGeneratedCommandsNV((PFN_vkCmdPreprocessGeneratedCommandsNV)addr(device, "vkCmdPreprocessGeneratedCommandsNV"))
888 42 : , vkCmdExecuteGeneratedCommandsNV((PFN_vkCmdExecuteGeneratedCommandsNV)addr(device, "vkCmdExecuteGeneratedCommandsNV"))
889 42 : , vkCmdBindPipelineShaderGroupNV((PFN_vkCmdBindPipelineShaderGroupNV)addr(device, "vkCmdBindPipelineShaderGroupNV"))
890 42 : , vkCreateIndirectCommandsLayoutNV((PFN_vkCreateIndirectCommandsLayoutNV)addr(device, "vkCreateIndirectCommandsLayoutNV"))
891 42 : , vkDestroyIndirectCommandsLayoutNV((PFN_vkDestroyIndirectCommandsLayoutNV)addr(device, "vkDestroyIndirectCommandsLayoutNV"))
892 : #endif /* defined(VK_NV_device_generated_commands) */
893 : #if defined(VK_EXT_depth_bias_control)
894 42 : , vkCmdSetDepthBias2EXT((PFN_vkCmdSetDepthBias2EXT)addr(device, "vkCmdSetDepthBias2EXT"))
895 : #endif /* defined(VK_EXT_depth_bias_control) */
896 : #if defined(VK_EXT_private_data)
897 42 : , vkCreatePrivateDataSlotEXT((PFN_vkCreatePrivateDataSlotEXT)loadDeviceAliased(addr, device, "vkCreatePrivateDataSlot", {"vkCreatePrivateDataSlotEXT"}))
898 42 : , vkDestroyPrivateDataSlotEXT((PFN_vkDestroyPrivateDataSlotEXT)loadDeviceAliased(addr, device, "vkDestroyPrivateDataSlot", {"vkDestroyPrivateDataSlotEXT"}))
899 42 : , vkSetPrivateDataEXT((PFN_vkSetPrivateDataEXT)loadDeviceAliased(addr, device, "vkSetPrivateData", {"vkSetPrivateDataEXT"}))
900 42 : , vkGetPrivateDataEXT((PFN_vkGetPrivateDataEXT)loadDeviceAliased(addr, device, "vkGetPrivateData", {"vkGetPrivateDataEXT"}))
901 : #endif /* defined(VK_EXT_private_data) */
902 : #if defined(VK_KHR_video_encode_queue)
903 : , vkGetEncodedVideoSessionParametersKHR((PFN_vkGetEncodedVideoSessionParametersKHR)addr(device, "vkGetEncodedVideoSessionParametersKHR"))
904 : , vkCmdEncodeVideoKHR((PFN_vkCmdEncodeVideoKHR)addr(device, "vkCmdEncodeVideoKHR"))
905 : #endif /* defined(VK_KHR_video_encode_queue) */
906 : #if defined(VK_KHR_object_refresh)
907 : , vkCmdRefreshObjectsKHR((PFN_vkCmdRefreshObjectsKHR)addr(device, "vkCmdRefreshObjectsKHR"))
908 : #endif /* defined(VK_KHR_object_refresh) */
909 : #if defined(VK_EXT_metal_objects)
910 : , vkExportMetalObjectsEXT((PFN_vkExportMetalObjectsEXT)addr(device, "vkExportMetalObjectsEXT"))
911 : #endif /* defined(VK_EXT_metal_objects) */
912 : #if defined(VK_KHR_synchronization2)
913 42 : , vkCmdSetEvent2KHR((PFN_vkCmdSetEvent2KHR)loadDeviceAliased(addr, device, "vkCmdSetEvent2", {"vkCmdSetEvent2KHR"}))
914 42 : , vkCmdResetEvent2KHR((PFN_vkCmdResetEvent2KHR)loadDeviceAliased(addr, device, "vkCmdResetEvent2", {"vkCmdResetEvent2KHR"}))
915 42 : , vkCmdWaitEvents2KHR((PFN_vkCmdWaitEvents2KHR)loadDeviceAliased(addr, device, "vkCmdWaitEvents2", {"vkCmdWaitEvents2KHR"}))
916 42 : , vkCmdPipelineBarrier2KHR((PFN_vkCmdPipelineBarrier2KHR)loadDeviceAliased(addr, device, "vkCmdPipelineBarrier2", {"vkCmdPipelineBarrier2KHR"}))
917 42 : , vkCmdWriteTimestamp2KHR((PFN_vkCmdWriteTimestamp2KHR)loadDeviceAliased(addr, device, "vkCmdWriteTimestamp2", {"vkCmdWriteTimestamp2KHR"}))
918 42 : , vkQueueSubmit2KHR((PFN_vkQueueSubmit2KHR)loadDeviceAliased(addr, device, "vkQueueSubmit2", {"vkQueueSubmit2KHR"}))
919 : #endif /* defined(VK_KHR_synchronization2) */
920 : #if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
921 42 : , vkCmdWriteBufferMarker2AMD((PFN_vkCmdWriteBufferMarker2AMD)addr(device, "vkCmdWriteBufferMarker2AMD"))
922 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
923 : #if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
924 42 : , vkGetQueueCheckpointData2NV((PFN_vkGetQueueCheckpointData2NV)addr(device, "vkGetQueueCheckpointData2NV"))
925 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
926 : #if defined(VK_EXT_descriptor_buffer)
927 42 : , vkGetDescriptorSetLayoutSizeEXT((PFN_vkGetDescriptorSetLayoutSizeEXT)addr(device, "vkGetDescriptorSetLayoutSizeEXT"))
928 42 : , vkGetDescriptorSetLayoutBindingOffsetEXT((PFN_vkGetDescriptorSetLayoutBindingOffsetEXT)addr(device, "vkGetDescriptorSetLayoutBindingOffsetEXT"))
929 42 : , vkGetDescriptorEXT((PFN_vkGetDescriptorEXT)addr(device, "vkGetDescriptorEXT"))
930 42 : , vkCmdBindDescriptorBuffersEXT((PFN_vkCmdBindDescriptorBuffersEXT)addr(device, "vkCmdBindDescriptorBuffersEXT"))
931 42 : , vkCmdSetDescriptorBufferOffsetsEXT((PFN_vkCmdSetDescriptorBufferOffsetsEXT)addr(device, "vkCmdSetDescriptorBufferOffsetsEXT"))
932 42 : , vkCmdBindDescriptorBufferEmbeddedSamplersEXT((PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT)addr(device, "vkCmdBindDescriptorBufferEmbeddedSamplersEXT"))
933 42 : , vkGetBufferOpaqueCaptureDescriptorDataEXT((PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT)addr(device, "vkGetBufferOpaqueCaptureDescriptorDataEXT"))
934 42 : , vkGetImageOpaqueCaptureDescriptorDataEXT((PFN_vkGetImageOpaqueCaptureDescriptorDataEXT)addr(device, "vkGetImageOpaqueCaptureDescriptorDataEXT"))
935 42 : , vkGetImageViewOpaqueCaptureDescriptorDataEXT((PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT)addr(device, "vkGetImageViewOpaqueCaptureDescriptorDataEXT"))
936 42 : , vkGetSamplerOpaqueCaptureDescriptorDataEXT((PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT)addr(device, "vkGetSamplerOpaqueCaptureDescriptorDataEXT"))
937 : #endif /* defined(VK_EXT_descriptor_buffer) */
938 : #if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing))
939 42 : , vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT((PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT)addr(device, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT"))
940 : #endif /* (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing)) */
941 : #if defined(VK_NV_fragment_shading_rate_enums)
942 42 : , vkCmdSetFragmentShadingRateEnumNV((PFN_vkCmdSetFragmentShadingRateEnumNV)addr(device, "vkCmdSetFragmentShadingRateEnumNV"))
943 : #endif /* defined(VK_NV_fragment_shading_rate_enums) */
944 : #if defined(VK_EXT_mesh_shader)
945 42 : , vkCmdDrawMeshTasksEXT((PFN_vkCmdDrawMeshTasksEXT)addr(device, "vkCmdDrawMeshTasksEXT"))
946 42 : , vkCmdDrawMeshTasksIndirectEXT((PFN_vkCmdDrawMeshTasksIndirectEXT)addr(device, "vkCmdDrawMeshTasksIndirectEXT"))
947 42 : , vkCmdDrawMeshTasksIndirectCountEXT((PFN_vkCmdDrawMeshTasksIndirectCountEXT)addr(device, "vkCmdDrawMeshTasksIndirectCountEXT"))
948 : #endif /* defined(VK_EXT_mesh_shader) */
949 : #if defined(VK_KHR_copy_commands2)
950 42 : , vkCmdCopyBuffer2KHR((PFN_vkCmdCopyBuffer2KHR)loadDeviceAliased(addr, device, "vkCmdCopyBuffer2", {"vkCmdCopyBuffer2KHR"}))
951 42 : , vkCmdCopyImage2KHR((PFN_vkCmdCopyImage2KHR)loadDeviceAliased(addr, device, "vkCmdCopyImage2", {"vkCmdCopyImage2KHR"}))
952 42 : , vkCmdCopyBufferToImage2KHR((PFN_vkCmdCopyBufferToImage2KHR)loadDeviceAliased(addr, device, "vkCmdCopyBufferToImage2", {"vkCmdCopyBufferToImage2KHR"}))
953 42 : , vkCmdCopyImageToBuffer2KHR((PFN_vkCmdCopyImageToBuffer2KHR)loadDeviceAliased(addr, device, "vkCmdCopyImageToBuffer2", {"vkCmdCopyImageToBuffer2KHR"}))
954 42 : , vkCmdBlitImage2KHR((PFN_vkCmdBlitImage2KHR)loadDeviceAliased(addr, device, "vkCmdBlitImage2", {"vkCmdBlitImage2KHR"}))
955 42 : , vkCmdResolveImage2KHR((PFN_vkCmdResolveImage2KHR)loadDeviceAliased(addr, device, "vkCmdResolveImage2", {"vkCmdResolveImage2KHR"}))
956 : #endif /* defined(VK_KHR_copy_commands2) */
957 : #if defined(VK_EXT_device_fault)
958 42 : , vkGetDeviceFaultInfoEXT((PFN_vkGetDeviceFaultInfoEXT)addr(device, "vkGetDeviceFaultInfoEXT"))
959 : #endif /* defined(VK_EXT_device_fault) */
960 : #if defined(VK_EXT_vertex_input_dynamic_state)
961 42 : , vkCmdSetVertexInputEXT((PFN_vkCmdSetVertexInputEXT)addr(device, "vkCmdSetVertexInputEXT"))
962 : #endif /* defined(VK_EXT_vertex_input_dynamic_state) */
963 : #if defined(VK_FUCHSIA_external_memory)
964 : , vkGetMemoryZirconHandleFUCHSIA((PFN_vkGetMemoryZirconHandleFUCHSIA)addr(device, "vkGetMemoryZirconHandleFUCHSIA"))
965 : , vkGetMemoryZirconHandlePropertiesFUCHSIA((PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)addr(device, "vkGetMemoryZirconHandlePropertiesFUCHSIA"))
966 : #endif /* defined(VK_FUCHSIA_external_memory) */
967 : #if defined(VK_FUCHSIA_external_semaphore)
968 : , vkImportSemaphoreZirconHandleFUCHSIA((PFN_vkImportSemaphoreZirconHandleFUCHSIA)addr(device, "vkImportSemaphoreZirconHandleFUCHSIA"))
969 : , vkGetSemaphoreZirconHandleFUCHSIA((PFN_vkGetSemaphoreZirconHandleFUCHSIA)addr(device, "vkGetSemaphoreZirconHandleFUCHSIA"))
970 : #endif /* defined(VK_FUCHSIA_external_semaphore) */
971 : #if defined(VK_FUCHSIA_buffer_collection)
972 : , vkCreateBufferCollectionFUCHSIA((PFN_vkCreateBufferCollectionFUCHSIA)addr(device, "vkCreateBufferCollectionFUCHSIA"))
973 : , vkSetBufferCollectionImageConstraintsFUCHSIA((PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)addr(device, "vkSetBufferCollectionImageConstraintsFUCHSIA"))
974 : , vkSetBufferCollectionBufferConstraintsFUCHSIA((PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)addr(device, "vkSetBufferCollectionBufferConstraintsFUCHSIA"))
975 : , vkDestroyBufferCollectionFUCHSIA((PFN_vkDestroyBufferCollectionFUCHSIA)addr(device, "vkDestroyBufferCollectionFUCHSIA"))
976 : , vkGetBufferCollectionPropertiesFUCHSIA((PFN_vkGetBufferCollectionPropertiesFUCHSIA)addr(device, "vkGetBufferCollectionPropertiesFUCHSIA"))
977 : #endif /* defined(VK_FUCHSIA_buffer_collection) */
978 : #if defined(VK_HUAWEI_subpass_shading)
979 42 : , vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI((PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI)addr(device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI"))
980 42 : , vkCmdSubpassShadingHUAWEI((PFN_vkCmdSubpassShadingHUAWEI)addr(device, "vkCmdSubpassShadingHUAWEI"))
981 : #endif /* defined(VK_HUAWEI_subpass_shading) */
982 : #if defined(VK_HUAWEI_invocation_mask)
983 42 : , vkCmdBindInvocationMaskHUAWEI((PFN_vkCmdBindInvocationMaskHUAWEI)addr(device, "vkCmdBindInvocationMaskHUAWEI"))
984 : #endif /* defined(VK_HUAWEI_invocation_mask) */
985 : #if defined(VK_NV_external_memory_rdma)
986 42 : , vkGetMemoryRemoteAddressNV((PFN_vkGetMemoryRemoteAddressNV)addr(device, "vkGetMemoryRemoteAddressNV"))
987 : #endif /* defined(VK_NV_external_memory_rdma) */
988 : #if defined(VK_EXT_pipeline_properties)
989 42 : , vkGetPipelinePropertiesEXT((PFN_vkGetPipelinePropertiesEXT)addr(device, "vkGetPipelinePropertiesEXT"))
990 : #endif /* defined(VK_EXT_pipeline_properties) */
991 : #if defined(VK_NV_external_sci_sync)
992 : , vkGetFenceSciSyncFenceNV((PFN_vkGetFenceSciSyncFenceNV)addr(device, "vkGetFenceSciSyncFenceNV"))
993 : , vkGetFenceSciSyncObjNV((PFN_vkGetFenceSciSyncObjNV)addr(device, "vkGetFenceSciSyncObjNV"))
994 : , vkImportFenceSciSyncFenceNV((PFN_vkImportFenceSciSyncFenceNV)addr(device, "vkImportFenceSciSyncFenceNV"))
995 : , vkImportFenceSciSyncObjNV((PFN_vkImportFenceSciSyncObjNV)addr(device, "vkImportFenceSciSyncObjNV"))
996 : , vkGetSemaphoreSciSyncObjNV((PFN_vkGetSemaphoreSciSyncObjNV)addr(device, "vkGetSemaphoreSciSyncObjNV"))
997 : , vkImportSemaphoreSciSyncObjNV((PFN_vkImportSemaphoreSciSyncObjNV)addr(device, "vkImportSemaphoreSciSyncObjNV"))
998 : #endif /* defined(VK_NV_external_sci_sync) */
999 : #if defined(VK_NV_external_memory_sci_buf)
1000 : , vkGetMemorySciBufNV((PFN_vkGetMemorySciBufNV)addr(device, "vkGetMemorySciBufNV"))
1001 : #endif /* defined(VK_NV_external_memory_sci_buf) */
1002 : #if defined(VK_EXT_extended_dynamic_state2)
1003 42 : , vkCmdSetPatchControlPointsEXT((PFN_vkCmdSetPatchControlPointsEXT)addr(device, "vkCmdSetPatchControlPointsEXT"))
1004 42 : , vkCmdSetRasterizerDiscardEnableEXT((PFN_vkCmdSetRasterizerDiscardEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetRasterizerDiscardEnable", {"vkCmdSetRasterizerDiscardEnableEXT"}))
1005 42 : , vkCmdSetDepthBiasEnableEXT((PFN_vkCmdSetDepthBiasEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetDepthBiasEnable", {"vkCmdSetDepthBiasEnableEXT"}))
1006 42 : , vkCmdSetLogicOpEXT((PFN_vkCmdSetLogicOpEXT)addr(device, "vkCmdSetLogicOpEXT"))
1007 42 : , vkCmdSetPrimitiveRestartEnableEXT((PFN_vkCmdSetPrimitiveRestartEnableEXT)loadDeviceAliased(addr, device, "vkCmdSetPrimitiveRestartEnable", {"vkCmdSetPrimitiveRestartEnableEXT"}))
1008 : #endif /* defined(VK_EXT_extended_dynamic_state2) */
1009 : #if defined(VK_EXT_color_write_enable)
1010 42 : , vkCmdSetColorWriteEnableEXT((PFN_vkCmdSetColorWriteEnableEXT)addr(device, "vkCmdSetColorWriteEnableEXT"))
1011 : #endif /* defined(VK_EXT_color_write_enable) */
1012 : #if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
1013 42 : , vkCmdTraceRaysIndirect2KHR((PFN_vkCmdTraceRaysIndirect2KHR)addr(device, "vkCmdTraceRaysIndirect2KHR"))
1014 : #endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
1015 : #if defined(VK_EXT_multi_draw)
1016 42 : , vkCmdDrawMultiEXT((PFN_vkCmdDrawMultiEXT)addr(device, "vkCmdDrawMultiEXT"))
1017 42 : , vkCmdDrawMultiIndexedEXT((PFN_vkCmdDrawMultiIndexedEXT)addr(device, "vkCmdDrawMultiIndexedEXT"))
1018 : #endif /* defined(VK_EXT_multi_draw) */
1019 : #if defined(VK_EXT_opacity_micromap)
1020 42 : , vkCreateMicromapEXT((PFN_vkCreateMicromapEXT)addr(device, "vkCreateMicromapEXT"))
1021 42 : , vkDestroyMicromapEXT((PFN_vkDestroyMicromapEXT)addr(device, "vkDestroyMicromapEXT"))
1022 42 : , vkCmdBuildMicromapsEXT((PFN_vkCmdBuildMicromapsEXT)addr(device, "vkCmdBuildMicromapsEXT"))
1023 42 : , vkBuildMicromapsEXT((PFN_vkBuildMicromapsEXT)addr(device, "vkBuildMicromapsEXT"))
1024 42 : , vkCopyMicromapEXT((PFN_vkCopyMicromapEXT)addr(device, "vkCopyMicromapEXT"))
1025 42 : , vkCopyMicromapToMemoryEXT((PFN_vkCopyMicromapToMemoryEXT)addr(device, "vkCopyMicromapToMemoryEXT"))
1026 42 : , vkCopyMemoryToMicromapEXT((PFN_vkCopyMemoryToMicromapEXT)addr(device, "vkCopyMemoryToMicromapEXT"))
1027 42 : , vkWriteMicromapsPropertiesEXT((PFN_vkWriteMicromapsPropertiesEXT)addr(device, "vkWriteMicromapsPropertiesEXT"))
1028 42 : , vkCmdCopyMicromapEXT((PFN_vkCmdCopyMicromapEXT)addr(device, "vkCmdCopyMicromapEXT"))
1029 42 : , vkCmdCopyMicromapToMemoryEXT((PFN_vkCmdCopyMicromapToMemoryEXT)addr(device, "vkCmdCopyMicromapToMemoryEXT"))
1030 42 : , vkCmdCopyMemoryToMicromapEXT((PFN_vkCmdCopyMemoryToMicromapEXT)addr(device, "vkCmdCopyMemoryToMicromapEXT"))
1031 42 : , vkCmdWriteMicromapsPropertiesEXT((PFN_vkCmdWriteMicromapsPropertiesEXT)addr(device, "vkCmdWriteMicromapsPropertiesEXT"))
1032 42 : , vkGetDeviceMicromapCompatibilityEXT((PFN_vkGetDeviceMicromapCompatibilityEXT)addr(device, "vkGetDeviceMicromapCompatibilityEXT"))
1033 42 : , vkGetMicromapBuildSizesEXT((PFN_vkGetMicromapBuildSizesEXT)addr(device, "vkGetMicromapBuildSizesEXT"))
1034 : #endif /* defined(VK_EXT_opacity_micromap) */
1035 : #if defined(VK_HUAWEI_cluster_culling_shader)
1036 42 : , vkCmdDrawClusterHUAWEI((PFN_vkCmdDrawClusterHUAWEI)addr(device, "vkCmdDrawClusterHUAWEI"))
1037 42 : , vkCmdDrawClusterIndirectHUAWEI((PFN_vkCmdDrawClusterIndirectHUAWEI)addr(device, "vkCmdDrawClusterIndirectHUAWEI"))
1038 : #endif /* defined(VK_HUAWEI_cluster_culling_shader) */
1039 : #if defined(VK_EXT_pageable_device_local_memory)
1040 42 : , vkSetDeviceMemoryPriorityEXT((PFN_vkSetDeviceMemoryPriorityEXT)addr(device, "vkSetDeviceMemoryPriorityEXT"))
1041 : #endif /* defined(VK_EXT_pageable_device_local_memory) */
1042 : #if defined(VK_KHR_maintenance4)
1043 42 : , vkGetDeviceBufferMemoryRequirementsKHR((PFN_vkGetDeviceBufferMemoryRequirementsKHR)loadDeviceAliased(addr, device, "vkGetDeviceBufferMemoryRequirements", {"vkGetDeviceBufferMemoryRequirementsKHR"}))
1044 42 : , vkGetDeviceImageMemoryRequirementsKHR((PFN_vkGetDeviceImageMemoryRequirementsKHR)loadDeviceAliased(addr, device, "vkGetDeviceImageMemoryRequirements", {"vkGetDeviceImageMemoryRequirementsKHR"}))
1045 42 : , vkGetDeviceImageSparseMemoryRequirementsKHR((PFN_vkGetDeviceImageSparseMemoryRequirementsKHR)loadDeviceAliased(addr, device, "vkGetDeviceImageSparseMemoryRequirements", {"vkGetDeviceImageSparseMemoryRequirementsKHR"}))
1046 : #endif /* defined(VK_KHR_maintenance4) */
1047 : #if defined(VK_VALVE_descriptor_set_host_mapping)
1048 42 : , vkGetDescriptorSetLayoutHostMappingInfoVALVE((PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE)addr(device, "vkGetDescriptorSetLayoutHostMappingInfoVALVE"))
1049 42 : , vkGetDescriptorSetHostMappingVALVE((PFN_vkGetDescriptorSetHostMappingVALVE)addr(device, "vkGetDescriptorSetHostMappingVALVE"))
1050 : #endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
1051 : #if defined(VK_NV_copy_memory_indirect)
1052 42 : , vkCmdCopyMemoryIndirectNV((PFN_vkCmdCopyMemoryIndirectNV)addr(device, "vkCmdCopyMemoryIndirectNV"))
1053 42 : , vkCmdCopyMemoryToImageIndirectNV((PFN_vkCmdCopyMemoryToImageIndirectNV)addr(device, "vkCmdCopyMemoryToImageIndirectNV"))
1054 : #endif /* defined(VK_NV_copy_memory_indirect) */
1055 : #if defined(VK_NV_memory_decompression)
1056 42 : , vkCmdDecompressMemoryNV((PFN_vkCmdDecompressMemoryNV)addr(device, "vkCmdDecompressMemoryNV"))
1057 42 : , vkCmdDecompressMemoryIndirectCountNV((PFN_vkCmdDecompressMemoryIndirectCountNV)addr(device, "vkCmdDecompressMemoryIndirectCountNV"))
1058 : #endif /* defined(VK_NV_memory_decompression) */
1059 : #if defined(VK_NV_device_generated_commands_compute)
1060 42 : , vkGetPipelineIndirectMemoryRequirementsNV((PFN_vkGetPipelineIndirectMemoryRequirementsNV)addr(device, "vkGetPipelineIndirectMemoryRequirementsNV"))
1061 42 : , vkCmdUpdatePipelineIndirectBufferNV((PFN_vkCmdUpdatePipelineIndirectBufferNV)addr(device, "vkCmdUpdatePipelineIndirectBufferNV"))
1062 42 : , vkGetPipelineIndirectDeviceAddressNV((PFN_vkGetPipelineIndirectDeviceAddressNV)addr(device, "vkGetPipelineIndirectDeviceAddressNV"))
1063 : #endif /* defined(VK_NV_device_generated_commands_compute) */
1064 : #if defined(VK_EXT_extended_dynamic_state3)
1065 42 : , vkCmdSetTessellationDomainOriginEXT((PFN_vkCmdSetTessellationDomainOriginEXT)addr(device, "vkCmdSetTessellationDomainOriginEXT"))
1066 42 : , vkCmdSetDepthClampEnableEXT((PFN_vkCmdSetDepthClampEnableEXT)addr(device, "vkCmdSetDepthClampEnableEXT"))
1067 42 : , vkCmdSetPolygonModeEXT((PFN_vkCmdSetPolygonModeEXT)addr(device, "vkCmdSetPolygonModeEXT"))
1068 42 : , vkCmdSetRasterizationSamplesEXT((PFN_vkCmdSetRasterizationSamplesEXT)addr(device, "vkCmdSetRasterizationSamplesEXT"))
1069 42 : , vkCmdSetSampleMaskEXT((PFN_vkCmdSetSampleMaskEXT)addr(device, "vkCmdSetSampleMaskEXT"))
1070 42 : , vkCmdSetAlphaToCoverageEnableEXT((PFN_vkCmdSetAlphaToCoverageEnableEXT)addr(device, "vkCmdSetAlphaToCoverageEnableEXT"))
1071 42 : , vkCmdSetAlphaToOneEnableEXT((PFN_vkCmdSetAlphaToOneEnableEXT)addr(device, "vkCmdSetAlphaToOneEnableEXT"))
1072 42 : , vkCmdSetLogicOpEnableEXT((PFN_vkCmdSetLogicOpEnableEXT)addr(device, "vkCmdSetLogicOpEnableEXT"))
1073 42 : , vkCmdSetColorBlendEnableEXT((PFN_vkCmdSetColorBlendEnableEXT)addr(device, "vkCmdSetColorBlendEnableEXT"))
1074 42 : , vkCmdSetColorBlendEquationEXT((PFN_vkCmdSetColorBlendEquationEXT)addr(device, "vkCmdSetColorBlendEquationEXT"))
1075 42 : , vkCmdSetColorWriteMaskEXT((PFN_vkCmdSetColorWriteMaskEXT)addr(device, "vkCmdSetColorWriteMaskEXT"))
1076 42 : , vkCmdSetRasterizationStreamEXT((PFN_vkCmdSetRasterizationStreamEXT)addr(device, "vkCmdSetRasterizationStreamEXT"))
1077 42 : , vkCmdSetConservativeRasterizationModeEXT((PFN_vkCmdSetConservativeRasterizationModeEXT)addr(device, "vkCmdSetConservativeRasterizationModeEXT"))
1078 42 : , vkCmdSetExtraPrimitiveOverestimationSizeEXT((PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT)addr(device, "vkCmdSetExtraPrimitiveOverestimationSizeEXT"))
1079 42 : , vkCmdSetDepthClipEnableEXT((PFN_vkCmdSetDepthClipEnableEXT)addr(device, "vkCmdSetDepthClipEnableEXT"))
1080 42 : , vkCmdSetSampleLocationsEnableEXT((PFN_vkCmdSetSampleLocationsEnableEXT)addr(device, "vkCmdSetSampleLocationsEnableEXT"))
1081 42 : , vkCmdSetColorBlendAdvancedEXT((PFN_vkCmdSetColorBlendAdvancedEXT)addr(device, "vkCmdSetColorBlendAdvancedEXT"))
1082 42 : , vkCmdSetProvokingVertexModeEXT((PFN_vkCmdSetProvokingVertexModeEXT)addr(device, "vkCmdSetProvokingVertexModeEXT"))
1083 42 : , vkCmdSetLineRasterizationModeEXT((PFN_vkCmdSetLineRasterizationModeEXT)addr(device, "vkCmdSetLineRasterizationModeEXT"))
1084 42 : , vkCmdSetLineStippleEnableEXT((PFN_vkCmdSetLineStippleEnableEXT)addr(device, "vkCmdSetLineStippleEnableEXT"))
1085 42 : , vkCmdSetDepthClipNegativeOneToOneEXT((PFN_vkCmdSetDepthClipNegativeOneToOneEXT)addr(device, "vkCmdSetDepthClipNegativeOneToOneEXT"))
1086 : #endif /* defined(VK_EXT_extended_dynamic_state3) */
1087 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling))
1088 42 : , vkCmdSetViewportWScalingEnableNV((PFN_vkCmdSetViewportWScalingEnableNV)addr(device, "vkCmdSetViewportWScalingEnableNV"))
1089 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling)) */
1090 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode))
1091 42 : , vkCmdSetCoverageReductionModeNV((PFN_vkCmdSetCoverageReductionModeNV)addr(device, "vkCmdSetCoverageReductionModeNV"))
1092 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode)) */
1093 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color))
1094 42 : , vkCmdSetCoverageToColorEnableNV((PFN_vkCmdSetCoverageToColorEnableNV)addr(device, "vkCmdSetCoverageToColorEnableNV"))
1095 42 : , vkCmdSetCoverageToColorLocationNV((PFN_vkCmdSetCoverageToColorLocationNV)addr(device, "vkCmdSetCoverageToColorLocationNV"))
1096 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color)) */
1097 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples))
1098 42 : , vkCmdSetCoverageModulationModeNV((PFN_vkCmdSetCoverageModulationModeNV)addr(device, "vkCmdSetCoverageModulationModeNV"))
1099 42 : , vkCmdSetCoverageModulationTableEnableNV((PFN_vkCmdSetCoverageModulationTableEnableNV)addr(device, "vkCmdSetCoverageModulationTableEnableNV"))
1100 42 : , vkCmdSetCoverageModulationTableNV((PFN_vkCmdSetCoverageModulationTableNV)addr(device, "vkCmdSetCoverageModulationTableNV"))
1101 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples)) */
1102 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test))
1103 42 : , vkCmdSetRepresentativeFragmentTestEnableNV((PFN_vkCmdSetRepresentativeFragmentTestEnableNV)addr(device, "vkCmdSetRepresentativeFragmentTestEnableNV"))
1104 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test)) */
1105 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image))
1106 42 : , vkCmdSetShadingRateImageEnableNV((PFN_vkCmdSetShadingRateImageEnableNV)addr(device, "vkCmdSetShadingRateImageEnableNV"))
1107 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image)) */
1108 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle))
1109 42 : , vkCmdSetViewportSwizzleNV((PFN_vkCmdSetViewportSwizzleNV)addr(device, "vkCmdSetViewportSwizzleNV"))
1110 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle)) */
1111 : #if defined(VK_EXT_shader_module_identifier)
1112 42 : , vkGetShaderModuleIdentifierEXT((PFN_vkGetShaderModuleIdentifierEXT)addr(device, "vkGetShaderModuleIdentifierEXT"))
1113 42 : , vkGetShaderModuleCreateInfoIdentifierEXT((PFN_vkGetShaderModuleCreateInfoIdentifierEXT)addr(device, "vkGetShaderModuleCreateInfoIdentifierEXT"))
1114 : #endif /* defined(VK_EXT_shader_module_identifier) */
1115 : #if defined(VK_NV_optical_flow)
1116 42 : , vkCreateOpticalFlowSessionNV((PFN_vkCreateOpticalFlowSessionNV)addr(device, "vkCreateOpticalFlowSessionNV"))
1117 42 : , vkDestroyOpticalFlowSessionNV((PFN_vkDestroyOpticalFlowSessionNV)addr(device, "vkDestroyOpticalFlowSessionNV"))
1118 42 : , vkBindOpticalFlowSessionImageNV((PFN_vkBindOpticalFlowSessionImageNV)addr(device, "vkBindOpticalFlowSessionImageNV"))
1119 42 : , vkCmdOpticalFlowExecuteNV((PFN_vkCmdOpticalFlowExecuteNV)addr(device, "vkCmdOpticalFlowExecuteNV"))
1120 : #endif /* defined(VK_NV_optical_flow) */
1121 : #if defined(VK_KHR_maintenance5)
1122 42 : , vkCmdBindIndexBuffer2KHR((PFN_vkCmdBindIndexBuffer2KHR)addr(device, "vkCmdBindIndexBuffer2KHR"))
1123 42 : , vkGetRenderingAreaGranularityKHR((PFN_vkGetRenderingAreaGranularityKHR)addr(device, "vkGetRenderingAreaGranularityKHR"))
1124 42 : , vkGetDeviceImageSubresourceLayoutKHR((PFN_vkGetDeviceImageSubresourceLayoutKHR)addr(device, "vkGetDeviceImageSubresourceLayoutKHR"))
1125 42 : , vkGetImageSubresourceLayout2KHR((PFN_vkGetImageSubresourceLayout2KHR)loadDeviceAliased(addr, device, "vkGetImageSubresourceLayout2KHR", {"vkGetImageSubresourceLayout2EXT"}))
1126 : #endif /* defined(VK_KHR_maintenance5) */
1127 : #if defined(VK_EXT_shader_object)
1128 42 : , vkCreateShadersEXT((PFN_vkCreateShadersEXT)addr(device, "vkCreateShadersEXT"))
1129 42 : , vkDestroyShaderEXT((PFN_vkDestroyShaderEXT)addr(device, "vkDestroyShaderEXT"))
1130 42 : , vkGetShaderBinaryDataEXT((PFN_vkGetShaderBinaryDataEXT)addr(device, "vkGetShaderBinaryDataEXT"))
1131 42 : , vkCmdBindShadersEXT((PFN_vkCmdBindShadersEXT)addr(device, "vkCmdBindShadersEXT"))
1132 : #endif /* defined(VK_EXT_shader_object) */
1133 : #if defined(VK_QCOM_tile_properties)
1134 42 : , vkGetFramebufferTilePropertiesQCOM((PFN_vkGetFramebufferTilePropertiesQCOM)addr(device, "vkGetFramebufferTilePropertiesQCOM"))
1135 42 : , vkGetDynamicRenderingTilePropertiesQCOM((PFN_vkGetDynamicRenderingTilePropertiesQCOM)addr(device, "vkGetDynamicRenderingTilePropertiesQCOM"))
1136 : #endif /* defined(VK_QCOM_tile_properties) */
1137 : #if defined(VK_NV_external_sci_sync2)
1138 : , vkCreateSemaphoreSciSyncPoolNV((PFN_vkCreateSemaphoreSciSyncPoolNV)addr(device, "vkCreateSemaphoreSciSyncPoolNV"))
1139 : , vkDestroySemaphoreSciSyncPoolNV((PFN_vkDestroySemaphoreSciSyncPoolNV)addr(device, "vkDestroySemaphoreSciSyncPoolNV"))
1140 : #endif /* defined(VK_NV_external_sci_sync2) */
1141 : #if defined(VK_EXT_attachment_feedback_loop_dynamic_state)
1142 42 : , vkCmdSetAttachmentFeedbackLoopEnableEXT((PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT)addr(device, "vkCmdSetAttachmentFeedbackLoopEnableEXT"))
1143 : #endif /* defined(VK_EXT_attachment_feedback_loop_dynamic_state) */
1144 : #if defined(VK_QNX_external_memory_screen_buffer)
1145 : , vkGetScreenBufferPropertiesQNX((PFN_vkGetScreenBufferPropertiesQNX)addr(device, "vkGetScreenBufferPropertiesQNX"))
1146 : #endif /* defined(VK_QNX_external_memory_screen_buffer) */
1147 42 : { }
1148 :
1149 : #if VK_HOOK_DEBUG
1150 : #if defined(VK_VERSION_1_0)
1151 :
1152 : static PFN_vkVoidFunction xl_hook_tl_instanceHookTable_vkGetInstanceProcAddr(VkInstance instance, const char* pName) {
1153 : auto __fn = tl_instanceHookTable.table->vkGetInstanceProcAddr;
1154 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetInstanceProcAddr) {
1155 : __fn = tl_instanceHookTable.replace->vkGetInstanceProcAddr;
1156 : }
1157 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetInstanceProcAddr", (PFN_vkVoidFunction)__fn); }
1158 : auto ret = __fn(instance, pName);
1159 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetInstanceProcAddr", (PFN_vkVoidFunction)__fn); }
1160 : return ret;
1161 : }
1162 :
1163 : static void xl_hook_tl_instanceHookTable_vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) {
1164 : auto __fn = tl_instanceHookTable.table->vkDestroyInstance;
1165 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkDestroyInstance) {
1166 : __fn = tl_instanceHookTable.replace->vkDestroyInstance;
1167 : }
1168 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkDestroyInstance", (PFN_vkVoidFunction)__fn); }
1169 : __fn(instance, pAllocator);
1170 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkDestroyInstance", (PFN_vkVoidFunction)__fn); }
1171 : }
1172 :
1173 : static VkResult xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) {
1174 : auto __fn = tl_instanceHookTable.table->vkEnumeratePhysicalDevices;
1175 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumeratePhysicalDevices) {
1176 : __fn = tl_instanceHookTable.replace->vkEnumeratePhysicalDevices;
1177 : }
1178 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDevices", (PFN_vkVoidFunction)__fn); }
1179 : auto ret = __fn(instance, pPhysicalDeviceCount, pPhysicalDevices);
1180 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDevices", (PFN_vkVoidFunction)__fn); }
1181 : return ret;
1182 : }
1183 :
1184 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) {
1185 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFeatures;
1186 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures) {
1187 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures;
1188 : }
1189 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures", (PFN_vkVoidFunction)__fn); }
1190 : __fn(physicalDevice, pFeatures);
1191 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures", (PFN_vkVoidFunction)__fn); }
1192 : }
1193 :
1194 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties) {
1195 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFormatProperties;
1196 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties) {
1197 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties;
1198 : }
1199 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties", (PFN_vkVoidFunction)__fn); }
1200 : __fn(physicalDevice, format, pFormatProperties);
1201 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties", (PFN_vkVoidFunction)__fn); }
1202 : }
1203 :
1204 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) {
1205 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceImageFormatProperties;
1206 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties) {
1207 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties;
1208 : }
1209 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties", (PFN_vkVoidFunction)__fn); }
1210 : auto ret = __fn(physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties);
1211 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties", (PFN_vkVoidFunction)__fn); }
1212 : return ret;
1213 : }
1214 :
1215 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties) {
1216 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceProperties;
1217 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties) {
1218 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties;
1219 : }
1220 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties", (PFN_vkVoidFunction)__fn); }
1221 : __fn(physicalDevice, pProperties);
1222 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties", (PFN_vkVoidFunction)__fn); }
1223 : }
1224 :
1225 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) {
1226 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceQueueFamilyProperties;
1227 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties) {
1228 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties;
1229 : }
1230 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties", (PFN_vkVoidFunction)__fn); }
1231 : __fn(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
1232 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties", (PFN_vkVoidFunction)__fn); }
1233 : }
1234 :
1235 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties) {
1236 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceMemoryProperties;
1237 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties) {
1238 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties;
1239 : }
1240 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties", (PFN_vkVoidFunction)__fn); }
1241 : __fn(physicalDevice, pMemoryProperties);
1242 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties", (PFN_vkVoidFunction)__fn); }
1243 : }
1244 :
1245 : static PFN_vkVoidFunction xl_hook_tl_instanceHookTable_vkGetDeviceProcAddr(VkDevice device, const char* pName) {
1246 : auto __fn = tl_instanceHookTable.table->vkGetDeviceProcAddr;
1247 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDeviceProcAddr) {
1248 : __fn = tl_instanceHookTable.replace->vkGetDeviceProcAddr;
1249 : }
1250 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDeviceProcAddr", (PFN_vkVoidFunction)__fn); }
1251 : auto ret = __fn(device, pName);
1252 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDeviceProcAddr", (PFN_vkVoidFunction)__fn); }
1253 : return ret;
1254 : }
1255 :
1256 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice) {
1257 : auto __fn = tl_instanceHookTable.table->vkCreateDevice;
1258 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDevice) {
1259 : __fn = tl_instanceHookTable.replace->vkCreateDevice;
1260 : }
1261 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDevice", (PFN_vkVoidFunction)__fn); }
1262 : auto ret = __fn(physicalDevice, pCreateInfo, pAllocator, pDevice);
1263 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDevice", (PFN_vkVoidFunction)__fn); }
1264 : return ret;
1265 : }
1266 :
1267 : static VkResult xl_hook_tl_instanceHookTable_vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties) {
1268 : auto __fn = tl_instanceHookTable.table->vkEnumerateDeviceExtensionProperties;
1269 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumerateDeviceExtensionProperties) {
1270 : __fn = tl_instanceHookTable.replace->vkEnumerateDeviceExtensionProperties;
1271 : }
1272 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumerateDeviceExtensionProperties", (PFN_vkVoidFunction)__fn); }
1273 : auto ret = __fn(physicalDevice, pLayerName, pPropertyCount, pProperties);
1274 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumerateDeviceExtensionProperties", (PFN_vkVoidFunction)__fn); }
1275 : return ret;
1276 : }
1277 :
1278 : static VkResult xl_hook_tl_instanceHookTable_vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties) {
1279 : auto __fn = tl_instanceHookTable.table->vkEnumerateDeviceLayerProperties;
1280 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumerateDeviceLayerProperties) {
1281 : __fn = tl_instanceHookTable.replace->vkEnumerateDeviceLayerProperties;
1282 : }
1283 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumerateDeviceLayerProperties", (PFN_vkVoidFunction)__fn); }
1284 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
1285 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumerateDeviceLayerProperties", (PFN_vkVoidFunction)__fn); }
1286 : return ret;
1287 : }
1288 :
1289 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) {
1290 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSparseImageFormatProperties;
1291 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties) {
1292 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties;
1293 : }
1294 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties", (PFN_vkVoidFunction)__fn); }
1295 : __fn(physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties);
1296 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties", (PFN_vkVoidFunction)__fn); }
1297 : }
1298 :
1299 : #endif /* defined(VK_VERSION_1_0) */
1300 :
1301 : #if defined(VK_VERSION_1_1)
1302 :
1303 : static VkResult xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties) {
1304 : auto __fn = tl_instanceHookTable.table->vkEnumeratePhysicalDeviceGroups;
1305 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceGroups) {
1306 : __fn = tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceGroups;
1307 : }
1308 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceGroups", (PFN_vkVoidFunction)__fn); }
1309 : auto ret = __fn(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
1310 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceGroups", (PFN_vkVoidFunction)__fn); }
1311 : return ret;
1312 : }
1313 :
1314 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures) {
1315 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFeatures2;
1316 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures2) {
1317 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures2;
1318 : }
1319 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures2", (PFN_vkVoidFunction)__fn); }
1320 : __fn(physicalDevice, pFeatures);
1321 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures2", (PFN_vkVoidFunction)__fn); }
1322 : }
1323 :
1324 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties) {
1325 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceProperties2;
1326 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties2) {
1327 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties2;
1328 : }
1329 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties2", (PFN_vkVoidFunction)__fn); }
1330 : __fn(physicalDevice, pProperties);
1331 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties2", (PFN_vkVoidFunction)__fn); }
1332 : }
1333 :
1334 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties) {
1335 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFormatProperties2;
1336 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties2) {
1337 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties2;
1338 : }
1339 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties2", (PFN_vkVoidFunction)__fn); }
1340 : __fn(physicalDevice, format, pFormatProperties);
1341 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties2", (PFN_vkVoidFunction)__fn); }
1342 : }
1343 :
1344 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties) {
1345 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceImageFormatProperties2;
1346 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties2) {
1347 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties2;
1348 : }
1349 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties2", (PFN_vkVoidFunction)__fn); }
1350 : auto ret = __fn(physicalDevice, pImageFormatInfo, pImageFormatProperties);
1351 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties2", (PFN_vkVoidFunction)__fn); }
1352 : return ret;
1353 : }
1354 :
1355 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties2(VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties) {
1356 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceQueueFamilyProperties2;
1357 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties2) {
1358 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties2;
1359 : }
1360 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties2", (PFN_vkVoidFunction)__fn); }
1361 : __fn(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
1362 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties2", (PFN_vkVoidFunction)__fn); }
1363 : }
1364 :
1365 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties) {
1366 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceMemoryProperties2;
1367 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties2) {
1368 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties2;
1369 : }
1370 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties2", (PFN_vkVoidFunction)__fn); }
1371 : __fn(physicalDevice, pMemoryProperties);
1372 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties2", (PFN_vkVoidFunction)__fn); }
1373 : }
1374 :
1375 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties) {
1376 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSparseImageFormatProperties2;
1377 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties2) {
1378 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties2;
1379 : }
1380 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties2", (PFN_vkVoidFunction)__fn); }
1381 : __fn(physicalDevice, pFormatInfo, pPropertyCount, pProperties);
1382 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties2", (PFN_vkVoidFunction)__fn); }
1383 : }
1384 :
1385 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalBufferProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties) {
1386 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalBufferProperties;
1387 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalBufferProperties) {
1388 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalBufferProperties;
1389 : }
1390 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalBufferProperties", (PFN_vkVoidFunction)__fn); }
1391 : __fn(physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
1392 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalBufferProperties", (PFN_vkVoidFunction)__fn); }
1393 : }
1394 :
1395 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalFenceProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties) {
1396 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalFenceProperties;
1397 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalFenceProperties) {
1398 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalFenceProperties;
1399 : }
1400 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalFenceProperties", (PFN_vkVoidFunction)__fn); }
1401 : __fn(physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
1402 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalFenceProperties", (PFN_vkVoidFunction)__fn); }
1403 : }
1404 :
1405 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalSemaphoreProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties) {
1406 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalSemaphoreProperties;
1407 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalSemaphoreProperties) {
1408 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalSemaphoreProperties;
1409 : }
1410 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalSemaphoreProperties", (PFN_vkVoidFunction)__fn); }
1411 : __fn(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
1412 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalSemaphoreProperties", (PFN_vkVoidFunction)__fn); }
1413 : }
1414 :
1415 : #endif /* defined(VK_VERSION_1_1) */
1416 :
1417 : #if defined(VK_VERSION_1_3)
1418 :
1419 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceToolProperties(VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties) {
1420 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceToolProperties;
1421 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceToolProperties) {
1422 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceToolProperties;
1423 : }
1424 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceToolProperties", (PFN_vkVoidFunction)__fn); }
1425 : auto ret = __fn(physicalDevice, pToolCount, pToolProperties);
1426 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceToolProperties", (PFN_vkVoidFunction)__fn); }
1427 : return ret;
1428 : }
1429 :
1430 : #endif /* defined(VK_VERSION_1_3) */
1431 :
1432 : #if defined(VK_KHR_surface)
1433 :
1434 : static void xl_hook_tl_instanceHookTable_vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) {
1435 : auto __fn = tl_instanceHookTable.table->vkDestroySurfaceKHR;
1436 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkDestroySurfaceKHR) {
1437 : __fn = tl_instanceHookTable.replace->vkDestroySurfaceKHR;
1438 : }
1439 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkDestroySurfaceKHR", (PFN_vkVoidFunction)__fn); }
1440 : __fn(instance, surface, pAllocator);
1441 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkDestroySurfaceKHR", (PFN_vkVoidFunction)__fn); }
1442 : }
1443 :
1444 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) {
1445 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceSupportKHR;
1446 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceSupportKHR) {
1447 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceSupportKHR;
1448 : }
1449 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceSupportKHR", (PFN_vkVoidFunction)__fn); }
1450 : auto ret = __fn(physicalDevice, queueFamilyIndex, surface, pSupported);
1451 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceSupportKHR", (PFN_vkVoidFunction)__fn); }
1452 : return ret;
1453 : }
1454 :
1455 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) {
1456 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
1457 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilitiesKHR) {
1458 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
1459 : }
1460 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1461 : auto ret = __fn(physicalDevice, surface, pSurfaceCapabilities);
1462 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1463 : return ret;
1464 : }
1465 :
1466 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) {
1467 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceFormatsKHR;
1468 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceFormatsKHR) {
1469 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceFormatsKHR;
1470 : }
1471 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceFormatsKHR", (PFN_vkVoidFunction)__fn); }
1472 : auto ret = __fn(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
1473 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceFormatsKHR", (PFN_vkVoidFunction)__fn); }
1474 : return ret;
1475 : }
1476 :
1477 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) {
1478 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfacePresentModesKHR;
1479 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfacePresentModesKHR) {
1480 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfacePresentModesKHR;
1481 : }
1482 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfacePresentModesKHR", (PFN_vkVoidFunction)__fn); }
1483 : auto ret = __fn(physicalDevice, surface, pPresentModeCount, pPresentModes);
1484 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfacePresentModesKHR", (PFN_vkVoidFunction)__fn); }
1485 : return ret;
1486 : }
1487 :
1488 : #endif /* defined(VK_KHR_surface) */
1489 :
1490 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
1491 :
1492 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pRectCount, VkRect2D* pRects) {
1493 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDevicePresentRectanglesKHR;
1494 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDevicePresentRectanglesKHR) {
1495 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDevicePresentRectanglesKHR;
1496 : }
1497 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDevicePresentRectanglesKHR", (PFN_vkVoidFunction)__fn); }
1498 : auto ret = __fn(physicalDevice, surface, pRectCount, pRects);
1499 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDevicePresentRectanglesKHR", (PFN_vkVoidFunction)__fn); }
1500 : return ret;
1501 : }
1502 :
1503 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
1504 :
1505 : #if defined(VK_KHR_display)
1506 :
1507 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPropertiesKHR* pProperties) {
1508 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceDisplayPropertiesKHR;
1509 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPropertiesKHR) {
1510 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPropertiesKHR;
1511 : }
1512 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1513 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
1514 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1515 : return ret;
1516 : }
1517 :
1518 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties) {
1519 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceDisplayPlanePropertiesKHR;
1520 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPlanePropertiesKHR) {
1521 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPlanePropertiesKHR;
1522 : }
1523 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1524 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
1525 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1526 : return ret;
1527 : }
1528 :
1529 : static VkResult xl_hook_tl_instanceHookTable_vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint32_t planeIndex, uint32_t* pDisplayCount, VkDisplayKHR* pDisplays) {
1530 : auto __fn = tl_instanceHookTable.table->vkGetDisplayPlaneSupportedDisplaysKHR;
1531 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDisplayPlaneSupportedDisplaysKHR) {
1532 : __fn = tl_instanceHookTable.replace->vkGetDisplayPlaneSupportedDisplaysKHR;
1533 : }
1534 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneSupportedDisplaysKHR", (PFN_vkVoidFunction)__fn); }
1535 : auto ret = __fn(physicalDevice, planeIndex, pDisplayCount, pDisplays);
1536 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneSupportedDisplaysKHR", (PFN_vkVoidFunction)__fn); }
1537 : return ret;
1538 : }
1539 :
1540 : static VkResult xl_hook_tl_instanceHookTable_vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModePropertiesKHR* pProperties) {
1541 : auto __fn = tl_instanceHookTable.table->vkGetDisplayModePropertiesKHR;
1542 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDisplayModePropertiesKHR) {
1543 : __fn = tl_instanceHookTable.replace->vkGetDisplayModePropertiesKHR;
1544 : }
1545 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDisplayModePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1546 : auto ret = __fn(physicalDevice, display, pPropertyCount, pProperties);
1547 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDisplayModePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1548 : return ret;
1549 : }
1550 :
1551 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) {
1552 : auto __fn = tl_instanceHookTable.table->vkCreateDisplayModeKHR;
1553 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDisplayModeKHR) {
1554 : __fn = tl_instanceHookTable.replace->vkCreateDisplayModeKHR;
1555 : }
1556 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDisplayModeKHR", (PFN_vkVoidFunction)__fn); }
1557 : auto ret = __fn(physicalDevice, display, pCreateInfo, pAllocator, pMode);
1558 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDisplayModeKHR", (PFN_vkVoidFunction)__fn); }
1559 : return ret;
1560 : }
1561 :
1562 : static VkResult xl_hook_tl_instanceHookTable_vkGetDisplayPlaneCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint32_t planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities) {
1563 : auto __fn = tl_instanceHookTable.table->vkGetDisplayPlaneCapabilitiesKHR;
1564 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDisplayPlaneCapabilitiesKHR) {
1565 : __fn = tl_instanceHookTable.replace->vkGetDisplayPlaneCapabilitiesKHR;
1566 : }
1567 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1568 : auto ret = __fn(physicalDevice, mode, planeIndex, pCapabilities);
1569 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1570 : return ret;
1571 : }
1572 :
1573 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1574 : auto __fn = tl_instanceHookTable.table->vkCreateDisplayPlaneSurfaceKHR;
1575 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDisplayPlaneSurfaceKHR) {
1576 : __fn = tl_instanceHookTable.replace->vkCreateDisplayPlaneSurfaceKHR;
1577 : }
1578 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDisplayPlaneSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1579 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1580 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDisplayPlaneSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1581 : return ret;
1582 : }
1583 :
1584 : #endif /* defined(VK_KHR_display) */
1585 :
1586 : #if defined(VK_KHR_xlib_surface)
1587 :
1588 : static VkResult xl_hook_tl_instanceHookTable_vkCreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1589 : auto __fn = tl_instanceHookTable.table->vkCreateXlibSurfaceKHR;
1590 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateXlibSurfaceKHR) {
1591 : __fn = tl_instanceHookTable.replace->vkCreateXlibSurfaceKHR;
1592 : }
1593 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateXlibSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1594 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1595 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateXlibSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1596 : return ret;
1597 : }
1598 :
1599 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceXlibPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, Display* dpy, VisualID visualID) {
1600 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceXlibPresentationSupportKHR;
1601 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceXlibPresentationSupportKHR) {
1602 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceXlibPresentationSupportKHR;
1603 : }
1604 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceXlibPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1605 : auto ret = __fn(physicalDevice, queueFamilyIndex, dpy, visualID);
1606 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceXlibPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1607 : return ret;
1608 : }
1609 :
1610 : #endif /* defined(VK_KHR_xlib_surface) */
1611 :
1612 : #if defined(VK_KHR_xcb_surface)
1613 :
1614 : static VkResult xl_hook_tl_instanceHookTable_vkCreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1615 : auto __fn = tl_instanceHookTable.table->vkCreateXcbSurfaceKHR;
1616 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateXcbSurfaceKHR) {
1617 : __fn = tl_instanceHookTable.replace->vkCreateXcbSurfaceKHR;
1618 : }
1619 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateXcbSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1620 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1621 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateXcbSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1622 : return ret;
1623 : }
1624 :
1625 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id) {
1626 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceXcbPresentationSupportKHR;
1627 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceXcbPresentationSupportKHR) {
1628 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceXcbPresentationSupportKHR;
1629 : }
1630 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceXcbPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1631 : auto ret = __fn(physicalDevice, queueFamilyIndex, connection, visual_id);
1632 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceXcbPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1633 : return ret;
1634 : }
1635 :
1636 : #endif /* defined(VK_KHR_xcb_surface) */
1637 :
1638 : #if defined(VK_KHR_wayland_surface)
1639 :
1640 : static VkResult xl_hook_tl_instanceHookTable_vkCreateWaylandSurfaceKHR(VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1641 : auto __fn = tl_instanceHookTable.table->vkCreateWaylandSurfaceKHR;
1642 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateWaylandSurfaceKHR) {
1643 : __fn = tl_instanceHookTable.replace->vkCreateWaylandSurfaceKHR;
1644 : }
1645 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateWaylandSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1646 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1647 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateWaylandSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1648 : return ret;
1649 : }
1650 :
1651 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceWaylandPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct wl_display* display) {
1652 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceWaylandPresentationSupportKHR;
1653 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceWaylandPresentationSupportKHR) {
1654 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceWaylandPresentationSupportKHR;
1655 : }
1656 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceWaylandPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1657 : auto ret = __fn(physicalDevice, queueFamilyIndex, display);
1658 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceWaylandPresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1659 : return ret;
1660 : }
1661 :
1662 : #endif /* defined(VK_KHR_wayland_surface) */
1663 :
1664 : #if defined(VK_KHR_android_surface)
1665 :
1666 : static VkResult xl_hook_tl_instanceHookTable_vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1667 : auto __fn = tl_instanceHookTable.table->vkCreateAndroidSurfaceKHR;
1668 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateAndroidSurfaceKHR) {
1669 : __fn = tl_instanceHookTable.replace->vkCreateAndroidSurfaceKHR;
1670 : }
1671 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateAndroidSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1672 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1673 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateAndroidSurfaceKHR", (PFN_vkVoidFunction)__fn); }
1674 : return ret;
1675 : }
1676 :
1677 : #endif /* defined(VK_KHR_android_surface) */
1678 :
1679 : #if defined(VK_KHR_win32_surface)
1680 :
1681 : static VkResult xl_hook_tl_instanceHookTable_vkCreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1682 : auto __fn = tl_instanceHookTable.table->vkCreateWin32SurfaceKHR;
1683 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateWin32SurfaceKHR) {
1684 : __fn = tl_instanceHookTable.replace->vkCreateWin32SurfaceKHR;
1685 : }
1686 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateWin32SurfaceKHR", (PFN_vkVoidFunction)__fn); }
1687 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1688 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateWin32SurfaceKHR", (PFN_vkVoidFunction)__fn); }
1689 : return ret;
1690 : }
1691 :
1692 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex) {
1693 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceWin32PresentationSupportKHR;
1694 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceWin32PresentationSupportKHR) {
1695 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceWin32PresentationSupportKHR;
1696 : }
1697 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceWin32PresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1698 : auto ret = __fn(physicalDevice, queueFamilyIndex);
1699 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceWin32PresentationSupportKHR", (PFN_vkVoidFunction)__fn); }
1700 : return ret;
1701 : }
1702 :
1703 : #endif /* defined(VK_KHR_win32_surface) */
1704 :
1705 : #if defined(VK_EXT_debug_report)
1706 :
1707 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback) {
1708 : auto __fn = tl_instanceHookTable.table->vkCreateDebugReportCallbackEXT;
1709 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDebugReportCallbackEXT) {
1710 : __fn = tl_instanceHookTable.replace->vkCreateDebugReportCallbackEXT;
1711 : }
1712 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDebugReportCallbackEXT", (PFN_vkVoidFunction)__fn); }
1713 : auto ret = __fn(instance, pCreateInfo, pAllocator, pCallback);
1714 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDebugReportCallbackEXT", (PFN_vkVoidFunction)__fn); }
1715 : return ret;
1716 : }
1717 :
1718 : static void xl_hook_tl_instanceHookTable_vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator) {
1719 : auto __fn = tl_instanceHookTable.table->vkDestroyDebugReportCallbackEXT;
1720 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkDestroyDebugReportCallbackEXT) {
1721 : __fn = tl_instanceHookTable.replace->vkDestroyDebugReportCallbackEXT;
1722 : }
1723 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkDestroyDebugReportCallbackEXT", (PFN_vkVoidFunction)__fn); }
1724 : __fn(instance, callback, pAllocator);
1725 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkDestroyDebugReportCallbackEXT", (PFN_vkVoidFunction)__fn); }
1726 : }
1727 :
1728 : static void xl_hook_tl_instanceHookTable_vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage) {
1729 : auto __fn = tl_instanceHookTable.table->vkDebugReportMessageEXT;
1730 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkDebugReportMessageEXT) {
1731 : __fn = tl_instanceHookTable.replace->vkDebugReportMessageEXT;
1732 : }
1733 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkDebugReportMessageEXT", (PFN_vkVoidFunction)__fn); }
1734 : __fn(instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage);
1735 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkDebugReportMessageEXT", (PFN_vkVoidFunction)__fn); }
1736 : }
1737 :
1738 : #endif /* defined(VK_EXT_debug_report) */
1739 :
1740 : #if defined(VK_KHR_video_queue)
1741 :
1742 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice physicalDevice, const VkVideoProfileInfoKHR* pVideoProfile, VkVideoCapabilitiesKHR* pCapabilities) {
1743 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceVideoCapabilitiesKHR;
1744 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoCapabilitiesKHR) {
1745 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoCapabilitiesKHR;
1746 : }
1747 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1748 : auto ret = __fn(physicalDevice, pVideoProfile, pCapabilities);
1749 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
1750 : return ret;
1751 : }
1752 :
1753 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, uint32_t* pVideoFormatPropertyCount, VkVideoFormatPropertiesKHR* pVideoFormatProperties) {
1754 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceVideoFormatPropertiesKHR;
1755 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoFormatPropertiesKHR) {
1756 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoFormatPropertiesKHR;
1757 : }
1758 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoFormatPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1759 : auto ret = __fn(physicalDevice, pVideoFormatInfo, pVideoFormatPropertyCount, pVideoFormatProperties);
1760 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoFormatPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1761 : return ret;
1762 : }
1763 :
1764 : #endif /* defined(VK_KHR_video_queue) */
1765 :
1766 : #if defined(VK_GGP_stream_descriptor_surface)
1767 :
1768 : static VkResult xl_hook_tl_instanceHookTable_vkCreateStreamDescriptorSurfaceGGP(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1769 : auto __fn = tl_instanceHookTable.table->vkCreateStreamDescriptorSurfaceGGP;
1770 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateStreamDescriptorSurfaceGGP) {
1771 : __fn = tl_instanceHookTable.replace->vkCreateStreamDescriptorSurfaceGGP;
1772 : }
1773 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateStreamDescriptorSurfaceGGP", (PFN_vkVoidFunction)__fn); }
1774 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1775 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateStreamDescriptorSurfaceGGP", (PFN_vkVoidFunction)__fn); }
1776 : return ret;
1777 : }
1778 :
1779 : #endif /* defined(VK_GGP_stream_descriptor_surface) */
1780 :
1781 : #if defined(VK_NV_external_memory_capabilities)
1782 :
1783 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalImageFormatPropertiesNV(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties) {
1784 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalImageFormatPropertiesNV;
1785 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalImageFormatPropertiesNV) {
1786 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalImageFormatPropertiesNV;
1787 : }
1788 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV", (PFN_vkVoidFunction)__fn); }
1789 : auto ret = __fn(physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties);
1790 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV", (PFN_vkVoidFunction)__fn); }
1791 : return ret;
1792 : }
1793 :
1794 : #endif /* defined(VK_NV_external_memory_capabilities) */
1795 :
1796 : #if defined(VK_KHR_get_physical_device_properties2)
1797 :
1798 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2KHR* pFeatures) {
1799 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFeatures2KHR;
1800 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures2KHR) {
1801 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFeatures2KHR;
1802 : }
1803 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures2KHR", (PFN_vkVoidFunction)__fn); }
1804 : __fn(physicalDevice, pFeatures);
1805 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFeatures2KHR", (PFN_vkVoidFunction)__fn); }
1806 : }
1807 :
1808 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2KHR* pProperties) {
1809 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceProperties2KHR;
1810 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties2KHR) {
1811 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceProperties2KHR;
1812 : }
1813 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties2KHR", (PFN_vkVoidFunction)__fn); }
1814 : __fn(physicalDevice, pProperties);
1815 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceProperties2KHR", (PFN_vkVoidFunction)__fn); }
1816 : }
1817 :
1818 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2KHR* pFormatProperties) {
1819 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFormatProperties2KHR;
1820 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties2KHR) {
1821 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFormatProperties2KHR;
1822 : }
1823 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1824 : __fn(physicalDevice, format, pFormatProperties);
1825 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1826 : }
1827 :
1828 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2KHR* pImageFormatInfo, VkImageFormatProperties2KHR* pImageFormatProperties) {
1829 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceImageFormatProperties2KHR;
1830 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties2KHR) {
1831 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceImageFormatProperties2KHR;
1832 : }
1833 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1834 : auto ret = __fn(physicalDevice, pImageFormatInfo, pImageFormatProperties);
1835 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceImageFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1836 : return ret;
1837 : }
1838 :
1839 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2KHR* pQueueFamilyProperties) {
1840 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceQueueFamilyProperties2KHR;
1841 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties2KHR) {
1842 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyProperties2KHR;
1843 : }
1844 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties2KHR", (PFN_vkVoidFunction)__fn); }
1845 : __fn(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
1846 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyProperties2KHR", (PFN_vkVoidFunction)__fn); }
1847 : }
1848 :
1849 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2KHR* pMemoryProperties) {
1850 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceMemoryProperties2KHR;
1851 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties2KHR) {
1852 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceMemoryProperties2KHR;
1853 : }
1854 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties2KHR", (PFN_vkVoidFunction)__fn); }
1855 : __fn(physicalDevice, pMemoryProperties);
1856 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMemoryProperties2KHR", (PFN_vkVoidFunction)__fn); }
1857 : }
1858 :
1859 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) {
1860 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSparseImageFormatProperties2KHR;
1861 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties2KHR) {
1862 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSparseImageFormatProperties2KHR;
1863 : }
1864 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1865 : __fn(physicalDevice, pFormatInfo, pPropertyCount, pProperties);
1866 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR", (PFN_vkVoidFunction)__fn); }
1867 : }
1868 :
1869 : #endif /* defined(VK_KHR_get_physical_device_properties2) */
1870 :
1871 : #if defined(VK_NN_vi_surface)
1872 :
1873 : static VkResult xl_hook_tl_instanceHookTable_vkCreateViSurfaceNN(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1874 : auto __fn = tl_instanceHookTable.table->vkCreateViSurfaceNN;
1875 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateViSurfaceNN) {
1876 : __fn = tl_instanceHookTable.replace->vkCreateViSurfaceNN;
1877 : }
1878 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateViSurfaceNN", (PFN_vkVoidFunction)__fn); }
1879 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
1880 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateViSurfaceNN", (PFN_vkVoidFunction)__fn); }
1881 : return ret;
1882 : }
1883 :
1884 : #endif /* defined(VK_NN_vi_surface) */
1885 :
1886 : #if defined(VK_KHR_device_group_creation)
1887 :
1888 : static VkResult xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceGroupsKHR(VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupPropertiesKHR* pPhysicalDeviceGroupProperties) {
1889 : auto __fn = tl_instanceHookTable.table->vkEnumeratePhysicalDeviceGroupsKHR;
1890 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceGroupsKHR) {
1891 : __fn = tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceGroupsKHR;
1892 : }
1893 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceGroupsKHR", (PFN_vkVoidFunction)__fn); }
1894 : auto ret = __fn(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
1895 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceGroupsKHR", (PFN_vkVoidFunction)__fn); }
1896 : return ret;
1897 : }
1898 :
1899 : #endif /* defined(VK_KHR_device_group_creation) */
1900 :
1901 : #if defined(VK_KHR_external_memory_capabilities)
1902 :
1903 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfoKHR* pExternalBufferInfo, VkExternalBufferPropertiesKHR* pExternalBufferProperties) {
1904 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalBufferPropertiesKHR;
1905 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalBufferPropertiesKHR) {
1906 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalBufferPropertiesKHR;
1907 : }
1908 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalBufferPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1909 : __fn(physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
1910 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalBufferPropertiesKHR", (PFN_vkVoidFunction)__fn); }
1911 : }
1912 :
1913 : #endif /* defined(VK_KHR_external_memory_capabilities) */
1914 :
1915 : #if defined(VK_KHR_external_semaphore_capabilities)
1916 :
1917 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfoKHR* pExternalSemaphoreInfo, VkExternalSemaphorePropertiesKHR* pExternalSemaphoreProperties) {
1918 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR;
1919 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR) {
1920 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR;
1921 : }
1922 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1923 : __fn(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
1924 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1925 : }
1926 :
1927 : #endif /* defined(VK_KHR_external_semaphore_capabilities) */
1928 :
1929 : #if defined(VK_EXT_direct_mode_display)
1930 :
1931 : static VkResult xl_hook_tl_instanceHookTable_vkReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayKHR display) {
1932 : auto __fn = tl_instanceHookTable.table->vkReleaseDisplayEXT;
1933 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkReleaseDisplayEXT) {
1934 : __fn = tl_instanceHookTable.replace->vkReleaseDisplayEXT;
1935 : }
1936 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkReleaseDisplayEXT", (PFN_vkVoidFunction)__fn); }
1937 : auto ret = __fn(physicalDevice, display);
1938 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkReleaseDisplayEXT", (PFN_vkVoidFunction)__fn); }
1939 : return ret;
1940 : }
1941 :
1942 : #endif /* defined(VK_EXT_direct_mode_display) */
1943 :
1944 : #if defined(VK_EXT_acquire_xlib_display)
1945 :
1946 : static VkResult xl_hook_tl_instanceHookTable_vkAcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display) {
1947 : auto __fn = tl_instanceHookTable.table->vkAcquireXlibDisplayEXT;
1948 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkAcquireXlibDisplayEXT) {
1949 : __fn = tl_instanceHookTable.replace->vkAcquireXlibDisplayEXT;
1950 : }
1951 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkAcquireXlibDisplayEXT", (PFN_vkVoidFunction)__fn); }
1952 : auto ret = __fn(physicalDevice, dpy, display);
1953 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkAcquireXlibDisplayEXT", (PFN_vkVoidFunction)__fn); }
1954 : return ret;
1955 : }
1956 :
1957 : static VkResult xl_hook_tl_instanceHookTable_vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay) {
1958 : auto __fn = tl_instanceHookTable.table->vkGetRandROutputDisplayEXT;
1959 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetRandROutputDisplayEXT) {
1960 : __fn = tl_instanceHookTable.replace->vkGetRandROutputDisplayEXT;
1961 : }
1962 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetRandROutputDisplayEXT", (PFN_vkVoidFunction)__fn); }
1963 : auto ret = __fn(physicalDevice, dpy, rrOutput, pDisplay);
1964 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetRandROutputDisplayEXT", (PFN_vkVoidFunction)__fn); }
1965 : return ret;
1966 : }
1967 :
1968 : #endif /* defined(VK_EXT_acquire_xlib_display) */
1969 :
1970 : #if defined(VK_EXT_display_surface_counter)
1971 :
1972 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities) {
1973 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceCapabilities2EXT;
1974 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilities2EXT) {
1975 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilities2EXT;
1976 : }
1977 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilities2EXT", (PFN_vkVoidFunction)__fn); }
1978 : auto ret = __fn(physicalDevice, surface, pSurfaceCapabilities);
1979 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilities2EXT", (PFN_vkVoidFunction)__fn); }
1980 : return ret;
1981 : }
1982 :
1983 : #endif /* defined(VK_EXT_display_surface_counter) */
1984 :
1985 : #if defined(VK_KHR_external_fence_capabilities)
1986 :
1987 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfoKHR* pExternalFenceInfo, VkExternalFencePropertiesKHR* pExternalFenceProperties) {
1988 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalFencePropertiesKHR;
1989 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalFencePropertiesKHR) {
1990 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalFencePropertiesKHR;
1991 : }
1992 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalFencePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1993 : __fn(physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
1994 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalFencePropertiesKHR", (PFN_vkVoidFunction)__fn); }
1995 : }
1996 :
1997 : #endif /* defined(VK_KHR_external_fence_capabilities) */
1998 :
1999 : #if defined(VK_KHR_performance_query)
2000 :
2001 : static VkResult xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t* pCounterCount, VkPerformanceCounterKHR* pCounters, VkPerformanceCounterDescriptionKHR* pCounterDescriptions) {
2002 : auto __fn = tl_instanceHookTable.table->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR;
2003 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR) {
2004 : __fn = tl_instanceHookTable.replace->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR;
2005 : }
2006 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", (PFN_vkVoidFunction)__fn); }
2007 : auto ret = __fn(physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions);
2008 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", (PFN_vkVoidFunction)__fn); }
2009 : return ret;
2010 : }
2011 :
2012 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo, uint32_t* pNumPasses) {
2013 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR;
2014 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR) {
2015 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR;
2016 : }
2017 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR", (PFN_vkVoidFunction)__fn); }
2018 : __fn(physicalDevice, pPerformanceQueryCreateInfo, pNumPasses);
2019 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR", (PFN_vkVoidFunction)__fn); }
2020 : }
2021 :
2022 : #endif /* defined(VK_KHR_performance_query) */
2023 :
2024 : #if defined(VK_KHR_get_surface_capabilities2)
2025 :
2026 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities) {
2027 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceCapabilities2KHR;
2028 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilities2KHR) {
2029 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceCapabilities2KHR;
2030 : }
2031 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilities2KHR", (PFN_vkVoidFunction)__fn); }
2032 : auto ret = __fn(physicalDevice, pSurfaceInfo, pSurfaceCapabilities);
2033 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceCapabilities2KHR", (PFN_vkVoidFunction)__fn); }
2034 : return ret;
2035 : }
2036 :
2037 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) {
2038 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfaceFormats2KHR;
2039 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceFormats2KHR) {
2040 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfaceFormats2KHR;
2041 : }
2042 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceFormats2KHR", (PFN_vkVoidFunction)__fn); }
2043 : auto ret = __fn(physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats);
2044 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfaceFormats2KHR", (PFN_vkVoidFunction)__fn); }
2045 : return ret;
2046 : }
2047 :
2048 : #endif /* defined(VK_KHR_get_surface_capabilities2) */
2049 :
2050 : #if defined(VK_KHR_get_display_properties2)
2051 :
2052 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayProperties2KHR(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayProperties2KHR* pProperties) {
2053 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceDisplayProperties2KHR;
2054 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayProperties2KHR) {
2055 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayProperties2KHR;
2056 : }
2057 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayProperties2KHR", (PFN_vkVoidFunction)__fn); }
2058 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
2059 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayProperties2KHR", (PFN_vkVoidFunction)__fn); }
2060 : return ret;
2061 : }
2062 :
2063 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPlaneProperties2KHR(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlaneProperties2KHR* pProperties) {
2064 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceDisplayPlaneProperties2KHR;
2065 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPlaneProperties2KHR) {
2066 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceDisplayPlaneProperties2KHR;
2067 : }
2068 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR", (PFN_vkVoidFunction)__fn); }
2069 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
2070 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR", (PFN_vkVoidFunction)__fn); }
2071 : return ret;
2072 : }
2073 :
2074 : static VkResult xl_hook_tl_instanceHookTable_vkGetDisplayModeProperties2KHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModeProperties2KHR* pProperties) {
2075 : auto __fn = tl_instanceHookTable.table->vkGetDisplayModeProperties2KHR;
2076 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDisplayModeProperties2KHR) {
2077 : __fn = tl_instanceHookTable.replace->vkGetDisplayModeProperties2KHR;
2078 : }
2079 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDisplayModeProperties2KHR", (PFN_vkVoidFunction)__fn); }
2080 : auto ret = __fn(physicalDevice, display, pPropertyCount, pProperties);
2081 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDisplayModeProperties2KHR", (PFN_vkVoidFunction)__fn); }
2082 : return ret;
2083 : }
2084 :
2085 : static VkResult xl_hook_tl_instanceHookTable_vkGetDisplayPlaneCapabilities2KHR(VkPhysicalDevice physicalDevice, const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR* pCapabilities) {
2086 : auto __fn = tl_instanceHookTable.table->vkGetDisplayPlaneCapabilities2KHR;
2087 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDisplayPlaneCapabilities2KHR) {
2088 : __fn = tl_instanceHookTable.replace->vkGetDisplayPlaneCapabilities2KHR;
2089 : }
2090 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneCapabilities2KHR", (PFN_vkVoidFunction)__fn); }
2091 : auto ret = __fn(physicalDevice, pDisplayPlaneInfo, pCapabilities);
2092 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDisplayPlaneCapabilities2KHR", (PFN_vkVoidFunction)__fn); }
2093 : return ret;
2094 : }
2095 :
2096 : #endif /* defined(VK_KHR_get_display_properties2) */
2097 :
2098 : #if defined(VK_MVK_ios_surface)
2099 :
2100 : static VkResult xl_hook_tl_instanceHookTable_vkCreateIOSSurfaceMVK(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2101 : auto __fn = tl_instanceHookTable.table->vkCreateIOSSurfaceMVK;
2102 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateIOSSurfaceMVK) {
2103 : __fn = tl_instanceHookTable.replace->vkCreateIOSSurfaceMVK;
2104 : }
2105 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateIOSSurfaceMVK", (PFN_vkVoidFunction)__fn); }
2106 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2107 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateIOSSurfaceMVK", (PFN_vkVoidFunction)__fn); }
2108 : return ret;
2109 : }
2110 :
2111 : #endif /* defined(VK_MVK_ios_surface) */
2112 :
2113 : #if defined(VK_MVK_macos_surface)
2114 :
2115 : static VkResult xl_hook_tl_instanceHookTable_vkCreateMacOSSurfaceMVK(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2116 : auto __fn = tl_instanceHookTable.table->vkCreateMacOSSurfaceMVK;
2117 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateMacOSSurfaceMVK) {
2118 : __fn = tl_instanceHookTable.replace->vkCreateMacOSSurfaceMVK;
2119 : }
2120 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateMacOSSurfaceMVK", (PFN_vkVoidFunction)__fn); }
2121 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2122 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateMacOSSurfaceMVK", (PFN_vkVoidFunction)__fn); }
2123 : return ret;
2124 : }
2125 :
2126 : #endif /* defined(VK_MVK_macos_surface) */
2127 :
2128 : #if defined(VK_EXT_debug_utils)
2129 :
2130 : static VkResult xl_hook_tl_instanceHookTable_vkSetDebugUtilsObjectNameEXT(VkDevice device, const VkDebugUtilsObjectNameInfoEXT* pNameInfo) {
2131 : auto __fn = tl_instanceHookTable.table->vkSetDebugUtilsObjectNameEXT;
2132 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkSetDebugUtilsObjectNameEXT) {
2133 : __fn = tl_instanceHookTable.replace->vkSetDebugUtilsObjectNameEXT;
2134 : }
2135 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkSetDebugUtilsObjectNameEXT", (PFN_vkVoidFunction)__fn); }
2136 : auto ret = __fn(device, pNameInfo);
2137 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkSetDebugUtilsObjectNameEXT", (PFN_vkVoidFunction)__fn); }
2138 : return ret;
2139 : }
2140 :
2141 : static VkResult xl_hook_tl_instanceHookTable_vkSetDebugUtilsObjectTagEXT(VkDevice device, const VkDebugUtilsObjectTagInfoEXT* pTagInfo) {
2142 : auto __fn = tl_instanceHookTable.table->vkSetDebugUtilsObjectTagEXT;
2143 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkSetDebugUtilsObjectTagEXT) {
2144 : __fn = tl_instanceHookTable.replace->vkSetDebugUtilsObjectTagEXT;
2145 : }
2146 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkSetDebugUtilsObjectTagEXT", (PFN_vkVoidFunction)__fn); }
2147 : auto ret = __fn(device, pTagInfo);
2148 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkSetDebugUtilsObjectTagEXT", (PFN_vkVoidFunction)__fn); }
2149 : return ret;
2150 : }
2151 :
2152 : static void xl_hook_tl_instanceHookTable_vkQueueBeginDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo) {
2153 : auto __fn = tl_instanceHookTable.table->vkQueueBeginDebugUtilsLabelEXT;
2154 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkQueueBeginDebugUtilsLabelEXT) {
2155 : __fn = tl_instanceHookTable.replace->vkQueueBeginDebugUtilsLabelEXT;
2156 : }
2157 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkQueueBeginDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2158 : __fn(queue, pLabelInfo);
2159 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkQueueBeginDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2160 : }
2161 :
2162 : static void xl_hook_tl_instanceHookTable_vkQueueEndDebugUtilsLabelEXT(VkQueue queue) {
2163 : auto __fn = tl_instanceHookTable.table->vkQueueEndDebugUtilsLabelEXT;
2164 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkQueueEndDebugUtilsLabelEXT) {
2165 : __fn = tl_instanceHookTable.replace->vkQueueEndDebugUtilsLabelEXT;
2166 : }
2167 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkQueueEndDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2168 : __fn(queue);
2169 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkQueueEndDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2170 : }
2171 :
2172 : static void xl_hook_tl_instanceHookTable_vkQueueInsertDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo) {
2173 : auto __fn = tl_instanceHookTable.table->vkQueueInsertDebugUtilsLabelEXT;
2174 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkQueueInsertDebugUtilsLabelEXT) {
2175 : __fn = tl_instanceHookTable.replace->vkQueueInsertDebugUtilsLabelEXT;
2176 : }
2177 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkQueueInsertDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2178 : __fn(queue, pLabelInfo);
2179 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkQueueInsertDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2180 : }
2181 :
2182 : static void xl_hook_tl_instanceHookTable_vkCmdBeginDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo) {
2183 : auto __fn = tl_instanceHookTable.table->vkCmdBeginDebugUtilsLabelEXT;
2184 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCmdBeginDebugUtilsLabelEXT) {
2185 : __fn = tl_instanceHookTable.replace->vkCmdBeginDebugUtilsLabelEXT;
2186 : }
2187 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCmdBeginDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2188 : __fn(commandBuffer, pLabelInfo);
2189 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCmdBeginDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2190 : }
2191 :
2192 : static void xl_hook_tl_instanceHookTable_vkCmdEndDebugUtilsLabelEXT(VkCommandBuffer commandBuffer) {
2193 : auto __fn = tl_instanceHookTable.table->vkCmdEndDebugUtilsLabelEXT;
2194 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCmdEndDebugUtilsLabelEXT) {
2195 : __fn = tl_instanceHookTable.replace->vkCmdEndDebugUtilsLabelEXT;
2196 : }
2197 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCmdEndDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2198 : __fn(commandBuffer);
2199 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCmdEndDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2200 : }
2201 :
2202 : static void xl_hook_tl_instanceHookTable_vkCmdInsertDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo) {
2203 : auto __fn = tl_instanceHookTable.table->vkCmdInsertDebugUtilsLabelEXT;
2204 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCmdInsertDebugUtilsLabelEXT) {
2205 : __fn = tl_instanceHookTable.replace->vkCmdInsertDebugUtilsLabelEXT;
2206 : }
2207 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCmdInsertDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2208 : __fn(commandBuffer, pLabelInfo);
2209 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCmdInsertDebugUtilsLabelEXT", (PFN_vkVoidFunction)__fn); }
2210 : }
2211 :
2212 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger) {
2213 : auto __fn = tl_instanceHookTable.table->vkCreateDebugUtilsMessengerEXT;
2214 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDebugUtilsMessengerEXT) {
2215 : __fn = tl_instanceHookTable.replace->vkCreateDebugUtilsMessengerEXT;
2216 : }
2217 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDebugUtilsMessengerEXT", (PFN_vkVoidFunction)__fn); }
2218 : auto ret = __fn(instance, pCreateInfo, pAllocator, pMessenger);
2219 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDebugUtilsMessengerEXT", (PFN_vkVoidFunction)__fn); }
2220 : return ret;
2221 : }
2222 :
2223 : static void xl_hook_tl_instanceHookTable_vkDestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator) {
2224 : auto __fn = tl_instanceHookTable.table->vkDestroyDebugUtilsMessengerEXT;
2225 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkDestroyDebugUtilsMessengerEXT) {
2226 : __fn = tl_instanceHookTable.replace->vkDestroyDebugUtilsMessengerEXT;
2227 : }
2228 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkDestroyDebugUtilsMessengerEXT", (PFN_vkVoidFunction)__fn); }
2229 : __fn(instance, messenger, pAllocator);
2230 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkDestroyDebugUtilsMessengerEXT", (PFN_vkVoidFunction)__fn); }
2231 : }
2232 :
2233 : static void xl_hook_tl_instanceHookTable_vkSubmitDebugUtilsMessageEXT(VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData) {
2234 : auto __fn = tl_instanceHookTable.table->vkSubmitDebugUtilsMessageEXT;
2235 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkSubmitDebugUtilsMessageEXT) {
2236 : __fn = tl_instanceHookTable.replace->vkSubmitDebugUtilsMessageEXT;
2237 : }
2238 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkSubmitDebugUtilsMessageEXT", (PFN_vkVoidFunction)__fn); }
2239 : __fn(instance, messageSeverity, messageTypes, pCallbackData);
2240 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkSubmitDebugUtilsMessageEXT", (PFN_vkVoidFunction)__fn); }
2241 : }
2242 :
2243 : #endif /* defined(VK_EXT_debug_utils) */
2244 :
2245 : #if defined(VK_EXT_sample_locations)
2246 :
2247 : static void xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT* pMultisampleProperties) {
2248 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceMultisamplePropertiesEXT;
2249 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceMultisamplePropertiesEXT) {
2250 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceMultisamplePropertiesEXT;
2251 : }
2252 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMultisamplePropertiesEXT", (PFN_vkVoidFunction)__fn); }
2253 : __fn(physicalDevice, samples, pMultisampleProperties);
2254 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceMultisamplePropertiesEXT", (PFN_vkVoidFunction)__fn); }
2255 : }
2256 :
2257 : #endif /* defined(VK_EXT_sample_locations) */
2258 :
2259 : #if defined(VK_EXT_calibrated_timestamps)
2260 :
2261 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(VkPhysicalDevice physicalDevice, uint32_t* pTimeDomainCount, VkTimeDomainEXT* pTimeDomains) {
2262 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT;
2263 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT) {
2264 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT;
2265 : }
2266 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", (PFN_vkVoidFunction)__fn); }
2267 : auto ret = __fn(physicalDevice, pTimeDomainCount, pTimeDomains);
2268 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", (PFN_vkVoidFunction)__fn); }
2269 : return ret;
2270 : }
2271 :
2272 : #endif /* defined(VK_EXT_calibrated_timestamps) */
2273 :
2274 : #if defined(VK_FUCHSIA_imagepipe_surface)
2275 :
2276 : static VkResult xl_hook_tl_instanceHookTable_vkCreateImagePipeSurfaceFUCHSIA(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2277 : auto __fn = tl_instanceHookTable.table->vkCreateImagePipeSurfaceFUCHSIA;
2278 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateImagePipeSurfaceFUCHSIA) {
2279 : __fn = tl_instanceHookTable.replace->vkCreateImagePipeSurfaceFUCHSIA;
2280 : }
2281 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateImagePipeSurfaceFUCHSIA", (PFN_vkVoidFunction)__fn); }
2282 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2283 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateImagePipeSurfaceFUCHSIA", (PFN_vkVoidFunction)__fn); }
2284 : return ret;
2285 : }
2286 :
2287 : #endif /* defined(VK_FUCHSIA_imagepipe_surface) */
2288 :
2289 : #if defined(VK_EXT_metal_surface)
2290 :
2291 : static VkResult xl_hook_tl_instanceHookTable_vkCreateMetalSurfaceEXT(VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2292 : auto __fn = tl_instanceHookTable.table->vkCreateMetalSurfaceEXT;
2293 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateMetalSurfaceEXT) {
2294 : __fn = tl_instanceHookTable.replace->vkCreateMetalSurfaceEXT;
2295 : }
2296 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateMetalSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2297 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2298 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateMetalSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2299 : return ret;
2300 : }
2301 :
2302 : #endif /* defined(VK_EXT_metal_surface) */
2303 :
2304 : #if defined(VK_KHR_fragment_shading_rate)
2305 :
2306 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFragmentShadingRatesKHR(VkPhysicalDevice physicalDevice, uint32_t* pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates) {
2307 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceFragmentShadingRatesKHR;
2308 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceFragmentShadingRatesKHR) {
2309 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceFragmentShadingRatesKHR;
2310 : }
2311 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFragmentShadingRatesKHR", (PFN_vkVoidFunction)__fn); }
2312 : auto ret = __fn(physicalDevice, pFragmentShadingRateCount, pFragmentShadingRates);
2313 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceFragmentShadingRatesKHR", (PFN_vkVoidFunction)__fn); }
2314 : return ret;
2315 : }
2316 :
2317 : #endif /* defined(VK_KHR_fragment_shading_rate) */
2318 :
2319 : #if defined(VK_EXT_tooling_info)
2320 :
2321 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolPropertiesEXT* pToolProperties) {
2322 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceToolPropertiesEXT;
2323 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceToolPropertiesEXT) {
2324 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceToolPropertiesEXT;
2325 : }
2326 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceToolPropertiesEXT", (PFN_vkVoidFunction)__fn); }
2327 : auto ret = __fn(physicalDevice, pToolCount, pToolProperties);
2328 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceToolPropertiesEXT", (PFN_vkVoidFunction)__fn); }
2329 : return ret;
2330 : }
2331 :
2332 : #endif /* defined(VK_EXT_tooling_info) */
2333 :
2334 : #if defined(VK_NV_cooperative_matrix)
2335 :
2336 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixPropertiesNV* pProperties) {
2337 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV;
2338 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) {
2339 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV;
2340 : }
2341 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", (PFN_vkVoidFunction)__fn); }
2342 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
2343 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", (PFN_vkVoidFunction)__fn); }
2344 : return ret;
2345 : }
2346 :
2347 : #endif /* defined(VK_NV_cooperative_matrix) */
2348 :
2349 : #if defined(VK_NV_coverage_reduction_mode)
2350 :
2351 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(VkPhysicalDevice physicalDevice, uint32_t* pCombinationCount, VkFramebufferMixedSamplesCombinationNV* pCombinations) {
2352 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV;
2353 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV) {
2354 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV;
2355 : }
2356 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV", (PFN_vkVoidFunction)__fn); }
2357 : auto ret = __fn(physicalDevice, pCombinationCount, pCombinations);
2358 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV", (PFN_vkVoidFunction)__fn); }
2359 : return ret;
2360 : }
2361 :
2362 : #endif /* defined(VK_NV_coverage_reduction_mode) */
2363 :
2364 : #if defined(VK_EXT_full_screen_exclusive)
2365 :
2366 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfacePresentModes2EXT(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) {
2367 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSurfacePresentModes2EXT;
2368 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfacePresentModes2EXT) {
2369 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSurfacePresentModes2EXT;
2370 : }
2371 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfacePresentModes2EXT", (PFN_vkVoidFunction)__fn); }
2372 : auto ret = __fn(physicalDevice, pSurfaceInfo, pPresentModeCount, pPresentModes);
2373 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSurfacePresentModes2EXT", (PFN_vkVoidFunction)__fn); }
2374 : return ret;
2375 : }
2376 :
2377 : #endif /* defined(VK_EXT_full_screen_exclusive) */
2378 :
2379 : #if defined(VK_EXT_headless_surface)
2380 :
2381 : static VkResult xl_hook_tl_instanceHookTable_vkCreateHeadlessSurfaceEXT(VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2382 : auto __fn = tl_instanceHookTable.table->vkCreateHeadlessSurfaceEXT;
2383 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateHeadlessSurfaceEXT) {
2384 : __fn = tl_instanceHookTable.replace->vkCreateHeadlessSurfaceEXT;
2385 : }
2386 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateHeadlessSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2387 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2388 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateHeadlessSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2389 : return ret;
2390 : }
2391 :
2392 : #endif /* defined(VK_EXT_headless_surface) */
2393 :
2394 : #if defined(VK_EXT_acquire_drm_display)
2395 :
2396 : static VkResult xl_hook_tl_instanceHookTable_vkAcquireDrmDisplayEXT(VkPhysicalDevice physicalDevice, int32_t drmFd, VkDisplayKHR display) {
2397 : auto __fn = tl_instanceHookTable.table->vkAcquireDrmDisplayEXT;
2398 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkAcquireDrmDisplayEXT) {
2399 : __fn = tl_instanceHookTable.replace->vkAcquireDrmDisplayEXT;
2400 : }
2401 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkAcquireDrmDisplayEXT", (PFN_vkVoidFunction)__fn); }
2402 : auto ret = __fn(physicalDevice, drmFd, display);
2403 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkAcquireDrmDisplayEXT", (PFN_vkVoidFunction)__fn); }
2404 : return ret;
2405 : }
2406 :
2407 : static VkResult xl_hook_tl_instanceHookTable_vkGetDrmDisplayEXT(VkPhysicalDevice physicalDevice, int32_t drmFd, uint32_t connectorId, VkDisplayKHR* display) {
2408 : auto __fn = tl_instanceHookTable.table->vkGetDrmDisplayEXT;
2409 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetDrmDisplayEXT) {
2410 : __fn = tl_instanceHookTable.replace->vkGetDrmDisplayEXT;
2411 : }
2412 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetDrmDisplayEXT", (PFN_vkVoidFunction)__fn); }
2413 : auto ret = __fn(physicalDevice, drmFd, connectorId, display);
2414 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetDrmDisplayEXT", (PFN_vkVoidFunction)__fn); }
2415 : return ret;
2416 : }
2417 :
2418 : #endif /* defined(VK_EXT_acquire_drm_display) */
2419 :
2420 : #if defined(VK_KHR_video_encode_queue)
2421 :
2422 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR* pQualityLevelInfo, VkVideoEncodeQualityLevelPropertiesKHR* pQualityLevelProperties) {
2423 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR;
2424 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR) {
2425 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR;
2426 : }
2427 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR", (PFN_vkVoidFunction)__fn); }
2428 : auto ret = __fn(physicalDevice, pQualityLevelInfo, pQualityLevelProperties);
2429 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR", (PFN_vkVoidFunction)__fn); }
2430 : return ret;
2431 : }
2432 :
2433 : #endif /* defined(VK_KHR_video_encode_queue) */
2434 :
2435 : #if defined(VK_KHR_object_refresh)
2436 :
2437 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceRefreshableObjectTypesKHR(VkPhysicalDevice physicalDevice, uint32_t* pRefreshableObjectTypeCount, VkObjectType* pRefreshableObjectTypes) {
2438 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceRefreshableObjectTypesKHR;
2439 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceRefreshableObjectTypesKHR) {
2440 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceRefreshableObjectTypesKHR;
2441 : }
2442 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceRefreshableObjectTypesKHR", (PFN_vkVoidFunction)__fn); }
2443 : auto ret = __fn(physicalDevice, pRefreshableObjectTypeCount, pRefreshableObjectTypes);
2444 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceRefreshableObjectTypesKHR", (PFN_vkVoidFunction)__fn); }
2445 : return ret;
2446 : }
2447 :
2448 : #endif /* defined(VK_KHR_object_refresh) */
2449 :
2450 : #if defined(VK_NV_acquire_winrt_display)
2451 :
2452 : static VkResult xl_hook_tl_instanceHookTable_vkAcquireWinrtDisplayNV(VkPhysicalDevice physicalDevice, VkDisplayKHR display) {
2453 : auto __fn = tl_instanceHookTable.table->vkAcquireWinrtDisplayNV;
2454 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkAcquireWinrtDisplayNV) {
2455 : __fn = tl_instanceHookTable.replace->vkAcquireWinrtDisplayNV;
2456 : }
2457 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkAcquireWinrtDisplayNV", (PFN_vkVoidFunction)__fn); }
2458 : auto ret = __fn(physicalDevice, display);
2459 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkAcquireWinrtDisplayNV", (PFN_vkVoidFunction)__fn); }
2460 : return ret;
2461 : }
2462 :
2463 : static VkResult xl_hook_tl_instanceHookTable_vkGetWinrtDisplayNV(VkPhysicalDevice physicalDevice, uint32_t deviceRelativeId, VkDisplayKHR* pDisplay) {
2464 : auto __fn = tl_instanceHookTable.table->vkGetWinrtDisplayNV;
2465 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetWinrtDisplayNV) {
2466 : __fn = tl_instanceHookTable.replace->vkGetWinrtDisplayNV;
2467 : }
2468 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetWinrtDisplayNV", (PFN_vkVoidFunction)__fn); }
2469 : auto ret = __fn(physicalDevice, deviceRelativeId, pDisplay);
2470 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetWinrtDisplayNV", (PFN_vkVoidFunction)__fn); }
2471 : return ret;
2472 : }
2473 :
2474 : #endif /* defined(VK_NV_acquire_winrt_display) */
2475 :
2476 : #if defined(VK_EXT_directfb_surface)
2477 :
2478 : static VkResult xl_hook_tl_instanceHookTable_vkCreateDirectFBSurfaceEXT(VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2479 : auto __fn = tl_instanceHookTable.table->vkCreateDirectFBSurfaceEXT;
2480 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateDirectFBSurfaceEXT) {
2481 : __fn = tl_instanceHookTable.replace->vkCreateDirectFBSurfaceEXT;
2482 : }
2483 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateDirectFBSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2484 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2485 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateDirectFBSurfaceEXT", (PFN_vkVoidFunction)__fn); }
2486 : return ret;
2487 : }
2488 :
2489 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDirectFBPresentationSupportEXT(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, IDirectFB* dfb) {
2490 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceDirectFBPresentationSupportEXT;
2491 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceDirectFBPresentationSupportEXT) {
2492 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceDirectFBPresentationSupportEXT;
2493 : }
2494 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT", (PFN_vkVoidFunction)__fn); }
2495 : auto ret = __fn(physicalDevice, queueFamilyIndex, dfb);
2496 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT", (PFN_vkVoidFunction)__fn); }
2497 : return ret;
2498 : }
2499 :
2500 : #endif /* defined(VK_EXT_directfb_surface) */
2501 :
2502 : #if defined(VK_NV_external_sci_sync)
2503 :
2504 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSciSyncAttributesNV(VkPhysicalDevice physicalDevice, const VkSciSyncAttributesInfoNV* pSciSyncAttributesInfo, NvSciSyncAttrList pAttributes) {
2505 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSciSyncAttributesNV;
2506 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSciSyncAttributesNV) {
2507 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSciSyncAttributesNV;
2508 : }
2509 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSciSyncAttributesNV", (PFN_vkVoidFunction)__fn); }
2510 : auto ret = __fn(physicalDevice, pSciSyncAttributesInfo, pAttributes);
2511 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSciSyncAttributesNV", (PFN_vkVoidFunction)__fn); }
2512 : return ret;
2513 : }
2514 :
2515 : #endif /* defined(VK_NV_external_sci_sync) */
2516 :
2517 : #if defined(VK_NV_external_memory_sci_buf)
2518 :
2519 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV(VkPhysicalDevice physicalDevice, VkExternalMemoryHandleTypeFlagBits handleType, NvSciBufObj handle, VkMemorySciBufPropertiesNV* pMemorySciBufProperties) {
2520 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV;
2521 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV) {
2522 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV;
2523 : }
2524 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV", (PFN_vkVoidFunction)__fn); }
2525 : auto ret = __fn(physicalDevice, handleType, handle, pMemorySciBufProperties);
2526 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV", (PFN_vkVoidFunction)__fn); }
2527 : return ret;
2528 : }
2529 :
2530 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSciBufAttributesNV(VkPhysicalDevice physicalDevice, NvSciBufAttrList pAttributes) {
2531 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceSciBufAttributesNV;
2532 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceSciBufAttributesNV) {
2533 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceSciBufAttributesNV;
2534 : }
2535 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSciBufAttributesNV", (PFN_vkVoidFunction)__fn); }
2536 : auto ret = __fn(physicalDevice, pAttributes);
2537 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceSciBufAttributesNV", (PFN_vkVoidFunction)__fn); }
2538 : return ret;
2539 : }
2540 :
2541 : #endif /* defined(VK_NV_external_memory_sci_buf) */
2542 :
2543 : #if defined(VK_QNX_screen_surface)
2544 :
2545 : static VkResult xl_hook_tl_instanceHookTable_vkCreateScreenSurfaceQNX(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
2546 : auto __fn = tl_instanceHookTable.table->vkCreateScreenSurfaceQNX;
2547 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkCreateScreenSurfaceQNX) {
2548 : __fn = tl_instanceHookTable.replace->vkCreateScreenSurfaceQNX;
2549 : }
2550 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkCreateScreenSurfaceQNX", (PFN_vkVoidFunction)__fn); }
2551 : auto ret = __fn(instance, pCreateInfo, pAllocator, pSurface);
2552 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkCreateScreenSurfaceQNX", (PFN_vkVoidFunction)__fn); }
2553 : return ret;
2554 : }
2555 :
2556 : static VkBool32 xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceScreenPresentationSupportQNX(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window) {
2557 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceScreenPresentationSupportQNX;
2558 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceScreenPresentationSupportQNX) {
2559 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceScreenPresentationSupportQNX;
2560 : }
2561 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceScreenPresentationSupportQNX", (PFN_vkVoidFunction)__fn); }
2562 : auto ret = __fn(physicalDevice, queueFamilyIndex, window);
2563 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceScreenPresentationSupportQNX", (PFN_vkVoidFunction)__fn); }
2564 : return ret;
2565 : }
2566 :
2567 : #endif /* defined(VK_QNX_screen_surface) */
2568 :
2569 : #if defined(VK_NV_optical_flow)
2570 :
2571 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceOpticalFlowImageFormatsNV(VkPhysicalDevice physicalDevice, const VkOpticalFlowImageFormatInfoNV* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount, VkOpticalFlowImageFormatPropertiesNV* pImageFormatProperties) {
2572 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceOpticalFlowImageFormatsNV;
2573 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceOpticalFlowImageFormatsNV) {
2574 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceOpticalFlowImageFormatsNV;
2575 : }
2576 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceOpticalFlowImageFormatsNV", (PFN_vkVoidFunction)__fn); }
2577 : auto ret = __fn(physicalDevice, pOpticalFlowImageFormatInfo, pFormatCount, pImageFormatProperties);
2578 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceOpticalFlowImageFormatsNV", (PFN_vkVoidFunction)__fn); }
2579 : return ret;
2580 : }
2581 :
2582 : #endif /* defined(VK_NV_optical_flow) */
2583 :
2584 : #if defined(VK_KHR_cooperative_matrix)
2585 :
2586 : static VkResult xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixPropertiesKHR* pProperties) {
2587 : auto __fn = tl_instanceHookTable.table->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR;
2588 : if (tl_instanceHookTable.replace && tl_instanceHookTable.replace->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR) {
2589 : __fn = tl_instanceHookTable.replace->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR;
2590 : }
2591 : if (tl_instanceHookTable.preCall) { tl_instanceHookTable.preCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR", (PFN_vkVoidFunction)__fn); }
2592 : auto ret = __fn(physicalDevice, pPropertyCount, pProperties);
2593 : if (tl_instanceHookTable.postCall) { tl_instanceHookTable.postCall(tl_instanceHookTable.ctx, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR", (PFN_vkVoidFunction)__fn); }
2594 : return ret;
2595 : }
2596 :
2597 : #endif /* defined(VK_KHR_cooperative_matrix) */
2598 :
2599 : #if defined(VK_VERSION_1_0)
2600 :
2601 : static PFN_vkVoidFunction xl_hook_tl_deviceHookTable_vkGetDeviceProcAddr(VkDevice device, const char* pName) {
2602 : auto __fn = tl_deviceHookTable.table->vkGetDeviceProcAddr;
2603 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceProcAddr) {
2604 : __fn = tl_deviceHookTable.replace->vkGetDeviceProcAddr;
2605 : }
2606 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceProcAddr", (PFN_vkVoidFunction)__fn); }
2607 : auto ret = __fn(device, pName);
2608 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceProcAddr", (PFN_vkVoidFunction)__fn); }
2609 : return ret;
2610 : }
2611 :
2612 : static void xl_hook_tl_deviceHookTable_vkDestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) {
2613 : auto __fn = tl_deviceHookTable.table->vkDestroyDevice;
2614 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDevice) {
2615 : __fn = tl_deviceHookTable.replace->vkDestroyDevice;
2616 : }
2617 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDevice", (PFN_vkVoidFunction)__fn); }
2618 : __fn(device, pAllocator);
2619 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDevice", (PFN_vkVoidFunction)__fn); }
2620 : }
2621 :
2622 : static void xl_hook_tl_deviceHookTable_vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue) {
2623 : auto __fn = tl_deviceHookTable.table->vkGetDeviceQueue;
2624 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceQueue) {
2625 : __fn = tl_deviceHookTable.replace->vkGetDeviceQueue;
2626 : }
2627 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceQueue", (PFN_vkVoidFunction)__fn); }
2628 : __fn(device, queueFamilyIndex, queueIndex, pQueue);
2629 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceQueue", (PFN_vkVoidFunction)__fn); }
2630 : }
2631 :
2632 : static VkResult xl_hook_tl_deviceHookTable_vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence) {
2633 : auto __fn = tl_deviceHookTable.table->vkQueueSubmit;
2634 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueSubmit) {
2635 : __fn = tl_deviceHookTable.replace->vkQueueSubmit;
2636 : }
2637 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueSubmit", (PFN_vkVoidFunction)__fn); }
2638 : auto ret = __fn(queue, submitCount, pSubmits, fence);
2639 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueSubmit", (PFN_vkVoidFunction)__fn); }
2640 : return ret;
2641 : }
2642 :
2643 : static VkResult xl_hook_tl_deviceHookTable_vkQueueWaitIdle(VkQueue queue) {
2644 : auto __fn = tl_deviceHookTable.table->vkQueueWaitIdle;
2645 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueWaitIdle) {
2646 : __fn = tl_deviceHookTable.replace->vkQueueWaitIdle;
2647 : }
2648 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueWaitIdle", (PFN_vkVoidFunction)__fn); }
2649 : auto ret = __fn(queue);
2650 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueWaitIdle", (PFN_vkVoidFunction)__fn); }
2651 : return ret;
2652 : }
2653 :
2654 : static VkResult xl_hook_tl_deviceHookTable_vkDeviceWaitIdle(VkDevice device) {
2655 : auto __fn = tl_deviceHookTable.table->vkDeviceWaitIdle;
2656 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDeviceWaitIdle) {
2657 : __fn = tl_deviceHookTable.replace->vkDeviceWaitIdle;
2658 : }
2659 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDeviceWaitIdle", (PFN_vkVoidFunction)__fn); }
2660 : auto ret = __fn(device);
2661 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDeviceWaitIdle", (PFN_vkVoidFunction)__fn); }
2662 : return ret;
2663 : }
2664 :
2665 : static VkResult xl_hook_tl_deviceHookTable_vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) {
2666 : auto __fn = tl_deviceHookTable.table->vkAllocateMemory;
2667 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAllocateMemory) {
2668 : __fn = tl_deviceHookTable.replace->vkAllocateMemory;
2669 : }
2670 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAllocateMemory", (PFN_vkVoidFunction)__fn); }
2671 : auto ret = __fn(device, pAllocateInfo, pAllocator, pMemory);
2672 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAllocateMemory", (PFN_vkVoidFunction)__fn); }
2673 : return ret;
2674 : }
2675 :
2676 : static void xl_hook_tl_deviceHookTable_vkFreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) {
2677 : auto __fn = tl_deviceHookTable.table->vkFreeMemory;
2678 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkFreeMemory) {
2679 : __fn = tl_deviceHookTable.replace->vkFreeMemory;
2680 : }
2681 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkFreeMemory", (PFN_vkVoidFunction)__fn); }
2682 : __fn(device, memory, pAllocator);
2683 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkFreeMemory", (PFN_vkVoidFunction)__fn); }
2684 : }
2685 :
2686 : static VkResult xl_hook_tl_deviceHookTable_vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) {
2687 : auto __fn = tl_deviceHookTable.table->vkMapMemory;
2688 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkMapMemory) {
2689 : __fn = tl_deviceHookTable.replace->vkMapMemory;
2690 : }
2691 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkMapMemory", (PFN_vkVoidFunction)__fn); }
2692 : auto ret = __fn(device, memory, offset, size, flags, ppData);
2693 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkMapMemory", (PFN_vkVoidFunction)__fn); }
2694 : return ret;
2695 : }
2696 :
2697 : static void xl_hook_tl_deviceHookTable_vkUnmapMemory(VkDevice device, VkDeviceMemory memory) {
2698 : auto __fn = tl_deviceHookTable.table->vkUnmapMemory;
2699 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUnmapMemory) {
2700 : __fn = tl_deviceHookTable.replace->vkUnmapMemory;
2701 : }
2702 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUnmapMemory", (PFN_vkVoidFunction)__fn); }
2703 : __fn(device, memory);
2704 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUnmapMemory", (PFN_vkVoidFunction)__fn); }
2705 : }
2706 :
2707 : static VkResult xl_hook_tl_deviceHookTable_vkFlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) {
2708 : auto __fn = tl_deviceHookTable.table->vkFlushMappedMemoryRanges;
2709 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkFlushMappedMemoryRanges) {
2710 : __fn = tl_deviceHookTable.replace->vkFlushMappedMemoryRanges;
2711 : }
2712 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkFlushMappedMemoryRanges", (PFN_vkVoidFunction)__fn); }
2713 : auto ret = __fn(device, memoryRangeCount, pMemoryRanges);
2714 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkFlushMappedMemoryRanges", (PFN_vkVoidFunction)__fn); }
2715 : return ret;
2716 : }
2717 :
2718 : static VkResult xl_hook_tl_deviceHookTable_vkInvalidateMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) {
2719 : auto __fn = tl_deviceHookTable.table->vkInvalidateMappedMemoryRanges;
2720 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkInvalidateMappedMemoryRanges) {
2721 : __fn = tl_deviceHookTable.replace->vkInvalidateMappedMemoryRanges;
2722 : }
2723 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkInvalidateMappedMemoryRanges", (PFN_vkVoidFunction)__fn); }
2724 : auto ret = __fn(device, memoryRangeCount, pMemoryRanges);
2725 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkInvalidateMappedMemoryRanges", (PFN_vkVoidFunction)__fn); }
2726 : return ret;
2727 : }
2728 :
2729 : static void xl_hook_tl_deviceHookTable_vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) {
2730 : auto __fn = tl_deviceHookTable.table->vkGetDeviceMemoryCommitment;
2731 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceMemoryCommitment) {
2732 : __fn = tl_deviceHookTable.replace->vkGetDeviceMemoryCommitment;
2733 : }
2734 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryCommitment", (PFN_vkVoidFunction)__fn); }
2735 : __fn(device, memory, pCommittedMemoryInBytes);
2736 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryCommitment", (PFN_vkVoidFunction)__fn); }
2737 : }
2738 :
2739 : static VkResult xl_hook_tl_deviceHookTable_vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) {
2740 : auto __fn = tl_deviceHookTable.table->vkBindBufferMemory;
2741 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindBufferMemory) {
2742 : __fn = tl_deviceHookTable.replace->vkBindBufferMemory;
2743 : }
2744 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindBufferMemory", (PFN_vkVoidFunction)__fn); }
2745 : auto ret = __fn(device, buffer, memory, memoryOffset);
2746 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindBufferMemory", (PFN_vkVoidFunction)__fn); }
2747 : return ret;
2748 : }
2749 :
2750 : static VkResult xl_hook_tl_deviceHookTable_vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) {
2751 : auto __fn = tl_deviceHookTable.table->vkBindImageMemory;
2752 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindImageMemory) {
2753 : __fn = tl_deviceHookTable.replace->vkBindImageMemory;
2754 : }
2755 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindImageMemory", (PFN_vkVoidFunction)__fn); }
2756 : auto ret = __fn(device, image, memory, memoryOffset);
2757 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindImageMemory", (PFN_vkVoidFunction)__fn); }
2758 : return ret;
2759 : }
2760 :
2761 : static void xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) {
2762 : auto __fn = tl_deviceHookTable.table->vkGetBufferMemoryRequirements;
2763 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferMemoryRequirements) {
2764 : __fn = tl_deviceHookTable.replace->vkGetBufferMemoryRequirements;
2765 : }
2766 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2767 : __fn(device, buffer, pMemoryRequirements);
2768 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2769 : }
2770 :
2771 : static void xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) {
2772 : auto __fn = tl_deviceHookTable.table->vkGetImageMemoryRequirements;
2773 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageMemoryRequirements) {
2774 : __fn = tl_deviceHookTable.replace->vkGetImageMemoryRequirements;
2775 : }
2776 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2777 : __fn(device, image, pMemoryRequirements);
2778 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2779 : }
2780 :
2781 : static void xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) {
2782 : auto __fn = tl_deviceHookTable.table->vkGetImageSparseMemoryRequirements;
2783 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements) {
2784 : __fn = tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements;
2785 : }
2786 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2787 : __fn(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
2788 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements", (PFN_vkVoidFunction)__fn); }
2789 : }
2790 :
2791 : static VkResult xl_hook_tl_deviceHookTable_vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence) {
2792 : auto __fn = tl_deviceHookTable.table->vkQueueBindSparse;
2793 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueBindSparse) {
2794 : __fn = tl_deviceHookTable.replace->vkQueueBindSparse;
2795 : }
2796 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueBindSparse", (PFN_vkVoidFunction)__fn); }
2797 : auto ret = __fn(queue, bindInfoCount, pBindInfo, fence);
2798 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueBindSparse", (PFN_vkVoidFunction)__fn); }
2799 : return ret;
2800 : }
2801 :
2802 : static VkResult xl_hook_tl_deviceHookTable_vkCreateFence(VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence) {
2803 : auto __fn = tl_deviceHookTable.table->vkCreateFence;
2804 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateFence) {
2805 : __fn = tl_deviceHookTable.replace->vkCreateFence;
2806 : }
2807 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateFence", (PFN_vkVoidFunction)__fn); }
2808 : auto ret = __fn(device, pCreateInfo, pAllocator, pFence);
2809 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateFence", (PFN_vkVoidFunction)__fn); }
2810 : return ret;
2811 : }
2812 :
2813 : static void xl_hook_tl_deviceHookTable_vkDestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator) {
2814 : auto __fn = tl_deviceHookTable.table->vkDestroyFence;
2815 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyFence) {
2816 : __fn = tl_deviceHookTable.replace->vkDestroyFence;
2817 : }
2818 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyFence", (PFN_vkVoidFunction)__fn); }
2819 : __fn(device, fence, pAllocator);
2820 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyFence", (PFN_vkVoidFunction)__fn); }
2821 : }
2822 :
2823 : static VkResult xl_hook_tl_deviceHookTable_vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences) {
2824 : auto __fn = tl_deviceHookTable.table->vkResetFences;
2825 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetFences) {
2826 : __fn = tl_deviceHookTable.replace->vkResetFences;
2827 : }
2828 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetFences", (PFN_vkVoidFunction)__fn); }
2829 : auto ret = __fn(device, fenceCount, pFences);
2830 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetFences", (PFN_vkVoidFunction)__fn); }
2831 : return ret;
2832 : }
2833 :
2834 : static VkResult xl_hook_tl_deviceHookTable_vkGetFenceStatus(VkDevice device, VkFence fence) {
2835 : auto __fn = tl_deviceHookTable.table->vkGetFenceStatus;
2836 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFenceStatus) {
2837 : __fn = tl_deviceHookTable.replace->vkGetFenceStatus;
2838 : }
2839 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFenceStatus", (PFN_vkVoidFunction)__fn); }
2840 : auto ret = __fn(device, fence);
2841 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFenceStatus", (PFN_vkVoidFunction)__fn); }
2842 : return ret;
2843 : }
2844 :
2845 : static VkResult xl_hook_tl_deviceHookTable_vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout) {
2846 : auto __fn = tl_deviceHookTable.table->vkWaitForFences;
2847 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWaitForFences) {
2848 : __fn = tl_deviceHookTable.replace->vkWaitForFences;
2849 : }
2850 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWaitForFences", (PFN_vkVoidFunction)__fn); }
2851 : auto ret = __fn(device, fenceCount, pFences, waitAll, timeout);
2852 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWaitForFences", (PFN_vkVoidFunction)__fn); }
2853 : return ret;
2854 : }
2855 :
2856 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) {
2857 : auto __fn = tl_deviceHookTable.table->vkCreateSemaphore;
2858 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSemaphore) {
2859 : __fn = tl_deviceHookTable.replace->vkCreateSemaphore;
2860 : }
2861 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSemaphore", (PFN_vkVoidFunction)__fn); }
2862 : auto ret = __fn(device, pCreateInfo, pAllocator, pSemaphore);
2863 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSemaphore", (PFN_vkVoidFunction)__fn); }
2864 : return ret;
2865 : }
2866 :
2867 : static void xl_hook_tl_deviceHookTable_vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator) {
2868 : auto __fn = tl_deviceHookTable.table->vkDestroySemaphore;
2869 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySemaphore) {
2870 : __fn = tl_deviceHookTable.replace->vkDestroySemaphore;
2871 : }
2872 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySemaphore", (PFN_vkVoidFunction)__fn); }
2873 : __fn(device, semaphore, pAllocator);
2874 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySemaphore", (PFN_vkVoidFunction)__fn); }
2875 : }
2876 :
2877 : static VkResult xl_hook_tl_deviceHookTable_vkCreateEvent(VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent) {
2878 : auto __fn = tl_deviceHookTable.table->vkCreateEvent;
2879 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateEvent) {
2880 : __fn = tl_deviceHookTable.replace->vkCreateEvent;
2881 : }
2882 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateEvent", (PFN_vkVoidFunction)__fn); }
2883 : auto ret = __fn(device, pCreateInfo, pAllocator, pEvent);
2884 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateEvent", (PFN_vkVoidFunction)__fn); }
2885 : return ret;
2886 : }
2887 :
2888 : static void xl_hook_tl_deviceHookTable_vkDestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator) {
2889 : auto __fn = tl_deviceHookTable.table->vkDestroyEvent;
2890 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyEvent) {
2891 : __fn = tl_deviceHookTable.replace->vkDestroyEvent;
2892 : }
2893 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyEvent", (PFN_vkVoidFunction)__fn); }
2894 : __fn(device, event, pAllocator);
2895 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyEvent", (PFN_vkVoidFunction)__fn); }
2896 : }
2897 :
2898 : static VkResult xl_hook_tl_deviceHookTable_vkGetEventStatus(VkDevice device, VkEvent event) {
2899 : auto __fn = tl_deviceHookTable.table->vkGetEventStatus;
2900 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetEventStatus) {
2901 : __fn = tl_deviceHookTable.replace->vkGetEventStatus;
2902 : }
2903 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetEventStatus", (PFN_vkVoidFunction)__fn); }
2904 : auto ret = __fn(device, event);
2905 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetEventStatus", (PFN_vkVoidFunction)__fn); }
2906 : return ret;
2907 : }
2908 :
2909 : static VkResult xl_hook_tl_deviceHookTable_vkSetEvent(VkDevice device, VkEvent event) {
2910 : auto __fn = tl_deviceHookTable.table->vkSetEvent;
2911 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetEvent) {
2912 : __fn = tl_deviceHookTable.replace->vkSetEvent;
2913 : }
2914 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetEvent", (PFN_vkVoidFunction)__fn); }
2915 : auto ret = __fn(device, event);
2916 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetEvent", (PFN_vkVoidFunction)__fn); }
2917 : return ret;
2918 : }
2919 :
2920 : static VkResult xl_hook_tl_deviceHookTable_vkResetEvent(VkDevice device, VkEvent event) {
2921 : auto __fn = tl_deviceHookTable.table->vkResetEvent;
2922 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetEvent) {
2923 : __fn = tl_deviceHookTable.replace->vkResetEvent;
2924 : }
2925 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetEvent", (PFN_vkVoidFunction)__fn); }
2926 : auto ret = __fn(device, event);
2927 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetEvent", (PFN_vkVoidFunction)__fn); }
2928 : return ret;
2929 : }
2930 :
2931 : static VkResult xl_hook_tl_deviceHookTable_vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) {
2932 : auto __fn = tl_deviceHookTable.table->vkCreateQueryPool;
2933 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateQueryPool) {
2934 : __fn = tl_deviceHookTable.replace->vkCreateQueryPool;
2935 : }
2936 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateQueryPool", (PFN_vkVoidFunction)__fn); }
2937 : auto ret = __fn(device, pCreateInfo, pAllocator, pQueryPool);
2938 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateQueryPool", (PFN_vkVoidFunction)__fn); }
2939 : return ret;
2940 : }
2941 :
2942 : static void xl_hook_tl_deviceHookTable_vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) {
2943 : auto __fn = tl_deviceHookTable.table->vkDestroyQueryPool;
2944 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyQueryPool) {
2945 : __fn = tl_deviceHookTable.replace->vkDestroyQueryPool;
2946 : }
2947 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyQueryPool", (PFN_vkVoidFunction)__fn); }
2948 : __fn(device, queryPool, pAllocator);
2949 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyQueryPool", (PFN_vkVoidFunction)__fn); }
2950 : }
2951 :
2952 : static VkResult xl_hook_tl_deviceHookTable_vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) {
2953 : auto __fn = tl_deviceHookTable.table->vkGetQueryPoolResults;
2954 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetQueryPoolResults) {
2955 : __fn = tl_deviceHookTable.replace->vkGetQueryPoolResults;
2956 : }
2957 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetQueryPoolResults", (PFN_vkVoidFunction)__fn); }
2958 : auto ret = __fn(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
2959 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetQueryPoolResults", (PFN_vkVoidFunction)__fn); }
2960 : return ret;
2961 : }
2962 :
2963 : static VkResult xl_hook_tl_deviceHookTable_vkCreateBuffer(VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) {
2964 : auto __fn = tl_deviceHookTable.table->vkCreateBuffer;
2965 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateBuffer) {
2966 : __fn = tl_deviceHookTable.replace->vkCreateBuffer;
2967 : }
2968 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateBuffer", (PFN_vkVoidFunction)__fn); }
2969 : auto ret = __fn(device, pCreateInfo, pAllocator, pBuffer);
2970 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateBuffer", (PFN_vkVoidFunction)__fn); }
2971 : return ret;
2972 : }
2973 :
2974 : static void xl_hook_tl_deviceHookTable_vkDestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator) {
2975 : auto __fn = tl_deviceHookTable.table->vkDestroyBuffer;
2976 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyBuffer) {
2977 : __fn = tl_deviceHookTable.replace->vkDestroyBuffer;
2978 : }
2979 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyBuffer", (PFN_vkVoidFunction)__fn); }
2980 : __fn(device, buffer, pAllocator);
2981 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyBuffer", (PFN_vkVoidFunction)__fn); }
2982 : }
2983 :
2984 : static VkResult xl_hook_tl_deviceHookTable_vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView) {
2985 : auto __fn = tl_deviceHookTable.table->vkCreateBufferView;
2986 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateBufferView) {
2987 : __fn = tl_deviceHookTable.replace->vkCreateBufferView;
2988 : }
2989 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateBufferView", (PFN_vkVoidFunction)__fn); }
2990 : auto ret = __fn(device, pCreateInfo, pAllocator, pView);
2991 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateBufferView", (PFN_vkVoidFunction)__fn); }
2992 : return ret;
2993 : }
2994 :
2995 : static void xl_hook_tl_deviceHookTable_vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) {
2996 : auto __fn = tl_deviceHookTable.table->vkDestroyBufferView;
2997 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyBufferView) {
2998 : __fn = tl_deviceHookTable.replace->vkDestroyBufferView;
2999 : }
3000 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyBufferView", (PFN_vkVoidFunction)__fn); }
3001 : __fn(device, bufferView, pAllocator);
3002 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyBufferView", (PFN_vkVoidFunction)__fn); }
3003 : }
3004 :
3005 : static VkResult xl_hook_tl_deviceHookTable_vkCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage) {
3006 : auto __fn = tl_deviceHookTable.table->vkCreateImage;
3007 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateImage) {
3008 : __fn = tl_deviceHookTable.replace->vkCreateImage;
3009 : }
3010 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateImage", (PFN_vkVoidFunction)__fn); }
3011 : auto ret = __fn(device, pCreateInfo, pAllocator, pImage);
3012 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateImage", (PFN_vkVoidFunction)__fn); }
3013 : return ret;
3014 : }
3015 :
3016 : static void xl_hook_tl_deviceHookTable_vkDestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator) {
3017 : auto __fn = tl_deviceHookTable.table->vkDestroyImage;
3018 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyImage) {
3019 : __fn = tl_deviceHookTable.replace->vkDestroyImage;
3020 : }
3021 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyImage", (PFN_vkVoidFunction)__fn); }
3022 : __fn(device, image, pAllocator);
3023 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyImage", (PFN_vkVoidFunction)__fn); }
3024 : }
3025 :
3026 : static void xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) {
3027 : auto __fn = tl_deviceHookTable.table->vkGetImageSubresourceLayout;
3028 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSubresourceLayout) {
3029 : __fn = tl_deviceHookTable.replace->vkGetImageSubresourceLayout;
3030 : }
3031 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout", (PFN_vkVoidFunction)__fn); }
3032 : __fn(device, image, pSubresource, pLayout);
3033 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout", (PFN_vkVoidFunction)__fn); }
3034 : }
3035 :
3036 : static VkResult xl_hook_tl_deviceHookTable_vkCreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView) {
3037 : auto __fn = tl_deviceHookTable.table->vkCreateImageView;
3038 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateImageView) {
3039 : __fn = tl_deviceHookTable.replace->vkCreateImageView;
3040 : }
3041 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateImageView", (PFN_vkVoidFunction)__fn); }
3042 : auto ret = __fn(device, pCreateInfo, pAllocator, pView);
3043 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateImageView", (PFN_vkVoidFunction)__fn); }
3044 : return ret;
3045 : }
3046 :
3047 : static void xl_hook_tl_deviceHookTable_vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator) {
3048 : auto __fn = tl_deviceHookTable.table->vkDestroyImageView;
3049 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyImageView) {
3050 : __fn = tl_deviceHookTable.replace->vkDestroyImageView;
3051 : }
3052 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyImageView", (PFN_vkVoidFunction)__fn); }
3053 : __fn(device, imageView, pAllocator);
3054 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyImageView", (PFN_vkVoidFunction)__fn); }
3055 : }
3056 :
3057 : static VkResult xl_hook_tl_deviceHookTable_vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) {
3058 : auto __fn = tl_deviceHookTable.table->vkCreateShaderModule;
3059 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateShaderModule) {
3060 : __fn = tl_deviceHookTable.replace->vkCreateShaderModule;
3061 : }
3062 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateShaderModule", (PFN_vkVoidFunction)__fn); }
3063 : auto ret = __fn(device, pCreateInfo, pAllocator, pShaderModule);
3064 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateShaderModule", (PFN_vkVoidFunction)__fn); }
3065 : return ret;
3066 : }
3067 :
3068 : static void xl_hook_tl_deviceHookTable_vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) {
3069 : auto __fn = tl_deviceHookTable.table->vkDestroyShaderModule;
3070 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyShaderModule) {
3071 : __fn = tl_deviceHookTable.replace->vkDestroyShaderModule;
3072 : }
3073 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyShaderModule", (PFN_vkVoidFunction)__fn); }
3074 : __fn(device, shaderModule, pAllocator);
3075 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyShaderModule", (PFN_vkVoidFunction)__fn); }
3076 : }
3077 :
3078 : static VkResult xl_hook_tl_deviceHookTable_vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) {
3079 : auto __fn = tl_deviceHookTable.table->vkCreatePipelineCache;
3080 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreatePipelineCache) {
3081 : __fn = tl_deviceHookTable.replace->vkCreatePipelineCache;
3082 : }
3083 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreatePipelineCache", (PFN_vkVoidFunction)__fn); }
3084 : auto ret = __fn(device, pCreateInfo, pAllocator, pPipelineCache);
3085 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreatePipelineCache", (PFN_vkVoidFunction)__fn); }
3086 : return ret;
3087 : }
3088 :
3089 : static void xl_hook_tl_deviceHookTable_vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) {
3090 : auto __fn = tl_deviceHookTable.table->vkDestroyPipelineCache;
3091 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyPipelineCache) {
3092 : __fn = tl_deviceHookTable.replace->vkDestroyPipelineCache;
3093 : }
3094 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyPipelineCache", (PFN_vkVoidFunction)__fn); }
3095 : __fn(device, pipelineCache, pAllocator);
3096 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyPipelineCache", (PFN_vkVoidFunction)__fn); }
3097 : }
3098 :
3099 : static VkResult xl_hook_tl_deviceHookTable_vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) {
3100 : auto __fn = tl_deviceHookTable.table->vkGetPipelineCacheData;
3101 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineCacheData) {
3102 : __fn = tl_deviceHookTable.replace->vkGetPipelineCacheData;
3103 : }
3104 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineCacheData", (PFN_vkVoidFunction)__fn); }
3105 : auto ret = __fn(device, pipelineCache, pDataSize, pData);
3106 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineCacheData", (PFN_vkVoidFunction)__fn); }
3107 : return ret;
3108 : }
3109 :
3110 : static VkResult xl_hook_tl_deviceHookTable_vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) {
3111 : auto __fn = tl_deviceHookTable.table->vkMergePipelineCaches;
3112 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkMergePipelineCaches) {
3113 : __fn = tl_deviceHookTable.replace->vkMergePipelineCaches;
3114 : }
3115 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkMergePipelineCaches", (PFN_vkVoidFunction)__fn); }
3116 : auto ret = __fn(device, dstCache, srcCacheCount, pSrcCaches);
3117 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkMergePipelineCaches", (PFN_vkVoidFunction)__fn); }
3118 : return ret;
3119 : }
3120 :
3121 : static VkResult xl_hook_tl_deviceHookTable_vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) {
3122 : auto __fn = tl_deviceHookTable.table->vkCreateGraphicsPipelines;
3123 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateGraphicsPipelines) {
3124 : __fn = tl_deviceHookTable.replace->vkCreateGraphicsPipelines;
3125 : }
3126 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateGraphicsPipelines", (PFN_vkVoidFunction)__fn); }
3127 : auto ret = __fn(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
3128 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateGraphicsPipelines", (PFN_vkVoidFunction)__fn); }
3129 : return ret;
3130 : }
3131 :
3132 : static VkResult xl_hook_tl_deviceHookTable_vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) {
3133 : auto __fn = tl_deviceHookTable.table->vkCreateComputePipelines;
3134 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateComputePipelines) {
3135 : __fn = tl_deviceHookTable.replace->vkCreateComputePipelines;
3136 : }
3137 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateComputePipelines", (PFN_vkVoidFunction)__fn); }
3138 : auto ret = __fn(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
3139 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateComputePipelines", (PFN_vkVoidFunction)__fn); }
3140 : return ret;
3141 : }
3142 :
3143 : static void xl_hook_tl_deviceHookTable_vkDestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator) {
3144 : auto __fn = tl_deviceHookTable.table->vkDestroyPipeline;
3145 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyPipeline) {
3146 : __fn = tl_deviceHookTable.replace->vkDestroyPipeline;
3147 : }
3148 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyPipeline", (PFN_vkVoidFunction)__fn); }
3149 : __fn(device, pipeline, pAllocator);
3150 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyPipeline", (PFN_vkVoidFunction)__fn); }
3151 : }
3152 :
3153 : static VkResult xl_hook_tl_deviceHookTable_vkCreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) {
3154 : auto __fn = tl_deviceHookTable.table->vkCreatePipelineLayout;
3155 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreatePipelineLayout) {
3156 : __fn = tl_deviceHookTable.replace->vkCreatePipelineLayout;
3157 : }
3158 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreatePipelineLayout", (PFN_vkVoidFunction)__fn); }
3159 : auto ret = __fn(device, pCreateInfo, pAllocator, pPipelineLayout);
3160 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreatePipelineLayout", (PFN_vkVoidFunction)__fn); }
3161 : return ret;
3162 : }
3163 :
3164 : static void xl_hook_tl_deviceHookTable_vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator) {
3165 : auto __fn = tl_deviceHookTable.table->vkDestroyPipelineLayout;
3166 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyPipelineLayout) {
3167 : __fn = tl_deviceHookTable.replace->vkDestroyPipelineLayout;
3168 : }
3169 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyPipelineLayout", (PFN_vkVoidFunction)__fn); }
3170 : __fn(device, pipelineLayout, pAllocator);
3171 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyPipelineLayout", (PFN_vkVoidFunction)__fn); }
3172 : }
3173 :
3174 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSampler(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) {
3175 : auto __fn = tl_deviceHookTable.table->vkCreateSampler;
3176 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSampler) {
3177 : __fn = tl_deviceHookTable.replace->vkCreateSampler;
3178 : }
3179 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSampler", (PFN_vkVoidFunction)__fn); }
3180 : auto ret = __fn(device, pCreateInfo, pAllocator, pSampler);
3181 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSampler", (PFN_vkVoidFunction)__fn); }
3182 : return ret;
3183 : }
3184 :
3185 : static void xl_hook_tl_deviceHookTable_vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator) {
3186 : auto __fn = tl_deviceHookTable.table->vkDestroySampler;
3187 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySampler) {
3188 : __fn = tl_deviceHookTable.replace->vkDestroySampler;
3189 : }
3190 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySampler", (PFN_vkVoidFunction)__fn); }
3191 : __fn(device, sampler, pAllocator);
3192 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySampler", (PFN_vkVoidFunction)__fn); }
3193 : }
3194 :
3195 : static VkResult xl_hook_tl_deviceHookTable_vkCreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) {
3196 : auto __fn = tl_deviceHookTable.table->vkCreateDescriptorSetLayout;
3197 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateDescriptorSetLayout) {
3198 : __fn = tl_deviceHookTable.replace->vkCreateDescriptorSetLayout;
3199 : }
3200 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateDescriptorSetLayout", (PFN_vkVoidFunction)__fn); }
3201 : auto ret = __fn(device, pCreateInfo, pAllocator, pSetLayout);
3202 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateDescriptorSetLayout", (PFN_vkVoidFunction)__fn); }
3203 : return ret;
3204 : }
3205 :
3206 : static void xl_hook_tl_deviceHookTable_vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) {
3207 : auto __fn = tl_deviceHookTable.table->vkDestroyDescriptorSetLayout;
3208 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDescriptorSetLayout) {
3209 : __fn = tl_deviceHookTable.replace->vkDestroyDescriptorSetLayout;
3210 : }
3211 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorSetLayout", (PFN_vkVoidFunction)__fn); }
3212 : __fn(device, descriptorSetLayout, pAllocator);
3213 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorSetLayout", (PFN_vkVoidFunction)__fn); }
3214 : }
3215 :
3216 : static VkResult xl_hook_tl_deviceHookTable_vkCreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) {
3217 : auto __fn = tl_deviceHookTable.table->vkCreateDescriptorPool;
3218 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateDescriptorPool) {
3219 : __fn = tl_deviceHookTable.replace->vkCreateDescriptorPool;
3220 : }
3221 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateDescriptorPool", (PFN_vkVoidFunction)__fn); }
3222 : auto ret = __fn(device, pCreateInfo, pAllocator, pDescriptorPool);
3223 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateDescriptorPool", (PFN_vkVoidFunction)__fn); }
3224 : return ret;
3225 : }
3226 :
3227 : static void xl_hook_tl_deviceHookTable_vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) {
3228 : auto __fn = tl_deviceHookTable.table->vkDestroyDescriptorPool;
3229 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDescriptorPool) {
3230 : __fn = tl_deviceHookTable.replace->vkDestroyDescriptorPool;
3231 : }
3232 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorPool", (PFN_vkVoidFunction)__fn); }
3233 : __fn(device, descriptorPool, pAllocator);
3234 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorPool", (PFN_vkVoidFunction)__fn); }
3235 : }
3236 :
3237 : static VkResult xl_hook_tl_deviceHookTable_vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) {
3238 : auto __fn = tl_deviceHookTable.table->vkResetDescriptorPool;
3239 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetDescriptorPool) {
3240 : __fn = tl_deviceHookTable.replace->vkResetDescriptorPool;
3241 : }
3242 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetDescriptorPool", (PFN_vkVoidFunction)__fn); }
3243 : auto ret = __fn(device, descriptorPool, flags);
3244 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetDescriptorPool", (PFN_vkVoidFunction)__fn); }
3245 : return ret;
3246 : }
3247 :
3248 : static VkResult xl_hook_tl_deviceHookTable_vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) {
3249 : auto __fn = tl_deviceHookTable.table->vkAllocateDescriptorSets;
3250 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAllocateDescriptorSets) {
3251 : __fn = tl_deviceHookTable.replace->vkAllocateDescriptorSets;
3252 : }
3253 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAllocateDescriptorSets", (PFN_vkVoidFunction)__fn); }
3254 : auto ret = __fn(device, pAllocateInfo, pDescriptorSets);
3255 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAllocateDescriptorSets", (PFN_vkVoidFunction)__fn); }
3256 : return ret;
3257 : }
3258 :
3259 : static VkResult xl_hook_tl_deviceHookTable_vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets) {
3260 : auto __fn = tl_deviceHookTable.table->vkFreeDescriptorSets;
3261 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkFreeDescriptorSets) {
3262 : __fn = tl_deviceHookTable.replace->vkFreeDescriptorSets;
3263 : }
3264 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkFreeDescriptorSets", (PFN_vkVoidFunction)__fn); }
3265 : auto ret = __fn(device, descriptorPool, descriptorSetCount, pDescriptorSets);
3266 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkFreeDescriptorSets", (PFN_vkVoidFunction)__fn); }
3267 : return ret;
3268 : }
3269 :
3270 : static void xl_hook_tl_deviceHookTable_vkUpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies) {
3271 : auto __fn = tl_deviceHookTable.table->vkUpdateDescriptorSets;
3272 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUpdateDescriptorSets) {
3273 : __fn = tl_deviceHookTable.replace->vkUpdateDescriptorSets;
3274 : }
3275 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSets", (PFN_vkVoidFunction)__fn); }
3276 : __fn(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
3277 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSets", (PFN_vkVoidFunction)__fn); }
3278 : }
3279 :
3280 : static VkResult xl_hook_tl_deviceHookTable_vkCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) {
3281 : auto __fn = tl_deviceHookTable.table->vkCreateFramebuffer;
3282 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateFramebuffer) {
3283 : __fn = tl_deviceHookTable.replace->vkCreateFramebuffer;
3284 : }
3285 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateFramebuffer", (PFN_vkVoidFunction)__fn); }
3286 : auto ret = __fn(device, pCreateInfo, pAllocator, pFramebuffer);
3287 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateFramebuffer", (PFN_vkVoidFunction)__fn); }
3288 : return ret;
3289 : }
3290 :
3291 : static void xl_hook_tl_deviceHookTable_vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator) {
3292 : auto __fn = tl_deviceHookTable.table->vkDestroyFramebuffer;
3293 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyFramebuffer) {
3294 : __fn = tl_deviceHookTable.replace->vkDestroyFramebuffer;
3295 : }
3296 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyFramebuffer", (PFN_vkVoidFunction)__fn); }
3297 : __fn(device, framebuffer, pAllocator);
3298 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyFramebuffer", (PFN_vkVoidFunction)__fn); }
3299 : }
3300 :
3301 : static VkResult xl_hook_tl_deviceHookTable_vkCreateRenderPass(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) {
3302 : auto __fn = tl_deviceHookTable.table->vkCreateRenderPass;
3303 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateRenderPass) {
3304 : __fn = tl_deviceHookTable.replace->vkCreateRenderPass;
3305 : }
3306 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateRenderPass", (PFN_vkVoidFunction)__fn); }
3307 : auto ret = __fn(device, pCreateInfo, pAllocator, pRenderPass);
3308 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateRenderPass", (PFN_vkVoidFunction)__fn); }
3309 : return ret;
3310 : }
3311 :
3312 : static void xl_hook_tl_deviceHookTable_vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator) {
3313 : auto __fn = tl_deviceHookTable.table->vkDestroyRenderPass;
3314 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyRenderPass) {
3315 : __fn = tl_deviceHookTable.replace->vkDestroyRenderPass;
3316 : }
3317 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyRenderPass", (PFN_vkVoidFunction)__fn); }
3318 : __fn(device, renderPass, pAllocator);
3319 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyRenderPass", (PFN_vkVoidFunction)__fn); }
3320 : }
3321 :
3322 : static void xl_hook_tl_deviceHookTable_vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) {
3323 : auto __fn = tl_deviceHookTable.table->vkGetRenderAreaGranularity;
3324 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRenderAreaGranularity) {
3325 : __fn = tl_deviceHookTable.replace->vkGetRenderAreaGranularity;
3326 : }
3327 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRenderAreaGranularity", (PFN_vkVoidFunction)__fn); }
3328 : __fn(device, renderPass, pGranularity);
3329 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRenderAreaGranularity", (PFN_vkVoidFunction)__fn); }
3330 : }
3331 :
3332 : static VkResult xl_hook_tl_deviceHookTable_vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) {
3333 : auto __fn = tl_deviceHookTable.table->vkCreateCommandPool;
3334 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateCommandPool) {
3335 : __fn = tl_deviceHookTable.replace->vkCreateCommandPool;
3336 : }
3337 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateCommandPool", (PFN_vkVoidFunction)__fn); }
3338 : auto ret = __fn(device, pCreateInfo, pAllocator, pCommandPool);
3339 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateCommandPool", (PFN_vkVoidFunction)__fn); }
3340 : return ret;
3341 : }
3342 :
3343 : static void xl_hook_tl_deviceHookTable_vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) {
3344 : auto __fn = tl_deviceHookTable.table->vkDestroyCommandPool;
3345 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyCommandPool) {
3346 : __fn = tl_deviceHookTable.replace->vkDestroyCommandPool;
3347 : }
3348 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyCommandPool", (PFN_vkVoidFunction)__fn); }
3349 : __fn(device, commandPool, pAllocator);
3350 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyCommandPool", (PFN_vkVoidFunction)__fn); }
3351 : }
3352 :
3353 : static VkResult xl_hook_tl_deviceHookTable_vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) {
3354 : auto __fn = tl_deviceHookTable.table->vkResetCommandPool;
3355 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetCommandPool) {
3356 : __fn = tl_deviceHookTable.replace->vkResetCommandPool;
3357 : }
3358 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetCommandPool", (PFN_vkVoidFunction)__fn); }
3359 : auto ret = __fn(device, commandPool, flags);
3360 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetCommandPool", (PFN_vkVoidFunction)__fn); }
3361 : return ret;
3362 : }
3363 :
3364 : static VkResult xl_hook_tl_deviceHookTable_vkAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) {
3365 : auto __fn = tl_deviceHookTable.table->vkAllocateCommandBuffers;
3366 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAllocateCommandBuffers) {
3367 : __fn = tl_deviceHookTable.replace->vkAllocateCommandBuffers;
3368 : }
3369 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAllocateCommandBuffers", (PFN_vkVoidFunction)__fn); }
3370 : auto ret = __fn(device, pAllocateInfo, pCommandBuffers);
3371 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAllocateCommandBuffers", (PFN_vkVoidFunction)__fn); }
3372 : return ret;
3373 : }
3374 :
3375 : static void xl_hook_tl_deviceHookTable_vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers) {
3376 : auto __fn = tl_deviceHookTable.table->vkFreeCommandBuffers;
3377 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkFreeCommandBuffers) {
3378 : __fn = tl_deviceHookTable.replace->vkFreeCommandBuffers;
3379 : }
3380 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkFreeCommandBuffers", (PFN_vkVoidFunction)__fn); }
3381 : __fn(device, commandPool, commandBufferCount, pCommandBuffers);
3382 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkFreeCommandBuffers", (PFN_vkVoidFunction)__fn); }
3383 : }
3384 :
3385 : static VkResult xl_hook_tl_deviceHookTable_vkBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo) {
3386 : auto __fn = tl_deviceHookTable.table->vkBeginCommandBuffer;
3387 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBeginCommandBuffer) {
3388 : __fn = tl_deviceHookTable.replace->vkBeginCommandBuffer;
3389 : }
3390 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBeginCommandBuffer", (PFN_vkVoidFunction)__fn); }
3391 : auto ret = __fn(commandBuffer, pBeginInfo);
3392 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBeginCommandBuffer", (PFN_vkVoidFunction)__fn); }
3393 : return ret;
3394 : }
3395 :
3396 : static VkResult xl_hook_tl_deviceHookTable_vkEndCommandBuffer(VkCommandBuffer commandBuffer) {
3397 : auto __fn = tl_deviceHookTable.table->vkEndCommandBuffer;
3398 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkEndCommandBuffer) {
3399 : __fn = tl_deviceHookTable.replace->vkEndCommandBuffer;
3400 : }
3401 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkEndCommandBuffer", (PFN_vkVoidFunction)__fn); }
3402 : auto ret = __fn(commandBuffer);
3403 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkEndCommandBuffer", (PFN_vkVoidFunction)__fn); }
3404 : return ret;
3405 : }
3406 :
3407 : static VkResult xl_hook_tl_deviceHookTable_vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags) {
3408 : auto __fn = tl_deviceHookTable.table->vkResetCommandBuffer;
3409 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetCommandBuffer) {
3410 : __fn = tl_deviceHookTable.replace->vkResetCommandBuffer;
3411 : }
3412 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetCommandBuffer", (PFN_vkVoidFunction)__fn); }
3413 : auto ret = __fn(commandBuffer, flags);
3414 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetCommandBuffer", (PFN_vkVoidFunction)__fn); }
3415 : return ret;
3416 : }
3417 :
3418 : static void xl_hook_tl_deviceHookTable_vkCmdBindPipeline(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) {
3419 : auto __fn = tl_deviceHookTable.table->vkCmdBindPipeline;
3420 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindPipeline) {
3421 : __fn = tl_deviceHookTable.replace->vkCmdBindPipeline;
3422 : }
3423 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindPipeline", (PFN_vkVoidFunction)__fn); }
3424 : __fn(commandBuffer, pipelineBindPoint, pipeline);
3425 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindPipeline", (PFN_vkVoidFunction)__fn); }
3426 : }
3427 :
3428 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewport(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport* pViewports) {
3429 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewport;
3430 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewport) {
3431 : __fn = tl_deviceHookTable.replace->vkCmdSetViewport;
3432 : }
3433 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewport", (PFN_vkVoidFunction)__fn); }
3434 : __fn(commandBuffer, firstViewport, viewportCount, pViewports);
3435 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewport", (PFN_vkVoidFunction)__fn); }
3436 : }
3437 :
3438 : static void xl_hook_tl_deviceHookTable_vkCmdSetScissor(VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors) {
3439 : auto __fn = tl_deviceHookTable.table->vkCmdSetScissor;
3440 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetScissor) {
3441 : __fn = tl_deviceHookTable.replace->vkCmdSetScissor;
3442 : }
3443 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetScissor", (PFN_vkVoidFunction)__fn); }
3444 : __fn(commandBuffer, firstScissor, scissorCount, pScissors);
3445 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetScissor", (PFN_vkVoidFunction)__fn); }
3446 : }
3447 :
3448 : static void xl_hook_tl_deviceHookTable_vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) {
3449 : auto __fn = tl_deviceHookTable.table->vkCmdSetLineWidth;
3450 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLineWidth) {
3451 : __fn = tl_deviceHookTable.replace->vkCmdSetLineWidth;
3452 : }
3453 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLineWidth", (PFN_vkVoidFunction)__fn); }
3454 : __fn(commandBuffer, lineWidth);
3455 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLineWidth", (PFN_vkVoidFunction)__fn); }
3456 : }
3457 :
3458 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) {
3459 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBias;
3460 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBias) {
3461 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBias;
3462 : }
3463 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBias", (PFN_vkVoidFunction)__fn); }
3464 : __fn(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
3465 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBias", (PFN_vkVoidFunction)__fn); }
3466 : }
3467 :
3468 : static void xl_hook_tl_deviceHookTable_vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, const float blendConstants[4]) {
3469 : auto __fn = tl_deviceHookTable.table->vkCmdSetBlendConstants;
3470 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetBlendConstants) {
3471 : __fn = tl_deviceHookTable.replace->vkCmdSetBlendConstants;
3472 : }
3473 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetBlendConstants", (PFN_vkVoidFunction)__fn); }
3474 : __fn(commandBuffer, blendConstants);
3475 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetBlendConstants", (PFN_vkVoidFunction)__fn); }
3476 : }
3477 :
3478 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBounds(VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds) {
3479 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBounds;
3480 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBounds) {
3481 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBounds;
3482 : }
3483 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBounds", (PFN_vkVoidFunction)__fn); }
3484 : __fn(commandBuffer, minDepthBounds, maxDepthBounds);
3485 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBounds", (PFN_vkVoidFunction)__fn); }
3486 : }
3487 :
3488 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilCompareMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask) {
3489 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilCompareMask;
3490 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilCompareMask) {
3491 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilCompareMask;
3492 : }
3493 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilCompareMask", (PFN_vkVoidFunction)__fn); }
3494 : __fn(commandBuffer, faceMask, compareMask);
3495 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilCompareMask", (PFN_vkVoidFunction)__fn); }
3496 : }
3497 :
3498 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilWriteMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask) {
3499 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilWriteMask;
3500 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilWriteMask) {
3501 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilWriteMask;
3502 : }
3503 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilWriteMask", (PFN_vkVoidFunction)__fn); }
3504 : __fn(commandBuffer, faceMask, writeMask);
3505 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilWriteMask", (PFN_vkVoidFunction)__fn); }
3506 : }
3507 :
3508 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilReference(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference) {
3509 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilReference;
3510 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilReference) {
3511 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilReference;
3512 : }
3513 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilReference", (PFN_vkVoidFunction)__fn); }
3514 : __fn(commandBuffer, faceMask, reference);
3515 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilReference", (PFN_vkVoidFunction)__fn); }
3516 : }
3517 :
3518 : static void xl_hook_tl_deviceHookTable_vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets) {
3519 : auto __fn = tl_deviceHookTable.table->vkCmdBindDescriptorSets;
3520 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindDescriptorSets) {
3521 : __fn = tl_deviceHookTable.replace->vkCmdBindDescriptorSets;
3522 : }
3523 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorSets", (PFN_vkVoidFunction)__fn); }
3524 : __fn(commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
3525 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorSets", (PFN_vkVoidFunction)__fn); }
3526 : }
3527 :
3528 : static void xl_hook_tl_deviceHookTable_vkCmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) {
3529 : auto __fn = tl_deviceHookTable.table->vkCmdBindIndexBuffer;
3530 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindIndexBuffer) {
3531 : __fn = tl_deviceHookTable.replace->vkCmdBindIndexBuffer;
3532 : }
3533 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindIndexBuffer", (PFN_vkVoidFunction)__fn); }
3534 : __fn(commandBuffer, buffer, offset, indexType);
3535 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindIndexBuffer", (PFN_vkVoidFunction)__fn); }
3536 : }
3537 :
3538 : static void xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) {
3539 : auto __fn = tl_deviceHookTable.table->vkCmdBindVertexBuffers;
3540 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindVertexBuffers) {
3541 : __fn = tl_deviceHookTable.replace->vkCmdBindVertexBuffers;
3542 : }
3543 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers", (PFN_vkVoidFunction)__fn); }
3544 : __fn(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
3545 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers", (PFN_vkVoidFunction)__fn); }
3546 : }
3547 :
3548 : static void xl_hook_tl_deviceHookTable_vkCmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) {
3549 : auto __fn = tl_deviceHookTable.table->vkCmdDraw;
3550 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDraw) {
3551 : __fn = tl_deviceHookTable.replace->vkCmdDraw;
3552 : }
3553 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDraw", (PFN_vkVoidFunction)__fn); }
3554 : __fn(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
3555 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDraw", (PFN_vkVoidFunction)__fn); }
3556 : }
3557 :
3558 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) {
3559 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndexed;
3560 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndexed) {
3561 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndexed;
3562 : }
3563 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexed", (PFN_vkVoidFunction)__fn); }
3564 : __fn(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
3565 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexed", (PFN_vkVoidFunction)__fn); }
3566 : }
3567 :
3568 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) {
3569 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndirect;
3570 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndirect) {
3571 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndirect;
3572 : }
3573 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirect", (PFN_vkVoidFunction)__fn); }
3574 : __fn(commandBuffer, buffer, offset, drawCount, stride);
3575 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirect", (PFN_vkVoidFunction)__fn); }
3576 : }
3577 :
3578 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) {
3579 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndexedIndirect;
3580 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndexedIndirect) {
3581 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndexedIndirect;
3582 : }
3583 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirect", (PFN_vkVoidFunction)__fn); }
3584 : __fn(commandBuffer, buffer, offset, drawCount, stride);
3585 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirect", (PFN_vkVoidFunction)__fn); }
3586 : }
3587 :
3588 : static void xl_hook_tl_deviceHookTable_vkCmdDispatch(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) {
3589 : auto __fn = tl_deviceHookTable.table->vkCmdDispatch;
3590 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatch) {
3591 : __fn = tl_deviceHookTable.replace->vkCmdDispatch;
3592 : }
3593 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatch", (PFN_vkVoidFunction)__fn); }
3594 : __fn(commandBuffer, groupCountX, groupCountY, groupCountZ);
3595 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatch", (PFN_vkVoidFunction)__fn); }
3596 : }
3597 :
3598 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) {
3599 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchIndirect;
3600 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchIndirect) {
3601 : __fn = tl_deviceHookTable.replace->vkCmdDispatchIndirect;
3602 : }
3603 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchIndirect", (PFN_vkVoidFunction)__fn); }
3604 : __fn(commandBuffer, buffer, offset);
3605 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchIndirect", (PFN_vkVoidFunction)__fn); }
3606 : }
3607 :
3608 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) {
3609 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBuffer;
3610 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBuffer) {
3611 : __fn = tl_deviceHookTable.replace->vkCmdCopyBuffer;
3612 : }
3613 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer", (PFN_vkVoidFunction)__fn); }
3614 : __fn(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
3615 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer", (PFN_vkVoidFunction)__fn); }
3616 : }
3617 :
3618 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) {
3619 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImage;
3620 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImage) {
3621 : __fn = tl_deviceHookTable.replace->vkCmdCopyImage;
3622 : }
3623 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImage", (PFN_vkVoidFunction)__fn); }
3624 : __fn(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
3625 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImage", (PFN_vkVoidFunction)__fn); }
3626 : }
3627 :
3628 : static void xl_hook_tl_deviceHookTable_vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter) {
3629 : auto __fn = tl_deviceHookTable.table->vkCmdBlitImage;
3630 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBlitImage) {
3631 : __fn = tl_deviceHookTable.replace->vkCmdBlitImage;
3632 : }
3633 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBlitImage", (PFN_vkVoidFunction)__fn); }
3634 : __fn(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
3635 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBlitImage", (PFN_vkVoidFunction)__fn); }
3636 : }
3637 :
3638 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) {
3639 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBufferToImage;
3640 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBufferToImage) {
3641 : __fn = tl_deviceHookTable.replace->vkCmdCopyBufferToImage;
3642 : }
3643 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage", (PFN_vkVoidFunction)__fn); }
3644 : __fn(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
3645 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage", (PFN_vkVoidFunction)__fn); }
3646 : }
3647 :
3648 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) {
3649 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImageToBuffer;
3650 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImageToBuffer) {
3651 : __fn = tl_deviceHookTable.replace->vkCmdCopyImageToBuffer;
3652 : }
3653 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer", (PFN_vkVoidFunction)__fn); }
3654 : __fn(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
3655 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer", (PFN_vkVoidFunction)__fn); }
3656 : }
3657 :
3658 : static void xl_hook_tl_deviceHookTable_vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData) {
3659 : auto __fn = tl_deviceHookTable.table->vkCmdUpdateBuffer;
3660 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdUpdateBuffer) {
3661 : __fn = tl_deviceHookTable.replace->vkCmdUpdateBuffer;
3662 : }
3663 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdUpdateBuffer", (PFN_vkVoidFunction)__fn); }
3664 : __fn(commandBuffer, dstBuffer, dstOffset, dataSize, pData);
3665 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdUpdateBuffer", (PFN_vkVoidFunction)__fn); }
3666 : }
3667 :
3668 : static void xl_hook_tl_deviceHookTable_vkCmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) {
3669 : auto __fn = tl_deviceHookTable.table->vkCmdFillBuffer;
3670 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdFillBuffer) {
3671 : __fn = tl_deviceHookTable.replace->vkCmdFillBuffer;
3672 : }
3673 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdFillBuffer", (PFN_vkVoidFunction)__fn); }
3674 : __fn(commandBuffer, dstBuffer, dstOffset, size, data);
3675 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdFillBuffer", (PFN_vkVoidFunction)__fn); }
3676 : }
3677 :
3678 : static void xl_hook_tl_deviceHookTable_vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) {
3679 : auto __fn = tl_deviceHookTable.table->vkCmdClearColorImage;
3680 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdClearColorImage) {
3681 : __fn = tl_deviceHookTable.replace->vkCmdClearColorImage;
3682 : }
3683 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdClearColorImage", (PFN_vkVoidFunction)__fn); }
3684 : __fn(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
3685 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdClearColorImage", (PFN_vkVoidFunction)__fn); }
3686 : }
3687 :
3688 : static void xl_hook_tl_deviceHookTable_vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) {
3689 : auto __fn = tl_deviceHookTable.table->vkCmdClearDepthStencilImage;
3690 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdClearDepthStencilImage) {
3691 : __fn = tl_deviceHookTable.replace->vkCmdClearDepthStencilImage;
3692 : }
3693 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdClearDepthStencilImage", (PFN_vkVoidFunction)__fn); }
3694 : __fn(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
3695 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdClearDepthStencilImage", (PFN_vkVoidFunction)__fn); }
3696 : }
3697 :
3698 : static void xl_hook_tl_deviceHookTable_vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects) {
3699 : auto __fn = tl_deviceHookTable.table->vkCmdClearAttachments;
3700 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdClearAttachments) {
3701 : __fn = tl_deviceHookTable.replace->vkCmdClearAttachments;
3702 : }
3703 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdClearAttachments", (PFN_vkVoidFunction)__fn); }
3704 : __fn(commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
3705 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdClearAttachments", (PFN_vkVoidFunction)__fn); }
3706 : }
3707 :
3708 : static void xl_hook_tl_deviceHookTable_vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions) {
3709 : auto __fn = tl_deviceHookTable.table->vkCmdResolveImage;
3710 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResolveImage) {
3711 : __fn = tl_deviceHookTable.replace->vkCmdResolveImage;
3712 : }
3713 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResolveImage", (PFN_vkVoidFunction)__fn); }
3714 : __fn(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
3715 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResolveImage", (PFN_vkVoidFunction)__fn); }
3716 : }
3717 :
3718 : static void xl_hook_tl_deviceHookTable_vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) {
3719 : auto __fn = tl_deviceHookTable.table->vkCmdSetEvent;
3720 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetEvent) {
3721 : __fn = tl_deviceHookTable.replace->vkCmdSetEvent;
3722 : }
3723 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetEvent", (PFN_vkVoidFunction)__fn); }
3724 : __fn(commandBuffer, event, stageMask);
3725 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetEvent", (PFN_vkVoidFunction)__fn); }
3726 : }
3727 :
3728 : static void xl_hook_tl_deviceHookTable_vkCmdResetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) {
3729 : auto __fn = tl_deviceHookTable.table->vkCmdResetEvent;
3730 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResetEvent) {
3731 : __fn = tl_deviceHookTable.replace->vkCmdResetEvent;
3732 : }
3733 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResetEvent", (PFN_vkVoidFunction)__fn); }
3734 : __fn(commandBuffer, event, stageMask);
3735 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResetEvent", (PFN_vkVoidFunction)__fn); }
3736 : }
3737 :
3738 : static void xl_hook_tl_deviceHookTable_vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers) {
3739 : auto __fn = tl_deviceHookTable.table->vkCmdWaitEvents;
3740 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWaitEvents) {
3741 : __fn = tl_deviceHookTable.replace->vkCmdWaitEvents;
3742 : }
3743 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents", (PFN_vkVoidFunction)__fn); }
3744 : __fn(commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
3745 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents", (PFN_vkVoidFunction)__fn); }
3746 : }
3747 :
3748 : static void xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers) {
3749 : auto __fn = tl_deviceHookTable.table->vkCmdPipelineBarrier;
3750 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPipelineBarrier) {
3751 : __fn = tl_deviceHookTable.replace->vkCmdPipelineBarrier;
3752 : }
3753 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier", (PFN_vkVoidFunction)__fn); }
3754 : __fn(commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
3755 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier", (PFN_vkVoidFunction)__fn); }
3756 : }
3757 :
3758 : static void xl_hook_tl_deviceHookTable_vkCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags) {
3759 : auto __fn = tl_deviceHookTable.table->vkCmdBeginQuery;
3760 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginQuery) {
3761 : __fn = tl_deviceHookTable.replace->vkCmdBeginQuery;
3762 : }
3763 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginQuery", (PFN_vkVoidFunction)__fn); }
3764 : __fn(commandBuffer, queryPool, query, flags);
3765 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginQuery", (PFN_vkVoidFunction)__fn); }
3766 : }
3767 :
3768 : static void xl_hook_tl_deviceHookTable_vkCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query) {
3769 : auto __fn = tl_deviceHookTable.table->vkCmdEndQuery;
3770 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndQuery) {
3771 : __fn = tl_deviceHookTable.replace->vkCmdEndQuery;
3772 : }
3773 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndQuery", (PFN_vkVoidFunction)__fn); }
3774 : __fn(commandBuffer, queryPool, query);
3775 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndQuery", (PFN_vkVoidFunction)__fn); }
3776 : }
3777 :
3778 : static void xl_hook_tl_deviceHookTable_vkCmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) {
3779 : auto __fn = tl_deviceHookTable.table->vkCmdResetQueryPool;
3780 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResetQueryPool) {
3781 : __fn = tl_deviceHookTable.replace->vkCmdResetQueryPool;
3782 : }
3783 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResetQueryPool", (PFN_vkVoidFunction)__fn); }
3784 : __fn(commandBuffer, queryPool, firstQuery, queryCount);
3785 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResetQueryPool", (PFN_vkVoidFunction)__fn); }
3786 : }
3787 :
3788 : static void xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query) {
3789 : auto __fn = tl_deviceHookTable.table->vkCmdWriteTimestamp;
3790 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteTimestamp) {
3791 : __fn = tl_deviceHookTable.replace->vkCmdWriteTimestamp;
3792 : }
3793 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp", (PFN_vkVoidFunction)__fn); }
3794 : __fn(commandBuffer, pipelineStage, queryPool, query);
3795 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp", (PFN_vkVoidFunction)__fn); }
3796 : }
3797 :
3798 : static void xl_hook_tl_deviceHookTable_vkCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) {
3799 : auto __fn = tl_deviceHookTable.table->vkCmdCopyQueryPoolResults;
3800 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyQueryPoolResults) {
3801 : __fn = tl_deviceHookTable.replace->vkCmdCopyQueryPoolResults;
3802 : }
3803 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyQueryPoolResults", (PFN_vkVoidFunction)__fn); }
3804 : __fn(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
3805 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyQueryPoolResults", (PFN_vkVoidFunction)__fn); }
3806 : }
3807 :
3808 : static void xl_hook_tl_deviceHookTable_vkCmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues) {
3809 : auto __fn = tl_deviceHookTable.table->vkCmdPushConstants;
3810 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPushConstants) {
3811 : __fn = tl_deviceHookTable.replace->vkCmdPushConstants;
3812 : }
3813 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPushConstants", (PFN_vkVoidFunction)__fn); }
3814 : __fn(commandBuffer, layout, stageFlags, offset, size, pValues);
3815 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPushConstants", (PFN_vkVoidFunction)__fn); }
3816 : }
3817 :
3818 : static void xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents) {
3819 : auto __fn = tl_deviceHookTable.table->vkCmdBeginRenderPass;
3820 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginRenderPass) {
3821 : __fn = tl_deviceHookTable.replace->vkCmdBeginRenderPass;
3822 : }
3823 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass", (PFN_vkVoidFunction)__fn); }
3824 : __fn(commandBuffer, pRenderPassBegin, contents);
3825 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass", (PFN_vkVoidFunction)__fn); }
3826 : }
3827 :
3828 : static void xl_hook_tl_deviceHookTable_vkCmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents) {
3829 : auto __fn = tl_deviceHookTable.table->vkCmdNextSubpass;
3830 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdNextSubpass) {
3831 : __fn = tl_deviceHookTable.replace->vkCmdNextSubpass;
3832 : }
3833 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass", (PFN_vkVoidFunction)__fn); }
3834 : __fn(commandBuffer, contents);
3835 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass", (PFN_vkVoidFunction)__fn); }
3836 : }
3837 :
3838 : static void xl_hook_tl_deviceHookTable_vkCmdEndRenderPass(VkCommandBuffer commandBuffer) {
3839 : auto __fn = tl_deviceHookTable.table->vkCmdEndRenderPass;
3840 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndRenderPass) {
3841 : __fn = tl_deviceHookTable.replace->vkCmdEndRenderPass;
3842 : }
3843 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass", (PFN_vkVoidFunction)__fn); }
3844 : __fn(commandBuffer);
3845 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass", (PFN_vkVoidFunction)__fn); }
3846 : }
3847 :
3848 : static void xl_hook_tl_deviceHookTable_vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers) {
3849 : auto __fn = tl_deviceHookTable.table->vkCmdExecuteCommands;
3850 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdExecuteCommands) {
3851 : __fn = tl_deviceHookTable.replace->vkCmdExecuteCommands;
3852 : }
3853 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdExecuteCommands", (PFN_vkVoidFunction)__fn); }
3854 : __fn(commandBuffer, commandBufferCount, pCommandBuffers);
3855 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdExecuteCommands", (PFN_vkVoidFunction)__fn); }
3856 : }
3857 :
3858 : #endif /* defined(VK_VERSION_1_0) */
3859 :
3860 : #if defined(VK_VERSION_1_1)
3861 :
3862 : static VkResult xl_hook_tl_deviceHookTable_vkBindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos) {
3863 : auto __fn = tl_deviceHookTable.table->vkBindBufferMemory2;
3864 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindBufferMemory2) {
3865 : __fn = tl_deviceHookTable.replace->vkBindBufferMemory2;
3866 : }
3867 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindBufferMemory2", (PFN_vkVoidFunction)__fn); }
3868 : auto ret = __fn(device, bindInfoCount, pBindInfos);
3869 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindBufferMemory2", (PFN_vkVoidFunction)__fn); }
3870 : return ret;
3871 : }
3872 :
3873 : static VkResult xl_hook_tl_deviceHookTable_vkBindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos) {
3874 : auto __fn = tl_deviceHookTable.table->vkBindImageMemory2;
3875 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindImageMemory2) {
3876 : __fn = tl_deviceHookTable.replace->vkBindImageMemory2;
3877 : }
3878 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindImageMemory2", (PFN_vkVoidFunction)__fn); }
3879 : auto ret = __fn(device, bindInfoCount, pBindInfos);
3880 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindImageMemory2", (PFN_vkVoidFunction)__fn); }
3881 : return ret;
3882 : }
3883 :
3884 : static void xl_hook_tl_deviceHookTable_vkGetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) {
3885 : auto __fn = tl_deviceHookTable.table->vkGetDeviceGroupPeerMemoryFeatures;
3886 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceGroupPeerMemoryFeatures) {
3887 : __fn = tl_deviceHookTable.replace->vkGetDeviceGroupPeerMemoryFeatures;
3888 : }
3889 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPeerMemoryFeatures", (PFN_vkVoidFunction)__fn); }
3890 : __fn(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
3891 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPeerMemoryFeatures", (PFN_vkVoidFunction)__fn); }
3892 : }
3893 :
3894 : static void xl_hook_tl_deviceHookTable_vkCmdSetDeviceMask(VkCommandBuffer commandBuffer, uint32_t deviceMask) {
3895 : auto __fn = tl_deviceHookTable.table->vkCmdSetDeviceMask;
3896 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDeviceMask) {
3897 : __fn = tl_deviceHookTable.replace->vkCmdSetDeviceMask;
3898 : }
3899 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDeviceMask", (PFN_vkVoidFunction)__fn); }
3900 : __fn(commandBuffer, deviceMask);
3901 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDeviceMask", (PFN_vkVoidFunction)__fn); }
3902 : }
3903 :
3904 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchBase(VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) {
3905 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchBase;
3906 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchBase) {
3907 : __fn = tl_deviceHookTable.replace->vkCmdDispatchBase;
3908 : }
3909 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchBase", (PFN_vkVoidFunction)__fn); }
3910 : __fn(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
3911 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchBase", (PFN_vkVoidFunction)__fn); }
3912 : }
3913 :
3914 : static void xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements2(VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) {
3915 : auto __fn = tl_deviceHookTable.table->vkGetImageMemoryRequirements2;
3916 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageMemoryRequirements2) {
3917 : __fn = tl_deviceHookTable.replace->vkGetImageMemoryRequirements2;
3918 : }
3919 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3920 : __fn(device, pInfo, pMemoryRequirements);
3921 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3922 : }
3923 :
3924 : static void xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements2(VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements) {
3925 : auto __fn = tl_deviceHookTable.table->vkGetBufferMemoryRequirements2;
3926 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferMemoryRequirements2) {
3927 : __fn = tl_deviceHookTable.replace->vkGetBufferMemoryRequirements2;
3928 : }
3929 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3930 : __fn(device, pInfo, pMemoryRequirements);
3931 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3932 : }
3933 :
3934 : static void xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements2(VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) {
3935 : auto __fn = tl_deviceHookTable.table->vkGetImageSparseMemoryRequirements2;
3936 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements2) {
3937 : __fn = tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements2;
3938 : }
3939 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3940 : __fn(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
3941 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements2", (PFN_vkVoidFunction)__fn); }
3942 : }
3943 :
3944 : static void xl_hook_tl_deviceHookTable_vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) {
3945 : auto __fn = tl_deviceHookTable.table->vkTrimCommandPool;
3946 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkTrimCommandPool) {
3947 : __fn = tl_deviceHookTable.replace->vkTrimCommandPool;
3948 : }
3949 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkTrimCommandPool", (PFN_vkVoidFunction)__fn); }
3950 : __fn(device, commandPool, flags);
3951 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkTrimCommandPool", (PFN_vkVoidFunction)__fn); }
3952 : }
3953 :
3954 : static void xl_hook_tl_deviceHookTable_vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue) {
3955 : auto __fn = tl_deviceHookTable.table->vkGetDeviceQueue2;
3956 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceQueue2) {
3957 : __fn = tl_deviceHookTable.replace->vkGetDeviceQueue2;
3958 : }
3959 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceQueue2", (PFN_vkVoidFunction)__fn); }
3960 : __fn(device, pQueueInfo, pQueue);
3961 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceQueue2", (PFN_vkVoidFunction)__fn); }
3962 : }
3963 :
3964 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) {
3965 : auto __fn = tl_deviceHookTable.table->vkCreateSamplerYcbcrConversion;
3966 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSamplerYcbcrConversion) {
3967 : __fn = tl_deviceHookTable.replace->vkCreateSamplerYcbcrConversion;
3968 : }
3969 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSamplerYcbcrConversion", (PFN_vkVoidFunction)__fn); }
3970 : auto ret = __fn(device, pCreateInfo, pAllocator, pYcbcrConversion);
3971 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSamplerYcbcrConversion", (PFN_vkVoidFunction)__fn); }
3972 : return ret;
3973 : }
3974 :
3975 : static void xl_hook_tl_deviceHookTable_vkDestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) {
3976 : auto __fn = tl_deviceHookTable.table->vkDestroySamplerYcbcrConversion;
3977 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySamplerYcbcrConversion) {
3978 : __fn = tl_deviceHookTable.replace->vkDestroySamplerYcbcrConversion;
3979 : }
3980 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySamplerYcbcrConversion", (PFN_vkVoidFunction)__fn); }
3981 : __fn(device, ycbcrConversion, pAllocator);
3982 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySamplerYcbcrConversion", (PFN_vkVoidFunction)__fn); }
3983 : }
3984 :
3985 : static VkResult xl_hook_tl_deviceHookTable_vkCreateDescriptorUpdateTemplate(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate) {
3986 : auto __fn = tl_deviceHookTable.table->vkCreateDescriptorUpdateTemplate;
3987 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateDescriptorUpdateTemplate) {
3988 : __fn = tl_deviceHookTable.replace->vkCreateDescriptorUpdateTemplate;
3989 : }
3990 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateDescriptorUpdateTemplate", (PFN_vkVoidFunction)__fn); }
3991 : auto ret = __fn(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
3992 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateDescriptorUpdateTemplate", (PFN_vkVoidFunction)__fn); }
3993 : return ret;
3994 : }
3995 :
3996 : static void xl_hook_tl_deviceHookTable_vkDestroyDescriptorUpdateTemplate(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator) {
3997 : auto __fn = tl_deviceHookTable.table->vkDestroyDescriptorUpdateTemplate;
3998 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDescriptorUpdateTemplate) {
3999 : __fn = tl_deviceHookTable.replace->vkDestroyDescriptorUpdateTemplate;
4000 : }
4001 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorUpdateTemplate", (PFN_vkVoidFunction)__fn); }
4002 : __fn(device, descriptorUpdateTemplate, pAllocator);
4003 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorUpdateTemplate", (PFN_vkVoidFunction)__fn); }
4004 : }
4005 :
4006 : static void xl_hook_tl_deviceHookTable_vkUpdateDescriptorSetWithTemplate(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData) {
4007 : auto __fn = tl_deviceHookTable.table->vkUpdateDescriptorSetWithTemplate;
4008 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUpdateDescriptorSetWithTemplate) {
4009 : __fn = tl_deviceHookTable.replace->vkUpdateDescriptorSetWithTemplate;
4010 : }
4011 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSetWithTemplate", (PFN_vkVoidFunction)__fn); }
4012 : __fn(device, descriptorSet, descriptorUpdateTemplate, pData);
4013 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSetWithTemplate", (PFN_vkVoidFunction)__fn); }
4014 : }
4015 :
4016 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSupport(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport) {
4017 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetLayoutSupport;
4018 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSupport) {
4019 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSupport;
4020 : }
4021 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSupport", (PFN_vkVoidFunction)__fn); }
4022 : __fn(device, pCreateInfo, pSupport);
4023 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSupport", (PFN_vkVoidFunction)__fn); }
4024 : }
4025 :
4026 : #endif /* defined(VK_VERSION_1_1) */
4027 :
4028 : #if defined(VK_VERSION_1_2)
4029 :
4030 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
4031 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndirectCount;
4032 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndirectCount) {
4033 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndirectCount;
4034 : }
4035 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCount", (PFN_vkVoidFunction)__fn); }
4036 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
4037 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCount", (PFN_vkVoidFunction)__fn); }
4038 : }
4039 :
4040 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
4041 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndexedIndirectCount;
4042 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCount) {
4043 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCount;
4044 : }
4045 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCount", (PFN_vkVoidFunction)__fn); }
4046 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
4047 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCount", (PFN_vkVoidFunction)__fn); }
4048 : }
4049 :
4050 : static VkResult xl_hook_tl_deviceHookTable_vkCreateRenderPass2(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) {
4051 : auto __fn = tl_deviceHookTable.table->vkCreateRenderPass2;
4052 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateRenderPass2) {
4053 : __fn = tl_deviceHookTable.replace->vkCreateRenderPass2;
4054 : }
4055 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateRenderPass2", (PFN_vkVoidFunction)__fn); }
4056 : auto ret = __fn(device, pCreateInfo, pAllocator, pRenderPass);
4057 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateRenderPass2", (PFN_vkVoidFunction)__fn); }
4058 : return ret;
4059 : }
4060 :
4061 : static void xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass2(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, const VkSubpassBeginInfo* pSubpassBeginInfo) {
4062 : auto __fn = tl_deviceHookTable.table->vkCmdBeginRenderPass2;
4063 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginRenderPass2) {
4064 : __fn = tl_deviceHookTable.replace->vkCmdBeginRenderPass2;
4065 : }
4066 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass2", (PFN_vkVoidFunction)__fn); }
4067 : __fn(commandBuffer, pRenderPassBegin, pSubpassBeginInfo);
4068 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass2", (PFN_vkVoidFunction)__fn); }
4069 : }
4070 :
4071 : static void xl_hook_tl_deviceHookTable_vkCmdNextSubpass2(VkCommandBuffer commandBuffer, const VkSubpassBeginInfo* pSubpassBeginInfo, const VkSubpassEndInfo* pSubpassEndInfo) {
4072 : auto __fn = tl_deviceHookTable.table->vkCmdNextSubpass2;
4073 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdNextSubpass2) {
4074 : __fn = tl_deviceHookTable.replace->vkCmdNextSubpass2;
4075 : }
4076 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass2", (PFN_vkVoidFunction)__fn); }
4077 : __fn(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo);
4078 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass2", (PFN_vkVoidFunction)__fn); }
4079 : }
4080 :
4081 : static void xl_hook_tl_deviceHookTable_vkCmdEndRenderPass2(VkCommandBuffer commandBuffer, const VkSubpassEndInfo* pSubpassEndInfo) {
4082 : auto __fn = tl_deviceHookTable.table->vkCmdEndRenderPass2;
4083 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndRenderPass2) {
4084 : __fn = tl_deviceHookTable.replace->vkCmdEndRenderPass2;
4085 : }
4086 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass2", (PFN_vkVoidFunction)__fn); }
4087 : __fn(commandBuffer, pSubpassEndInfo);
4088 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass2", (PFN_vkVoidFunction)__fn); }
4089 : }
4090 :
4091 : static void xl_hook_tl_deviceHookTable_vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) {
4092 : auto __fn = tl_deviceHookTable.table->vkResetQueryPool;
4093 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetQueryPool) {
4094 : __fn = tl_deviceHookTable.replace->vkResetQueryPool;
4095 : }
4096 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetQueryPool", (PFN_vkVoidFunction)__fn); }
4097 : __fn(device, queryPool, firstQuery, queryCount);
4098 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetQueryPool", (PFN_vkVoidFunction)__fn); }
4099 : }
4100 :
4101 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t* pValue) {
4102 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreCounterValue;
4103 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreCounterValue) {
4104 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreCounterValue;
4105 : }
4106 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreCounterValue", (PFN_vkVoidFunction)__fn); }
4107 : auto ret = __fn(device, semaphore, pValue);
4108 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreCounterValue", (PFN_vkVoidFunction)__fn); }
4109 : return ret;
4110 : }
4111 :
4112 : static VkResult xl_hook_tl_deviceHookTable_vkWaitSemaphores(VkDevice device, const VkSemaphoreWaitInfo* pWaitInfo, uint64_t timeout) {
4113 : auto __fn = tl_deviceHookTable.table->vkWaitSemaphores;
4114 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWaitSemaphores) {
4115 : __fn = tl_deviceHookTable.replace->vkWaitSemaphores;
4116 : }
4117 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWaitSemaphores", (PFN_vkVoidFunction)__fn); }
4118 : auto ret = __fn(device, pWaitInfo, timeout);
4119 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWaitSemaphores", (PFN_vkVoidFunction)__fn); }
4120 : return ret;
4121 : }
4122 :
4123 : static VkResult xl_hook_tl_deviceHookTable_vkSignalSemaphore(VkDevice device, const VkSemaphoreSignalInfo* pSignalInfo) {
4124 : auto __fn = tl_deviceHookTable.table->vkSignalSemaphore;
4125 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSignalSemaphore) {
4126 : __fn = tl_deviceHookTable.replace->vkSignalSemaphore;
4127 : }
4128 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSignalSemaphore", (PFN_vkVoidFunction)__fn); }
4129 : auto ret = __fn(device, pSignalInfo);
4130 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSignalSemaphore", (PFN_vkVoidFunction)__fn); }
4131 : return ret;
4132 : }
4133 :
4134 : static VkDeviceAddress xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddress(VkDevice device, const VkBufferDeviceAddressInfo* pInfo) {
4135 : auto __fn = tl_deviceHookTable.table->vkGetBufferDeviceAddress;
4136 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferDeviceAddress) {
4137 : __fn = tl_deviceHookTable.replace->vkGetBufferDeviceAddress;
4138 : }
4139 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddress", (PFN_vkVoidFunction)__fn); }
4140 : auto ret = __fn(device, pInfo);
4141 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddress", (PFN_vkVoidFunction)__fn); }
4142 : return ret;
4143 : }
4144 :
4145 : static uint64_t xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureAddress(VkDevice device, const VkBufferDeviceAddressInfo* pInfo) {
4146 : auto __fn = tl_deviceHookTable.table->vkGetBufferOpaqueCaptureAddress;
4147 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureAddress) {
4148 : __fn = tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureAddress;
4149 : }
4150 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureAddress", (PFN_vkVoidFunction)__fn); }
4151 : auto ret = __fn(device, pInfo);
4152 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureAddress", (PFN_vkVoidFunction)__fn); }
4153 : return ret;
4154 : }
4155 :
4156 : static uint64_t xl_hook_tl_deviceHookTable_vkGetDeviceMemoryOpaqueCaptureAddress(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo) {
4157 : auto __fn = tl_deviceHookTable.table->vkGetDeviceMemoryOpaqueCaptureAddress;
4158 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceMemoryOpaqueCaptureAddress) {
4159 : __fn = tl_deviceHookTable.replace->vkGetDeviceMemoryOpaqueCaptureAddress;
4160 : }
4161 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryOpaqueCaptureAddress", (PFN_vkVoidFunction)__fn); }
4162 : auto ret = __fn(device, pInfo);
4163 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryOpaqueCaptureAddress", (PFN_vkVoidFunction)__fn); }
4164 : return ret;
4165 : }
4166 :
4167 : #endif /* defined(VK_VERSION_1_2) */
4168 :
4169 : #if defined(VK_VERSION_1_3)
4170 :
4171 : static VkResult xl_hook_tl_deviceHookTable_vkCreatePrivateDataSlot(VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) {
4172 : auto __fn = tl_deviceHookTable.table->vkCreatePrivateDataSlot;
4173 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreatePrivateDataSlot) {
4174 : __fn = tl_deviceHookTable.replace->vkCreatePrivateDataSlot;
4175 : }
4176 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreatePrivateDataSlot", (PFN_vkVoidFunction)__fn); }
4177 : auto ret = __fn(device, pCreateInfo, pAllocator, pPrivateDataSlot);
4178 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreatePrivateDataSlot", (PFN_vkVoidFunction)__fn); }
4179 : return ret;
4180 : }
4181 :
4182 : static void xl_hook_tl_deviceHookTable_vkDestroyPrivateDataSlot(VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) {
4183 : auto __fn = tl_deviceHookTable.table->vkDestroyPrivateDataSlot;
4184 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyPrivateDataSlot) {
4185 : __fn = tl_deviceHookTable.replace->vkDestroyPrivateDataSlot;
4186 : }
4187 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyPrivateDataSlot", (PFN_vkVoidFunction)__fn); }
4188 : __fn(device, privateDataSlot, pAllocator);
4189 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyPrivateDataSlot", (PFN_vkVoidFunction)__fn); }
4190 : }
4191 :
4192 : static VkResult xl_hook_tl_deviceHookTable_vkSetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) {
4193 : auto __fn = tl_deviceHookTable.table->vkSetPrivateData;
4194 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetPrivateData) {
4195 : __fn = tl_deviceHookTable.replace->vkSetPrivateData;
4196 : }
4197 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetPrivateData", (PFN_vkVoidFunction)__fn); }
4198 : auto ret = __fn(device, objectType, objectHandle, privateDataSlot, data);
4199 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetPrivateData", (PFN_vkVoidFunction)__fn); }
4200 : return ret;
4201 : }
4202 :
4203 : static void xl_hook_tl_deviceHookTable_vkGetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) {
4204 : auto __fn = tl_deviceHookTable.table->vkGetPrivateData;
4205 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPrivateData) {
4206 : __fn = tl_deviceHookTable.replace->vkGetPrivateData;
4207 : }
4208 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPrivateData", (PFN_vkVoidFunction)__fn); }
4209 : __fn(device, objectType, objectHandle, privateDataSlot, pData);
4210 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPrivateData", (PFN_vkVoidFunction)__fn); }
4211 : }
4212 :
4213 : static void xl_hook_tl_deviceHookTable_vkCmdSetEvent2(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo* pDependencyInfo) {
4214 : auto __fn = tl_deviceHookTable.table->vkCmdSetEvent2;
4215 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetEvent2) {
4216 : __fn = tl_deviceHookTable.replace->vkCmdSetEvent2;
4217 : }
4218 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetEvent2", (PFN_vkVoidFunction)__fn); }
4219 : __fn(commandBuffer, event, pDependencyInfo);
4220 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetEvent2", (PFN_vkVoidFunction)__fn); }
4221 : }
4222 :
4223 : static void xl_hook_tl_deviceHookTable_vkCmdResetEvent2(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask) {
4224 : auto __fn = tl_deviceHookTable.table->vkCmdResetEvent2;
4225 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResetEvent2) {
4226 : __fn = tl_deviceHookTable.replace->vkCmdResetEvent2;
4227 : }
4228 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResetEvent2", (PFN_vkVoidFunction)__fn); }
4229 : __fn(commandBuffer, event, stageMask);
4230 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResetEvent2", (PFN_vkVoidFunction)__fn); }
4231 : }
4232 :
4233 : static void xl_hook_tl_deviceHookTable_vkCmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfo* pDependencyInfos) {
4234 : auto __fn = tl_deviceHookTable.table->vkCmdWaitEvents2;
4235 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWaitEvents2) {
4236 : __fn = tl_deviceHookTable.replace->vkCmdWaitEvents2;
4237 : }
4238 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents2", (PFN_vkVoidFunction)__fn); }
4239 : __fn(commandBuffer, eventCount, pEvents, pDependencyInfos);
4240 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents2", (PFN_vkVoidFunction)__fn); }
4241 : }
4242 :
4243 : static void xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier2(VkCommandBuffer commandBuffer, const VkDependencyInfo* pDependencyInfo) {
4244 : auto __fn = tl_deviceHookTable.table->vkCmdPipelineBarrier2;
4245 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPipelineBarrier2) {
4246 : __fn = tl_deviceHookTable.replace->vkCmdPipelineBarrier2;
4247 : }
4248 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier2", (PFN_vkVoidFunction)__fn); }
4249 : __fn(commandBuffer, pDependencyInfo);
4250 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier2", (PFN_vkVoidFunction)__fn); }
4251 : }
4252 :
4253 : static void xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp2(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query) {
4254 : auto __fn = tl_deviceHookTable.table->vkCmdWriteTimestamp2;
4255 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteTimestamp2) {
4256 : __fn = tl_deviceHookTable.replace->vkCmdWriteTimestamp2;
4257 : }
4258 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp2", (PFN_vkVoidFunction)__fn); }
4259 : __fn(commandBuffer, stage, queryPool, query);
4260 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp2", (PFN_vkVoidFunction)__fn); }
4261 : }
4262 :
4263 : static VkResult xl_hook_tl_deviceHookTable_vkQueueSubmit2(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2* pSubmits, VkFence fence) {
4264 : auto __fn = tl_deviceHookTable.table->vkQueueSubmit2;
4265 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueSubmit2) {
4266 : __fn = tl_deviceHookTable.replace->vkQueueSubmit2;
4267 : }
4268 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueSubmit2", (PFN_vkVoidFunction)__fn); }
4269 : auto ret = __fn(queue, submitCount, pSubmits, fence);
4270 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueSubmit2", (PFN_vkVoidFunction)__fn); }
4271 : return ret;
4272 : }
4273 :
4274 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBuffer2(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo) {
4275 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBuffer2;
4276 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBuffer2) {
4277 : __fn = tl_deviceHookTable.replace->vkCmdCopyBuffer2;
4278 : }
4279 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer2", (PFN_vkVoidFunction)__fn); }
4280 : __fn(commandBuffer, pCopyBufferInfo);
4281 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer2", (PFN_vkVoidFunction)__fn); }
4282 : }
4283 :
4284 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImage2(VkCommandBuffer commandBuffer, const VkCopyImageInfo2* pCopyImageInfo) {
4285 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImage2;
4286 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImage2) {
4287 : __fn = tl_deviceHookTable.replace->vkCmdCopyImage2;
4288 : }
4289 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImage2", (PFN_vkVoidFunction)__fn); }
4290 : __fn(commandBuffer, pCopyImageInfo);
4291 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImage2", (PFN_vkVoidFunction)__fn); }
4292 : }
4293 :
4294 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage2(VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2* pCopyBufferToImageInfo) {
4295 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBufferToImage2;
4296 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBufferToImage2) {
4297 : __fn = tl_deviceHookTable.replace->vkCmdCopyBufferToImage2;
4298 : }
4299 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage2", (PFN_vkVoidFunction)__fn); }
4300 : __fn(commandBuffer, pCopyBufferToImageInfo);
4301 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage2", (PFN_vkVoidFunction)__fn); }
4302 : }
4303 :
4304 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer2(VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2* pCopyImageToBufferInfo) {
4305 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImageToBuffer2;
4306 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImageToBuffer2) {
4307 : __fn = tl_deviceHookTable.replace->vkCmdCopyImageToBuffer2;
4308 : }
4309 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer2", (PFN_vkVoidFunction)__fn); }
4310 : __fn(commandBuffer, pCopyImageToBufferInfo);
4311 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer2", (PFN_vkVoidFunction)__fn); }
4312 : }
4313 :
4314 : static void xl_hook_tl_deviceHookTable_vkCmdBlitImage2(VkCommandBuffer commandBuffer, const VkBlitImageInfo2* pBlitImageInfo) {
4315 : auto __fn = tl_deviceHookTable.table->vkCmdBlitImage2;
4316 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBlitImage2) {
4317 : __fn = tl_deviceHookTable.replace->vkCmdBlitImage2;
4318 : }
4319 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBlitImage2", (PFN_vkVoidFunction)__fn); }
4320 : __fn(commandBuffer, pBlitImageInfo);
4321 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBlitImage2", (PFN_vkVoidFunction)__fn); }
4322 : }
4323 :
4324 : static void xl_hook_tl_deviceHookTable_vkCmdResolveImage2(VkCommandBuffer commandBuffer, const VkResolveImageInfo2* pResolveImageInfo) {
4325 : auto __fn = tl_deviceHookTable.table->vkCmdResolveImage2;
4326 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResolveImage2) {
4327 : __fn = tl_deviceHookTable.replace->vkCmdResolveImage2;
4328 : }
4329 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResolveImage2", (PFN_vkVoidFunction)__fn); }
4330 : __fn(commandBuffer, pResolveImageInfo);
4331 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResolveImage2", (PFN_vkVoidFunction)__fn); }
4332 : }
4333 :
4334 : static void xl_hook_tl_deviceHookTable_vkCmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo* pRenderingInfo) {
4335 : auto __fn = tl_deviceHookTable.table->vkCmdBeginRendering;
4336 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginRendering) {
4337 : __fn = tl_deviceHookTable.replace->vkCmdBeginRendering;
4338 : }
4339 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginRendering", (PFN_vkVoidFunction)__fn); }
4340 : __fn(commandBuffer, pRenderingInfo);
4341 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginRendering", (PFN_vkVoidFunction)__fn); }
4342 : }
4343 :
4344 : static void xl_hook_tl_deviceHookTable_vkCmdEndRendering(VkCommandBuffer commandBuffer) {
4345 : auto __fn = tl_deviceHookTable.table->vkCmdEndRendering;
4346 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndRendering) {
4347 : __fn = tl_deviceHookTable.replace->vkCmdEndRendering;
4348 : }
4349 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndRendering", (PFN_vkVoidFunction)__fn); }
4350 : __fn(commandBuffer);
4351 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndRendering", (PFN_vkVoidFunction)__fn); }
4352 : }
4353 :
4354 : static void xl_hook_tl_deviceHookTable_vkCmdSetCullMode(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode) {
4355 : auto __fn = tl_deviceHookTable.table->vkCmdSetCullMode;
4356 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCullMode) {
4357 : __fn = tl_deviceHookTable.replace->vkCmdSetCullMode;
4358 : }
4359 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCullMode", (PFN_vkVoidFunction)__fn); }
4360 : __fn(commandBuffer, cullMode);
4361 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCullMode", (PFN_vkVoidFunction)__fn); }
4362 : }
4363 :
4364 : static void xl_hook_tl_deviceHookTable_vkCmdSetFrontFace(VkCommandBuffer commandBuffer, VkFrontFace frontFace) {
4365 : auto __fn = tl_deviceHookTable.table->vkCmdSetFrontFace;
4366 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetFrontFace) {
4367 : __fn = tl_deviceHookTable.replace->vkCmdSetFrontFace;
4368 : }
4369 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetFrontFace", (PFN_vkVoidFunction)__fn); }
4370 : __fn(commandBuffer, frontFace);
4371 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetFrontFace", (PFN_vkVoidFunction)__fn); }
4372 : }
4373 :
4374 : static void xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveTopology(VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology) {
4375 : auto __fn = tl_deviceHookTable.table->vkCmdSetPrimitiveTopology;
4376 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPrimitiveTopology) {
4377 : __fn = tl_deviceHookTable.replace->vkCmdSetPrimitiveTopology;
4378 : }
4379 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveTopology", (PFN_vkVoidFunction)__fn); }
4380 : __fn(commandBuffer, primitiveTopology);
4381 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveTopology", (PFN_vkVoidFunction)__fn); }
4382 : }
4383 :
4384 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportWithCount(VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports) {
4385 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportWithCount;
4386 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportWithCount) {
4387 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportWithCount;
4388 : }
4389 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWithCount", (PFN_vkVoidFunction)__fn); }
4390 : __fn(commandBuffer, viewportCount, pViewports);
4391 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWithCount", (PFN_vkVoidFunction)__fn); }
4392 : }
4393 :
4394 : static void xl_hook_tl_deviceHookTable_vkCmdSetScissorWithCount(VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors) {
4395 : auto __fn = tl_deviceHookTable.table->vkCmdSetScissorWithCount;
4396 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetScissorWithCount) {
4397 : __fn = tl_deviceHookTable.replace->vkCmdSetScissorWithCount;
4398 : }
4399 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetScissorWithCount", (PFN_vkVoidFunction)__fn); }
4400 : __fn(commandBuffer, scissorCount, pScissors);
4401 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetScissorWithCount", (PFN_vkVoidFunction)__fn); }
4402 : }
4403 :
4404 : static void xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers2(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides) {
4405 : auto __fn = tl_deviceHookTable.table->vkCmdBindVertexBuffers2;
4406 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindVertexBuffers2) {
4407 : __fn = tl_deviceHookTable.replace->vkCmdBindVertexBuffers2;
4408 : }
4409 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers2", (PFN_vkVoidFunction)__fn); }
4410 : __fn(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides);
4411 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers2", (PFN_vkVoidFunction)__fn); }
4412 : }
4413 :
4414 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthTestEnable(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable) {
4415 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthTestEnable;
4416 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthTestEnable) {
4417 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthTestEnable;
4418 : }
4419 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthTestEnable", (PFN_vkVoidFunction)__fn); }
4420 : __fn(commandBuffer, depthTestEnable);
4421 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthTestEnable", (PFN_vkVoidFunction)__fn); }
4422 : }
4423 :
4424 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthWriteEnable(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable) {
4425 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthWriteEnable;
4426 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthWriteEnable) {
4427 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthWriteEnable;
4428 : }
4429 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthWriteEnable", (PFN_vkVoidFunction)__fn); }
4430 : __fn(commandBuffer, depthWriteEnable);
4431 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthWriteEnable", (PFN_vkVoidFunction)__fn); }
4432 : }
4433 :
4434 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthCompareOp(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp) {
4435 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthCompareOp;
4436 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthCompareOp) {
4437 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthCompareOp;
4438 : }
4439 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthCompareOp", (PFN_vkVoidFunction)__fn); }
4440 : __fn(commandBuffer, depthCompareOp);
4441 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthCompareOp", (PFN_vkVoidFunction)__fn); }
4442 : }
4443 :
4444 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBoundsTestEnable(VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable) {
4445 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBoundsTestEnable;
4446 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBoundsTestEnable) {
4447 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBoundsTestEnable;
4448 : }
4449 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBoundsTestEnable", (PFN_vkVoidFunction)__fn); }
4450 : __fn(commandBuffer, depthBoundsTestEnable);
4451 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBoundsTestEnable", (PFN_vkVoidFunction)__fn); }
4452 : }
4453 :
4454 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilTestEnable(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable) {
4455 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilTestEnable;
4456 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilTestEnable) {
4457 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilTestEnable;
4458 : }
4459 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilTestEnable", (PFN_vkVoidFunction)__fn); }
4460 : __fn(commandBuffer, stencilTestEnable);
4461 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilTestEnable", (PFN_vkVoidFunction)__fn); }
4462 : }
4463 :
4464 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilOp(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp) {
4465 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilOp;
4466 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilOp) {
4467 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilOp;
4468 : }
4469 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilOp", (PFN_vkVoidFunction)__fn); }
4470 : __fn(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp);
4471 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilOp", (PFN_vkVoidFunction)__fn); }
4472 : }
4473 :
4474 : static void xl_hook_tl_deviceHookTable_vkCmdSetRasterizerDiscardEnable(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable) {
4475 : auto __fn = tl_deviceHookTable.table->vkCmdSetRasterizerDiscardEnable;
4476 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRasterizerDiscardEnable) {
4477 : __fn = tl_deviceHookTable.replace->vkCmdSetRasterizerDiscardEnable;
4478 : }
4479 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizerDiscardEnable", (PFN_vkVoidFunction)__fn); }
4480 : __fn(commandBuffer, rasterizerDiscardEnable);
4481 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizerDiscardEnable", (PFN_vkVoidFunction)__fn); }
4482 : }
4483 :
4484 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBiasEnable(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable) {
4485 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBiasEnable;
4486 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBiasEnable) {
4487 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBiasEnable;
4488 : }
4489 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBiasEnable", (PFN_vkVoidFunction)__fn); }
4490 : __fn(commandBuffer, depthBiasEnable);
4491 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBiasEnable", (PFN_vkVoidFunction)__fn); }
4492 : }
4493 :
4494 : static void xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveRestartEnable(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable) {
4495 : auto __fn = tl_deviceHookTable.table->vkCmdSetPrimitiveRestartEnable;
4496 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPrimitiveRestartEnable) {
4497 : __fn = tl_deviceHookTable.replace->vkCmdSetPrimitiveRestartEnable;
4498 : }
4499 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveRestartEnable", (PFN_vkVoidFunction)__fn); }
4500 : __fn(commandBuffer, primitiveRestartEnable);
4501 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveRestartEnable", (PFN_vkVoidFunction)__fn); }
4502 : }
4503 :
4504 : static void xl_hook_tl_deviceHookTable_vkGetDeviceBufferMemoryRequirements(VkDevice device, const VkDeviceBufferMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) {
4505 : auto __fn = tl_deviceHookTable.table->vkGetDeviceBufferMemoryRequirements;
4506 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceBufferMemoryRequirements) {
4507 : __fn = tl_deviceHookTable.replace->vkGetDeviceBufferMemoryRequirements;
4508 : }
4509 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceBufferMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4510 : __fn(device, pInfo, pMemoryRequirements);
4511 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceBufferMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4512 : }
4513 :
4514 : static void xl_hook_tl_deviceHookTable_vkGetDeviceImageMemoryRequirements(VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, VkMemoryRequirements2* pMemoryRequirements) {
4515 : auto __fn = tl_deviceHookTable.table->vkGetDeviceImageMemoryRequirements;
4516 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceImageMemoryRequirements) {
4517 : __fn = tl_deviceHookTable.replace->vkGetDeviceImageMemoryRequirements;
4518 : }
4519 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceImageMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4520 : __fn(device, pInfo, pMemoryRequirements);
4521 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceImageMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4522 : }
4523 :
4524 : static void xl_hook_tl_deviceHookTable_vkGetDeviceImageSparseMemoryRequirements(VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) {
4525 : auto __fn = tl_deviceHookTable.table->vkGetDeviceImageSparseMemoryRequirements;
4526 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceImageSparseMemoryRequirements) {
4527 : __fn = tl_deviceHookTable.replace->vkGetDeviceImageSparseMemoryRequirements;
4528 : }
4529 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSparseMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4530 : __fn(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
4531 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSparseMemoryRequirements", (PFN_vkVoidFunction)__fn); }
4532 : }
4533 :
4534 : #endif /* defined(VK_VERSION_1_3) */
4535 :
4536 : #if defined(VKSC_VERSION_1_0)
4537 :
4538 : static void xl_hook_tl_deviceHookTable_vkGetCommandPoolMemoryConsumption(VkDevice device, VkCommandPool commandPool, VkCommandBuffer commandBuffer, VkCommandPoolMemoryConsumption* pConsumption) {
4539 : auto __fn = tl_deviceHookTable.table->vkGetCommandPoolMemoryConsumption;
4540 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetCommandPoolMemoryConsumption) {
4541 : __fn = tl_deviceHookTable.replace->vkGetCommandPoolMemoryConsumption;
4542 : }
4543 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetCommandPoolMemoryConsumption", (PFN_vkVoidFunction)__fn); }
4544 : __fn(device, commandPool, commandBuffer, pConsumption);
4545 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetCommandPoolMemoryConsumption", (PFN_vkVoidFunction)__fn); }
4546 : }
4547 :
4548 : static VkResult xl_hook_tl_deviceHookTable_vkGetFaultData(VkDevice device, VkFaultQueryBehavior faultQueryBehavior, VkBool32* pUnrecordedFaults, uint32_t* pFaultCount, VkFaultData* pFaults) {
4549 : auto __fn = tl_deviceHookTable.table->vkGetFaultData;
4550 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFaultData) {
4551 : __fn = tl_deviceHookTable.replace->vkGetFaultData;
4552 : }
4553 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFaultData", (PFN_vkVoidFunction)__fn); }
4554 : auto ret = __fn(device, faultQueryBehavior, pUnrecordedFaults, pFaultCount, pFaults);
4555 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFaultData", (PFN_vkVoidFunction)__fn); }
4556 : return ret;
4557 : }
4558 :
4559 : #endif /* defined(VKSC_VERSION_1_0) */
4560 :
4561 : #if defined(VK_KHR_swapchain)
4562 :
4563 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) {
4564 : auto __fn = tl_deviceHookTable.table->vkCreateSwapchainKHR;
4565 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSwapchainKHR) {
4566 : __fn = tl_deviceHookTable.replace->vkCreateSwapchainKHR;
4567 : }
4568 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSwapchainKHR", (PFN_vkVoidFunction)__fn); }
4569 : auto ret = __fn(device, pCreateInfo, pCreateInfo, pAllocator, pSwapchain);
4570 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSwapchainKHR", (PFN_vkVoidFunction)__fn); }
4571 : return ret;
4572 : }
4573 :
4574 : static void xl_hook_tl_deviceHookTable_vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) {
4575 : auto __fn = tl_deviceHookTable.table->vkDestroySwapchainKHR;
4576 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySwapchainKHR) {
4577 : __fn = tl_deviceHookTable.replace->vkDestroySwapchainKHR;
4578 : }
4579 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySwapchainKHR", (PFN_vkVoidFunction)__fn); }
4580 : __fn(device, swapchain, pAllocator);
4581 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySwapchainKHR", (PFN_vkVoidFunction)__fn); }
4582 : }
4583 :
4584 : static VkResult xl_hook_tl_deviceHookTable_vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages) {
4585 : auto __fn = tl_deviceHookTable.table->vkGetSwapchainImagesKHR;
4586 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSwapchainImagesKHR) {
4587 : __fn = tl_deviceHookTable.replace->vkGetSwapchainImagesKHR;
4588 : }
4589 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSwapchainImagesKHR", (PFN_vkVoidFunction)__fn); }
4590 : auto ret = __fn(device, swapchain, pSwapchainImageCount, pSwapchainImages);
4591 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSwapchainImagesKHR", (PFN_vkVoidFunction)__fn); }
4592 : return ret;
4593 : }
4594 :
4595 : static VkResult xl_hook_tl_deviceHookTable_vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex) {
4596 : auto __fn = tl_deviceHookTable.table->vkAcquireNextImageKHR;
4597 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAcquireNextImageKHR) {
4598 : __fn = tl_deviceHookTable.replace->vkAcquireNextImageKHR;
4599 : }
4600 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAcquireNextImageKHR", (PFN_vkVoidFunction)__fn); }
4601 : auto ret = __fn(device, swapchain, timeout, semaphore, fence, pImageIndex);
4602 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAcquireNextImageKHR", (PFN_vkVoidFunction)__fn); }
4603 : return ret;
4604 : }
4605 :
4606 : static VkResult xl_hook_tl_deviceHookTable_vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) {
4607 : auto __fn = tl_deviceHookTable.table->vkQueuePresentKHR;
4608 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueuePresentKHR) {
4609 : __fn = tl_deviceHookTable.replace->vkQueuePresentKHR;
4610 : }
4611 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueuePresentKHR", (PFN_vkVoidFunction)__fn); }
4612 : auto ret = __fn(queue, pPresentInfo);
4613 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueuePresentKHR", (PFN_vkVoidFunction)__fn); }
4614 : return ret;
4615 : }
4616 :
4617 : #endif /* defined(VK_KHR_swapchain) */
4618 :
4619 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
4620 :
4621 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities) {
4622 : auto __fn = tl_deviceHookTable.table->vkGetDeviceGroupPresentCapabilitiesKHR;
4623 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceGroupPresentCapabilitiesKHR) {
4624 : __fn = tl_deviceHookTable.replace->vkGetDeviceGroupPresentCapabilitiesKHR;
4625 : }
4626 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPresentCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
4627 : auto ret = __fn(device, pDeviceGroupPresentCapabilities);
4628 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPresentCapabilitiesKHR", (PFN_vkVoidFunction)__fn); }
4629 : return ret;
4630 : }
4631 :
4632 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes) {
4633 : auto __fn = tl_deviceHookTable.table->vkGetDeviceGroupSurfacePresentModesKHR;
4634 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceGroupSurfacePresentModesKHR) {
4635 : __fn = tl_deviceHookTable.replace->vkGetDeviceGroupSurfacePresentModesKHR;
4636 : }
4637 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupSurfacePresentModesKHR", (PFN_vkVoidFunction)__fn); }
4638 : auto ret = __fn(device, surface, pModes);
4639 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupSurfacePresentModesKHR", (PFN_vkVoidFunction)__fn); }
4640 : return ret;
4641 : }
4642 :
4643 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
4644 :
4645 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain))
4646 :
4647 : static VkResult xl_hook_tl_deviceHookTable_vkAcquireNextImage2KHR(VkDevice device, const VkAcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex) {
4648 : auto __fn = tl_deviceHookTable.table->vkAcquireNextImage2KHR;
4649 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAcquireNextImage2KHR) {
4650 : __fn = tl_deviceHookTable.replace->vkAcquireNextImage2KHR;
4651 : }
4652 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAcquireNextImage2KHR", (PFN_vkVoidFunction)__fn); }
4653 : auto ret = __fn(device, pAcquireInfo, pImageIndex);
4654 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAcquireNextImage2KHR", (PFN_vkVoidFunction)__fn); }
4655 : return ret;
4656 : }
4657 :
4658 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) */
4659 :
4660 : #if defined(VK_KHR_display_swapchain)
4661 :
4662 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSharedSwapchainsKHR(VkDevice device, uint32_t swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) {
4663 : auto __fn = tl_deviceHookTable.table->vkCreateSharedSwapchainsKHR;
4664 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSharedSwapchainsKHR) {
4665 : __fn = tl_deviceHookTable.replace->vkCreateSharedSwapchainsKHR;
4666 : }
4667 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSharedSwapchainsKHR", (PFN_vkVoidFunction)__fn); }
4668 : auto ret = __fn(device, swapchainCount, pCreateInfos, pCreateInfos, pAllocator, pSwapchains);
4669 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSharedSwapchainsKHR", (PFN_vkVoidFunction)__fn); }
4670 : return ret;
4671 : }
4672 :
4673 : #endif /* defined(VK_KHR_display_swapchain) */
4674 :
4675 : #if defined(VK_EXT_debug_marker)
4676 :
4677 : static VkResult xl_hook_tl_deviceHookTable_vkDebugMarkerSetObjectTagEXT(VkDevice device, const VkDebugMarkerObjectTagInfoEXT* pTagInfo) {
4678 : auto __fn = tl_deviceHookTable.table->vkDebugMarkerSetObjectTagEXT;
4679 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDebugMarkerSetObjectTagEXT) {
4680 : __fn = tl_deviceHookTable.replace->vkDebugMarkerSetObjectTagEXT;
4681 : }
4682 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDebugMarkerSetObjectTagEXT", (PFN_vkVoidFunction)__fn); }
4683 : auto ret = __fn(device, pTagInfo);
4684 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDebugMarkerSetObjectTagEXT", (PFN_vkVoidFunction)__fn); }
4685 : return ret;
4686 : }
4687 :
4688 : static VkResult xl_hook_tl_deviceHookTable_vkDebugMarkerSetObjectNameEXT(VkDevice device, const VkDebugMarkerObjectNameInfoEXT* pNameInfo) {
4689 : auto __fn = tl_deviceHookTable.table->vkDebugMarkerSetObjectNameEXT;
4690 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDebugMarkerSetObjectNameEXT) {
4691 : __fn = tl_deviceHookTable.replace->vkDebugMarkerSetObjectNameEXT;
4692 : }
4693 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDebugMarkerSetObjectNameEXT", (PFN_vkVoidFunction)__fn); }
4694 : auto ret = __fn(device, pNameInfo);
4695 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDebugMarkerSetObjectNameEXT", (PFN_vkVoidFunction)__fn); }
4696 : return ret;
4697 : }
4698 :
4699 : static void xl_hook_tl_deviceHookTable_vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo) {
4700 : auto __fn = tl_deviceHookTable.table->vkCmdDebugMarkerBeginEXT;
4701 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDebugMarkerBeginEXT) {
4702 : __fn = tl_deviceHookTable.replace->vkCmdDebugMarkerBeginEXT;
4703 : }
4704 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerBeginEXT", (PFN_vkVoidFunction)__fn); }
4705 : __fn(commandBuffer, pMarkerInfo);
4706 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerBeginEXT", (PFN_vkVoidFunction)__fn); }
4707 : }
4708 :
4709 : static void xl_hook_tl_deviceHookTable_vkCmdDebugMarkerEndEXT(VkCommandBuffer commandBuffer) {
4710 : auto __fn = tl_deviceHookTable.table->vkCmdDebugMarkerEndEXT;
4711 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDebugMarkerEndEXT) {
4712 : __fn = tl_deviceHookTable.replace->vkCmdDebugMarkerEndEXT;
4713 : }
4714 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerEndEXT", (PFN_vkVoidFunction)__fn); }
4715 : __fn(commandBuffer);
4716 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerEndEXT", (PFN_vkVoidFunction)__fn); }
4717 : }
4718 :
4719 : static void xl_hook_tl_deviceHookTable_vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo) {
4720 : auto __fn = tl_deviceHookTable.table->vkCmdDebugMarkerInsertEXT;
4721 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDebugMarkerInsertEXT) {
4722 : __fn = tl_deviceHookTable.replace->vkCmdDebugMarkerInsertEXT;
4723 : }
4724 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerInsertEXT", (PFN_vkVoidFunction)__fn); }
4725 : __fn(commandBuffer, pMarkerInfo);
4726 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDebugMarkerInsertEXT", (PFN_vkVoidFunction)__fn); }
4727 : }
4728 :
4729 : #endif /* defined(VK_EXT_debug_marker) */
4730 :
4731 : #if defined(VK_KHR_video_queue)
4732 :
4733 : static VkResult xl_hook_tl_deviceHookTable_vkCreateVideoSessionKHR(VkDevice device, const VkVideoSessionCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkVideoSessionKHR* pVideoSession) {
4734 : auto __fn = tl_deviceHookTable.table->vkCreateVideoSessionKHR;
4735 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateVideoSessionKHR) {
4736 : __fn = tl_deviceHookTable.replace->vkCreateVideoSessionKHR;
4737 : }
4738 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateVideoSessionKHR", (PFN_vkVoidFunction)__fn); }
4739 : auto ret = __fn(device, pCreateInfo, pAllocator, pVideoSession);
4740 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateVideoSessionKHR", (PFN_vkVoidFunction)__fn); }
4741 : return ret;
4742 : }
4743 :
4744 : static void xl_hook_tl_deviceHookTable_vkDestroyVideoSessionKHR(VkDevice device, VkVideoSessionKHR videoSession, const VkAllocationCallbacks* pAllocator) {
4745 : auto __fn = tl_deviceHookTable.table->vkDestroyVideoSessionKHR;
4746 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyVideoSessionKHR) {
4747 : __fn = tl_deviceHookTable.replace->vkDestroyVideoSessionKHR;
4748 : }
4749 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyVideoSessionKHR", (PFN_vkVoidFunction)__fn); }
4750 : __fn(device, videoSession, pAllocator);
4751 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyVideoSessionKHR", (PFN_vkVoidFunction)__fn); }
4752 : }
4753 :
4754 : static VkResult xl_hook_tl_deviceHookTable_vkGetVideoSessionMemoryRequirementsKHR(VkDevice device, VkVideoSessionKHR videoSession, uint32_t* pMemoryRequirementsCount, VkVideoSessionMemoryRequirementsKHR* pMemoryRequirements) {
4755 : auto __fn = tl_deviceHookTable.table->vkGetVideoSessionMemoryRequirementsKHR;
4756 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetVideoSessionMemoryRequirementsKHR) {
4757 : __fn = tl_deviceHookTable.replace->vkGetVideoSessionMemoryRequirementsKHR;
4758 : }
4759 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetVideoSessionMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
4760 : auto ret = __fn(device, videoSession, pMemoryRequirementsCount, pMemoryRequirements);
4761 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetVideoSessionMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
4762 : return ret;
4763 : }
4764 :
4765 : static VkResult xl_hook_tl_deviceHookTable_vkBindVideoSessionMemoryKHR(VkDevice device, VkVideoSessionKHR videoSession, uint32_t bindSessionMemoryInfoCount, const VkBindVideoSessionMemoryInfoKHR* pBindSessionMemoryInfos) {
4766 : auto __fn = tl_deviceHookTable.table->vkBindVideoSessionMemoryKHR;
4767 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindVideoSessionMemoryKHR) {
4768 : __fn = tl_deviceHookTable.replace->vkBindVideoSessionMemoryKHR;
4769 : }
4770 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindVideoSessionMemoryKHR", (PFN_vkVoidFunction)__fn); }
4771 : auto ret = __fn(device, videoSession, bindSessionMemoryInfoCount, pBindSessionMemoryInfos);
4772 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindVideoSessionMemoryKHR", (PFN_vkVoidFunction)__fn); }
4773 : return ret;
4774 : }
4775 :
4776 : static VkResult xl_hook_tl_deviceHookTable_vkCreateVideoSessionParametersKHR(VkDevice device, const VkVideoSessionParametersCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkVideoSessionParametersKHR* pVideoSessionParameters) {
4777 : auto __fn = tl_deviceHookTable.table->vkCreateVideoSessionParametersKHR;
4778 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateVideoSessionParametersKHR) {
4779 : __fn = tl_deviceHookTable.replace->vkCreateVideoSessionParametersKHR;
4780 : }
4781 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4782 : auto ret = __fn(device, pCreateInfo, pAllocator, pVideoSessionParameters);
4783 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4784 : return ret;
4785 : }
4786 :
4787 : static VkResult xl_hook_tl_deviceHookTable_vkUpdateVideoSessionParametersKHR(VkDevice device, VkVideoSessionParametersKHR videoSessionParameters, const VkVideoSessionParametersUpdateInfoKHR* pUpdateInfo) {
4788 : auto __fn = tl_deviceHookTable.table->vkUpdateVideoSessionParametersKHR;
4789 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUpdateVideoSessionParametersKHR) {
4790 : __fn = tl_deviceHookTable.replace->vkUpdateVideoSessionParametersKHR;
4791 : }
4792 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUpdateVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4793 : auto ret = __fn(device, videoSessionParameters, pUpdateInfo);
4794 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUpdateVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4795 : return ret;
4796 : }
4797 :
4798 : static void xl_hook_tl_deviceHookTable_vkDestroyVideoSessionParametersKHR(VkDevice device, VkVideoSessionParametersKHR videoSessionParameters, const VkAllocationCallbacks* pAllocator) {
4799 : auto __fn = tl_deviceHookTable.table->vkDestroyVideoSessionParametersKHR;
4800 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyVideoSessionParametersKHR) {
4801 : __fn = tl_deviceHookTable.replace->vkDestroyVideoSessionParametersKHR;
4802 : }
4803 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4804 : __fn(device, videoSessionParameters, pAllocator);
4805 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
4806 : }
4807 :
4808 : static void xl_hook_tl_deviceHookTable_vkCmdBeginVideoCodingKHR(VkCommandBuffer commandBuffer, const VkVideoBeginCodingInfoKHR* pBeginInfo) {
4809 : auto __fn = tl_deviceHookTable.table->vkCmdBeginVideoCodingKHR;
4810 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginVideoCodingKHR) {
4811 : __fn = tl_deviceHookTable.replace->vkCmdBeginVideoCodingKHR;
4812 : }
4813 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4814 : __fn(commandBuffer, pBeginInfo);
4815 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4816 : }
4817 :
4818 : static void xl_hook_tl_deviceHookTable_vkCmdEndVideoCodingKHR(VkCommandBuffer commandBuffer, const VkVideoEndCodingInfoKHR* pEndCodingInfo) {
4819 : auto __fn = tl_deviceHookTable.table->vkCmdEndVideoCodingKHR;
4820 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndVideoCodingKHR) {
4821 : __fn = tl_deviceHookTable.replace->vkCmdEndVideoCodingKHR;
4822 : }
4823 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4824 : __fn(commandBuffer, pEndCodingInfo);
4825 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4826 : }
4827 :
4828 : static void xl_hook_tl_deviceHookTable_vkCmdControlVideoCodingKHR(VkCommandBuffer commandBuffer, const VkVideoCodingControlInfoKHR* pCodingControlInfo) {
4829 : auto __fn = tl_deviceHookTable.table->vkCmdControlVideoCodingKHR;
4830 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdControlVideoCodingKHR) {
4831 : __fn = tl_deviceHookTable.replace->vkCmdControlVideoCodingKHR;
4832 : }
4833 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdControlVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4834 : __fn(commandBuffer, pCodingControlInfo);
4835 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdControlVideoCodingKHR", (PFN_vkVoidFunction)__fn); }
4836 : }
4837 :
4838 : #endif /* defined(VK_KHR_video_queue) */
4839 :
4840 : #if defined(VK_KHR_video_decode_queue)
4841 :
4842 : static void xl_hook_tl_deviceHookTable_vkCmdDecodeVideoKHR(VkCommandBuffer commandBuffer, const VkVideoDecodeInfoKHR* pDecodeInfo) {
4843 : auto __fn = tl_deviceHookTable.table->vkCmdDecodeVideoKHR;
4844 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDecodeVideoKHR) {
4845 : __fn = tl_deviceHookTable.replace->vkCmdDecodeVideoKHR;
4846 : }
4847 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDecodeVideoKHR", (PFN_vkVoidFunction)__fn); }
4848 : __fn(commandBuffer, pDecodeInfo);
4849 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDecodeVideoKHR", (PFN_vkVoidFunction)__fn); }
4850 : }
4851 :
4852 : #endif /* defined(VK_KHR_video_decode_queue) */
4853 :
4854 : #if defined(VK_EXT_transform_feedback)
4855 :
4856 : static void xl_hook_tl_deviceHookTable_vkCmdBindTransformFeedbackBuffersEXT(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes) {
4857 : auto __fn = tl_deviceHookTable.table->vkCmdBindTransformFeedbackBuffersEXT;
4858 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindTransformFeedbackBuffersEXT) {
4859 : __fn = tl_deviceHookTable.replace->vkCmdBindTransformFeedbackBuffersEXT;
4860 : }
4861 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindTransformFeedbackBuffersEXT", (PFN_vkVoidFunction)__fn); }
4862 : __fn(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes);
4863 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindTransformFeedbackBuffersEXT", (PFN_vkVoidFunction)__fn); }
4864 : }
4865 :
4866 : static void xl_hook_tl_deviceHookTable_vkCmdBeginTransformFeedbackEXT(VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets) {
4867 : auto __fn = tl_deviceHookTable.table->vkCmdBeginTransformFeedbackEXT;
4868 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginTransformFeedbackEXT) {
4869 : __fn = tl_deviceHookTable.replace->vkCmdBeginTransformFeedbackEXT;
4870 : }
4871 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginTransformFeedbackEXT", (PFN_vkVoidFunction)__fn); }
4872 : __fn(commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets);
4873 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginTransformFeedbackEXT", (PFN_vkVoidFunction)__fn); }
4874 : }
4875 :
4876 : static void xl_hook_tl_deviceHookTable_vkCmdEndTransformFeedbackEXT(VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets) {
4877 : auto __fn = tl_deviceHookTable.table->vkCmdEndTransformFeedbackEXT;
4878 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndTransformFeedbackEXT) {
4879 : __fn = tl_deviceHookTable.replace->vkCmdEndTransformFeedbackEXT;
4880 : }
4881 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndTransformFeedbackEXT", (PFN_vkVoidFunction)__fn); }
4882 : __fn(commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets);
4883 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndTransformFeedbackEXT", (PFN_vkVoidFunction)__fn); }
4884 : }
4885 :
4886 : static void xl_hook_tl_deviceHookTable_vkCmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index) {
4887 : auto __fn = tl_deviceHookTable.table->vkCmdBeginQueryIndexedEXT;
4888 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginQueryIndexedEXT) {
4889 : __fn = tl_deviceHookTable.replace->vkCmdBeginQueryIndexedEXT;
4890 : }
4891 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginQueryIndexedEXT", (PFN_vkVoidFunction)__fn); }
4892 : __fn(commandBuffer, queryPool, query, flags, index);
4893 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginQueryIndexedEXT", (PFN_vkVoidFunction)__fn); }
4894 : }
4895 :
4896 : static void xl_hook_tl_deviceHookTable_vkCmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index) {
4897 : auto __fn = tl_deviceHookTable.table->vkCmdEndQueryIndexedEXT;
4898 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndQueryIndexedEXT) {
4899 : __fn = tl_deviceHookTable.replace->vkCmdEndQueryIndexedEXT;
4900 : }
4901 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndQueryIndexedEXT", (PFN_vkVoidFunction)__fn); }
4902 : __fn(commandBuffer, queryPool, query, index);
4903 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndQueryIndexedEXT", (PFN_vkVoidFunction)__fn); }
4904 : }
4905 :
4906 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndirectByteCountEXT(VkCommandBuffer commandBuffer, uint32_t instanceCount, uint32_t firstInstance, VkBuffer counterBuffer, VkDeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride) {
4907 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndirectByteCountEXT;
4908 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndirectByteCountEXT) {
4909 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndirectByteCountEXT;
4910 : }
4911 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectByteCountEXT", (PFN_vkVoidFunction)__fn); }
4912 : __fn(commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride);
4913 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectByteCountEXT", (PFN_vkVoidFunction)__fn); }
4914 : }
4915 :
4916 : #endif /* defined(VK_EXT_transform_feedback) */
4917 :
4918 : #if defined(VK_NVX_binary_import)
4919 :
4920 : static VkResult xl_hook_tl_deviceHookTable_vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCuModuleNVX* pModule) {
4921 : auto __fn = tl_deviceHookTable.table->vkCreateCuModuleNVX;
4922 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateCuModuleNVX) {
4923 : __fn = tl_deviceHookTable.replace->vkCreateCuModuleNVX;
4924 : }
4925 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateCuModuleNVX", (PFN_vkVoidFunction)__fn); }
4926 : auto ret = __fn(device, pCreateInfo, pAllocator, pModule);
4927 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateCuModuleNVX", (PFN_vkVoidFunction)__fn); }
4928 : return ret;
4929 : }
4930 :
4931 : static VkResult xl_hook_tl_deviceHookTable_vkCreateCuFunctionNVX(VkDevice device, const VkCuFunctionCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCuFunctionNVX* pFunction) {
4932 : auto __fn = tl_deviceHookTable.table->vkCreateCuFunctionNVX;
4933 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateCuFunctionNVX) {
4934 : __fn = tl_deviceHookTable.replace->vkCreateCuFunctionNVX;
4935 : }
4936 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateCuFunctionNVX", (PFN_vkVoidFunction)__fn); }
4937 : auto ret = __fn(device, pCreateInfo, pAllocator, pFunction);
4938 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateCuFunctionNVX", (PFN_vkVoidFunction)__fn); }
4939 : return ret;
4940 : }
4941 :
4942 : static void xl_hook_tl_deviceHookTable_vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const VkAllocationCallbacks* pAllocator) {
4943 : auto __fn = tl_deviceHookTable.table->vkDestroyCuModuleNVX;
4944 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyCuModuleNVX) {
4945 : __fn = tl_deviceHookTable.replace->vkDestroyCuModuleNVX;
4946 : }
4947 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyCuModuleNVX", (PFN_vkVoidFunction)__fn); }
4948 : __fn(device, module, pAllocator);
4949 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyCuModuleNVX", (PFN_vkVoidFunction)__fn); }
4950 : }
4951 :
4952 : static void xl_hook_tl_deviceHookTable_vkDestroyCuFunctionNVX(VkDevice device, VkCuFunctionNVX function, const VkAllocationCallbacks* pAllocator) {
4953 : auto __fn = tl_deviceHookTable.table->vkDestroyCuFunctionNVX;
4954 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyCuFunctionNVX) {
4955 : __fn = tl_deviceHookTable.replace->vkDestroyCuFunctionNVX;
4956 : }
4957 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyCuFunctionNVX", (PFN_vkVoidFunction)__fn); }
4958 : __fn(device, function, pAllocator);
4959 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyCuFunctionNVX", (PFN_vkVoidFunction)__fn); }
4960 : }
4961 :
4962 : static void xl_hook_tl_deviceHookTable_vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaunchInfoNVX* pLaunchInfo) {
4963 : auto __fn = tl_deviceHookTable.table->vkCmdCuLaunchKernelNVX;
4964 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCuLaunchKernelNVX) {
4965 : __fn = tl_deviceHookTable.replace->vkCmdCuLaunchKernelNVX;
4966 : }
4967 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCuLaunchKernelNVX", (PFN_vkVoidFunction)__fn); }
4968 : __fn(commandBuffer, pLaunchInfo);
4969 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCuLaunchKernelNVX", (PFN_vkVoidFunction)__fn); }
4970 : }
4971 :
4972 : #endif /* defined(VK_NVX_binary_import) */
4973 :
4974 : #if defined(VK_NVX_image_view_handle)
4975 :
4976 : static uint32_t xl_hook_tl_deviceHookTable_vkGetImageViewHandleNVX(VkDevice device, const VkImageViewHandleInfoNVX* pInfo) {
4977 : auto __fn = tl_deviceHookTable.table->vkGetImageViewHandleNVX;
4978 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageViewHandleNVX) {
4979 : __fn = tl_deviceHookTable.replace->vkGetImageViewHandleNVX;
4980 : }
4981 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageViewHandleNVX", (PFN_vkVoidFunction)__fn); }
4982 : auto ret = __fn(device, pInfo);
4983 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageViewHandleNVX", (PFN_vkVoidFunction)__fn); }
4984 : return ret;
4985 : }
4986 :
4987 : static VkResult xl_hook_tl_deviceHookTable_vkGetImageViewAddressNVX(VkDevice device, VkImageView imageView, VkImageViewAddressPropertiesNVX* pProperties) {
4988 : auto __fn = tl_deviceHookTable.table->vkGetImageViewAddressNVX;
4989 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageViewAddressNVX) {
4990 : __fn = tl_deviceHookTable.replace->vkGetImageViewAddressNVX;
4991 : }
4992 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageViewAddressNVX", (PFN_vkVoidFunction)__fn); }
4993 : auto ret = __fn(device, imageView, pProperties);
4994 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageViewAddressNVX", (PFN_vkVoidFunction)__fn); }
4995 : return ret;
4996 : }
4997 :
4998 : #endif /* defined(VK_NVX_image_view_handle) */
4999 :
5000 : #if defined(VK_AMD_draw_indirect_count)
5001 :
5002 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
5003 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndirectCountAMD;
5004 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndirectCountAMD) {
5005 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndirectCountAMD;
5006 : }
5007 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCountAMD", (PFN_vkVoidFunction)__fn); }
5008 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
5009 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCountAMD", (PFN_vkVoidFunction)__fn); }
5010 : }
5011 :
5012 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
5013 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndexedIndirectCountAMD;
5014 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCountAMD) {
5015 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCountAMD;
5016 : }
5017 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCountAMD", (PFN_vkVoidFunction)__fn); }
5018 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
5019 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCountAMD", (PFN_vkVoidFunction)__fn); }
5020 : }
5021 :
5022 : #endif /* defined(VK_AMD_draw_indirect_count) */
5023 :
5024 : #if defined(VK_AMD_shader_info)
5025 :
5026 : static VkResult xl_hook_tl_deviceHookTable_vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo) {
5027 : auto __fn = tl_deviceHookTable.table->vkGetShaderInfoAMD;
5028 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetShaderInfoAMD) {
5029 : __fn = tl_deviceHookTable.replace->vkGetShaderInfoAMD;
5030 : }
5031 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetShaderInfoAMD", (PFN_vkVoidFunction)__fn); }
5032 : auto ret = __fn(device, pipeline, shaderStage, infoType, pInfoSize, pInfo);
5033 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetShaderInfoAMD", (PFN_vkVoidFunction)__fn); }
5034 : return ret;
5035 : }
5036 :
5037 : #endif /* defined(VK_AMD_shader_info) */
5038 :
5039 : #if defined(VK_KHR_dynamic_rendering)
5040 :
5041 : static void xl_hook_tl_deviceHookTable_vkCmdBeginRenderingKHR(VkCommandBuffer commandBuffer, const VkRenderingInfoKHR* pRenderingInfo) {
5042 : auto __fn = tl_deviceHookTable.table->vkCmdBeginRenderingKHR;
5043 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginRenderingKHR) {
5044 : __fn = tl_deviceHookTable.replace->vkCmdBeginRenderingKHR;
5045 : }
5046 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderingKHR", (PFN_vkVoidFunction)__fn); }
5047 : __fn(commandBuffer, pRenderingInfo);
5048 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderingKHR", (PFN_vkVoidFunction)__fn); }
5049 : }
5050 :
5051 : static void xl_hook_tl_deviceHookTable_vkCmdEndRenderingKHR(VkCommandBuffer commandBuffer) {
5052 : auto __fn = tl_deviceHookTable.table->vkCmdEndRenderingKHR;
5053 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndRenderingKHR) {
5054 : __fn = tl_deviceHookTable.replace->vkCmdEndRenderingKHR;
5055 : }
5056 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndRenderingKHR", (PFN_vkVoidFunction)__fn); }
5057 : __fn(commandBuffer);
5058 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndRenderingKHR", (PFN_vkVoidFunction)__fn); }
5059 : }
5060 :
5061 : #endif /* defined(VK_KHR_dynamic_rendering) */
5062 :
5063 : #if defined(VK_NV_external_memory_win32)
5064 :
5065 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandleNV(VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle) {
5066 : auto __fn = tl_deviceHookTable.table->vkGetMemoryWin32HandleNV;
5067 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryWin32HandleNV) {
5068 : __fn = tl_deviceHookTable.replace->vkGetMemoryWin32HandleNV;
5069 : }
5070 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandleNV", (PFN_vkVoidFunction)__fn); }
5071 : auto ret = __fn(device, memory, handleType, pHandle);
5072 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandleNV", (PFN_vkVoidFunction)__fn); }
5073 : return ret;
5074 : }
5075 :
5076 : #endif /* defined(VK_NV_external_memory_win32) */
5077 :
5078 : #if defined(VK_KHR_device_group)
5079 :
5080 : static void xl_hook_tl_deviceHookTable_vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlagsKHR* pPeerMemoryFeatures) {
5081 : auto __fn = tl_deviceHookTable.table->vkGetDeviceGroupPeerMemoryFeaturesKHR;
5082 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceGroupPeerMemoryFeaturesKHR) {
5083 : __fn = tl_deviceHookTable.replace->vkGetDeviceGroupPeerMemoryFeaturesKHR;
5084 : }
5085 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPeerMemoryFeaturesKHR", (PFN_vkVoidFunction)__fn); }
5086 : __fn(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
5087 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupPeerMemoryFeaturesKHR", (PFN_vkVoidFunction)__fn); }
5088 : }
5089 :
5090 : static void xl_hook_tl_deviceHookTable_vkCmdSetDeviceMaskKHR(VkCommandBuffer commandBuffer, uint32_t deviceMask) {
5091 : auto __fn = tl_deviceHookTable.table->vkCmdSetDeviceMaskKHR;
5092 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDeviceMaskKHR) {
5093 : __fn = tl_deviceHookTable.replace->vkCmdSetDeviceMaskKHR;
5094 : }
5095 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDeviceMaskKHR", (PFN_vkVoidFunction)__fn); }
5096 : __fn(commandBuffer, deviceMask);
5097 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDeviceMaskKHR", (PFN_vkVoidFunction)__fn); }
5098 : }
5099 :
5100 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchBaseKHR(VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) {
5101 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchBaseKHR;
5102 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchBaseKHR) {
5103 : __fn = tl_deviceHookTable.replace->vkCmdDispatchBaseKHR;
5104 : }
5105 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchBaseKHR", (PFN_vkVoidFunction)__fn); }
5106 : __fn(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
5107 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchBaseKHR", (PFN_vkVoidFunction)__fn); }
5108 : }
5109 :
5110 : #endif /* defined(VK_KHR_device_group) */
5111 :
5112 : #if defined(VK_KHR_maintenance1)
5113 :
5114 : static void xl_hook_tl_deviceHookTable_vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlagsKHR flags) {
5115 : auto __fn = tl_deviceHookTable.table->vkTrimCommandPoolKHR;
5116 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkTrimCommandPoolKHR) {
5117 : __fn = tl_deviceHookTable.replace->vkTrimCommandPoolKHR;
5118 : }
5119 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkTrimCommandPoolKHR", (PFN_vkVoidFunction)__fn); }
5120 : __fn(device, commandPool, flags);
5121 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkTrimCommandPoolKHR", (PFN_vkVoidFunction)__fn); }
5122 : }
5123 :
5124 : #endif /* defined(VK_KHR_maintenance1) */
5125 :
5126 : #if defined(VK_KHR_external_memory_win32)
5127 :
5128 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandleKHR(VkDevice device, const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle) {
5129 : auto __fn = tl_deviceHookTable.table->vkGetMemoryWin32HandleKHR;
5130 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryWin32HandleKHR) {
5131 : __fn = tl_deviceHookTable.replace->vkGetMemoryWin32HandleKHR;
5132 : }
5133 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5134 : auto ret = __fn(device, pGetWin32HandleInfo, pHandle);
5135 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5136 : return ret;
5137 : }
5138 :
5139 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandlePropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties) {
5140 : auto __fn = tl_deviceHookTable.table->vkGetMemoryWin32HandlePropertiesKHR;
5141 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryWin32HandlePropertiesKHR) {
5142 : __fn = tl_deviceHookTable.replace->vkGetMemoryWin32HandlePropertiesKHR;
5143 : }
5144 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandlePropertiesKHR", (PFN_vkVoidFunction)__fn); }
5145 : auto ret = __fn(device, handleType, handle, pMemoryWin32HandleProperties);
5146 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryWin32HandlePropertiesKHR", (PFN_vkVoidFunction)__fn); }
5147 : return ret;
5148 : }
5149 :
5150 : #endif /* defined(VK_KHR_external_memory_win32) */
5151 :
5152 : #if defined(VK_KHR_external_memory_fd)
5153 :
5154 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryFdKHR(VkDevice device, const VkMemoryGetFdInfoKHR* pGetFdInfo, int* pFd) {
5155 : auto __fn = tl_deviceHookTable.table->vkGetMemoryFdKHR;
5156 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryFdKHR) {
5157 : __fn = tl_deviceHookTable.replace->vkGetMemoryFdKHR;
5158 : }
5159 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryFdKHR", (PFN_vkVoidFunction)__fn); }
5160 : auto ret = __fn(device, pGetFdInfo, pFd);
5161 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryFdKHR", (PFN_vkVoidFunction)__fn); }
5162 : return ret;
5163 : }
5164 :
5165 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryFdPropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties) {
5166 : auto __fn = tl_deviceHookTable.table->vkGetMemoryFdPropertiesKHR;
5167 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryFdPropertiesKHR) {
5168 : __fn = tl_deviceHookTable.replace->vkGetMemoryFdPropertiesKHR;
5169 : }
5170 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryFdPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5171 : auto ret = __fn(device, handleType, fd, pMemoryFdProperties);
5172 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryFdPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5173 : return ret;
5174 : }
5175 :
5176 : #endif /* defined(VK_KHR_external_memory_fd) */
5177 :
5178 : #if defined(VK_KHR_external_semaphore_win32)
5179 :
5180 : static VkResult xl_hook_tl_deviceHookTable_vkImportSemaphoreWin32HandleKHR(VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo) {
5181 : auto __fn = tl_deviceHookTable.table->vkImportSemaphoreWin32HandleKHR;
5182 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportSemaphoreWin32HandleKHR) {
5183 : __fn = tl_deviceHookTable.replace->vkImportSemaphoreWin32HandleKHR;
5184 : }
5185 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportSemaphoreWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5186 : auto ret = __fn(device, pImportSemaphoreWin32HandleInfo);
5187 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportSemaphoreWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5188 : return ret;
5189 : }
5190 :
5191 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreWin32HandleKHR(VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle) {
5192 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreWin32HandleKHR;
5193 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreWin32HandleKHR) {
5194 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreWin32HandleKHR;
5195 : }
5196 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5197 : auto ret = __fn(device, pGetWin32HandleInfo, pHandle);
5198 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5199 : return ret;
5200 : }
5201 :
5202 : #endif /* defined(VK_KHR_external_semaphore_win32) */
5203 :
5204 : #if defined(VK_KHR_external_semaphore_fd)
5205 :
5206 : static VkResult xl_hook_tl_deviceHookTable_vkImportSemaphoreFdKHR(VkDevice device, const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo) {
5207 : auto __fn = tl_deviceHookTable.table->vkImportSemaphoreFdKHR;
5208 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportSemaphoreFdKHR) {
5209 : __fn = tl_deviceHookTable.replace->vkImportSemaphoreFdKHR;
5210 : }
5211 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportSemaphoreFdKHR", (PFN_vkVoidFunction)__fn); }
5212 : auto ret = __fn(device, pImportSemaphoreFdInfo);
5213 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportSemaphoreFdKHR", (PFN_vkVoidFunction)__fn); }
5214 : return ret;
5215 : }
5216 :
5217 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreFdKHR(VkDevice device, const VkSemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd) {
5218 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreFdKHR;
5219 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreFdKHR) {
5220 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreFdKHR;
5221 : }
5222 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreFdKHR", (PFN_vkVoidFunction)__fn); }
5223 : auto ret = __fn(device, pGetFdInfo, pFd);
5224 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreFdKHR", (PFN_vkVoidFunction)__fn); }
5225 : return ret;
5226 : }
5227 :
5228 : #endif /* defined(VK_KHR_external_semaphore_fd) */
5229 :
5230 : #if defined(VK_KHR_push_descriptor)
5231 :
5232 : static void xl_hook_tl_deviceHookTable_vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites) {
5233 : auto __fn = tl_deviceHookTable.table->vkCmdPushDescriptorSetKHR;
5234 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPushDescriptorSetKHR) {
5235 : __fn = tl_deviceHookTable.replace->vkCmdPushDescriptorSetKHR;
5236 : }
5237 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPushDescriptorSetKHR", (PFN_vkVoidFunction)__fn); }
5238 : __fn(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites);
5239 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPushDescriptorSetKHR", (PFN_vkVoidFunction)__fn); }
5240 : }
5241 :
5242 : #endif /* defined(VK_KHR_push_descriptor) */
5243 :
5244 : #if (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor))
5245 :
5246 : static void xl_hook_tl_deviceHookTable_vkCmdPushDescriptorSetWithTemplateKHR(VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void* pData) {
5247 : auto __fn = tl_deviceHookTable.table->vkCmdPushDescriptorSetWithTemplateKHR;
5248 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPushDescriptorSetWithTemplateKHR) {
5249 : __fn = tl_deviceHookTable.replace->vkCmdPushDescriptorSetWithTemplateKHR;
5250 : }
5251 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPushDescriptorSetWithTemplateKHR", (PFN_vkVoidFunction)__fn); }
5252 : __fn(commandBuffer, descriptorUpdateTemplate, layout, set, pData);
5253 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPushDescriptorSetWithTemplateKHR", (PFN_vkVoidFunction)__fn); }
5254 : }
5255 :
5256 : #endif /* (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) */
5257 :
5258 : #if defined(VK_EXT_conditional_rendering)
5259 :
5260 : static void xl_hook_tl_deviceHookTable_vkCmdBeginConditionalRenderingEXT(VkCommandBuffer commandBuffer, const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin) {
5261 : auto __fn = tl_deviceHookTable.table->vkCmdBeginConditionalRenderingEXT;
5262 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginConditionalRenderingEXT) {
5263 : __fn = tl_deviceHookTable.replace->vkCmdBeginConditionalRenderingEXT;
5264 : }
5265 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginConditionalRenderingEXT", (PFN_vkVoidFunction)__fn); }
5266 : __fn(commandBuffer, pConditionalRenderingBegin);
5267 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginConditionalRenderingEXT", (PFN_vkVoidFunction)__fn); }
5268 : }
5269 :
5270 : static void xl_hook_tl_deviceHookTable_vkCmdEndConditionalRenderingEXT(VkCommandBuffer commandBuffer) {
5271 : auto __fn = tl_deviceHookTable.table->vkCmdEndConditionalRenderingEXT;
5272 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndConditionalRenderingEXT) {
5273 : __fn = tl_deviceHookTable.replace->vkCmdEndConditionalRenderingEXT;
5274 : }
5275 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndConditionalRenderingEXT", (PFN_vkVoidFunction)__fn); }
5276 : __fn(commandBuffer);
5277 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndConditionalRenderingEXT", (PFN_vkVoidFunction)__fn); }
5278 : }
5279 :
5280 : #endif /* defined(VK_EXT_conditional_rendering) */
5281 :
5282 : #if defined(VK_KHR_descriptor_update_template)
5283 :
5284 : static VkResult xl_hook_tl_deviceHookTable_vkCreateDescriptorUpdateTemplateKHR(VkDevice device, const VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) {
5285 : auto __fn = tl_deviceHookTable.table->vkCreateDescriptorUpdateTemplateKHR;
5286 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateDescriptorUpdateTemplateKHR) {
5287 : __fn = tl_deviceHookTable.replace->vkCreateDescriptorUpdateTemplateKHR;
5288 : }
5289 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateDescriptorUpdateTemplateKHR", (PFN_vkVoidFunction)__fn); }
5290 : auto ret = __fn(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
5291 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateDescriptorUpdateTemplateKHR", (PFN_vkVoidFunction)__fn); }
5292 : return ret;
5293 : }
5294 :
5295 : static void xl_hook_tl_deviceHookTable_vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator) {
5296 : auto __fn = tl_deviceHookTable.table->vkDestroyDescriptorUpdateTemplateKHR;
5297 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDescriptorUpdateTemplateKHR) {
5298 : __fn = tl_deviceHookTable.replace->vkDestroyDescriptorUpdateTemplateKHR;
5299 : }
5300 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorUpdateTemplateKHR", (PFN_vkVoidFunction)__fn); }
5301 : __fn(device, descriptorUpdateTemplate, pAllocator);
5302 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDescriptorUpdateTemplateKHR", (PFN_vkVoidFunction)__fn); }
5303 : }
5304 :
5305 : static void xl_hook_tl_deviceHookTable_vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, const void* pData) {
5306 : auto __fn = tl_deviceHookTable.table->vkUpdateDescriptorSetWithTemplateKHR;
5307 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUpdateDescriptorSetWithTemplateKHR) {
5308 : __fn = tl_deviceHookTable.replace->vkUpdateDescriptorSetWithTemplateKHR;
5309 : }
5310 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSetWithTemplateKHR", (PFN_vkVoidFunction)__fn); }
5311 : __fn(device, descriptorSet, descriptorUpdateTemplate, pData);
5312 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUpdateDescriptorSetWithTemplateKHR", (PFN_vkVoidFunction)__fn); }
5313 : }
5314 :
5315 : #endif /* defined(VK_KHR_descriptor_update_template) */
5316 :
5317 : #if defined(VK_NV_clip_space_w_scaling)
5318 :
5319 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV* pViewportWScalings) {
5320 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportWScalingNV;
5321 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportWScalingNV) {
5322 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportWScalingNV;
5323 : }
5324 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWScalingNV", (PFN_vkVoidFunction)__fn); }
5325 : __fn(commandBuffer, firstViewport, viewportCount, pViewportWScalings);
5326 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWScalingNV", (PFN_vkVoidFunction)__fn); }
5327 : }
5328 :
5329 : #endif /* defined(VK_NV_clip_space_w_scaling) */
5330 :
5331 : #if defined(VK_EXT_display_control)
5332 :
5333 : static VkResult xl_hook_tl_deviceHookTable_vkDisplayPowerControlEXT(VkDevice device, VkDisplayKHR display, const VkDisplayPowerInfoEXT* pDisplayPowerInfo) {
5334 : auto __fn = tl_deviceHookTable.table->vkDisplayPowerControlEXT;
5335 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDisplayPowerControlEXT) {
5336 : __fn = tl_deviceHookTable.replace->vkDisplayPowerControlEXT;
5337 : }
5338 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDisplayPowerControlEXT", (PFN_vkVoidFunction)__fn); }
5339 : auto ret = __fn(device, display, pDisplayPowerInfo);
5340 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDisplayPowerControlEXT", (PFN_vkVoidFunction)__fn); }
5341 : return ret;
5342 : }
5343 :
5344 : static VkResult xl_hook_tl_deviceHookTable_vkRegisterDeviceEventEXT(VkDevice device, const VkDeviceEventInfoEXT* pDeviceEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence) {
5345 : auto __fn = tl_deviceHookTable.table->vkRegisterDeviceEventEXT;
5346 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkRegisterDeviceEventEXT) {
5347 : __fn = tl_deviceHookTable.replace->vkRegisterDeviceEventEXT;
5348 : }
5349 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkRegisterDeviceEventEXT", (PFN_vkVoidFunction)__fn); }
5350 : auto ret = __fn(device, pDeviceEventInfo, pAllocator, pFence);
5351 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkRegisterDeviceEventEXT", (PFN_vkVoidFunction)__fn); }
5352 : return ret;
5353 : }
5354 :
5355 : static VkResult xl_hook_tl_deviceHookTable_vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, const VkDisplayEventInfoEXT* pDisplayEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence) {
5356 : auto __fn = tl_deviceHookTable.table->vkRegisterDisplayEventEXT;
5357 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkRegisterDisplayEventEXT) {
5358 : __fn = tl_deviceHookTable.replace->vkRegisterDisplayEventEXT;
5359 : }
5360 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkRegisterDisplayEventEXT", (PFN_vkVoidFunction)__fn); }
5361 : auto ret = __fn(device, display, pDisplayEventInfo, pAllocator, pFence);
5362 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkRegisterDisplayEventEXT", (PFN_vkVoidFunction)__fn); }
5363 : return ret;
5364 : }
5365 :
5366 : static VkResult xl_hook_tl_deviceHookTable_vkGetSwapchainCounterEXT(VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue) {
5367 : auto __fn = tl_deviceHookTable.table->vkGetSwapchainCounterEXT;
5368 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSwapchainCounterEXT) {
5369 : __fn = tl_deviceHookTable.replace->vkGetSwapchainCounterEXT;
5370 : }
5371 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSwapchainCounterEXT", (PFN_vkVoidFunction)__fn); }
5372 : auto ret = __fn(device, swapchain, counter, pCounterValue);
5373 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSwapchainCounterEXT", (PFN_vkVoidFunction)__fn); }
5374 : return ret;
5375 : }
5376 :
5377 : #endif /* defined(VK_EXT_display_control) */
5378 :
5379 : #if defined(VK_GOOGLE_display_timing)
5380 :
5381 : static VkResult xl_hook_tl_deviceHookTable_vkGetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) {
5382 : auto __fn = tl_deviceHookTable.table->vkGetRefreshCycleDurationGOOGLE;
5383 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRefreshCycleDurationGOOGLE) {
5384 : __fn = tl_deviceHookTable.replace->vkGetRefreshCycleDurationGOOGLE;
5385 : }
5386 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRefreshCycleDurationGOOGLE", (PFN_vkVoidFunction)__fn); }
5387 : auto ret = __fn(device, swapchain, pDisplayTimingProperties);
5388 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRefreshCycleDurationGOOGLE", (PFN_vkVoidFunction)__fn); }
5389 : return ret;
5390 : }
5391 :
5392 : static VkResult xl_hook_tl_deviceHookTable_vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) {
5393 : auto __fn = tl_deviceHookTable.table->vkGetPastPresentationTimingGOOGLE;
5394 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPastPresentationTimingGOOGLE) {
5395 : __fn = tl_deviceHookTable.replace->vkGetPastPresentationTimingGOOGLE;
5396 : }
5397 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPastPresentationTimingGOOGLE", (PFN_vkVoidFunction)__fn); }
5398 : auto ret = __fn(device, swapchain, pPresentationTimingCount, pPresentationTimings);
5399 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPastPresentationTimingGOOGLE", (PFN_vkVoidFunction)__fn); }
5400 : return ret;
5401 : }
5402 :
5403 : #endif /* defined(VK_GOOGLE_display_timing) */
5404 :
5405 : #if defined(VK_EXT_discard_rectangles)
5406 :
5407 : static void xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VkRect2D* pDiscardRectangles) {
5408 : auto __fn = tl_deviceHookTable.table->vkCmdSetDiscardRectangleEXT;
5409 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDiscardRectangleEXT) {
5410 : __fn = tl_deviceHookTable.replace->vkCmdSetDiscardRectangleEXT;
5411 : }
5412 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleEXT", (PFN_vkVoidFunction)__fn); }
5413 : __fn(commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles);
5414 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleEXT", (PFN_vkVoidFunction)__fn); }
5415 : }
5416 :
5417 : static void xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleEnableEXT(VkCommandBuffer commandBuffer, VkBool32 discardRectangleEnable) {
5418 : auto __fn = tl_deviceHookTable.table->vkCmdSetDiscardRectangleEnableEXT;
5419 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDiscardRectangleEnableEXT) {
5420 : __fn = tl_deviceHookTable.replace->vkCmdSetDiscardRectangleEnableEXT;
5421 : }
5422 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleEnableEXT", (PFN_vkVoidFunction)__fn); }
5423 : __fn(commandBuffer, discardRectangleEnable);
5424 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleEnableEXT", (PFN_vkVoidFunction)__fn); }
5425 : }
5426 :
5427 : static void xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleModeEXT(VkCommandBuffer commandBuffer, VkDiscardRectangleModeEXT discardRectangleMode) {
5428 : auto __fn = tl_deviceHookTable.table->vkCmdSetDiscardRectangleModeEXT;
5429 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDiscardRectangleModeEXT) {
5430 : __fn = tl_deviceHookTable.replace->vkCmdSetDiscardRectangleModeEXT;
5431 : }
5432 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleModeEXT", (PFN_vkVoidFunction)__fn); }
5433 : __fn(commandBuffer, discardRectangleMode);
5434 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDiscardRectangleModeEXT", (PFN_vkVoidFunction)__fn); }
5435 : }
5436 :
5437 : #endif /* defined(VK_EXT_discard_rectangles) */
5438 :
5439 : #if defined(VK_EXT_hdr_metadata)
5440 :
5441 : static void xl_hook_tl_deviceHookTable_vkSetHdrMetadataEXT(VkDevice device, uint32_t swapchainCount, const VkSwapchainKHR* pSwapchains, const VkHdrMetadataEXT* pMetadata) {
5442 : auto __fn = tl_deviceHookTable.table->vkSetHdrMetadataEXT;
5443 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetHdrMetadataEXT) {
5444 : __fn = tl_deviceHookTable.replace->vkSetHdrMetadataEXT;
5445 : }
5446 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetHdrMetadataEXT", (PFN_vkVoidFunction)__fn); }
5447 : __fn(device, swapchainCount, pSwapchains, pMetadata);
5448 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetHdrMetadataEXT", (PFN_vkVoidFunction)__fn); }
5449 : }
5450 :
5451 : #endif /* defined(VK_EXT_hdr_metadata) */
5452 :
5453 : #if defined(VK_KHR_create_renderpass2)
5454 :
5455 : static VkResult xl_hook_tl_deviceHookTable_vkCreateRenderPass2KHR(VkDevice device, const VkRenderPassCreateInfo2KHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) {
5456 : auto __fn = tl_deviceHookTable.table->vkCreateRenderPass2KHR;
5457 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateRenderPass2KHR) {
5458 : __fn = tl_deviceHookTable.replace->vkCreateRenderPass2KHR;
5459 : }
5460 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5461 : auto ret = __fn(device, pCreateInfo, pAllocator, pRenderPass);
5462 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5463 : return ret;
5464 : }
5465 :
5466 : static void xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, const VkSubpassBeginInfoKHR* pSubpassBeginInfo) {
5467 : auto __fn = tl_deviceHookTable.table->vkCmdBeginRenderPass2KHR;
5468 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBeginRenderPass2KHR) {
5469 : __fn = tl_deviceHookTable.replace->vkCmdBeginRenderPass2KHR;
5470 : }
5471 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5472 : __fn(commandBuffer, pRenderPassBegin, pSubpassBeginInfo);
5473 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBeginRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5474 : }
5475 :
5476 : static void xl_hook_tl_deviceHookTable_vkCmdNextSubpass2KHR(VkCommandBuffer commandBuffer, const VkSubpassBeginInfoKHR* pSubpassBeginInfo, const VkSubpassEndInfoKHR* pSubpassEndInfo) {
5477 : auto __fn = tl_deviceHookTable.table->vkCmdNextSubpass2KHR;
5478 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdNextSubpass2KHR) {
5479 : __fn = tl_deviceHookTable.replace->vkCmdNextSubpass2KHR;
5480 : }
5481 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass2KHR", (PFN_vkVoidFunction)__fn); }
5482 : __fn(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo);
5483 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdNextSubpass2KHR", (PFN_vkVoidFunction)__fn); }
5484 : }
5485 :
5486 : static void xl_hook_tl_deviceHookTable_vkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, const VkSubpassEndInfoKHR* pSubpassEndInfo) {
5487 : auto __fn = tl_deviceHookTable.table->vkCmdEndRenderPass2KHR;
5488 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEndRenderPass2KHR) {
5489 : __fn = tl_deviceHookTable.replace->vkCmdEndRenderPass2KHR;
5490 : }
5491 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5492 : __fn(commandBuffer, pSubpassEndInfo);
5493 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEndRenderPass2KHR", (PFN_vkVoidFunction)__fn); }
5494 : }
5495 :
5496 : #endif /* defined(VK_KHR_create_renderpass2) */
5497 :
5498 : #if defined(VK_KHR_shared_presentable_image)
5499 :
5500 : static VkResult xl_hook_tl_deviceHookTable_vkGetSwapchainStatusKHR(VkDevice device, VkSwapchainKHR swapchain) {
5501 : auto __fn = tl_deviceHookTable.table->vkGetSwapchainStatusKHR;
5502 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSwapchainStatusKHR) {
5503 : __fn = tl_deviceHookTable.replace->vkGetSwapchainStatusKHR;
5504 : }
5505 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSwapchainStatusKHR", (PFN_vkVoidFunction)__fn); }
5506 : auto ret = __fn(device, swapchain);
5507 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSwapchainStatusKHR", (PFN_vkVoidFunction)__fn); }
5508 : return ret;
5509 : }
5510 :
5511 : #endif /* defined(VK_KHR_shared_presentable_image) */
5512 :
5513 : #if defined(VK_KHR_external_fence_win32)
5514 :
5515 : static VkResult xl_hook_tl_deviceHookTable_vkImportFenceWin32HandleKHR(VkDevice device, const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo) {
5516 : auto __fn = tl_deviceHookTable.table->vkImportFenceWin32HandleKHR;
5517 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportFenceWin32HandleKHR) {
5518 : __fn = tl_deviceHookTable.replace->vkImportFenceWin32HandleKHR;
5519 : }
5520 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportFenceWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5521 : auto ret = __fn(device, pImportFenceWin32HandleInfo);
5522 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportFenceWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5523 : return ret;
5524 : }
5525 :
5526 : static VkResult xl_hook_tl_deviceHookTable_vkGetFenceWin32HandleKHR(VkDevice device, const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle) {
5527 : auto __fn = tl_deviceHookTable.table->vkGetFenceWin32HandleKHR;
5528 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFenceWin32HandleKHR) {
5529 : __fn = tl_deviceHookTable.replace->vkGetFenceWin32HandleKHR;
5530 : }
5531 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFenceWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5532 : auto ret = __fn(device, pGetWin32HandleInfo, pHandle);
5533 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFenceWin32HandleKHR", (PFN_vkVoidFunction)__fn); }
5534 : return ret;
5535 : }
5536 :
5537 : #endif /* defined(VK_KHR_external_fence_win32) */
5538 :
5539 : #if defined(VK_KHR_external_fence_fd)
5540 :
5541 : static VkResult xl_hook_tl_deviceHookTable_vkImportFenceFdKHR(VkDevice device, const VkImportFenceFdInfoKHR* pImportFenceFdInfo) {
5542 : auto __fn = tl_deviceHookTable.table->vkImportFenceFdKHR;
5543 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportFenceFdKHR) {
5544 : __fn = tl_deviceHookTable.replace->vkImportFenceFdKHR;
5545 : }
5546 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportFenceFdKHR", (PFN_vkVoidFunction)__fn); }
5547 : auto ret = __fn(device, pImportFenceFdInfo);
5548 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportFenceFdKHR", (PFN_vkVoidFunction)__fn); }
5549 : return ret;
5550 : }
5551 :
5552 : static VkResult xl_hook_tl_deviceHookTable_vkGetFenceFdKHR(VkDevice device, const VkFenceGetFdInfoKHR* pGetFdInfo, int* pFd) {
5553 : auto __fn = tl_deviceHookTable.table->vkGetFenceFdKHR;
5554 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFenceFdKHR) {
5555 : __fn = tl_deviceHookTable.replace->vkGetFenceFdKHR;
5556 : }
5557 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFenceFdKHR", (PFN_vkVoidFunction)__fn); }
5558 : auto ret = __fn(device, pGetFdInfo, pFd);
5559 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFenceFdKHR", (PFN_vkVoidFunction)__fn); }
5560 : return ret;
5561 : }
5562 :
5563 : #endif /* defined(VK_KHR_external_fence_fd) */
5564 :
5565 : #if defined(VK_KHR_performance_query)
5566 :
5567 : static VkResult xl_hook_tl_deviceHookTable_vkAcquireProfilingLockKHR(VkDevice device, const VkAcquireProfilingLockInfoKHR* pInfo) {
5568 : auto __fn = tl_deviceHookTable.table->vkAcquireProfilingLockKHR;
5569 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAcquireProfilingLockKHR) {
5570 : __fn = tl_deviceHookTable.replace->vkAcquireProfilingLockKHR;
5571 : }
5572 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAcquireProfilingLockKHR", (PFN_vkVoidFunction)__fn); }
5573 : auto ret = __fn(device, pInfo);
5574 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAcquireProfilingLockKHR", (PFN_vkVoidFunction)__fn); }
5575 : return ret;
5576 : }
5577 :
5578 : static void xl_hook_tl_deviceHookTable_vkReleaseProfilingLockKHR(VkDevice device) {
5579 : auto __fn = tl_deviceHookTable.table->vkReleaseProfilingLockKHR;
5580 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkReleaseProfilingLockKHR) {
5581 : __fn = tl_deviceHookTable.replace->vkReleaseProfilingLockKHR;
5582 : }
5583 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkReleaseProfilingLockKHR", (PFN_vkVoidFunction)__fn); }
5584 : __fn(device);
5585 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkReleaseProfilingLockKHR", (PFN_vkVoidFunction)__fn); }
5586 : }
5587 :
5588 : #endif /* defined(VK_KHR_performance_query) */
5589 :
5590 : #if defined(VK_ANDROID_external_memory_android_hardware_buffer)
5591 :
5592 : static VkResult xl_hook_tl_deviceHookTable_vkGetAndroidHardwareBufferPropertiesANDROID(VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties) {
5593 : auto __fn = tl_deviceHookTable.table->vkGetAndroidHardwareBufferPropertiesANDROID;
5594 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAndroidHardwareBufferPropertiesANDROID) {
5595 : __fn = tl_deviceHookTable.replace->vkGetAndroidHardwareBufferPropertiesANDROID;
5596 : }
5597 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAndroidHardwareBufferPropertiesANDROID", (PFN_vkVoidFunction)__fn); }
5598 : auto ret = __fn(device, buffer, pProperties);
5599 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAndroidHardwareBufferPropertiesANDROID", (PFN_vkVoidFunction)__fn); }
5600 : return ret;
5601 : }
5602 :
5603 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryAndroidHardwareBufferANDROID(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer) {
5604 : auto __fn = tl_deviceHookTable.table->vkGetMemoryAndroidHardwareBufferANDROID;
5605 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryAndroidHardwareBufferANDROID) {
5606 : __fn = tl_deviceHookTable.replace->vkGetMemoryAndroidHardwareBufferANDROID;
5607 : }
5608 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryAndroidHardwareBufferANDROID", (PFN_vkVoidFunction)__fn); }
5609 : auto ret = __fn(device, pInfo, pBuffer);
5610 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryAndroidHardwareBufferANDROID", (PFN_vkVoidFunction)__fn); }
5611 : return ret;
5612 : }
5613 :
5614 : #endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
5615 :
5616 : #if defined(VK_AMDX_shader_enqueue)
5617 :
5618 : static VkResult xl_hook_tl_deviceHookTable_vkCreateExecutionGraphPipelinesAMDX(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkExecutionGraphPipelineCreateInfoAMDX* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) {
5619 : auto __fn = tl_deviceHookTable.table->vkCreateExecutionGraphPipelinesAMDX;
5620 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateExecutionGraphPipelinesAMDX) {
5621 : __fn = tl_deviceHookTable.replace->vkCreateExecutionGraphPipelinesAMDX;
5622 : }
5623 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateExecutionGraphPipelinesAMDX", (PFN_vkVoidFunction)__fn); }
5624 : auto ret = __fn(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
5625 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateExecutionGraphPipelinesAMDX", (PFN_vkVoidFunction)__fn); }
5626 : return ret;
5627 : }
5628 :
5629 : static VkResult xl_hook_tl_deviceHookTable_vkGetExecutionGraphPipelineScratchSizeAMDX(VkDevice device, VkPipeline executionGraph, VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo) {
5630 : auto __fn = tl_deviceHookTable.table->vkGetExecutionGraphPipelineScratchSizeAMDX;
5631 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetExecutionGraphPipelineScratchSizeAMDX) {
5632 : __fn = tl_deviceHookTable.replace->vkGetExecutionGraphPipelineScratchSizeAMDX;
5633 : }
5634 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetExecutionGraphPipelineScratchSizeAMDX", (PFN_vkVoidFunction)__fn); }
5635 : auto ret = __fn(device, executionGraph, pSizeInfo);
5636 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetExecutionGraphPipelineScratchSizeAMDX", (PFN_vkVoidFunction)__fn); }
5637 : return ret;
5638 : }
5639 :
5640 : static VkResult xl_hook_tl_deviceHookTable_vkGetExecutionGraphPipelineNodeIndexAMDX(VkDevice device, VkPipeline executionGraph, const VkPipelineShaderStageNodeCreateInfoAMDX* pNodeInfo, uint32_t* pNodeIndex) {
5641 : auto __fn = tl_deviceHookTable.table->vkGetExecutionGraphPipelineNodeIndexAMDX;
5642 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetExecutionGraphPipelineNodeIndexAMDX) {
5643 : __fn = tl_deviceHookTable.replace->vkGetExecutionGraphPipelineNodeIndexAMDX;
5644 : }
5645 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetExecutionGraphPipelineNodeIndexAMDX", (PFN_vkVoidFunction)__fn); }
5646 : auto ret = __fn(device, executionGraph, pNodeInfo, pNodeIndex);
5647 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetExecutionGraphPipelineNodeIndexAMDX", (PFN_vkVoidFunction)__fn); }
5648 : return ret;
5649 : }
5650 :
5651 : static void xl_hook_tl_deviceHookTable_vkCmdInitializeGraphScratchMemoryAMDX(VkCommandBuffer commandBuffer, VkDeviceAddress scratch) {
5652 : auto __fn = tl_deviceHookTable.table->vkCmdInitializeGraphScratchMemoryAMDX;
5653 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdInitializeGraphScratchMemoryAMDX) {
5654 : __fn = tl_deviceHookTable.replace->vkCmdInitializeGraphScratchMemoryAMDX;
5655 : }
5656 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdInitializeGraphScratchMemoryAMDX", (PFN_vkVoidFunction)__fn); }
5657 : __fn(commandBuffer, scratch);
5658 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdInitializeGraphScratchMemoryAMDX", (PFN_vkVoidFunction)__fn); }
5659 : }
5660 :
5661 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchGraphAMDX(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo) {
5662 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchGraphAMDX;
5663 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchGraphAMDX) {
5664 : __fn = tl_deviceHookTable.replace->vkCmdDispatchGraphAMDX;
5665 : }
5666 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphAMDX", (PFN_vkVoidFunction)__fn); }
5667 : __fn(commandBuffer, scratch, pCountInfo);
5668 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphAMDX", (PFN_vkVoidFunction)__fn); }
5669 : }
5670 :
5671 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchGraphIndirectAMDX(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, const VkDispatchGraphCountInfoAMDX* pCountInfo) {
5672 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchGraphIndirectAMDX;
5673 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchGraphIndirectAMDX) {
5674 : __fn = tl_deviceHookTable.replace->vkCmdDispatchGraphIndirectAMDX;
5675 : }
5676 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphIndirectAMDX", (PFN_vkVoidFunction)__fn); }
5677 : __fn(commandBuffer, scratch, pCountInfo);
5678 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphIndirectAMDX", (PFN_vkVoidFunction)__fn); }
5679 : }
5680 :
5681 : static void xl_hook_tl_deviceHookTable_vkCmdDispatchGraphIndirectCountAMDX(VkCommandBuffer commandBuffer, VkDeviceAddress scratch, VkDeviceAddress countInfo) {
5682 : auto __fn = tl_deviceHookTable.table->vkCmdDispatchGraphIndirectCountAMDX;
5683 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDispatchGraphIndirectCountAMDX) {
5684 : __fn = tl_deviceHookTable.replace->vkCmdDispatchGraphIndirectCountAMDX;
5685 : }
5686 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphIndirectCountAMDX", (PFN_vkVoidFunction)__fn); }
5687 : __fn(commandBuffer, scratch, countInfo);
5688 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDispatchGraphIndirectCountAMDX", (PFN_vkVoidFunction)__fn); }
5689 : }
5690 :
5691 : #endif /* defined(VK_AMDX_shader_enqueue) */
5692 :
5693 : #if defined(VK_EXT_sample_locations)
5694 :
5695 : static void xl_hook_tl_deviceHookTable_vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT* pSampleLocationsInfo) {
5696 : auto __fn = tl_deviceHookTable.table->vkCmdSetSampleLocationsEXT;
5697 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetSampleLocationsEXT) {
5698 : __fn = tl_deviceHookTable.replace->vkCmdSetSampleLocationsEXT;
5699 : }
5700 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetSampleLocationsEXT", (PFN_vkVoidFunction)__fn); }
5701 : __fn(commandBuffer, pSampleLocationsInfo);
5702 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetSampleLocationsEXT", (PFN_vkVoidFunction)__fn); }
5703 : }
5704 :
5705 : #endif /* defined(VK_EXT_sample_locations) */
5706 :
5707 : #if defined(VK_KHR_get_memory_requirements2)
5708 :
5709 : static void xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements2KHR(VkDevice device, const VkImageMemoryRequirementsInfo2KHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) {
5710 : auto __fn = tl_deviceHookTable.table->vkGetImageMemoryRequirements2KHR;
5711 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageMemoryRequirements2KHR) {
5712 : __fn = tl_deviceHookTable.replace->vkGetImageMemoryRequirements2KHR;
5713 : }
5714 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5715 : __fn(device, pInfo, pMemoryRequirements);
5716 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5717 : }
5718 :
5719 : static void xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements2KHR(VkDevice device, const VkBufferMemoryRequirementsInfo2KHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) {
5720 : auto __fn = tl_deviceHookTable.table->vkGetBufferMemoryRequirements2KHR;
5721 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferMemoryRequirements2KHR) {
5722 : __fn = tl_deviceHookTable.replace->vkGetBufferMemoryRequirements2KHR;
5723 : }
5724 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5725 : __fn(device, pInfo, pMemoryRequirements);
5726 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5727 : }
5728 :
5729 : static void xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements2KHR(VkDevice device, const VkImageSparseMemoryRequirementsInfo2KHR* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) {
5730 : auto __fn = tl_deviceHookTable.table->vkGetImageSparseMemoryRequirements2KHR;
5731 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements2KHR) {
5732 : __fn = tl_deviceHookTable.replace->vkGetImageSparseMemoryRequirements2KHR;
5733 : }
5734 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5735 : __fn(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
5736 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSparseMemoryRequirements2KHR", (PFN_vkVoidFunction)__fn); }
5737 : }
5738 :
5739 : #endif /* defined(VK_KHR_get_memory_requirements2) */
5740 :
5741 : #if defined(VK_KHR_acceleration_structure)
5742 :
5743 : static VkResult xl_hook_tl_deviceHookTable_vkCreateAccelerationStructureKHR(VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureKHR* pAccelerationStructure) {
5744 : auto __fn = tl_deviceHookTable.table->vkCreateAccelerationStructureKHR;
5745 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateAccelerationStructureKHR) {
5746 : __fn = tl_deviceHookTable.replace->vkCreateAccelerationStructureKHR;
5747 : }
5748 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5749 : auto ret = __fn(device, pCreateInfo, pAllocator, pAccelerationStructure);
5750 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5751 : return ret;
5752 : }
5753 :
5754 : static void xl_hook_tl_deviceHookTable_vkDestroyAccelerationStructureKHR(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator) {
5755 : auto __fn = tl_deviceHookTable.table->vkDestroyAccelerationStructureKHR;
5756 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyAccelerationStructureKHR) {
5757 : __fn = tl_deviceHookTable.replace->vkDestroyAccelerationStructureKHR;
5758 : }
5759 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5760 : __fn(device, accelerationStructure, pAllocator);
5761 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5762 : }
5763 :
5764 : static void xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructuresKHR(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos) {
5765 : auto __fn = tl_deviceHookTable.table->vkCmdBuildAccelerationStructuresKHR;
5766 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBuildAccelerationStructuresKHR) {
5767 : __fn = tl_deviceHookTable.replace->vkCmdBuildAccelerationStructuresKHR;
5768 : }
5769 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructuresKHR", (PFN_vkVoidFunction)__fn); }
5770 : __fn(commandBuffer, infoCount, pInfos, ppBuildRangeInfos);
5771 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructuresKHR", (PFN_vkVoidFunction)__fn); }
5772 : }
5773 :
5774 : static void xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructuresIndirectKHR(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkDeviceAddress* pIndirectDeviceAddresses, const uint32_t* pIndirectStrides, const uint32_t* const* ppMaxPrimitiveCounts) {
5775 : auto __fn = tl_deviceHookTable.table->vkCmdBuildAccelerationStructuresIndirectKHR;
5776 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBuildAccelerationStructuresIndirectKHR) {
5777 : __fn = tl_deviceHookTable.replace->vkCmdBuildAccelerationStructuresIndirectKHR;
5778 : }
5779 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructuresIndirectKHR", (PFN_vkVoidFunction)__fn); }
5780 : __fn(commandBuffer, infoCount, pInfos, pIndirectDeviceAddresses, pIndirectStrides, ppMaxPrimitiveCounts);
5781 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructuresIndirectKHR", (PFN_vkVoidFunction)__fn); }
5782 : }
5783 :
5784 : static VkResult xl_hook_tl_deviceHookTable_vkBuildAccelerationStructuresKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos) {
5785 : auto __fn = tl_deviceHookTable.table->vkBuildAccelerationStructuresKHR;
5786 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBuildAccelerationStructuresKHR) {
5787 : __fn = tl_deviceHookTable.replace->vkBuildAccelerationStructuresKHR;
5788 : }
5789 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBuildAccelerationStructuresKHR", (PFN_vkVoidFunction)__fn); }
5790 : auto ret = __fn(device, deferredOperation, infoCount, pInfos, ppBuildRangeInfos);
5791 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBuildAccelerationStructuresKHR", (PFN_vkVoidFunction)__fn); }
5792 : return ret;
5793 : }
5794 :
5795 : static VkResult xl_hook_tl_deviceHookTable_vkCopyAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureInfoKHR* pInfo) {
5796 : auto __fn = tl_deviceHookTable.table->vkCopyAccelerationStructureKHR;
5797 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyAccelerationStructureKHR) {
5798 : __fn = tl_deviceHookTable.replace->vkCopyAccelerationStructureKHR;
5799 : }
5800 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5801 : auto ret = __fn(device, deferredOperation, pInfo);
5802 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5803 : return ret;
5804 : }
5805 :
5806 : static VkResult xl_hook_tl_deviceHookTable_vkCopyAccelerationStructureToMemoryKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo) {
5807 : auto __fn = tl_deviceHookTable.table->vkCopyAccelerationStructureToMemoryKHR;
5808 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyAccelerationStructureToMemoryKHR) {
5809 : __fn = tl_deviceHookTable.replace->vkCopyAccelerationStructureToMemoryKHR;
5810 : }
5811 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyAccelerationStructureToMemoryKHR", (PFN_vkVoidFunction)__fn); }
5812 : auto ret = __fn(device, deferredOperation, pInfo);
5813 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyAccelerationStructureToMemoryKHR", (PFN_vkVoidFunction)__fn); }
5814 : return ret;
5815 : }
5816 :
5817 : static VkResult xl_hook_tl_deviceHookTable_vkCopyMemoryToAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo) {
5818 : auto __fn = tl_deviceHookTable.table->vkCopyMemoryToAccelerationStructureKHR;
5819 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyMemoryToAccelerationStructureKHR) {
5820 : __fn = tl_deviceHookTable.replace->vkCopyMemoryToAccelerationStructureKHR;
5821 : }
5822 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyMemoryToAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5823 : auto ret = __fn(device, deferredOperation, pInfo);
5824 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyMemoryToAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5825 : return ret;
5826 : }
5827 :
5828 : static VkResult xl_hook_tl_deviceHookTable_vkWriteAccelerationStructuresPropertiesKHR(VkDevice device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, size_t dataSize, void* pData, size_t stride) {
5829 : auto __fn = tl_deviceHookTable.table->vkWriteAccelerationStructuresPropertiesKHR;
5830 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWriteAccelerationStructuresPropertiesKHR) {
5831 : __fn = tl_deviceHookTable.replace->vkWriteAccelerationStructuresPropertiesKHR;
5832 : }
5833 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWriteAccelerationStructuresPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5834 : auto ret = __fn(device, accelerationStructureCount, pAccelerationStructures, queryType, dataSize, pData, stride);
5835 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWriteAccelerationStructuresPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5836 : return ret;
5837 : }
5838 :
5839 : static void xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureInfoKHR* pInfo) {
5840 : auto __fn = tl_deviceHookTable.table->vkCmdCopyAccelerationStructureKHR;
5841 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureKHR) {
5842 : __fn = tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureKHR;
5843 : }
5844 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5845 : __fn(commandBuffer, pInfo);
5846 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5847 : }
5848 :
5849 : static void xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureToMemoryKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo) {
5850 : auto __fn = tl_deviceHookTable.table->vkCmdCopyAccelerationStructureToMemoryKHR;
5851 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureToMemoryKHR) {
5852 : __fn = tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureToMemoryKHR;
5853 : }
5854 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureToMemoryKHR", (PFN_vkVoidFunction)__fn); }
5855 : __fn(commandBuffer, pInfo);
5856 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureToMemoryKHR", (PFN_vkVoidFunction)__fn); }
5857 : }
5858 :
5859 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo) {
5860 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMemoryToAccelerationStructureKHR;
5861 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMemoryToAccelerationStructureKHR) {
5862 : __fn = tl_deviceHookTable.replace->vkCmdCopyMemoryToAccelerationStructureKHR;
5863 : }
5864 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5865 : __fn(commandBuffer, pInfo);
5866 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToAccelerationStructureKHR", (PFN_vkVoidFunction)__fn); }
5867 : }
5868 :
5869 : static VkDeviceAddress xl_hook_tl_deviceHookTable_vkGetAccelerationStructureDeviceAddressKHR(VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR* pInfo) {
5870 : auto __fn = tl_deviceHookTable.table->vkGetAccelerationStructureDeviceAddressKHR;
5871 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAccelerationStructureDeviceAddressKHR) {
5872 : __fn = tl_deviceHookTable.replace->vkGetAccelerationStructureDeviceAddressKHR;
5873 : }
5874 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureDeviceAddressKHR", (PFN_vkVoidFunction)__fn); }
5875 : auto ret = __fn(device, pInfo);
5876 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureDeviceAddressKHR", (PFN_vkVoidFunction)__fn); }
5877 : return ret;
5878 : }
5879 :
5880 : static void xl_hook_tl_deviceHookTable_vkCmdWriteAccelerationStructuresPropertiesKHR(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery) {
5881 : auto __fn = tl_deviceHookTable.table->vkCmdWriteAccelerationStructuresPropertiesKHR;
5882 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteAccelerationStructuresPropertiesKHR) {
5883 : __fn = tl_deviceHookTable.replace->vkCmdWriteAccelerationStructuresPropertiesKHR;
5884 : }
5885 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteAccelerationStructuresPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5886 : __fn(commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery);
5887 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteAccelerationStructuresPropertiesKHR", (PFN_vkVoidFunction)__fn); }
5888 : }
5889 :
5890 : static void xl_hook_tl_deviceHookTable_vkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice device, const VkAccelerationStructureVersionInfoKHR* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility) {
5891 : auto __fn = tl_deviceHookTable.table->vkGetDeviceAccelerationStructureCompatibilityKHR;
5892 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceAccelerationStructureCompatibilityKHR) {
5893 : __fn = tl_deviceHookTable.replace->vkGetDeviceAccelerationStructureCompatibilityKHR;
5894 : }
5895 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceAccelerationStructureCompatibilityKHR", (PFN_vkVoidFunction)__fn); }
5896 : __fn(device, pVersionInfo, pCompatibility);
5897 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceAccelerationStructureCompatibilityKHR", (PFN_vkVoidFunction)__fn); }
5898 : }
5899 :
5900 : static void xl_hook_tl_deviceHookTable_vkGetAccelerationStructureBuildSizesKHR(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkAccelerationStructureBuildGeometryInfoKHR* pBuildInfo, const uint32_t* pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo) {
5901 : auto __fn = tl_deviceHookTable.table->vkGetAccelerationStructureBuildSizesKHR;
5902 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAccelerationStructureBuildSizesKHR) {
5903 : __fn = tl_deviceHookTable.replace->vkGetAccelerationStructureBuildSizesKHR;
5904 : }
5905 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureBuildSizesKHR", (PFN_vkVoidFunction)__fn); }
5906 : __fn(device, buildType, pBuildInfo, pMaxPrimitiveCounts, pSizeInfo);
5907 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureBuildSizesKHR", (PFN_vkVoidFunction)__fn); }
5908 : }
5909 :
5910 : #endif /* defined(VK_KHR_acceleration_structure) */
5911 :
5912 : #if defined(VK_KHR_ray_tracing_pipeline)
5913 :
5914 : static void xl_hook_tl_deviceHookTable_vkCmdTraceRaysKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth) {
5915 : auto __fn = tl_deviceHookTable.table->vkCmdTraceRaysKHR;
5916 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdTraceRaysKHR) {
5917 : __fn = tl_deviceHookTable.replace->vkCmdTraceRaysKHR;
5918 : }
5919 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysKHR", (PFN_vkVoidFunction)__fn); }
5920 : __fn(commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, width, height, depth);
5921 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysKHR", (PFN_vkVoidFunction)__fn); }
5922 : }
5923 :
5924 : static VkResult xl_hook_tl_deviceHookTable_vkCreateRayTracingPipelinesKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) {
5925 : auto __fn = tl_deviceHookTable.table->vkCreateRayTracingPipelinesKHR;
5926 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateRayTracingPipelinesKHR) {
5927 : __fn = tl_deviceHookTable.replace->vkCreateRayTracingPipelinesKHR;
5928 : }
5929 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateRayTracingPipelinesKHR", (PFN_vkVoidFunction)__fn); }
5930 : auto ret = __fn(device, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
5931 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateRayTracingPipelinesKHR", (PFN_vkVoidFunction)__fn); }
5932 : return ret;
5933 : }
5934 :
5935 : static VkResult xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData) {
5936 : auto __fn = tl_deviceHookTable.table->vkGetRayTracingShaderGroupHandlesKHR;
5937 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRayTracingShaderGroupHandlesKHR) {
5938 : __fn = tl_deviceHookTable.replace->vkGetRayTracingShaderGroupHandlesKHR;
5939 : }
5940 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupHandlesKHR", (PFN_vkVoidFunction)__fn); }
5941 : auto ret = __fn(device, pipeline, firstGroup, groupCount, dataSize, pData);
5942 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupHandlesKHR", (PFN_vkVoidFunction)__fn); }
5943 : return ret;
5944 : }
5945 :
5946 : static VkResult xl_hook_tl_deviceHookTable_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData) {
5947 : auto __fn = tl_deviceHookTable.table->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
5948 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR) {
5949 : __fn = tl_deviceHookTable.replace->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
5950 : }
5951 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR", (PFN_vkVoidFunction)__fn); }
5952 : auto ret = __fn(device, pipeline, firstGroup, groupCount, dataSize, pData);
5953 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR", (PFN_vkVoidFunction)__fn); }
5954 : return ret;
5955 : }
5956 :
5957 : static void xl_hook_tl_deviceHookTable_vkCmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress) {
5958 : auto __fn = tl_deviceHookTable.table->vkCmdTraceRaysIndirectKHR;
5959 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdTraceRaysIndirectKHR) {
5960 : __fn = tl_deviceHookTable.replace->vkCmdTraceRaysIndirectKHR;
5961 : }
5962 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysIndirectKHR", (PFN_vkVoidFunction)__fn); }
5963 : __fn(commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, indirectDeviceAddress);
5964 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysIndirectKHR", (PFN_vkVoidFunction)__fn); }
5965 : }
5966 :
5967 : static VkDeviceSize xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupStackSizeKHR(VkDevice device, VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader) {
5968 : auto __fn = tl_deviceHookTable.table->vkGetRayTracingShaderGroupStackSizeKHR;
5969 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRayTracingShaderGroupStackSizeKHR) {
5970 : __fn = tl_deviceHookTable.replace->vkGetRayTracingShaderGroupStackSizeKHR;
5971 : }
5972 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupStackSizeKHR", (PFN_vkVoidFunction)__fn); }
5973 : auto ret = __fn(device, pipeline, group, groupShader);
5974 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupStackSizeKHR", (PFN_vkVoidFunction)__fn); }
5975 : return ret;
5976 : }
5977 :
5978 : static void xl_hook_tl_deviceHookTable_vkCmdSetRayTracingPipelineStackSizeKHR(VkCommandBuffer commandBuffer, uint32_t pipelineStackSize) {
5979 : auto __fn = tl_deviceHookTable.table->vkCmdSetRayTracingPipelineStackSizeKHR;
5980 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRayTracingPipelineStackSizeKHR) {
5981 : __fn = tl_deviceHookTable.replace->vkCmdSetRayTracingPipelineStackSizeKHR;
5982 : }
5983 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRayTracingPipelineStackSizeKHR", (PFN_vkVoidFunction)__fn); }
5984 : __fn(commandBuffer, pipelineStackSize);
5985 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRayTracingPipelineStackSizeKHR", (PFN_vkVoidFunction)__fn); }
5986 : }
5987 :
5988 : #endif /* defined(VK_KHR_ray_tracing_pipeline) */
5989 :
5990 : #if defined(VK_KHR_sampler_ycbcr_conversion)
5991 :
5992 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSamplerYcbcrConversionKHR(VkDevice device, const VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) {
5993 : auto __fn = tl_deviceHookTable.table->vkCreateSamplerYcbcrConversionKHR;
5994 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSamplerYcbcrConversionKHR) {
5995 : __fn = tl_deviceHookTable.replace->vkCreateSamplerYcbcrConversionKHR;
5996 : }
5997 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSamplerYcbcrConversionKHR", (PFN_vkVoidFunction)__fn); }
5998 : auto ret = __fn(device, pCreateInfo, pAllocator, pYcbcrConversion);
5999 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSamplerYcbcrConversionKHR", (PFN_vkVoidFunction)__fn); }
6000 : return ret;
6001 : }
6002 :
6003 : static void xl_hook_tl_deviceHookTable_vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionKHR ycbcrConversion, const VkAllocationCallbacks* pAllocator) {
6004 : auto __fn = tl_deviceHookTable.table->vkDestroySamplerYcbcrConversionKHR;
6005 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySamplerYcbcrConversionKHR) {
6006 : __fn = tl_deviceHookTable.replace->vkDestroySamplerYcbcrConversionKHR;
6007 : }
6008 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySamplerYcbcrConversionKHR", (PFN_vkVoidFunction)__fn); }
6009 : __fn(device, ycbcrConversion, pAllocator);
6010 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySamplerYcbcrConversionKHR", (PFN_vkVoidFunction)__fn); }
6011 : }
6012 :
6013 : #endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
6014 :
6015 : #if defined(VK_KHR_bind_memory2)
6016 :
6017 : static VkResult xl_hook_tl_deviceHookTable_vkBindBufferMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfoKHR* pBindInfos) {
6018 : auto __fn = tl_deviceHookTable.table->vkBindBufferMemory2KHR;
6019 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindBufferMemory2KHR) {
6020 : __fn = tl_deviceHookTable.replace->vkBindBufferMemory2KHR;
6021 : }
6022 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindBufferMemory2KHR", (PFN_vkVoidFunction)__fn); }
6023 : auto ret = __fn(device, bindInfoCount, pBindInfos);
6024 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindBufferMemory2KHR", (PFN_vkVoidFunction)__fn); }
6025 : return ret;
6026 : }
6027 :
6028 : static VkResult xl_hook_tl_deviceHookTable_vkBindImageMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfoKHR* pBindInfos) {
6029 : auto __fn = tl_deviceHookTable.table->vkBindImageMemory2KHR;
6030 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindImageMemory2KHR) {
6031 : __fn = tl_deviceHookTable.replace->vkBindImageMemory2KHR;
6032 : }
6033 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindImageMemory2KHR", (PFN_vkVoidFunction)__fn); }
6034 : auto ret = __fn(device, bindInfoCount, pBindInfos);
6035 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindImageMemory2KHR", (PFN_vkVoidFunction)__fn); }
6036 : return ret;
6037 : }
6038 :
6039 : #endif /* defined(VK_KHR_bind_memory2) */
6040 :
6041 : #if defined(VK_EXT_image_drm_format_modifier)
6042 :
6043 : static VkResult xl_hook_tl_deviceHookTable_vkGetImageDrmFormatModifierPropertiesEXT(VkDevice device, VkImage image, VkImageDrmFormatModifierPropertiesEXT* pProperties) {
6044 : auto __fn = tl_deviceHookTable.table->vkGetImageDrmFormatModifierPropertiesEXT;
6045 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageDrmFormatModifierPropertiesEXT) {
6046 : __fn = tl_deviceHookTable.replace->vkGetImageDrmFormatModifierPropertiesEXT;
6047 : }
6048 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageDrmFormatModifierPropertiesEXT", (PFN_vkVoidFunction)__fn); }
6049 : auto ret = __fn(device, image, pProperties);
6050 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageDrmFormatModifierPropertiesEXT", (PFN_vkVoidFunction)__fn); }
6051 : return ret;
6052 : }
6053 :
6054 : #endif /* defined(VK_EXT_image_drm_format_modifier) */
6055 :
6056 : #if defined(VK_EXT_validation_cache)
6057 :
6058 : static VkResult xl_hook_tl_deviceHookTable_vkCreateValidationCacheEXT(VkDevice device, const VkValidationCacheCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache) {
6059 : auto __fn = tl_deviceHookTable.table->vkCreateValidationCacheEXT;
6060 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateValidationCacheEXT) {
6061 : __fn = tl_deviceHookTable.replace->vkCreateValidationCacheEXT;
6062 : }
6063 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateValidationCacheEXT", (PFN_vkVoidFunction)__fn); }
6064 : auto ret = __fn(device, pCreateInfo, pAllocator, pValidationCache);
6065 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateValidationCacheEXT", (PFN_vkVoidFunction)__fn); }
6066 : return ret;
6067 : }
6068 :
6069 : static void xl_hook_tl_deviceHookTable_vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks* pAllocator) {
6070 : auto __fn = tl_deviceHookTable.table->vkDestroyValidationCacheEXT;
6071 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyValidationCacheEXT) {
6072 : __fn = tl_deviceHookTable.replace->vkDestroyValidationCacheEXT;
6073 : }
6074 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyValidationCacheEXT", (PFN_vkVoidFunction)__fn); }
6075 : __fn(device, validationCache, pAllocator);
6076 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyValidationCacheEXT", (PFN_vkVoidFunction)__fn); }
6077 : }
6078 :
6079 : static VkResult xl_hook_tl_deviceHookTable_vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT* pSrcCaches) {
6080 : auto __fn = tl_deviceHookTable.table->vkMergeValidationCachesEXT;
6081 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkMergeValidationCachesEXT) {
6082 : __fn = tl_deviceHookTable.replace->vkMergeValidationCachesEXT;
6083 : }
6084 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkMergeValidationCachesEXT", (PFN_vkVoidFunction)__fn); }
6085 : auto ret = __fn(device, dstCache, srcCacheCount, pSrcCaches);
6086 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkMergeValidationCachesEXT", (PFN_vkVoidFunction)__fn); }
6087 : return ret;
6088 : }
6089 :
6090 : static VkResult xl_hook_tl_deviceHookTable_vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData) {
6091 : auto __fn = tl_deviceHookTable.table->vkGetValidationCacheDataEXT;
6092 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetValidationCacheDataEXT) {
6093 : __fn = tl_deviceHookTable.replace->vkGetValidationCacheDataEXT;
6094 : }
6095 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetValidationCacheDataEXT", (PFN_vkVoidFunction)__fn); }
6096 : auto ret = __fn(device, validationCache, pDataSize, pData);
6097 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetValidationCacheDataEXT", (PFN_vkVoidFunction)__fn); }
6098 : return ret;
6099 : }
6100 :
6101 : #endif /* defined(VK_EXT_validation_cache) */
6102 :
6103 : #if defined(VK_NV_shading_rate_image)
6104 :
6105 : static void xl_hook_tl_deviceHookTable_vkCmdBindShadingRateImageNV(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout) {
6106 : auto __fn = tl_deviceHookTable.table->vkCmdBindShadingRateImageNV;
6107 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindShadingRateImageNV) {
6108 : __fn = tl_deviceHookTable.replace->vkCmdBindShadingRateImageNV;
6109 : }
6110 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindShadingRateImageNV", (PFN_vkVoidFunction)__fn); }
6111 : __fn(commandBuffer, imageView, imageLayout);
6112 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindShadingRateImageNV", (PFN_vkVoidFunction)__fn); }
6113 : }
6114 :
6115 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkShadingRatePaletteNV* pShadingRatePalettes) {
6116 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportShadingRatePaletteNV;
6117 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportShadingRatePaletteNV) {
6118 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportShadingRatePaletteNV;
6119 : }
6120 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportShadingRatePaletteNV", (PFN_vkVoidFunction)__fn); }
6121 : __fn(commandBuffer, firstViewport, viewportCount, pShadingRatePalettes);
6122 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportShadingRatePaletteNV", (PFN_vkVoidFunction)__fn); }
6123 : }
6124 :
6125 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoarseSampleOrderNV(VkCommandBuffer commandBuffer, VkCoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const VkCoarseSampleOrderCustomNV* pCustomSampleOrders) {
6126 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoarseSampleOrderNV;
6127 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoarseSampleOrderNV) {
6128 : __fn = tl_deviceHookTable.replace->vkCmdSetCoarseSampleOrderNV;
6129 : }
6130 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoarseSampleOrderNV", (PFN_vkVoidFunction)__fn); }
6131 : __fn(commandBuffer, sampleOrderType, customSampleOrderCount, pCustomSampleOrders);
6132 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoarseSampleOrderNV", (PFN_vkVoidFunction)__fn); }
6133 : }
6134 :
6135 : #endif /* defined(VK_NV_shading_rate_image) */
6136 :
6137 : #if defined(VK_NV_ray_tracing)
6138 :
6139 : static VkResult xl_hook_tl_deviceHookTable_vkCreateAccelerationStructureNV(VkDevice device, const VkAccelerationStructureCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureNV* pAccelerationStructure) {
6140 : auto __fn = tl_deviceHookTable.table->vkCreateAccelerationStructureNV;
6141 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateAccelerationStructureNV) {
6142 : __fn = tl_deviceHookTable.replace->vkCreateAccelerationStructureNV;
6143 : }
6144 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6145 : auto ret = __fn(device, pCreateInfo, pAllocator, pAccelerationStructure);
6146 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6147 : return ret;
6148 : }
6149 :
6150 : static void xl_hook_tl_deviceHookTable_vkDestroyAccelerationStructureNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, const VkAllocationCallbacks* pAllocator) {
6151 : auto __fn = tl_deviceHookTable.table->vkDestroyAccelerationStructureNV;
6152 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyAccelerationStructureNV) {
6153 : __fn = tl_deviceHookTable.replace->vkDestroyAccelerationStructureNV;
6154 : }
6155 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6156 : __fn(device, accelerationStructure, pAllocator);
6157 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6158 : }
6159 :
6160 : static void xl_hook_tl_deviceHookTable_vkGetAccelerationStructureMemoryRequirementsNV(VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) {
6161 : auto __fn = tl_deviceHookTable.table->vkGetAccelerationStructureMemoryRequirementsNV;
6162 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAccelerationStructureMemoryRequirementsNV) {
6163 : __fn = tl_deviceHookTable.replace->vkGetAccelerationStructureMemoryRequirementsNV;
6164 : }
6165 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
6166 : __fn(device, pInfo, pMemoryRequirements);
6167 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
6168 : }
6169 :
6170 : static VkResult xl_hook_tl_deviceHookTable_vkBindAccelerationStructureMemoryNV(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoNV* pBindInfos) {
6171 : auto __fn = tl_deviceHookTable.table->vkBindAccelerationStructureMemoryNV;
6172 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindAccelerationStructureMemoryNV) {
6173 : __fn = tl_deviceHookTable.replace->vkBindAccelerationStructureMemoryNV;
6174 : }
6175 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindAccelerationStructureMemoryNV", (PFN_vkVoidFunction)__fn); }
6176 : auto ret = __fn(device, bindInfoCount, pBindInfos);
6177 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindAccelerationStructureMemoryNV", (PFN_vkVoidFunction)__fn); }
6178 : return ret;
6179 : }
6180 :
6181 : static void xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructureNV(VkCommandBuffer commandBuffer, const VkAccelerationStructureInfoNV* pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkBuffer scratch, VkDeviceSize scratchOffset) {
6182 : auto __fn = tl_deviceHookTable.table->vkCmdBuildAccelerationStructureNV;
6183 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBuildAccelerationStructureNV) {
6184 : __fn = tl_deviceHookTable.replace->vkCmdBuildAccelerationStructureNV;
6185 : }
6186 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6187 : __fn(commandBuffer, pInfo, instanceData, instanceOffset, update, dst, src, scratch, scratchOffset);
6188 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBuildAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6189 : }
6190 :
6191 : static void xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureNV(VkCommandBuffer commandBuffer, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkCopyAccelerationStructureModeKHR mode) {
6192 : auto __fn = tl_deviceHookTable.table->vkCmdCopyAccelerationStructureNV;
6193 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureNV) {
6194 : __fn = tl_deviceHookTable.replace->vkCmdCopyAccelerationStructureNV;
6195 : }
6196 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6197 : __fn(commandBuffer, dst, src, mode);
6198 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyAccelerationStructureNV", (PFN_vkVoidFunction)__fn); }
6199 : }
6200 :
6201 : static void xl_hook_tl_deviceHookTable_vkCmdTraceRaysNV(VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset, VkBuffer missShaderBindingTableBuffer, VkDeviceSize missShaderBindingOffset, VkDeviceSize missShaderBindingStride, VkBuffer hitShaderBindingTableBuffer, VkDeviceSize hitShaderBindingOffset, VkDeviceSize hitShaderBindingStride, VkBuffer callableShaderBindingTableBuffer, VkDeviceSize callableShaderBindingOffset, VkDeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth) {
6202 : auto __fn = tl_deviceHookTable.table->vkCmdTraceRaysNV;
6203 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdTraceRaysNV) {
6204 : __fn = tl_deviceHookTable.replace->vkCmdTraceRaysNV;
6205 : }
6206 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysNV", (PFN_vkVoidFunction)__fn); }
6207 : __fn(commandBuffer, raygenShaderBindingTableBuffer, raygenShaderBindingOffset, missShaderBindingTableBuffer, missShaderBindingOffset, missShaderBindingStride, hitShaderBindingTableBuffer, hitShaderBindingOffset, hitShaderBindingStride, callableShaderBindingTableBuffer, callableShaderBindingOffset, callableShaderBindingStride, width, height, depth);
6208 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysNV", (PFN_vkVoidFunction)__fn); }
6209 : }
6210 :
6211 : static VkResult xl_hook_tl_deviceHookTable_vkCreateRayTracingPipelinesNV(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) {
6212 : auto __fn = tl_deviceHookTable.table->vkCreateRayTracingPipelinesNV;
6213 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateRayTracingPipelinesNV) {
6214 : __fn = tl_deviceHookTable.replace->vkCreateRayTracingPipelinesNV;
6215 : }
6216 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateRayTracingPipelinesNV", (PFN_vkVoidFunction)__fn); }
6217 : auto ret = __fn(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
6218 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateRayTracingPipelinesNV", (PFN_vkVoidFunction)__fn); }
6219 : return ret;
6220 : }
6221 :
6222 : static VkResult xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupHandlesNV(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData) {
6223 : auto __fn = tl_deviceHookTable.table->vkGetRayTracingShaderGroupHandlesNV;
6224 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRayTracingShaderGroupHandlesNV) {
6225 : __fn = tl_deviceHookTable.replace->vkGetRayTracingShaderGroupHandlesNV;
6226 : }
6227 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupHandlesNV", (PFN_vkVoidFunction)__fn); }
6228 : auto ret = __fn(device, pipeline, firstGroup, groupCount, dataSize, pData);
6229 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRayTracingShaderGroupHandlesNV", (PFN_vkVoidFunction)__fn); }
6230 : return ret;
6231 : }
6232 :
6233 : static VkResult xl_hook_tl_deviceHookTable_vkGetAccelerationStructureHandleNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, size_t dataSize, void* pData) {
6234 : auto __fn = tl_deviceHookTable.table->vkGetAccelerationStructureHandleNV;
6235 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAccelerationStructureHandleNV) {
6236 : __fn = tl_deviceHookTable.replace->vkGetAccelerationStructureHandleNV;
6237 : }
6238 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureHandleNV", (PFN_vkVoidFunction)__fn); }
6239 : auto ret = __fn(device, accelerationStructure, dataSize, pData);
6240 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureHandleNV", (PFN_vkVoidFunction)__fn); }
6241 : return ret;
6242 : }
6243 :
6244 : static void xl_hook_tl_deviceHookTable_vkCmdWriteAccelerationStructuresPropertiesNV(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureNV* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery) {
6245 : auto __fn = tl_deviceHookTable.table->vkCmdWriteAccelerationStructuresPropertiesNV;
6246 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteAccelerationStructuresPropertiesNV) {
6247 : __fn = tl_deviceHookTable.replace->vkCmdWriteAccelerationStructuresPropertiesNV;
6248 : }
6249 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteAccelerationStructuresPropertiesNV", (PFN_vkVoidFunction)__fn); }
6250 : __fn(commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery);
6251 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteAccelerationStructuresPropertiesNV", (PFN_vkVoidFunction)__fn); }
6252 : }
6253 :
6254 : static VkResult xl_hook_tl_deviceHookTable_vkCompileDeferredNV(VkDevice device, VkPipeline pipeline, uint32_t shader) {
6255 : auto __fn = tl_deviceHookTable.table->vkCompileDeferredNV;
6256 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCompileDeferredNV) {
6257 : __fn = tl_deviceHookTable.replace->vkCompileDeferredNV;
6258 : }
6259 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCompileDeferredNV", (PFN_vkVoidFunction)__fn); }
6260 : auto ret = __fn(device, pipeline, shader);
6261 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCompileDeferredNV", (PFN_vkVoidFunction)__fn); }
6262 : return ret;
6263 : }
6264 :
6265 : #endif /* defined(VK_NV_ray_tracing) */
6266 :
6267 : #if defined(VK_KHR_maintenance3)
6268 :
6269 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSupportKHR(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupportKHR* pSupport) {
6270 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetLayoutSupportKHR;
6271 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSupportKHR) {
6272 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSupportKHR;
6273 : }
6274 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSupportKHR", (PFN_vkVoidFunction)__fn); }
6275 : __fn(device, pCreateInfo, pSupport);
6276 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSupportKHR", (PFN_vkVoidFunction)__fn); }
6277 : }
6278 :
6279 : #endif /* defined(VK_KHR_maintenance3) */
6280 :
6281 : #if defined(VK_KHR_draw_indirect_count)
6282 :
6283 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
6284 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndirectCountKHR;
6285 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndirectCountKHR) {
6286 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndirectCountKHR;
6287 : }
6288 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCountKHR", (PFN_vkVoidFunction)__fn); }
6289 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
6290 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndirectCountKHR", (PFN_vkVoidFunction)__fn); }
6291 : }
6292 :
6293 : static void xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
6294 : auto __fn = tl_deviceHookTable.table->vkCmdDrawIndexedIndirectCountKHR;
6295 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCountKHR) {
6296 : __fn = tl_deviceHookTable.replace->vkCmdDrawIndexedIndirectCountKHR;
6297 : }
6298 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCountKHR", (PFN_vkVoidFunction)__fn); }
6299 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
6300 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawIndexedIndirectCountKHR", (PFN_vkVoidFunction)__fn); }
6301 : }
6302 :
6303 : #endif /* defined(VK_KHR_draw_indirect_count) */
6304 :
6305 : #if defined(VK_EXT_external_memory_host)
6306 :
6307 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryHostPointerPropertiesEXT(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties) {
6308 : auto __fn = tl_deviceHookTable.table->vkGetMemoryHostPointerPropertiesEXT;
6309 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryHostPointerPropertiesEXT) {
6310 : __fn = tl_deviceHookTable.replace->vkGetMemoryHostPointerPropertiesEXT;
6311 : }
6312 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryHostPointerPropertiesEXT", (PFN_vkVoidFunction)__fn); }
6313 : auto ret = __fn(device, handleType, pHostPointer, pMemoryHostPointerProperties);
6314 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryHostPointerPropertiesEXT", (PFN_vkVoidFunction)__fn); }
6315 : return ret;
6316 : }
6317 :
6318 : #endif /* defined(VK_EXT_external_memory_host) */
6319 :
6320 : #if defined(VK_AMD_buffer_marker)
6321 :
6322 : static void xl_hook_tl_deviceHookTable_vkCmdWriteBufferMarkerAMD(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker) {
6323 : auto __fn = tl_deviceHookTable.table->vkCmdWriteBufferMarkerAMD;
6324 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteBufferMarkerAMD) {
6325 : __fn = tl_deviceHookTable.replace->vkCmdWriteBufferMarkerAMD;
6326 : }
6327 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteBufferMarkerAMD", (PFN_vkVoidFunction)__fn); }
6328 : __fn(commandBuffer, pipelineStage, dstBuffer, dstOffset, marker);
6329 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteBufferMarkerAMD", (PFN_vkVoidFunction)__fn); }
6330 : }
6331 :
6332 : #endif /* defined(VK_AMD_buffer_marker) */
6333 :
6334 : #if defined(VK_EXT_calibrated_timestamps)
6335 :
6336 : static VkResult xl_hook_tl_deviceHookTable_vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestampCount, const VkCalibratedTimestampInfoEXT* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation) {
6337 : auto __fn = tl_deviceHookTable.table->vkGetCalibratedTimestampsEXT;
6338 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetCalibratedTimestampsEXT) {
6339 : __fn = tl_deviceHookTable.replace->vkGetCalibratedTimestampsEXT;
6340 : }
6341 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetCalibratedTimestampsEXT", (PFN_vkVoidFunction)__fn); }
6342 : auto ret = __fn(device, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation);
6343 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetCalibratedTimestampsEXT", (PFN_vkVoidFunction)__fn); }
6344 : return ret;
6345 : }
6346 :
6347 : #endif /* defined(VK_EXT_calibrated_timestamps) */
6348 :
6349 : #if defined(VK_NV_mesh_shader)
6350 :
6351 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksNV(VkCommandBuffer commandBuffer, uint32_t taskCount, uint32_t firstTask) {
6352 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksNV;
6353 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksNV) {
6354 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksNV;
6355 : }
6356 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksNV", (PFN_vkVoidFunction)__fn); }
6357 : __fn(commandBuffer, taskCount, firstTask);
6358 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksNV", (PFN_vkVoidFunction)__fn); }
6359 : }
6360 :
6361 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectNV(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) {
6362 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksIndirectNV;
6363 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectNV) {
6364 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectNV;
6365 : }
6366 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectNV", (PFN_vkVoidFunction)__fn); }
6367 : __fn(commandBuffer, buffer, offset, drawCount, stride);
6368 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectNV", (PFN_vkVoidFunction)__fn); }
6369 : }
6370 :
6371 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectCountNV(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
6372 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksIndirectCountNV;
6373 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectCountNV) {
6374 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectCountNV;
6375 : }
6376 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectCountNV", (PFN_vkVoidFunction)__fn); }
6377 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
6378 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectCountNV", (PFN_vkVoidFunction)__fn); }
6379 : }
6380 :
6381 : #endif /* defined(VK_NV_mesh_shader) */
6382 :
6383 : #if defined(VK_NV_scissor_exclusive)
6384 :
6385 : static void xl_hook_tl_deviceHookTable_vkCmdSetExclusiveScissorEnableNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkBool32* pExclusiveScissorEnables) {
6386 : auto __fn = tl_deviceHookTable.table->vkCmdSetExclusiveScissorEnableNV;
6387 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetExclusiveScissorEnableNV) {
6388 : __fn = tl_deviceHookTable.replace->vkCmdSetExclusiveScissorEnableNV;
6389 : }
6390 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetExclusiveScissorEnableNV", (PFN_vkVoidFunction)__fn); }
6391 : __fn(commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissorEnables);
6392 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetExclusiveScissorEnableNV", (PFN_vkVoidFunction)__fn); }
6393 : }
6394 :
6395 : static void xl_hook_tl_deviceHookTable_vkCmdSetExclusiveScissorNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkRect2D* pExclusiveScissors) {
6396 : auto __fn = tl_deviceHookTable.table->vkCmdSetExclusiveScissorNV;
6397 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetExclusiveScissorNV) {
6398 : __fn = tl_deviceHookTable.replace->vkCmdSetExclusiveScissorNV;
6399 : }
6400 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetExclusiveScissorNV", (PFN_vkVoidFunction)__fn); }
6401 : __fn(commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors);
6402 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetExclusiveScissorNV", (PFN_vkVoidFunction)__fn); }
6403 : }
6404 :
6405 : #endif /* defined(VK_NV_scissor_exclusive) */
6406 :
6407 : #if defined(VK_NV_device_diagnostic_checkpoints)
6408 :
6409 : static void xl_hook_tl_deviceHookTable_vkCmdSetCheckpointNV(VkCommandBuffer commandBuffer, const void* pCheckpointMarker) {
6410 : auto __fn = tl_deviceHookTable.table->vkCmdSetCheckpointNV;
6411 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCheckpointNV) {
6412 : __fn = tl_deviceHookTable.replace->vkCmdSetCheckpointNV;
6413 : }
6414 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCheckpointNV", (PFN_vkVoidFunction)__fn); }
6415 : __fn(commandBuffer, pCheckpointMarker);
6416 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCheckpointNV", (PFN_vkVoidFunction)__fn); }
6417 : }
6418 :
6419 : static void xl_hook_tl_deviceHookTable_vkGetQueueCheckpointDataNV(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointDataNV* pCheckpointData) {
6420 : auto __fn = tl_deviceHookTable.table->vkGetQueueCheckpointDataNV;
6421 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetQueueCheckpointDataNV) {
6422 : __fn = tl_deviceHookTable.replace->vkGetQueueCheckpointDataNV;
6423 : }
6424 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetQueueCheckpointDataNV", (PFN_vkVoidFunction)__fn); }
6425 : __fn(queue, pCheckpointDataCount, pCheckpointData);
6426 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetQueueCheckpointDataNV", (PFN_vkVoidFunction)__fn); }
6427 : }
6428 :
6429 : #endif /* defined(VK_NV_device_diagnostic_checkpoints) */
6430 :
6431 : #if defined(VK_KHR_timeline_semaphore)
6432 :
6433 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreCounterValueKHR(VkDevice device, VkSemaphore semaphore, uint64_t* pValue) {
6434 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreCounterValueKHR;
6435 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreCounterValueKHR) {
6436 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreCounterValueKHR;
6437 : }
6438 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreCounterValueKHR", (PFN_vkVoidFunction)__fn); }
6439 : auto ret = __fn(device, semaphore, pValue);
6440 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreCounterValueKHR", (PFN_vkVoidFunction)__fn); }
6441 : return ret;
6442 : }
6443 :
6444 : static VkResult xl_hook_tl_deviceHookTable_vkWaitSemaphoresKHR(VkDevice device, const VkSemaphoreWaitInfoKHR* pWaitInfo, uint64_t timeout) {
6445 : auto __fn = tl_deviceHookTable.table->vkWaitSemaphoresKHR;
6446 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWaitSemaphoresKHR) {
6447 : __fn = tl_deviceHookTable.replace->vkWaitSemaphoresKHR;
6448 : }
6449 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWaitSemaphoresKHR", (PFN_vkVoidFunction)__fn); }
6450 : auto ret = __fn(device, pWaitInfo, timeout);
6451 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWaitSemaphoresKHR", (PFN_vkVoidFunction)__fn); }
6452 : return ret;
6453 : }
6454 :
6455 : static VkResult xl_hook_tl_deviceHookTable_vkSignalSemaphoreKHR(VkDevice device, const VkSemaphoreSignalInfoKHR* pSignalInfo) {
6456 : auto __fn = tl_deviceHookTable.table->vkSignalSemaphoreKHR;
6457 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSignalSemaphoreKHR) {
6458 : __fn = tl_deviceHookTable.replace->vkSignalSemaphoreKHR;
6459 : }
6460 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSignalSemaphoreKHR", (PFN_vkVoidFunction)__fn); }
6461 : auto ret = __fn(device, pSignalInfo);
6462 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSignalSemaphoreKHR", (PFN_vkVoidFunction)__fn); }
6463 : return ret;
6464 : }
6465 :
6466 : #endif /* defined(VK_KHR_timeline_semaphore) */
6467 :
6468 : #if defined(VK_INTEL_performance_query)
6469 :
6470 : static VkResult xl_hook_tl_deviceHookTable_vkInitializePerformanceApiINTEL(VkDevice device, const VkInitializePerformanceApiInfoINTEL* pInitializeInfo) {
6471 : auto __fn = tl_deviceHookTable.table->vkInitializePerformanceApiINTEL;
6472 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkInitializePerformanceApiINTEL) {
6473 : __fn = tl_deviceHookTable.replace->vkInitializePerformanceApiINTEL;
6474 : }
6475 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkInitializePerformanceApiINTEL", (PFN_vkVoidFunction)__fn); }
6476 : auto ret = __fn(device, pInitializeInfo);
6477 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkInitializePerformanceApiINTEL", (PFN_vkVoidFunction)__fn); }
6478 : return ret;
6479 : }
6480 :
6481 : static void xl_hook_tl_deviceHookTable_vkUninitializePerformanceApiINTEL(VkDevice device) {
6482 : auto __fn = tl_deviceHookTable.table->vkUninitializePerformanceApiINTEL;
6483 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUninitializePerformanceApiINTEL) {
6484 : __fn = tl_deviceHookTable.replace->vkUninitializePerformanceApiINTEL;
6485 : }
6486 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUninitializePerformanceApiINTEL", (PFN_vkVoidFunction)__fn); }
6487 : __fn(device);
6488 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUninitializePerformanceApiINTEL", (PFN_vkVoidFunction)__fn); }
6489 : }
6490 :
6491 : static VkResult xl_hook_tl_deviceHookTable_vkCmdSetPerformanceMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceMarkerInfoINTEL* pMarkerInfo) {
6492 : auto __fn = tl_deviceHookTable.table->vkCmdSetPerformanceMarkerINTEL;
6493 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPerformanceMarkerINTEL) {
6494 : __fn = tl_deviceHookTable.replace->vkCmdSetPerformanceMarkerINTEL;
6495 : }
6496 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceMarkerINTEL", (PFN_vkVoidFunction)__fn); }
6497 : auto ret = __fn(commandBuffer, pMarkerInfo);
6498 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceMarkerINTEL", (PFN_vkVoidFunction)__fn); }
6499 : return ret;
6500 : }
6501 :
6502 : static VkResult xl_hook_tl_deviceHookTable_vkCmdSetPerformanceStreamMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceStreamMarkerInfoINTEL* pMarkerInfo) {
6503 : auto __fn = tl_deviceHookTable.table->vkCmdSetPerformanceStreamMarkerINTEL;
6504 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPerformanceStreamMarkerINTEL) {
6505 : __fn = tl_deviceHookTable.replace->vkCmdSetPerformanceStreamMarkerINTEL;
6506 : }
6507 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceStreamMarkerINTEL", (PFN_vkVoidFunction)__fn); }
6508 : auto ret = __fn(commandBuffer, pMarkerInfo);
6509 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceStreamMarkerINTEL", (PFN_vkVoidFunction)__fn); }
6510 : return ret;
6511 : }
6512 :
6513 : static VkResult xl_hook_tl_deviceHookTable_vkCmdSetPerformanceOverrideINTEL(VkCommandBuffer commandBuffer, const VkPerformanceOverrideInfoINTEL* pOverrideInfo) {
6514 : auto __fn = tl_deviceHookTable.table->vkCmdSetPerformanceOverrideINTEL;
6515 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPerformanceOverrideINTEL) {
6516 : __fn = tl_deviceHookTable.replace->vkCmdSetPerformanceOverrideINTEL;
6517 : }
6518 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceOverrideINTEL", (PFN_vkVoidFunction)__fn); }
6519 : auto ret = __fn(commandBuffer, pOverrideInfo);
6520 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPerformanceOverrideINTEL", (PFN_vkVoidFunction)__fn); }
6521 : return ret;
6522 : }
6523 :
6524 : static VkResult xl_hook_tl_deviceHookTable_vkAcquirePerformanceConfigurationINTEL(VkDevice device, const VkPerformanceConfigurationAcquireInfoINTEL* pAcquireInfo, VkPerformanceConfigurationINTEL* pConfiguration) {
6525 : auto __fn = tl_deviceHookTable.table->vkAcquirePerformanceConfigurationINTEL;
6526 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAcquirePerformanceConfigurationINTEL) {
6527 : __fn = tl_deviceHookTable.replace->vkAcquirePerformanceConfigurationINTEL;
6528 : }
6529 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAcquirePerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6530 : auto ret = __fn(device, pAcquireInfo, pConfiguration);
6531 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAcquirePerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6532 : return ret;
6533 : }
6534 :
6535 : static VkResult xl_hook_tl_deviceHookTable_vkReleasePerformanceConfigurationINTEL(VkDevice device, VkPerformanceConfigurationINTEL configuration) {
6536 : auto __fn = tl_deviceHookTable.table->vkReleasePerformanceConfigurationINTEL;
6537 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkReleasePerformanceConfigurationINTEL) {
6538 : __fn = tl_deviceHookTable.replace->vkReleasePerformanceConfigurationINTEL;
6539 : }
6540 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkReleasePerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6541 : auto ret = __fn(device, configuration);
6542 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkReleasePerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6543 : return ret;
6544 : }
6545 :
6546 : static VkResult xl_hook_tl_deviceHookTable_vkQueueSetPerformanceConfigurationINTEL(VkQueue queue, VkPerformanceConfigurationINTEL configuration) {
6547 : auto __fn = tl_deviceHookTable.table->vkQueueSetPerformanceConfigurationINTEL;
6548 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueSetPerformanceConfigurationINTEL) {
6549 : __fn = tl_deviceHookTable.replace->vkQueueSetPerformanceConfigurationINTEL;
6550 : }
6551 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueSetPerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6552 : auto ret = __fn(queue, configuration);
6553 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueSetPerformanceConfigurationINTEL", (PFN_vkVoidFunction)__fn); }
6554 : return ret;
6555 : }
6556 :
6557 : static VkResult xl_hook_tl_deviceHookTable_vkGetPerformanceParameterINTEL(VkDevice device, VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL* pValue) {
6558 : auto __fn = tl_deviceHookTable.table->vkGetPerformanceParameterINTEL;
6559 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPerformanceParameterINTEL) {
6560 : __fn = tl_deviceHookTable.replace->vkGetPerformanceParameterINTEL;
6561 : }
6562 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPerformanceParameterINTEL", (PFN_vkVoidFunction)__fn); }
6563 : auto ret = __fn(device, parameter, pValue);
6564 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPerformanceParameterINTEL", (PFN_vkVoidFunction)__fn); }
6565 : return ret;
6566 : }
6567 :
6568 : #endif /* defined(VK_INTEL_performance_query) */
6569 :
6570 : #if defined(VK_AMD_display_native_hdr)
6571 :
6572 : static void xl_hook_tl_deviceHookTable_vkSetLocalDimmingAMD(VkDevice device, VkSwapchainKHR swapChain, VkBool32 localDimmingEnable) {
6573 : auto __fn = tl_deviceHookTable.table->vkSetLocalDimmingAMD;
6574 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetLocalDimmingAMD) {
6575 : __fn = tl_deviceHookTable.replace->vkSetLocalDimmingAMD;
6576 : }
6577 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetLocalDimmingAMD", (PFN_vkVoidFunction)__fn); }
6578 : __fn(device, swapChain, localDimmingEnable);
6579 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetLocalDimmingAMD", (PFN_vkVoidFunction)__fn); }
6580 : }
6581 :
6582 : #endif /* defined(VK_AMD_display_native_hdr) */
6583 :
6584 : #if defined(VK_KHR_fragment_shading_rate)
6585 :
6586 : static void xl_hook_tl_deviceHookTable_vkCmdSetFragmentShadingRateKHR(VkCommandBuffer commandBuffer, const VkExtent2D* pFragmentSize, const VkFragmentShadingRateCombinerOpKHR combinerOps[2]) {
6587 : auto __fn = tl_deviceHookTable.table->vkCmdSetFragmentShadingRateKHR;
6588 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetFragmentShadingRateKHR) {
6589 : __fn = tl_deviceHookTable.replace->vkCmdSetFragmentShadingRateKHR;
6590 : }
6591 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetFragmentShadingRateKHR", (PFN_vkVoidFunction)__fn); }
6592 : __fn(commandBuffer, pFragmentSize, combinerOps);
6593 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetFragmentShadingRateKHR", (PFN_vkVoidFunction)__fn); }
6594 : }
6595 :
6596 : #endif /* defined(VK_KHR_fragment_shading_rate) */
6597 :
6598 : #if defined(VK_EXT_buffer_device_address)
6599 :
6600 : static VkDeviceAddress xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddressEXT(VkDevice device, const VkBufferDeviceAddressInfoEXT* pInfo) {
6601 : auto __fn = tl_deviceHookTable.table->vkGetBufferDeviceAddressEXT;
6602 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferDeviceAddressEXT) {
6603 : __fn = tl_deviceHookTable.replace->vkGetBufferDeviceAddressEXT;
6604 : }
6605 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddressEXT", (PFN_vkVoidFunction)__fn); }
6606 : auto ret = __fn(device, pInfo);
6607 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddressEXT", (PFN_vkVoidFunction)__fn); }
6608 : return ret;
6609 : }
6610 :
6611 : #endif /* defined(VK_EXT_buffer_device_address) */
6612 :
6613 : #if defined(VK_KHR_present_wait)
6614 :
6615 : static VkResult xl_hook_tl_deviceHookTable_vkWaitForPresentKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout) {
6616 : auto __fn = tl_deviceHookTable.table->vkWaitForPresentKHR;
6617 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWaitForPresentKHR) {
6618 : __fn = tl_deviceHookTable.replace->vkWaitForPresentKHR;
6619 : }
6620 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWaitForPresentKHR", (PFN_vkVoidFunction)__fn); }
6621 : auto ret = __fn(device, swapchain, presentId, timeout);
6622 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWaitForPresentKHR", (PFN_vkVoidFunction)__fn); }
6623 : return ret;
6624 : }
6625 :
6626 : #endif /* defined(VK_KHR_present_wait) */
6627 :
6628 : #if defined(VK_EXT_full_screen_exclusive)
6629 :
6630 : static VkResult xl_hook_tl_deviceHookTable_vkAcquireFullScreenExclusiveModeEXT(VkDevice device, VkSwapchainKHR swapchain) {
6631 : auto __fn = tl_deviceHookTable.table->vkAcquireFullScreenExclusiveModeEXT;
6632 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkAcquireFullScreenExclusiveModeEXT) {
6633 : __fn = tl_deviceHookTable.replace->vkAcquireFullScreenExclusiveModeEXT;
6634 : }
6635 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkAcquireFullScreenExclusiveModeEXT", (PFN_vkVoidFunction)__fn); }
6636 : auto ret = __fn(device, swapchain);
6637 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkAcquireFullScreenExclusiveModeEXT", (PFN_vkVoidFunction)__fn); }
6638 : return ret;
6639 : }
6640 :
6641 : static VkResult xl_hook_tl_deviceHookTable_vkReleaseFullScreenExclusiveModeEXT(VkDevice device, VkSwapchainKHR swapchain) {
6642 : auto __fn = tl_deviceHookTable.table->vkReleaseFullScreenExclusiveModeEXT;
6643 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkReleaseFullScreenExclusiveModeEXT) {
6644 : __fn = tl_deviceHookTable.replace->vkReleaseFullScreenExclusiveModeEXT;
6645 : }
6646 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkReleaseFullScreenExclusiveModeEXT", (PFN_vkVoidFunction)__fn); }
6647 : auto ret = __fn(device, swapchain);
6648 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkReleaseFullScreenExclusiveModeEXT", (PFN_vkVoidFunction)__fn); }
6649 : return ret;
6650 : }
6651 :
6652 : #endif /* defined(VK_EXT_full_screen_exclusive) */
6653 :
6654 : #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
6655 :
6656 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeviceGroupSurfacePresentModes2EXT(VkDevice device, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkDeviceGroupPresentModeFlagsKHR* pModes) {
6657 : auto __fn = tl_deviceHookTable.table->vkGetDeviceGroupSurfacePresentModes2EXT;
6658 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceGroupSurfacePresentModes2EXT) {
6659 : __fn = tl_deviceHookTable.replace->vkGetDeviceGroupSurfacePresentModes2EXT;
6660 : }
6661 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupSurfacePresentModes2EXT", (PFN_vkVoidFunction)__fn); }
6662 : auto ret = __fn(device, pSurfaceInfo, pModes);
6663 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceGroupSurfacePresentModes2EXT", (PFN_vkVoidFunction)__fn); }
6664 : return ret;
6665 : }
6666 :
6667 : #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
6668 :
6669 : #if defined(VK_KHR_buffer_device_address)
6670 :
6671 : static VkDeviceAddress xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddressKHR(VkDevice device, const VkBufferDeviceAddressInfoKHR* pInfo) {
6672 : auto __fn = tl_deviceHookTable.table->vkGetBufferDeviceAddressKHR;
6673 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferDeviceAddressKHR) {
6674 : __fn = tl_deviceHookTable.replace->vkGetBufferDeviceAddressKHR;
6675 : }
6676 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddressKHR", (PFN_vkVoidFunction)__fn); }
6677 : auto ret = __fn(device, pInfo);
6678 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferDeviceAddressKHR", (PFN_vkVoidFunction)__fn); }
6679 : return ret;
6680 : }
6681 :
6682 : static uint64_t xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureAddressKHR(VkDevice device, const VkBufferDeviceAddressInfoKHR* pInfo) {
6683 : auto __fn = tl_deviceHookTable.table->vkGetBufferOpaqueCaptureAddressKHR;
6684 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureAddressKHR) {
6685 : __fn = tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureAddressKHR;
6686 : }
6687 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureAddressKHR", (PFN_vkVoidFunction)__fn); }
6688 : auto ret = __fn(device, pInfo);
6689 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureAddressKHR", (PFN_vkVoidFunction)__fn); }
6690 : return ret;
6691 : }
6692 :
6693 : static uint64_t xl_hook_tl_deviceHookTable_vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR* pInfo) {
6694 : auto __fn = tl_deviceHookTable.table->vkGetDeviceMemoryOpaqueCaptureAddressKHR;
6695 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceMemoryOpaqueCaptureAddressKHR) {
6696 : __fn = tl_deviceHookTable.replace->vkGetDeviceMemoryOpaqueCaptureAddressKHR;
6697 : }
6698 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryOpaqueCaptureAddressKHR", (PFN_vkVoidFunction)__fn); }
6699 : auto ret = __fn(device, pInfo);
6700 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceMemoryOpaqueCaptureAddressKHR", (PFN_vkVoidFunction)__fn); }
6701 : return ret;
6702 : }
6703 :
6704 : #endif /* defined(VK_KHR_buffer_device_address) */
6705 :
6706 : #if defined(VK_EXT_line_rasterization)
6707 :
6708 : static void xl_hook_tl_deviceHookTable_vkCmdSetLineStippleEXT(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern) {
6709 : auto __fn = tl_deviceHookTable.table->vkCmdSetLineStippleEXT;
6710 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLineStippleEXT) {
6711 : __fn = tl_deviceHookTable.replace->vkCmdSetLineStippleEXT;
6712 : }
6713 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLineStippleEXT", (PFN_vkVoidFunction)__fn); }
6714 : __fn(commandBuffer, lineStippleFactor, lineStipplePattern);
6715 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLineStippleEXT", (PFN_vkVoidFunction)__fn); }
6716 : }
6717 :
6718 : #endif /* defined(VK_EXT_line_rasterization) */
6719 :
6720 : #if defined(VK_EXT_host_query_reset)
6721 :
6722 : static void xl_hook_tl_deviceHookTable_vkResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) {
6723 : auto __fn = tl_deviceHookTable.table->vkResetQueryPoolEXT;
6724 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkResetQueryPoolEXT) {
6725 : __fn = tl_deviceHookTable.replace->vkResetQueryPoolEXT;
6726 : }
6727 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkResetQueryPoolEXT", (PFN_vkVoidFunction)__fn); }
6728 : __fn(device, queryPool, firstQuery, queryCount);
6729 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkResetQueryPoolEXT", (PFN_vkVoidFunction)__fn); }
6730 : }
6731 :
6732 : #endif /* defined(VK_EXT_host_query_reset) */
6733 :
6734 : #if defined(VK_EXT_extended_dynamic_state)
6735 :
6736 : static void xl_hook_tl_deviceHookTable_vkCmdSetCullModeEXT(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode) {
6737 : auto __fn = tl_deviceHookTable.table->vkCmdSetCullModeEXT;
6738 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCullModeEXT) {
6739 : __fn = tl_deviceHookTable.replace->vkCmdSetCullModeEXT;
6740 : }
6741 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCullModeEXT", (PFN_vkVoidFunction)__fn); }
6742 : __fn(commandBuffer, cullMode);
6743 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCullModeEXT", (PFN_vkVoidFunction)__fn); }
6744 : }
6745 :
6746 : static void xl_hook_tl_deviceHookTable_vkCmdSetFrontFaceEXT(VkCommandBuffer commandBuffer, VkFrontFace frontFace) {
6747 : auto __fn = tl_deviceHookTable.table->vkCmdSetFrontFaceEXT;
6748 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetFrontFaceEXT) {
6749 : __fn = tl_deviceHookTable.replace->vkCmdSetFrontFaceEXT;
6750 : }
6751 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetFrontFaceEXT", (PFN_vkVoidFunction)__fn); }
6752 : __fn(commandBuffer, frontFace);
6753 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetFrontFaceEXT", (PFN_vkVoidFunction)__fn); }
6754 : }
6755 :
6756 : static void xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveTopologyEXT(VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology) {
6757 : auto __fn = tl_deviceHookTable.table->vkCmdSetPrimitiveTopologyEXT;
6758 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPrimitiveTopologyEXT) {
6759 : __fn = tl_deviceHookTable.replace->vkCmdSetPrimitiveTopologyEXT;
6760 : }
6761 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveTopologyEXT", (PFN_vkVoidFunction)__fn); }
6762 : __fn(commandBuffer, primitiveTopology);
6763 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveTopologyEXT", (PFN_vkVoidFunction)__fn); }
6764 : }
6765 :
6766 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports) {
6767 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportWithCountEXT;
6768 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportWithCountEXT) {
6769 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportWithCountEXT;
6770 : }
6771 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWithCountEXT", (PFN_vkVoidFunction)__fn); }
6772 : __fn(commandBuffer, viewportCount, pViewports);
6773 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWithCountEXT", (PFN_vkVoidFunction)__fn); }
6774 : }
6775 :
6776 : static void xl_hook_tl_deviceHookTable_vkCmdSetScissorWithCountEXT(VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors) {
6777 : auto __fn = tl_deviceHookTable.table->vkCmdSetScissorWithCountEXT;
6778 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetScissorWithCountEXT) {
6779 : __fn = tl_deviceHookTable.replace->vkCmdSetScissorWithCountEXT;
6780 : }
6781 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetScissorWithCountEXT", (PFN_vkVoidFunction)__fn); }
6782 : __fn(commandBuffer, scissorCount, pScissors);
6783 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetScissorWithCountEXT", (PFN_vkVoidFunction)__fn); }
6784 : }
6785 :
6786 : static void xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides) {
6787 : auto __fn = tl_deviceHookTable.table->vkCmdBindVertexBuffers2EXT;
6788 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindVertexBuffers2EXT) {
6789 : __fn = tl_deviceHookTable.replace->vkCmdBindVertexBuffers2EXT;
6790 : }
6791 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers2EXT", (PFN_vkVoidFunction)__fn); }
6792 : __fn(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides);
6793 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindVertexBuffers2EXT", (PFN_vkVoidFunction)__fn); }
6794 : }
6795 :
6796 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable) {
6797 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthTestEnableEXT;
6798 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthTestEnableEXT) {
6799 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthTestEnableEXT;
6800 : }
6801 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6802 : __fn(commandBuffer, depthTestEnable);
6803 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6804 : }
6805 :
6806 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthWriteEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable) {
6807 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthWriteEnableEXT;
6808 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthWriteEnableEXT) {
6809 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthWriteEnableEXT;
6810 : }
6811 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthWriteEnableEXT", (PFN_vkVoidFunction)__fn); }
6812 : __fn(commandBuffer, depthWriteEnable);
6813 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthWriteEnableEXT", (PFN_vkVoidFunction)__fn); }
6814 : }
6815 :
6816 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthCompareOpEXT(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp) {
6817 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthCompareOpEXT;
6818 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthCompareOpEXT) {
6819 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthCompareOpEXT;
6820 : }
6821 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthCompareOpEXT", (PFN_vkVoidFunction)__fn); }
6822 : __fn(commandBuffer, depthCompareOp);
6823 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthCompareOpEXT", (PFN_vkVoidFunction)__fn); }
6824 : }
6825 :
6826 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBoundsTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable) {
6827 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBoundsTestEnableEXT;
6828 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBoundsTestEnableEXT) {
6829 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBoundsTestEnableEXT;
6830 : }
6831 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBoundsTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6832 : __fn(commandBuffer, depthBoundsTestEnable);
6833 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBoundsTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6834 : }
6835 :
6836 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable) {
6837 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilTestEnableEXT;
6838 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilTestEnableEXT) {
6839 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilTestEnableEXT;
6840 : }
6841 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6842 : __fn(commandBuffer, stencilTestEnable);
6843 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilTestEnableEXT", (PFN_vkVoidFunction)__fn); }
6844 : }
6845 :
6846 : static void xl_hook_tl_deviceHookTable_vkCmdSetStencilOpEXT(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp) {
6847 : auto __fn = tl_deviceHookTable.table->vkCmdSetStencilOpEXT;
6848 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetStencilOpEXT) {
6849 : __fn = tl_deviceHookTable.replace->vkCmdSetStencilOpEXT;
6850 : }
6851 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetStencilOpEXT", (PFN_vkVoidFunction)__fn); }
6852 : __fn(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp);
6853 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetStencilOpEXT", (PFN_vkVoidFunction)__fn); }
6854 : }
6855 :
6856 : #endif /* defined(VK_EXT_extended_dynamic_state) */
6857 :
6858 : #if defined(VK_KHR_deferred_host_operations)
6859 :
6860 : static VkResult xl_hook_tl_deviceHookTable_vkCreateDeferredOperationKHR(VkDevice device, const VkAllocationCallbacks* pAllocator, VkDeferredOperationKHR* pDeferredOperation) {
6861 : auto __fn = tl_deviceHookTable.table->vkCreateDeferredOperationKHR;
6862 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateDeferredOperationKHR) {
6863 : __fn = tl_deviceHookTable.replace->vkCreateDeferredOperationKHR;
6864 : }
6865 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateDeferredOperationKHR", (PFN_vkVoidFunction)__fn); }
6866 : auto ret = __fn(device, pAllocator, pDeferredOperation);
6867 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateDeferredOperationKHR", (PFN_vkVoidFunction)__fn); }
6868 : return ret;
6869 : }
6870 :
6871 : static void xl_hook_tl_deviceHookTable_vkDestroyDeferredOperationKHR(VkDevice device, VkDeferredOperationKHR operation, const VkAllocationCallbacks* pAllocator) {
6872 : auto __fn = tl_deviceHookTable.table->vkDestroyDeferredOperationKHR;
6873 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyDeferredOperationKHR) {
6874 : __fn = tl_deviceHookTable.replace->vkDestroyDeferredOperationKHR;
6875 : }
6876 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyDeferredOperationKHR", (PFN_vkVoidFunction)__fn); }
6877 : __fn(device, operation, pAllocator);
6878 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyDeferredOperationKHR", (PFN_vkVoidFunction)__fn); }
6879 : }
6880 :
6881 : static uint32_t xl_hook_tl_deviceHookTable_vkGetDeferredOperationMaxConcurrencyKHR(VkDevice device, VkDeferredOperationKHR operation) {
6882 : auto __fn = tl_deviceHookTable.table->vkGetDeferredOperationMaxConcurrencyKHR;
6883 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeferredOperationMaxConcurrencyKHR) {
6884 : __fn = tl_deviceHookTable.replace->vkGetDeferredOperationMaxConcurrencyKHR;
6885 : }
6886 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeferredOperationMaxConcurrencyKHR", (PFN_vkVoidFunction)__fn); }
6887 : auto ret = __fn(device, operation);
6888 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeferredOperationMaxConcurrencyKHR", (PFN_vkVoidFunction)__fn); }
6889 : return ret;
6890 : }
6891 :
6892 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeferredOperationResultKHR(VkDevice device, VkDeferredOperationKHR operation) {
6893 : auto __fn = tl_deviceHookTable.table->vkGetDeferredOperationResultKHR;
6894 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeferredOperationResultKHR) {
6895 : __fn = tl_deviceHookTable.replace->vkGetDeferredOperationResultKHR;
6896 : }
6897 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeferredOperationResultKHR", (PFN_vkVoidFunction)__fn); }
6898 : auto ret = __fn(device, operation);
6899 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeferredOperationResultKHR", (PFN_vkVoidFunction)__fn); }
6900 : return ret;
6901 : }
6902 :
6903 : static VkResult xl_hook_tl_deviceHookTable_vkDeferredOperationJoinKHR(VkDevice device, VkDeferredOperationKHR operation) {
6904 : auto __fn = tl_deviceHookTable.table->vkDeferredOperationJoinKHR;
6905 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDeferredOperationJoinKHR) {
6906 : __fn = tl_deviceHookTable.replace->vkDeferredOperationJoinKHR;
6907 : }
6908 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDeferredOperationJoinKHR", (PFN_vkVoidFunction)__fn); }
6909 : auto ret = __fn(device, operation);
6910 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDeferredOperationJoinKHR", (PFN_vkVoidFunction)__fn); }
6911 : return ret;
6912 : }
6913 :
6914 : #endif /* defined(VK_KHR_deferred_host_operations) */
6915 :
6916 : #if defined(VK_KHR_pipeline_executable_properties)
6917 :
6918 : static VkResult xl_hook_tl_deviceHookTable_vkGetPipelineExecutablePropertiesKHR(VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties) {
6919 : auto __fn = tl_deviceHookTable.table->vkGetPipelineExecutablePropertiesKHR;
6920 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineExecutablePropertiesKHR) {
6921 : __fn = tl_deviceHookTable.replace->vkGetPipelineExecutablePropertiesKHR;
6922 : }
6923 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutablePropertiesKHR", (PFN_vkVoidFunction)__fn); }
6924 : auto ret = __fn(device, pPipelineInfo, pExecutableCount, pProperties);
6925 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutablePropertiesKHR", (PFN_vkVoidFunction)__fn); }
6926 : return ret;
6927 : }
6928 :
6929 : static VkResult xl_hook_tl_deviceHookTable_vkGetPipelineExecutableStatisticsKHR(VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics) {
6930 : auto __fn = tl_deviceHookTable.table->vkGetPipelineExecutableStatisticsKHR;
6931 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineExecutableStatisticsKHR) {
6932 : __fn = tl_deviceHookTable.replace->vkGetPipelineExecutableStatisticsKHR;
6933 : }
6934 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutableStatisticsKHR", (PFN_vkVoidFunction)__fn); }
6935 : auto ret = __fn(device, pExecutableInfo, pStatisticCount, pStatistics);
6936 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutableStatisticsKHR", (PFN_vkVoidFunction)__fn); }
6937 : return ret;
6938 : }
6939 :
6940 : static VkResult xl_hook_tl_deviceHookTable_vkGetPipelineExecutableInternalRepresentationsKHR(VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations) {
6941 : auto __fn = tl_deviceHookTable.table->vkGetPipelineExecutableInternalRepresentationsKHR;
6942 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineExecutableInternalRepresentationsKHR) {
6943 : __fn = tl_deviceHookTable.replace->vkGetPipelineExecutableInternalRepresentationsKHR;
6944 : }
6945 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutableInternalRepresentationsKHR", (PFN_vkVoidFunction)__fn); }
6946 : auto ret = __fn(device, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations);
6947 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineExecutableInternalRepresentationsKHR", (PFN_vkVoidFunction)__fn); }
6948 : return ret;
6949 : }
6950 :
6951 : #endif /* defined(VK_KHR_pipeline_executable_properties) */
6952 :
6953 : #if defined(VK_EXT_host_image_copy)
6954 :
6955 : static VkResult xl_hook_tl_deviceHookTable_vkCopyMemoryToImageEXT(VkDevice device, const VkCopyMemoryToImageInfoEXT* pCopyMemoryToImageInfo) {
6956 : auto __fn = tl_deviceHookTable.table->vkCopyMemoryToImageEXT;
6957 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyMemoryToImageEXT) {
6958 : __fn = tl_deviceHookTable.replace->vkCopyMemoryToImageEXT;
6959 : }
6960 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyMemoryToImageEXT", (PFN_vkVoidFunction)__fn); }
6961 : auto ret = __fn(device, pCopyMemoryToImageInfo);
6962 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyMemoryToImageEXT", (PFN_vkVoidFunction)__fn); }
6963 : return ret;
6964 : }
6965 :
6966 : static VkResult xl_hook_tl_deviceHookTable_vkCopyImageToMemoryEXT(VkDevice device, const VkCopyImageToMemoryInfoEXT* pCopyImageToMemoryInfo) {
6967 : auto __fn = tl_deviceHookTable.table->vkCopyImageToMemoryEXT;
6968 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyImageToMemoryEXT) {
6969 : __fn = tl_deviceHookTable.replace->vkCopyImageToMemoryEXT;
6970 : }
6971 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyImageToMemoryEXT", (PFN_vkVoidFunction)__fn); }
6972 : auto ret = __fn(device, pCopyImageToMemoryInfo);
6973 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyImageToMemoryEXT", (PFN_vkVoidFunction)__fn); }
6974 : return ret;
6975 : }
6976 :
6977 : static VkResult xl_hook_tl_deviceHookTable_vkCopyImageToImageEXT(VkDevice device, const VkCopyImageToImageInfoEXT* pCopyImageToImageInfo) {
6978 : auto __fn = tl_deviceHookTable.table->vkCopyImageToImageEXT;
6979 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyImageToImageEXT) {
6980 : __fn = tl_deviceHookTable.replace->vkCopyImageToImageEXT;
6981 : }
6982 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyImageToImageEXT", (PFN_vkVoidFunction)__fn); }
6983 : auto ret = __fn(device, pCopyImageToImageInfo);
6984 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyImageToImageEXT", (PFN_vkVoidFunction)__fn); }
6985 : return ret;
6986 : }
6987 :
6988 : static VkResult xl_hook_tl_deviceHookTable_vkTransitionImageLayoutEXT(VkDevice device, uint32_t transitionCount, const VkHostImageLayoutTransitionInfoEXT* pTransitions) {
6989 : auto __fn = tl_deviceHookTable.table->vkTransitionImageLayoutEXT;
6990 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkTransitionImageLayoutEXT) {
6991 : __fn = tl_deviceHookTable.replace->vkTransitionImageLayoutEXT;
6992 : }
6993 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkTransitionImageLayoutEXT", (PFN_vkVoidFunction)__fn); }
6994 : auto ret = __fn(device, transitionCount, pTransitions);
6995 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkTransitionImageLayoutEXT", (PFN_vkVoidFunction)__fn); }
6996 : return ret;
6997 : }
6998 :
6999 : static void xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout2EXT(VkDevice device, VkImage image, const VkImageSubresource2EXT* pSubresource, VkSubresourceLayout2EXT* pLayout) {
7000 : auto __fn = tl_deviceHookTable.table->vkGetImageSubresourceLayout2EXT;
7001 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSubresourceLayout2EXT) {
7002 : __fn = tl_deviceHookTable.replace->vkGetImageSubresourceLayout2EXT;
7003 : }
7004 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout2EXT", (PFN_vkVoidFunction)__fn); }
7005 : __fn(device, image, pSubresource, pLayout);
7006 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout2EXT", (PFN_vkVoidFunction)__fn); }
7007 : }
7008 :
7009 : #endif /* defined(VK_EXT_host_image_copy) */
7010 :
7011 : #if defined(VK_KHR_map_memory2)
7012 :
7013 : static VkResult xl_hook_tl_deviceHookTable_vkMapMemory2KHR(VkDevice device, const VkMemoryMapInfoKHR* pMemoryMapInfo, void** ppData) {
7014 : auto __fn = tl_deviceHookTable.table->vkMapMemory2KHR;
7015 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkMapMemory2KHR) {
7016 : __fn = tl_deviceHookTable.replace->vkMapMemory2KHR;
7017 : }
7018 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkMapMemory2KHR", (PFN_vkVoidFunction)__fn); }
7019 : auto ret = __fn(device, pMemoryMapInfo, ppData);
7020 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkMapMemory2KHR", (PFN_vkVoidFunction)__fn); }
7021 : return ret;
7022 : }
7023 :
7024 : static VkResult xl_hook_tl_deviceHookTable_vkUnmapMemory2KHR(VkDevice device, const VkMemoryUnmapInfoKHR* pMemoryUnmapInfo) {
7025 : auto __fn = tl_deviceHookTable.table->vkUnmapMemory2KHR;
7026 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkUnmapMemory2KHR) {
7027 : __fn = tl_deviceHookTable.replace->vkUnmapMemory2KHR;
7028 : }
7029 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkUnmapMemory2KHR", (PFN_vkVoidFunction)__fn); }
7030 : auto ret = __fn(device, pMemoryUnmapInfo);
7031 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkUnmapMemory2KHR", (PFN_vkVoidFunction)__fn); }
7032 : return ret;
7033 : }
7034 :
7035 : #endif /* defined(VK_KHR_map_memory2) */
7036 :
7037 : #if defined(VK_EXT_swapchain_maintenance1)
7038 :
7039 : static VkResult xl_hook_tl_deviceHookTable_vkReleaseSwapchainImagesEXT(VkDevice device, const VkReleaseSwapchainImagesInfoEXT* pReleaseInfo) {
7040 : auto __fn = tl_deviceHookTable.table->vkReleaseSwapchainImagesEXT;
7041 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkReleaseSwapchainImagesEXT) {
7042 : __fn = tl_deviceHookTable.replace->vkReleaseSwapchainImagesEXT;
7043 : }
7044 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkReleaseSwapchainImagesEXT", (PFN_vkVoidFunction)__fn); }
7045 : auto ret = __fn(device, pReleaseInfo);
7046 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkReleaseSwapchainImagesEXT", (PFN_vkVoidFunction)__fn); }
7047 : return ret;
7048 : }
7049 :
7050 : #endif /* defined(VK_EXT_swapchain_maintenance1) */
7051 :
7052 : #if defined(VK_NV_device_generated_commands)
7053 :
7054 : static void xl_hook_tl_deviceHookTable_vkGetGeneratedCommandsMemoryRequirementsNV(VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements) {
7055 : auto __fn = tl_deviceHookTable.table->vkGetGeneratedCommandsMemoryRequirementsNV;
7056 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetGeneratedCommandsMemoryRequirementsNV) {
7057 : __fn = tl_deviceHookTable.replace->vkGetGeneratedCommandsMemoryRequirementsNV;
7058 : }
7059 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetGeneratedCommandsMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
7060 : __fn(device, pInfo, pMemoryRequirements);
7061 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetGeneratedCommandsMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
7062 : }
7063 :
7064 : static void xl_hook_tl_deviceHookTable_vkCmdPreprocessGeneratedCommandsNV(VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo) {
7065 : auto __fn = tl_deviceHookTable.table->vkCmdPreprocessGeneratedCommandsNV;
7066 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPreprocessGeneratedCommandsNV) {
7067 : __fn = tl_deviceHookTable.replace->vkCmdPreprocessGeneratedCommandsNV;
7068 : }
7069 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPreprocessGeneratedCommandsNV", (PFN_vkVoidFunction)__fn); }
7070 : __fn(commandBuffer, pGeneratedCommandsInfo);
7071 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPreprocessGeneratedCommandsNV", (PFN_vkVoidFunction)__fn); }
7072 : }
7073 :
7074 : static void xl_hook_tl_deviceHookTable_vkCmdExecuteGeneratedCommandsNV(VkCommandBuffer commandBuffer, VkBool32 isPreprocessed, const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo) {
7075 : auto __fn = tl_deviceHookTable.table->vkCmdExecuteGeneratedCommandsNV;
7076 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdExecuteGeneratedCommandsNV) {
7077 : __fn = tl_deviceHookTable.replace->vkCmdExecuteGeneratedCommandsNV;
7078 : }
7079 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdExecuteGeneratedCommandsNV", (PFN_vkVoidFunction)__fn); }
7080 : __fn(commandBuffer, isPreprocessed, pGeneratedCommandsInfo);
7081 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdExecuteGeneratedCommandsNV", (PFN_vkVoidFunction)__fn); }
7082 : }
7083 :
7084 : static void xl_hook_tl_deviceHookTable_vkCmdBindPipelineShaderGroupNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex) {
7085 : auto __fn = tl_deviceHookTable.table->vkCmdBindPipelineShaderGroupNV;
7086 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindPipelineShaderGroupNV) {
7087 : __fn = tl_deviceHookTable.replace->vkCmdBindPipelineShaderGroupNV;
7088 : }
7089 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindPipelineShaderGroupNV", (PFN_vkVoidFunction)__fn); }
7090 : __fn(commandBuffer, pipelineBindPoint, pipeline, groupIndex);
7091 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindPipelineShaderGroupNV", (PFN_vkVoidFunction)__fn); }
7092 : }
7093 :
7094 : static VkResult xl_hook_tl_deviceHookTable_vkCreateIndirectCommandsLayoutNV(VkDevice device, const VkIndirectCommandsLayoutCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNV* pIndirectCommandsLayout) {
7095 : auto __fn = tl_deviceHookTable.table->vkCreateIndirectCommandsLayoutNV;
7096 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateIndirectCommandsLayoutNV) {
7097 : __fn = tl_deviceHookTable.replace->vkCreateIndirectCommandsLayoutNV;
7098 : }
7099 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateIndirectCommandsLayoutNV", (PFN_vkVoidFunction)__fn); }
7100 : auto ret = __fn(device, pCreateInfo, pAllocator, pIndirectCommandsLayout);
7101 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateIndirectCommandsLayoutNV", (PFN_vkVoidFunction)__fn); }
7102 : return ret;
7103 : }
7104 :
7105 : static void xl_hook_tl_deviceHookTable_vkDestroyIndirectCommandsLayoutNV(VkDevice device, VkIndirectCommandsLayoutNV indirectCommandsLayout, const VkAllocationCallbacks* pAllocator) {
7106 : auto __fn = tl_deviceHookTable.table->vkDestroyIndirectCommandsLayoutNV;
7107 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyIndirectCommandsLayoutNV) {
7108 : __fn = tl_deviceHookTable.replace->vkDestroyIndirectCommandsLayoutNV;
7109 : }
7110 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyIndirectCommandsLayoutNV", (PFN_vkVoidFunction)__fn); }
7111 : __fn(device, indirectCommandsLayout, pAllocator);
7112 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyIndirectCommandsLayoutNV", (PFN_vkVoidFunction)__fn); }
7113 : }
7114 :
7115 : #endif /* defined(VK_NV_device_generated_commands) */
7116 :
7117 : #if defined(VK_EXT_depth_bias_control)
7118 :
7119 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, const VkDepthBiasInfoEXT* pDepthBiasInfo) {
7120 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBias2EXT;
7121 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBias2EXT) {
7122 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBias2EXT;
7123 : }
7124 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBias2EXT", (PFN_vkVoidFunction)__fn); }
7125 : __fn(commandBuffer, pDepthBiasInfo);
7126 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBias2EXT", (PFN_vkVoidFunction)__fn); }
7127 : }
7128 :
7129 : #endif /* defined(VK_EXT_depth_bias_control) */
7130 :
7131 : #if defined(VK_EXT_private_data)
7132 :
7133 : static VkResult xl_hook_tl_deviceHookTable_vkCreatePrivateDataSlotEXT(VkDevice device, const VkPrivateDataSlotCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlotEXT* pPrivateDataSlot) {
7134 : auto __fn = tl_deviceHookTable.table->vkCreatePrivateDataSlotEXT;
7135 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreatePrivateDataSlotEXT) {
7136 : __fn = tl_deviceHookTable.replace->vkCreatePrivateDataSlotEXT;
7137 : }
7138 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreatePrivateDataSlotEXT", (PFN_vkVoidFunction)__fn); }
7139 : auto ret = __fn(device, pCreateInfo, pAllocator, pPrivateDataSlot);
7140 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreatePrivateDataSlotEXT", (PFN_vkVoidFunction)__fn); }
7141 : return ret;
7142 : }
7143 :
7144 : static void xl_hook_tl_deviceHookTable_vkDestroyPrivateDataSlotEXT(VkDevice device, VkPrivateDataSlotEXT privateDataSlot, const VkAllocationCallbacks* pAllocator) {
7145 : auto __fn = tl_deviceHookTable.table->vkDestroyPrivateDataSlotEXT;
7146 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyPrivateDataSlotEXT) {
7147 : __fn = tl_deviceHookTable.replace->vkDestroyPrivateDataSlotEXT;
7148 : }
7149 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyPrivateDataSlotEXT", (PFN_vkVoidFunction)__fn); }
7150 : __fn(device, privateDataSlot, pAllocator);
7151 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyPrivateDataSlotEXT", (PFN_vkVoidFunction)__fn); }
7152 : }
7153 :
7154 : static VkResult xl_hook_tl_deviceHookTable_vkSetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t data) {
7155 : auto __fn = tl_deviceHookTable.table->vkSetPrivateDataEXT;
7156 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetPrivateDataEXT) {
7157 : __fn = tl_deviceHookTable.replace->vkSetPrivateDataEXT;
7158 : }
7159 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetPrivateDataEXT", (PFN_vkVoidFunction)__fn); }
7160 : auto ret = __fn(device, objectType, objectHandle, privateDataSlot, data);
7161 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetPrivateDataEXT", (PFN_vkVoidFunction)__fn); }
7162 : return ret;
7163 : }
7164 :
7165 : static void xl_hook_tl_deviceHookTable_vkGetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t* pData) {
7166 : auto __fn = tl_deviceHookTable.table->vkGetPrivateDataEXT;
7167 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPrivateDataEXT) {
7168 : __fn = tl_deviceHookTable.replace->vkGetPrivateDataEXT;
7169 : }
7170 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPrivateDataEXT", (PFN_vkVoidFunction)__fn); }
7171 : __fn(device, objectType, objectHandle, privateDataSlot, pData);
7172 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPrivateDataEXT", (PFN_vkVoidFunction)__fn); }
7173 : }
7174 :
7175 : #endif /* defined(VK_EXT_private_data) */
7176 :
7177 : #if defined(VK_KHR_video_encode_queue)
7178 :
7179 : static VkResult xl_hook_tl_deviceHookTable_vkGetEncodedVideoSessionParametersKHR(VkDevice device, const VkVideoEncodeSessionParametersGetInfoKHR* pVideoSessionParametersInfo, VkVideoEncodeSessionParametersFeedbackInfoKHR* pFeedbackInfo, size_t* pDataSize, void* pData) {
7180 : auto __fn = tl_deviceHookTable.table->vkGetEncodedVideoSessionParametersKHR;
7181 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetEncodedVideoSessionParametersKHR) {
7182 : __fn = tl_deviceHookTable.replace->vkGetEncodedVideoSessionParametersKHR;
7183 : }
7184 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetEncodedVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
7185 : auto ret = __fn(device, pVideoSessionParametersInfo, pFeedbackInfo, pDataSize, pData);
7186 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetEncodedVideoSessionParametersKHR", (PFN_vkVoidFunction)__fn); }
7187 : return ret;
7188 : }
7189 :
7190 : static void xl_hook_tl_deviceHookTable_vkCmdEncodeVideoKHR(VkCommandBuffer commandBuffer, const VkVideoEncodeInfoKHR* pEncodeInfo) {
7191 : auto __fn = tl_deviceHookTable.table->vkCmdEncodeVideoKHR;
7192 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdEncodeVideoKHR) {
7193 : __fn = tl_deviceHookTable.replace->vkCmdEncodeVideoKHR;
7194 : }
7195 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdEncodeVideoKHR", (PFN_vkVoidFunction)__fn); }
7196 : __fn(commandBuffer, pEncodeInfo);
7197 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdEncodeVideoKHR", (PFN_vkVoidFunction)__fn); }
7198 : }
7199 :
7200 : #endif /* defined(VK_KHR_video_encode_queue) */
7201 :
7202 : #if defined(VK_KHR_object_refresh)
7203 :
7204 : static void xl_hook_tl_deviceHookTable_vkCmdRefreshObjectsKHR(VkCommandBuffer commandBuffer, const VkRefreshObjectListKHR* pRefreshObjects) {
7205 : auto __fn = tl_deviceHookTable.table->vkCmdRefreshObjectsKHR;
7206 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdRefreshObjectsKHR) {
7207 : __fn = tl_deviceHookTable.replace->vkCmdRefreshObjectsKHR;
7208 : }
7209 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdRefreshObjectsKHR", (PFN_vkVoidFunction)__fn); }
7210 : __fn(commandBuffer, pRefreshObjects);
7211 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdRefreshObjectsKHR", (PFN_vkVoidFunction)__fn); }
7212 : }
7213 :
7214 : #endif /* defined(VK_KHR_object_refresh) */
7215 :
7216 : #if defined(VK_EXT_metal_objects)
7217 :
7218 : static void xl_hook_tl_deviceHookTable_vkExportMetalObjectsEXT(VkDevice device, VkExportMetalObjectsInfoEXT* pMetalObjectsInfo) {
7219 : auto __fn = tl_deviceHookTable.table->vkExportMetalObjectsEXT;
7220 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkExportMetalObjectsEXT) {
7221 : __fn = tl_deviceHookTable.replace->vkExportMetalObjectsEXT;
7222 : }
7223 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkExportMetalObjectsEXT", (PFN_vkVoidFunction)__fn); }
7224 : __fn(device, pMetalObjectsInfo);
7225 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkExportMetalObjectsEXT", (PFN_vkVoidFunction)__fn); }
7226 : }
7227 :
7228 : #endif /* defined(VK_EXT_metal_objects) */
7229 :
7230 : #if defined(VK_KHR_synchronization2)
7231 :
7232 : static void xl_hook_tl_deviceHookTable_vkCmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfoKHR* pDependencyInfo) {
7233 : auto __fn = tl_deviceHookTable.table->vkCmdSetEvent2KHR;
7234 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetEvent2KHR) {
7235 : __fn = tl_deviceHookTable.replace->vkCmdSetEvent2KHR;
7236 : }
7237 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetEvent2KHR", (PFN_vkVoidFunction)__fn); }
7238 : __fn(commandBuffer, event, pDependencyInfo);
7239 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetEvent2KHR", (PFN_vkVoidFunction)__fn); }
7240 : }
7241 :
7242 : static void xl_hook_tl_deviceHookTable_vkCmdResetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2KHR stageMask) {
7243 : auto __fn = tl_deviceHookTable.table->vkCmdResetEvent2KHR;
7244 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResetEvent2KHR) {
7245 : __fn = tl_deviceHookTable.replace->vkCmdResetEvent2KHR;
7246 : }
7247 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResetEvent2KHR", (PFN_vkVoidFunction)__fn); }
7248 : __fn(commandBuffer, event, stageMask);
7249 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResetEvent2KHR", (PFN_vkVoidFunction)__fn); }
7250 : }
7251 :
7252 : static void xl_hook_tl_deviceHookTable_vkCmdWaitEvents2KHR(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfoKHR* pDependencyInfos) {
7253 : auto __fn = tl_deviceHookTable.table->vkCmdWaitEvents2KHR;
7254 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWaitEvents2KHR) {
7255 : __fn = tl_deviceHookTable.replace->vkCmdWaitEvents2KHR;
7256 : }
7257 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents2KHR", (PFN_vkVoidFunction)__fn); }
7258 : __fn(commandBuffer, eventCount, pEvents, pDependencyInfos);
7259 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWaitEvents2KHR", (PFN_vkVoidFunction)__fn); }
7260 : }
7261 :
7262 : static void xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier2KHR(VkCommandBuffer commandBuffer, const VkDependencyInfoKHR* pDependencyInfo) {
7263 : auto __fn = tl_deviceHookTable.table->vkCmdPipelineBarrier2KHR;
7264 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdPipelineBarrier2KHR) {
7265 : __fn = tl_deviceHookTable.replace->vkCmdPipelineBarrier2KHR;
7266 : }
7267 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier2KHR", (PFN_vkVoidFunction)__fn); }
7268 : __fn(commandBuffer, pDependencyInfo);
7269 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdPipelineBarrier2KHR", (PFN_vkVoidFunction)__fn); }
7270 : }
7271 :
7272 : static void xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp2KHR(VkCommandBuffer commandBuffer, VkPipelineStageFlags2KHR stage, VkQueryPool queryPool, uint32_t query) {
7273 : auto __fn = tl_deviceHookTable.table->vkCmdWriteTimestamp2KHR;
7274 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteTimestamp2KHR) {
7275 : __fn = tl_deviceHookTable.replace->vkCmdWriteTimestamp2KHR;
7276 : }
7277 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp2KHR", (PFN_vkVoidFunction)__fn); }
7278 : __fn(commandBuffer, stage, queryPool, query);
7279 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteTimestamp2KHR", (PFN_vkVoidFunction)__fn); }
7280 : }
7281 :
7282 : static VkResult xl_hook_tl_deviceHookTable_vkQueueSubmit2KHR(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2KHR* pSubmits, VkFence fence) {
7283 : auto __fn = tl_deviceHookTable.table->vkQueueSubmit2KHR;
7284 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkQueueSubmit2KHR) {
7285 : __fn = tl_deviceHookTable.replace->vkQueueSubmit2KHR;
7286 : }
7287 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkQueueSubmit2KHR", (PFN_vkVoidFunction)__fn); }
7288 : auto ret = __fn(queue, submitCount, pSubmits, fence);
7289 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkQueueSubmit2KHR", (PFN_vkVoidFunction)__fn); }
7290 : return ret;
7291 : }
7292 :
7293 : #endif /* defined(VK_KHR_synchronization2) */
7294 :
7295 : #if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
7296 :
7297 : static void xl_hook_tl_deviceHookTable_vkCmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker) {
7298 : auto __fn = tl_deviceHookTable.table->vkCmdWriteBufferMarker2AMD;
7299 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteBufferMarker2AMD) {
7300 : __fn = tl_deviceHookTable.replace->vkCmdWriteBufferMarker2AMD;
7301 : }
7302 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteBufferMarker2AMD", (PFN_vkVoidFunction)__fn); }
7303 : __fn(commandBuffer, stage, dstBuffer, dstOffset, marker);
7304 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteBufferMarker2AMD", (PFN_vkVoidFunction)__fn); }
7305 : }
7306 :
7307 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
7308 :
7309 : #if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
7310 :
7311 : static void xl_hook_tl_deviceHookTable_vkGetQueueCheckpointData2NV(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointData2NV* pCheckpointData) {
7312 : auto __fn = tl_deviceHookTable.table->vkGetQueueCheckpointData2NV;
7313 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetQueueCheckpointData2NV) {
7314 : __fn = tl_deviceHookTable.replace->vkGetQueueCheckpointData2NV;
7315 : }
7316 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetQueueCheckpointData2NV", (PFN_vkVoidFunction)__fn); }
7317 : __fn(queue, pCheckpointDataCount, pCheckpointData);
7318 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetQueueCheckpointData2NV", (PFN_vkVoidFunction)__fn); }
7319 : }
7320 :
7321 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
7322 :
7323 : #if defined(VK_EXT_descriptor_buffer)
7324 :
7325 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSizeEXT(VkDevice device, VkDescriptorSetLayout layout, VkDeviceSize* pLayoutSizeInBytes) {
7326 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetLayoutSizeEXT;
7327 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSizeEXT) {
7328 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetLayoutSizeEXT;
7329 : }
7330 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSizeEXT", (PFN_vkVoidFunction)__fn); }
7331 : __fn(device, layout, pLayoutSizeInBytes);
7332 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutSizeEXT", (PFN_vkVoidFunction)__fn); }
7333 : }
7334 :
7335 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutBindingOffsetEXT(VkDevice device, VkDescriptorSetLayout layout, uint32_t binding, VkDeviceSize* pOffset) {
7336 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetLayoutBindingOffsetEXT;
7337 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetLayoutBindingOffsetEXT) {
7338 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetLayoutBindingOffsetEXT;
7339 : }
7340 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutBindingOffsetEXT", (PFN_vkVoidFunction)__fn); }
7341 : __fn(device, layout, binding, pOffset);
7342 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutBindingOffsetEXT", (PFN_vkVoidFunction)__fn); }
7343 : }
7344 :
7345 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorEXT(VkDevice device, const VkDescriptorGetInfoEXT* pDescriptorInfo, size_t dataSize, void* pDescriptor) {
7346 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorEXT;
7347 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorEXT) {
7348 : __fn = tl_deviceHookTable.replace->vkGetDescriptorEXT;
7349 : }
7350 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorEXT", (PFN_vkVoidFunction)__fn); }
7351 : __fn(device, pDescriptorInfo, dataSize, pDescriptor);
7352 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorEXT", (PFN_vkVoidFunction)__fn); }
7353 : }
7354 :
7355 : static void xl_hook_tl_deviceHookTable_vkCmdBindDescriptorBuffersEXT(VkCommandBuffer commandBuffer, uint32_t bufferCount, const VkDescriptorBufferBindingInfoEXT* pBindingInfos) {
7356 : auto __fn = tl_deviceHookTable.table->vkCmdBindDescriptorBuffersEXT;
7357 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindDescriptorBuffersEXT) {
7358 : __fn = tl_deviceHookTable.replace->vkCmdBindDescriptorBuffersEXT;
7359 : }
7360 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorBuffersEXT", (PFN_vkVoidFunction)__fn); }
7361 : __fn(commandBuffer, bufferCount, pBindingInfos);
7362 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorBuffersEXT", (PFN_vkVoidFunction)__fn); }
7363 : }
7364 :
7365 : static void xl_hook_tl_deviceHookTable_vkCmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t setCount, const uint32_t* pBufferIndices, const VkDeviceSize* pOffsets) {
7366 : auto __fn = tl_deviceHookTable.table->vkCmdSetDescriptorBufferOffsetsEXT;
7367 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDescriptorBufferOffsetsEXT) {
7368 : __fn = tl_deviceHookTable.replace->vkCmdSetDescriptorBufferOffsetsEXT;
7369 : }
7370 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDescriptorBufferOffsetsEXT", (PFN_vkVoidFunction)__fn); }
7371 : __fn(commandBuffer, pipelineBindPoint, layout, firstSet, setCount, pBufferIndices, pOffsets);
7372 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDescriptorBufferOffsetsEXT", (PFN_vkVoidFunction)__fn); }
7373 : }
7374 :
7375 : static void xl_hook_tl_deviceHookTable_vkCmdBindDescriptorBufferEmbeddedSamplersEXT(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set) {
7376 : auto __fn = tl_deviceHookTable.table->vkCmdBindDescriptorBufferEmbeddedSamplersEXT;
7377 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindDescriptorBufferEmbeddedSamplersEXT) {
7378 : __fn = tl_deviceHookTable.replace->vkCmdBindDescriptorBufferEmbeddedSamplersEXT;
7379 : }
7380 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorBufferEmbeddedSamplersEXT", (PFN_vkVoidFunction)__fn); }
7381 : __fn(commandBuffer, pipelineBindPoint, layout, set);
7382 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindDescriptorBufferEmbeddedSamplersEXT", (PFN_vkVoidFunction)__fn); }
7383 : }
7384 :
7385 : static VkResult xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkBufferCaptureDescriptorDataInfoEXT* pInfo, void* pData) {
7386 : auto __fn = tl_deviceHookTable.table->vkGetBufferOpaqueCaptureDescriptorDataEXT;
7387 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureDescriptorDataEXT) {
7388 : __fn = tl_deviceHookTable.replace->vkGetBufferOpaqueCaptureDescriptorDataEXT;
7389 : }
7390 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7391 : auto ret = __fn(device, pInfo, pData);
7392 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7393 : return ret;
7394 : }
7395 :
7396 : static VkResult xl_hook_tl_deviceHookTable_vkGetImageOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkImageCaptureDescriptorDataInfoEXT* pInfo, void* pData) {
7397 : auto __fn = tl_deviceHookTable.table->vkGetImageOpaqueCaptureDescriptorDataEXT;
7398 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageOpaqueCaptureDescriptorDataEXT) {
7399 : __fn = tl_deviceHookTable.replace->vkGetImageOpaqueCaptureDescriptorDataEXT;
7400 : }
7401 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7402 : auto ret = __fn(device, pInfo, pData);
7403 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7404 : return ret;
7405 : }
7406 :
7407 : static VkResult xl_hook_tl_deviceHookTable_vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkImageViewCaptureDescriptorDataInfoEXT* pInfo, void* pData) {
7408 : auto __fn = tl_deviceHookTable.table->vkGetImageViewOpaqueCaptureDescriptorDataEXT;
7409 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageViewOpaqueCaptureDescriptorDataEXT) {
7410 : __fn = tl_deviceHookTable.replace->vkGetImageViewOpaqueCaptureDescriptorDataEXT;
7411 : }
7412 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageViewOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7413 : auto ret = __fn(device, pInfo, pData);
7414 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageViewOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7415 : return ret;
7416 : }
7417 :
7418 : static VkResult xl_hook_tl_deviceHookTable_vkGetSamplerOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkSamplerCaptureDescriptorDataInfoEXT* pInfo, void* pData) {
7419 : auto __fn = tl_deviceHookTable.table->vkGetSamplerOpaqueCaptureDescriptorDataEXT;
7420 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSamplerOpaqueCaptureDescriptorDataEXT) {
7421 : __fn = tl_deviceHookTable.replace->vkGetSamplerOpaqueCaptureDescriptorDataEXT;
7422 : }
7423 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSamplerOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7424 : auto ret = __fn(device, pInfo, pData);
7425 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSamplerOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7426 : return ret;
7427 : }
7428 :
7429 : #endif /* defined(VK_EXT_descriptor_buffer) */
7430 :
7431 : #if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing))
7432 :
7433 : static VkResult xl_hook_tl_deviceHookTable_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkAccelerationStructureCaptureDescriptorDataInfoEXT* pInfo, void* pData) {
7434 : auto __fn = tl_deviceHookTable.table->vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT;
7435 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT) {
7436 : __fn = tl_deviceHookTable.replace->vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT;
7437 : }
7438 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7439 : auto ret = __fn(device, pInfo, pData);
7440 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT", (PFN_vkVoidFunction)__fn); }
7441 : return ret;
7442 : }
7443 :
7444 : #endif /* (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing)) */
7445 :
7446 : #if defined(VK_NV_fragment_shading_rate_enums)
7447 :
7448 : static void xl_hook_tl_deviceHookTable_vkCmdSetFragmentShadingRateEnumNV(VkCommandBuffer commandBuffer, VkFragmentShadingRateNV shadingRate, const VkFragmentShadingRateCombinerOpKHR combinerOps[2]) {
7449 : auto __fn = tl_deviceHookTable.table->vkCmdSetFragmentShadingRateEnumNV;
7450 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetFragmentShadingRateEnumNV) {
7451 : __fn = tl_deviceHookTable.replace->vkCmdSetFragmentShadingRateEnumNV;
7452 : }
7453 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetFragmentShadingRateEnumNV", (PFN_vkVoidFunction)__fn); }
7454 : __fn(commandBuffer, shadingRate, combinerOps);
7455 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetFragmentShadingRateEnumNV", (PFN_vkVoidFunction)__fn); }
7456 : }
7457 :
7458 : #endif /* defined(VK_NV_fragment_shading_rate_enums) */
7459 :
7460 : #if defined(VK_EXT_mesh_shader)
7461 :
7462 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksEXT(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) {
7463 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksEXT;
7464 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksEXT) {
7465 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksEXT;
7466 : }
7467 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksEXT", (PFN_vkVoidFunction)__fn); }
7468 : __fn(commandBuffer, groupCountX, groupCountY, groupCountZ);
7469 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksEXT", (PFN_vkVoidFunction)__fn); }
7470 : }
7471 :
7472 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectEXT(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) {
7473 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksIndirectEXT;
7474 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectEXT) {
7475 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectEXT;
7476 : }
7477 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectEXT", (PFN_vkVoidFunction)__fn); }
7478 : __fn(commandBuffer, buffer, offset, drawCount, stride);
7479 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectEXT", (PFN_vkVoidFunction)__fn); }
7480 : }
7481 :
7482 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectCountEXT(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) {
7483 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMeshTasksIndirectCountEXT;
7484 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectCountEXT) {
7485 : __fn = tl_deviceHookTable.replace->vkCmdDrawMeshTasksIndirectCountEXT;
7486 : }
7487 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectCountEXT", (PFN_vkVoidFunction)__fn); }
7488 : __fn(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
7489 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMeshTasksIndirectCountEXT", (PFN_vkVoidFunction)__fn); }
7490 : }
7491 :
7492 : #endif /* defined(VK_EXT_mesh_shader) */
7493 :
7494 : #if defined(VK_KHR_copy_commands2)
7495 :
7496 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2KHR* pCopyBufferInfo) {
7497 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBuffer2KHR;
7498 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBuffer2KHR) {
7499 : __fn = tl_deviceHookTable.replace->vkCmdCopyBuffer2KHR;
7500 : }
7501 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer2KHR", (PFN_vkVoidFunction)__fn); }
7502 : __fn(commandBuffer, pCopyBufferInfo);
7503 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBuffer2KHR", (PFN_vkVoidFunction)__fn); }
7504 : }
7505 :
7506 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImage2KHR(VkCommandBuffer commandBuffer, const VkCopyImageInfo2KHR* pCopyImageInfo) {
7507 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImage2KHR;
7508 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImage2KHR) {
7509 : __fn = tl_deviceHookTable.replace->vkCmdCopyImage2KHR;
7510 : }
7511 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImage2KHR", (PFN_vkVoidFunction)__fn); }
7512 : __fn(commandBuffer, pCopyImageInfo);
7513 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImage2KHR", (PFN_vkVoidFunction)__fn); }
7514 : }
7515 :
7516 : static void xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2KHR* pCopyBufferToImageInfo) {
7517 : auto __fn = tl_deviceHookTable.table->vkCmdCopyBufferToImage2KHR;
7518 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyBufferToImage2KHR) {
7519 : __fn = tl_deviceHookTable.replace->vkCmdCopyBufferToImage2KHR;
7520 : }
7521 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage2KHR", (PFN_vkVoidFunction)__fn); }
7522 : __fn(commandBuffer, pCopyBufferToImageInfo);
7523 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyBufferToImage2KHR", (PFN_vkVoidFunction)__fn); }
7524 : }
7525 :
7526 : static void xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2KHR* pCopyImageToBufferInfo) {
7527 : auto __fn = tl_deviceHookTable.table->vkCmdCopyImageToBuffer2KHR;
7528 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyImageToBuffer2KHR) {
7529 : __fn = tl_deviceHookTable.replace->vkCmdCopyImageToBuffer2KHR;
7530 : }
7531 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer2KHR", (PFN_vkVoidFunction)__fn); }
7532 : __fn(commandBuffer, pCopyImageToBufferInfo);
7533 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyImageToBuffer2KHR", (PFN_vkVoidFunction)__fn); }
7534 : }
7535 :
7536 : static void xl_hook_tl_deviceHookTable_vkCmdBlitImage2KHR(VkCommandBuffer commandBuffer, const VkBlitImageInfo2KHR* pBlitImageInfo) {
7537 : auto __fn = tl_deviceHookTable.table->vkCmdBlitImage2KHR;
7538 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBlitImage2KHR) {
7539 : __fn = tl_deviceHookTable.replace->vkCmdBlitImage2KHR;
7540 : }
7541 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBlitImage2KHR", (PFN_vkVoidFunction)__fn); }
7542 : __fn(commandBuffer, pBlitImageInfo);
7543 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBlitImage2KHR", (PFN_vkVoidFunction)__fn); }
7544 : }
7545 :
7546 : static void xl_hook_tl_deviceHookTable_vkCmdResolveImage2KHR(VkCommandBuffer commandBuffer, const VkResolveImageInfo2KHR* pResolveImageInfo) {
7547 : auto __fn = tl_deviceHookTable.table->vkCmdResolveImage2KHR;
7548 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdResolveImage2KHR) {
7549 : __fn = tl_deviceHookTable.replace->vkCmdResolveImage2KHR;
7550 : }
7551 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdResolveImage2KHR", (PFN_vkVoidFunction)__fn); }
7552 : __fn(commandBuffer, pResolveImageInfo);
7553 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdResolveImage2KHR", (PFN_vkVoidFunction)__fn); }
7554 : }
7555 :
7556 : #endif /* defined(VK_KHR_copy_commands2) */
7557 :
7558 : #if defined(VK_EXT_device_fault)
7559 :
7560 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeviceFaultInfoEXT(VkDevice device, VkDeviceFaultCountsEXT* pFaultCounts, VkDeviceFaultInfoEXT* pFaultInfo) {
7561 : auto __fn = tl_deviceHookTable.table->vkGetDeviceFaultInfoEXT;
7562 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceFaultInfoEXT) {
7563 : __fn = tl_deviceHookTable.replace->vkGetDeviceFaultInfoEXT;
7564 : }
7565 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceFaultInfoEXT", (PFN_vkVoidFunction)__fn); }
7566 : auto ret = __fn(device, pFaultCounts, pFaultInfo);
7567 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceFaultInfoEXT", (PFN_vkVoidFunction)__fn); }
7568 : return ret;
7569 : }
7570 :
7571 : #endif /* defined(VK_EXT_device_fault) */
7572 :
7573 : #if defined(VK_EXT_vertex_input_dynamic_state)
7574 :
7575 : static void xl_hook_tl_deviceHookTable_vkCmdSetVertexInputEXT(VkCommandBuffer commandBuffer, uint32_t vertexBindingDescriptionCount, const VkVertexInputBindingDescription2EXT* pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, const VkVertexInputAttributeDescription2EXT* pVertexAttributeDescriptions) {
7576 : auto __fn = tl_deviceHookTable.table->vkCmdSetVertexInputEXT;
7577 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetVertexInputEXT) {
7578 : __fn = tl_deviceHookTable.replace->vkCmdSetVertexInputEXT;
7579 : }
7580 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetVertexInputEXT", (PFN_vkVoidFunction)__fn); }
7581 : __fn(commandBuffer, vertexBindingDescriptionCount, pVertexBindingDescriptions, vertexAttributeDescriptionCount, pVertexAttributeDescriptions);
7582 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetVertexInputEXT", (PFN_vkVoidFunction)__fn); }
7583 : }
7584 :
7585 : #endif /* defined(VK_EXT_vertex_input_dynamic_state) */
7586 :
7587 : #if defined(VK_FUCHSIA_external_memory)
7588 :
7589 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryZirconHandleFUCHSIA(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle) {
7590 : auto __fn = tl_deviceHookTable.table->vkGetMemoryZirconHandleFUCHSIA;
7591 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryZirconHandleFUCHSIA) {
7592 : __fn = tl_deviceHookTable.replace->vkGetMemoryZirconHandleFUCHSIA;
7593 : }
7594 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7595 : auto ret = __fn(device, pGetZirconHandleInfo, pZirconHandle);
7596 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7597 : return ret;
7598 : }
7599 :
7600 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryZirconHandlePropertiesFUCHSIA(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties) {
7601 : auto __fn = tl_deviceHookTable.table->vkGetMemoryZirconHandlePropertiesFUCHSIA;
7602 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryZirconHandlePropertiesFUCHSIA) {
7603 : __fn = tl_deviceHookTable.replace->vkGetMemoryZirconHandlePropertiesFUCHSIA;
7604 : }
7605 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryZirconHandlePropertiesFUCHSIA", (PFN_vkVoidFunction)__fn); }
7606 : auto ret = __fn(device, handleType, zirconHandle, pMemoryZirconHandleProperties);
7607 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryZirconHandlePropertiesFUCHSIA", (PFN_vkVoidFunction)__fn); }
7608 : return ret;
7609 : }
7610 :
7611 : #endif /* defined(VK_FUCHSIA_external_memory) */
7612 :
7613 : #if defined(VK_FUCHSIA_external_semaphore)
7614 :
7615 : static VkResult xl_hook_tl_deviceHookTable_vkImportSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo) {
7616 : auto __fn = tl_deviceHookTable.table->vkImportSemaphoreZirconHandleFUCHSIA;
7617 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportSemaphoreZirconHandleFUCHSIA) {
7618 : __fn = tl_deviceHookTable.replace->vkImportSemaphoreZirconHandleFUCHSIA;
7619 : }
7620 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportSemaphoreZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7621 : auto ret = __fn(device, pImportSemaphoreZirconHandleInfo);
7622 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportSemaphoreZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7623 : return ret;
7624 : }
7625 :
7626 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle) {
7627 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreZirconHandleFUCHSIA;
7628 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreZirconHandleFUCHSIA) {
7629 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreZirconHandleFUCHSIA;
7630 : }
7631 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7632 : auto ret = __fn(device, pGetZirconHandleInfo, pZirconHandle);
7633 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreZirconHandleFUCHSIA", (PFN_vkVoidFunction)__fn); }
7634 : return ret;
7635 : }
7636 :
7637 : #endif /* defined(VK_FUCHSIA_external_semaphore) */
7638 :
7639 : #if defined(VK_FUCHSIA_buffer_collection)
7640 :
7641 : static VkResult xl_hook_tl_deviceHookTable_vkCreateBufferCollectionFUCHSIA(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferCollectionFUCHSIA* pCollection) {
7642 : auto __fn = tl_deviceHookTable.table->vkCreateBufferCollectionFUCHSIA;
7643 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateBufferCollectionFUCHSIA) {
7644 : __fn = tl_deviceHookTable.replace->vkCreateBufferCollectionFUCHSIA;
7645 : }
7646 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateBufferCollectionFUCHSIA", (PFN_vkVoidFunction)__fn); }
7647 : auto ret = __fn(device, pCreateInfo, pAllocator, pCollection);
7648 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateBufferCollectionFUCHSIA", (PFN_vkVoidFunction)__fn); }
7649 : return ret;
7650 : }
7651 :
7652 : static VkResult xl_hook_tl_deviceHookTable_vkSetBufferCollectionImageConstraintsFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo) {
7653 : auto __fn = tl_deviceHookTable.table->vkSetBufferCollectionImageConstraintsFUCHSIA;
7654 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetBufferCollectionImageConstraintsFUCHSIA) {
7655 : __fn = tl_deviceHookTable.replace->vkSetBufferCollectionImageConstraintsFUCHSIA;
7656 : }
7657 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetBufferCollectionImageConstraintsFUCHSIA", (PFN_vkVoidFunction)__fn); }
7658 : auto ret = __fn(device, collection, pImageConstraintsInfo);
7659 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetBufferCollectionImageConstraintsFUCHSIA", (PFN_vkVoidFunction)__fn); }
7660 : return ret;
7661 : }
7662 :
7663 : static VkResult xl_hook_tl_deviceHookTable_vkSetBufferCollectionBufferConstraintsFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo) {
7664 : auto __fn = tl_deviceHookTable.table->vkSetBufferCollectionBufferConstraintsFUCHSIA;
7665 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetBufferCollectionBufferConstraintsFUCHSIA) {
7666 : __fn = tl_deviceHookTable.replace->vkSetBufferCollectionBufferConstraintsFUCHSIA;
7667 : }
7668 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetBufferCollectionBufferConstraintsFUCHSIA", (PFN_vkVoidFunction)__fn); }
7669 : auto ret = __fn(device, collection, pBufferConstraintsInfo);
7670 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetBufferCollectionBufferConstraintsFUCHSIA", (PFN_vkVoidFunction)__fn); }
7671 : return ret;
7672 : }
7673 :
7674 : static void xl_hook_tl_deviceHookTable_vkDestroyBufferCollectionFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks* pAllocator) {
7675 : auto __fn = tl_deviceHookTable.table->vkDestroyBufferCollectionFUCHSIA;
7676 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyBufferCollectionFUCHSIA) {
7677 : __fn = tl_deviceHookTable.replace->vkDestroyBufferCollectionFUCHSIA;
7678 : }
7679 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyBufferCollectionFUCHSIA", (PFN_vkVoidFunction)__fn); }
7680 : __fn(device, collection, pAllocator);
7681 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyBufferCollectionFUCHSIA", (PFN_vkVoidFunction)__fn); }
7682 : }
7683 :
7684 : static VkResult xl_hook_tl_deviceHookTable_vkGetBufferCollectionPropertiesFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA* pProperties) {
7685 : auto __fn = tl_deviceHookTable.table->vkGetBufferCollectionPropertiesFUCHSIA;
7686 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetBufferCollectionPropertiesFUCHSIA) {
7687 : __fn = tl_deviceHookTable.replace->vkGetBufferCollectionPropertiesFUCHSIA;
7688 : }
7689 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetBufferCollectionPropertiesFUCHSIA", (PFN_vkVoidFunction)__fn); }
7690 : auto ret = __fn(device, collection, pProperties);
7691 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetBufferCollectionPropertiesFUCHSIA", (PFN_vkVoidFunction)__fn); }
7692 : return ret;
7693 : }
7694 :
7695 : #endif /* defined(VK_FUCHSIA_buffer_collection) */
7696 :
7697 : #if defined(VK_HUAWEI_subpass_shading)
7698 :
7699 : static VkResult xl_hook_tl_deviceHookTable_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D* pMaxWorkgroupSize) {
7700 : auto __fn = tl_deviceHookTable.table->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
7701 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI) {
7702 : __fn = tl_deviceHookTable.replace->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
7703 : }
7704 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", (PFN_vkVoidFunction)__fn); }
7705 : auto ret = __fn(device, renderpass, pMaxWorkgroupSize);
7706 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", (PFN_vkVoidFunction)__fn); }
7707 : return ret;
7708 : }
7709 :
7710 : static void xl_hook_tl_deviceHookTable_vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer) {
7711 : auto __fn = tl_deviceHookTable.table->vkCmdSubpassShadingHUAWEI;
7712 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSubpassShadingHUAWEI) {
7713 : __fn = tl_deviceHookTable.replace->vkCmdSubpassShadingHUAWEI;
7714 : }
7715 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSubpassShadingHUAWEI", (PFN_vkVoidFunction)__fn); }
7716 : __fn(commandBuffer);
7717 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSubpassShadingHUAWEI", (PFN_vkVoidFunction)__fn); }
7718 : }
7719 :
7720 : #endif /* defined(VK_HUAWEI_subpass_shading) */
7721 :
7722 : #if defined(VK_HUAWEI_invocation_mask)
7723 :
7724 : static void xl_hook_tl_deviceHookTable_vkCmdBindInvocationMaskHUAWEI(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout) {
7725 : auto __fn = tl_deviceHookTable.table->vkCmdBindInvocationMaskHUAWEI;
7726 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindInvocationMaskHUAWEI) {
7727 : __fn = tl_deviceHookTable.replace->vkCmdBindInvocationMaskHUAWEI;
7728 : }
7729 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindInvocationMaskHUAWEI", (PFN_vkVoidFunction)__fn); }
7730 : __fn(commandBuffer, imageView, imageLayout);
7731 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindInvocationMaskHUAWEI", (PFN_vkVoidFunction)__fn); }
7732 : }
7733 :
7734 : #endif /* defined(VK_HUAWEI_invocation_mask) */
7735 :
7736 : #if defined(VK_NV_external_memory_rdma)
7737 :
7738 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemoryRemoteAddressNV(VkDevice device, const VkMemoryGetRemoteAddressInfoNV* pMemoryGetRemoteAddressInfo, VkRemoteAddressNV* pAddress) {
7739 : auto __fn = tl_deviceHookTable.table->vkGetMemoryRemoteAddressNV;
7740 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemoryRemoteAddressNV) {
7741 : __fn = tl_deviceHookTable.replace->vkGetMemoryRemoteAddressNV;
7742 : }
7743 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemoryRemoteAddressNV", (PFN_vkVoidFunction)__fn); }
7744 : auto ret = __fn(device, pMemoryGetRemoteAddressInfo, pAddress);
7745 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemoryRemoteAddressNV", (PFN_vkVoidFunction)__fn); }
7746 : return ret;
7747 : }
7748 :
7749 : #endif /* defined(VK_NV_external_memory_rdma) */
7750 :
7751 : #if defined(VK_EXT_pipeline_properties)
7752 :
7753 : static VkResult xl_hook_tl_deviceHookTable_vkGetPipelinePropertiesEXT(VkDevice device, const VkPipelineInfoEXT* pPipelineInfo, VkBaseOutStructure* pPipelineProperties) {
7754 : auto __fn = tl_deviceHookTable.table->vkGetPipelinePropertiesEXT;
7755 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelinePropertiesEXT) {
7756 : __fn = tl_deviceHookTable.replace->vkGetPipelinePropertiesEXT;
7757 : }
7758 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelinePropertiesEXT", (PFN_vkVoidFunction)__fn); }
7759 : auto ret = __fn(device, pPipelineInfo, pPipelineProperties);
7760 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelinePropertiesEXT", (PFN_vkVoidFunction)__fn); }
7761 : return ret;
7762 : }
7763 :
7764 : #endif /* defined(VK_EXT_pipeline_properties) */
7765 :
7766 : #if defined(VK_NV_external_sci_sync)
7767 :
7768 : static VkResult xl_hook_tl_deviceHookTable_vkGetFenceSciSyncFenceNV(VkDevice device, const VkFenceGetSciSyncInfoNV* pGetSciSyncHandleInfo, void* pHandle) {
7769 : auto __fn = tl_deviceHookTable.table->vkGetFenceSciSyncFenceNV;
7770 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFenceSciSyncFenceNV) {
7771 : __fn = tl_deviceHookTable.replace->vkGetFenceSciSyncFenceNV;
7772 : }
7773 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFenceSciSyncFenceNV", (PFN_vkVoidFunction)__fn); }
7774 : auto ret = __fn(device, pGetSciSyncHandleInfo, pHandle);
7775 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFenceSciSyncFenceNV", (PFN_vkVoidFunction)__fn); }
7776 : return ret;
7777 : }
7778 :
7779 : static VkResult xl_hook_tl_deviceHookTable_vkGetFenceSciSyncObjNV(VkDevice device, const VkFenceGetSciSyncInfoNV* pGetSciSyncHandleInfo, void* pHandle) {
7780 : auto __fn = tl_deviceHookTable.table->vkGetFenceSciSyncObjNV;
7781 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFenceSciSyncObjNV) {
7782 : __fn = tl_deviceHookTable.replace->vkGetFenceSciSyncObjNV;
7783 : }
7784 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFenceSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7785 : auto ret = __fn(device, pGetSciSyncHandleInfo, pHandle);
7786 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFenceSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7787 : return ret;
7788 : }
7789 :
7790 : static VkResult xl_hook_tl_deviceHookTable_vkImportFenceSciSyncFenceNV(VkDevice device, const VkImportFenceSciSyncInfoNV* pImportFenceSciSyncInfo) {
7791 : auto __fn = tl_deviceHookTable.table->vkImportFenceSciSyncFenceNV;
7792 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportFenceSciSyncFenceNV) {
7793 : __fn = tl_deviceHookTable.replace->vkImportFenceSciSyncFenceNV;
7794 : }
7795 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportFenceSciSyncFenceNV", (PFN_vkVoidFunction)__fn); }
7796 : auto ret = __fn(device, pImportFenceSciSyncInfo);
7797 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportFenceSciSyncFenceNV", (PFN_vkVoidFunction)__fn); }
7798 : return ret;
7799 : }
7800 :
7801 : static VkResult xl_hook_tl_deviceHookTable_vkImportFenceSciSyncObjNV(VkDevice device, const VkImportFenceSciSyncInfoNV* pImportFenceSciSyncInfo) {
7802 : auto __fn = tl_deviceHookTable.table->vkImportFenceSciSyncObjNV;
7803 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportFenceSciSyncObjNV) {
7804 : __fn = tl_deviceHookTable.replace->vkImportFenceSciSyncObjNV;
7805 : }
7806 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportFenceSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7807 : auto ret = __fn(device, pImportFenceSciSyncInfo);
7808 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportFenceSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7809 : return ret;
7810 : }
7811 :
7812 : static VkResult xl_hook_tl_deviceHookTable_vkGetSemaphoreSciSyncObjNV(VkDevice device, const VkSemaphoreGetSciSyncInfoNV* pGetSciSyncInfo, void* pHandle) {
7813 : auto __fn = tl_deviceHookTable.table->vkGetSemaphoreSciSyncObjNV;
7814 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetSemaphoreSciSyncObjNV) {
7815 : __fn = tl_deviceHookTable.replace->vkGetSemaphoreSciSyncObjNV;
7816 : }
7817 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetSemaphoreSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7818 : auto ret = __fn(device, pGetSciSyncInfo, pHandle);
7819 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetSemaphoreSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7820 : return ret;
7821 : }
7822 :
7823 : static VkResult xl_hook_tl_deviceHookTable_vkImportSemaphoreSciSyncObjNV(VkDevice device, const VkImportSemaphoreSciSyncInfoNV* pImportSemaphoreSciSyncInfo) {
7824 : auto __fn = tl_deviceHookTable.table->vkImportSemaphoreSciSyncObjNV;
7825 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkImportSemaphoreSciSyncObjNV) {
7826 : __fn = tl_deviceHookTable.replace->vkImportSemaphoreSciSyncObjNV;
7827 : }
7828 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkImportSemaphoreSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7829 : auto ret = __fn(device, pImportSemaphoreSciSyncInfo);
7830 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkImportSemaphoreSciSyncObjNV", (PFN_vkVoidFunction)__fn); }
7831 : return ret;
7832 : }
7833 :
7834 : #endif /* defined(VK_NV_external_sci_sync) */
7835 :
7836 : #if defined(VK_NV_external_memory_sci_buf)
7837 :
7838 : static VkResult xl_hook_tl_deviceHookTable_vkGetMemorySciBufNV(VkDevice device, const VkMemoryGetSciBufInfoNV* pGetSciBufInfo, NvSciBufObj* pHandle) {
7839 : auto __fn = tl_deviceHookTable.table->vkGetMemorySciBufNV;
7840 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMemorySciBufNV) {
7841 : __fn = tl_deviceHookTable.replace->vkGetMemorySciBufNV;
7842 : }
7843 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMemorySciBufNV", (PFN_vkVoidFunction)__fn); }
7844 : auto ret = __fn(device, pGetSciBufInfo, pHandle);
7845 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMemorySciBufNV", (PFN_vkVoidFunction)__fn); }
7846 : return ret;
7847 : }
7848 :
7849 : #endif /* defined(VK_NV_external_memory_sci_buf) */
7850 :
7851 : #if defined(VK_EXT_extended_dynamic_state2)
7852 :
7853 : static void xl_hook_tl_deviceHookTable_vkCmdSetPatchControlPointsEXT(VkCommandBuffer commandBuffer, uint32_t patchControlPoints) {
7854 : auto __fn = tl_deviceHookTable.table->vkCmdSetPatchControlPointsEXT;
7855 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPatchControlPointsEXT) {
7856 : __fn = tl_deviceHookTable.replace->vkCmdSetPatchControlPointsEXT;
7857 : }
7858 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPatchControlPointsEXT", (PFN_vkVoidFunction)__fn); }
7859 : __fn(commandBuffer, patchControlPoints);
7860 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPatchControlPointsEXT", (PFN_vkVoidFunction)__fn); }
7861 : }
7862 :
7863 : static void xl_hook_tl_deviceHookTable_vkCmdSetRasterizerDiscardEnableEXT(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable) {
7864 : auto __fn = tl_deviceHookTable.table->vkCmdSetRasterizerDiscardEnableEXT;
7865 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRasterizerDiscardEnableEXT) {
7866 : __fn = tl_deviceHookTable.replace->vkCmdSetRasterizerDiscardEnableEXT;
7867 : }
7868 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizerDiscardEnableEXT", (PFN_vkVoidFunction)__fn); }
7869 : __fn(commandBuffer, rasterizerDiscardEnable);
7870 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizerDiscardEnableEXT", (PFN_vkVoidFunction)__fn); }
7871 : }
7872 :
7873 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthBiasEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable) {
7874 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthBiasEnableEXT;
7875 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthBiasEnableEXT) {
7876 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthBiasEnableEXT;
7877 : }
7878 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBiasEnableEXT", (PFN_vkVoidFunction)__fn); }
7879 : __fn(commandBuffer, depthBiasEnable);
7880 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthBiasEnableEXT", (PFN_vkVoidFunction)__fn); }
7881 : }
7882 :
7883 : static void xl_hook_tl_deviceHookTable_vkCmdSetLogicOpEXT(VkCommandBuffer commandBuffer, VkLogicOp logicOp) {
7884 : auto __fn = tl_deviceHookTable.table->vkCmdSetLogicOpEXT;
7885 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLogicOpEXT) {
7886 : __fn = tl_deviceHookTable.replace->vkCmdSetLogicOpEXT;
7887 : }
7888 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLogicOpEXT", (PFN_vkVoidFunction)__fn); }
7889 : __fn(commandBuffer, logicOp);
7890 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLogicOpEXT", (PFN_vkVoidFunction)__fn); }
7891 : }
7892 :
7893 : static void xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveRestartEnableEXT(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable) {
7894 : auto __fn = tl_deviceHookTable.table->vkCmdSetPrimitiveRestartEnableEXT;
7895 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPrimitiveRestartEnableEXT) {
7896 : __fn = tl_deviceHookTable.replace->vkCmdSetPrimitiveRestartEnableEXT;
7897 : }
7898 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveRestartEnableEXT", (PFN_vkVoidFunction)__fn); }
7899 : __fn(commandBuffer, primitiveRestartEnable);
7900 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPrimitiveRestartEnableEXT", (PFN_vkVoidFunction)__fn); }
7901 : }
7902 :
7903 : #endif /* defined(VK_EXT_extended_dynamic_state2) */
7904 :
7905 : #if defined(VK_EXT_color_write_enable)
7906 :
7907 : static void xl_hook_tl_deviceHookTable_vkCmdSetColorWriteEnableEXT(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32* pColorWriteEnables) {
7908 : auto __fn = tl_deviceHookTable.table->vkCmdSetColorWriteEnableEXT;
7909 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetColorWriteEnableEXT) {
7910 : __fn = tl_deviceHookTable.replace->vkCmdSetColorWriteEnableEXT;
7911 : }
7912 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetColorWriteEnableEXT", (PFN_vkVoidFunction)__fn); }
7913 : __fn(commandBuffer, attachmentCount, pColorWriteEnables);
7914 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetColorWriteEnableEXT", (PFN_vkVoidFunction)__fn); }
7915 : }
7916 :
7917 : #endif /* defined(VK_EXT_color_write_enable) */
7918 :
7919 : #if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
7920 :
7921 : static void xl_hook_tl_deviceHookTable_vkCmdTraceRaysIndirect2KHR(VkCommandBuffer commandBuffer, VkDeviceAddress indirectDeviceAddress) {
7922 : auto __fn = tl_deviceHookTable.table->vkCmdTraceRaysIndirect2KHR;
7923 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdTraceRaysIndirect2KHR) {
7924 : __fn = tl_deviceHookTable.replace->vkCmdTraceRaysIndirect2KHR;
7925 : }
7926 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysIndirect2KHR", (PFN_vkVoidFunction)__fn); }
7927 : __fn(commandBuffer, indirectDeviceAddress);
7928 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdTraceRaysIndirect2KHR", (PFN_vkVoidFunction)__fn); }
7929 : }
7930 :
7931 : #endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
7932 :
7933 : #if defined(VK_EXT_multi_draw)
7934 :
7935 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMultiEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawInfoEXT* pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride) {
7936 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMultiEXT;
7937 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMultiEXT) {
7938 : __fn = tl_deviceHookTable.replace->vkCmdDrawMultiEXT;
7939 : }
7940 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMultiEXT", (PFN_vkVoidFunction)__fn); }
7941 : __fn(commandBuffer, drawCount, pVertexInfo, instanceCount, firstInstance, stride);
7942 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMultiEXT", (PFN_vkVoidFunction)__fn); }
7943 : }
7944 :
7945 : static void xl_hook_tl_deviceHookTable_vkCmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawIndexedInfoEXT* pIndexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, const int32_t* pVertexOffset) {
7946 : auto __fn = tl_deviceHookTable.table->vkCmdDrawMultiIndexedEXT;
7947 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawMultiIndexedEXT) {
7948 : __fn = tl_deviceHookTable.replace->vkCmdDrawMultiIndexedEXT;
7949 : }
7950 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawMultiIndexedEXT", (PFN_vkVoidFunction)__fn); }
7951 : __fn(commandBuffer, drawCount, pIndexInfo, instanceCount, firstInstance, stride, pVertexOffset);
7952 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawMultiIndexedEXT", (PFN_vkVoidFunction)__fn); }
7953 : }
7954 :
7955 : #endif /* defined(VK_EXT_multi_draw) */
7956 :
7957 : #if defined(VK_EXT_opacity_micromap)
7958 :
7959 : static VkResult xl_hook_tl_deviceHookTable_vkCreateMicromapEXT(VkDevice device, const VkMicromapCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkMicromapEXT* pMicromap) {
7960 : auto __fn = tl_deviceHookTable.table->vkCreateMicromapEXT;
7961 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateMicromapEXT) {
7962 : __fn = tl_deviceHookTable.replace->vkCreateMicromapEXT;
7963 : }
7964 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateMicromapEXT", (PFN_vkVoidFunction)__fn); }
7965 : auto ret = __fn(device, pCreateInfo, pAllocator, pMicromap);
7966 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateMicromapEXT", (PFN_vkVoidFunction)__fn); }
7967 : return ret;
7968 : }
7969 :
7970 : static void xl_hook_tl_deviceHookTable_vkDestroyMicromapEXT(VkDevice device, VkMicromapEXT micromap, const VkAllocationCallbacks* pAllocator) {
7971 : auto __fn = tl_deviceHookTable.table->vkDestroyMicromapEXT;
7972 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyMicromapEXT) {
7973 : __fn = tl_deviceHookTable.replace->vkDestroyMicromapEXT;
7974 : }
7975 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyMicromapEXT", (PFN_vkVoidFunction)__fn); }
7976 : __fn(device, micromap, pAllocator);
7977 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyMicromapEXT", (PFN_vkVoidFunction)__fn); }
7978 : }
7979 :
7980 : static void xl_hook_tl_deviceHookTable_vkCmdBuildMicromapsEXT(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkMicromapBuildInfoEXT* pInfos) {
7981 : auto __fn = tl_deviceHookTable.table->vkCmdBuildMicromapsEXT;
7982 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBuildMicromapsEXT) {
7983 : __fn = tl_deviceHookTable.replace->vkCmdBuildMicromapsEXT;
7984 : }
7985 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBuildMicromapsEXT", (PFN_vkVoidFunction)__fn); }
7986 : __fn(commandBuffer, infoCount, pInfos);
7987 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBuildMicromapsEXT", (PFN_vkVoidFunction)__fn); }
7988 : }
7989 :
7990 : static VkResult xl_hook_tl_deviceHookTable_vkBuildMicromapsEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkMicromapBuildInfoEXT* pInfos) {
7991 : auto __fn = tl_deviceHookTable.table->vkBuildMicromapsEXT;
7992 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBuildMicromapsEXT) {
7993 : __fn = tl_deviceHookTable.replace->vkBuildMicromapsEXT;
7994 : }
7995 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBuildMicromapsEXT", (PFN_vkVoidFunction)__fn); }
7996 : auto ret = __fn(device, deferredOperation, infoCount, pInfos);
7997 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBuildMicromapsEXT", (PFN_vkVoidFunction)__fn); }
7998 : return ret;
7999 : }
8000 :
8001 : static VkResult xl_hook_tl_deviceHookTable_vkCopyMicromapEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMicromapInfoEXT* pInfo) {
8002 : auto __fn = tl_deviceHookTable.table->vkCopyMicromapEXT;
8003 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyMicromapEXT) {
8004 : __fn = tl_deviceHookTable.replace->vkCopyMicromapEXT;
8005 : }
8006 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyMicromapEXT", (PFN_vkVoidFunction)__fn); }
8007 : auto ret = __fn(device, deferredOperation, pInfo);
8008 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyMicromapEXT", (PFN_vkVoidFunction)__fn); }
8009 : return ret;
8010 : }
8011 :
8012 : static VkResult xl_hook_tl_deviceHookTable_vkCopyMicromapToMemoryEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMicromapToMemoryInfoEXT* pInfo) {
8013 : auto __fn = tl_deviceHookTable.table->vkCopyMicromapToMemoryEXT;
8014 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyMicromapToMemoryEXT) {
8015 : __fn = tl_deviceHookTable.replace->vkCopyMicromapToMemoryEXT;
8016 : }
8017 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyMicromapToMemoryEXT", (PFN_vkVoidFunction)__fn); }
8018 : auto ret = __fn(device, deferredOperation, pInfo);
8019 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyMicromapToMemoryEXT", (PFN_vkVoidFunction)__fn); }
8020 : return ret;
8021 : }
8022 :
8023 : static VkResult xl_hook_tl_deviceHookTable_vkCopyMemoryToMicromapEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToMicromapInfoEXT* pInfo) {
8024 : auto __fn = tl_deviceHookTable.table->vkCopyMemoryToMicromapEXT;
8025 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCopyMemoryToMicromapEXT) {
8026 : __fn = tl_deviceHookTable.replace->vkCopyMemoryToMicromapEXT;
8027 : }
8028 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCopyMemoryToMicromapEXT", (PFN_vkVoidFunction)__fn); }
8029 : auto ret = __fn(device, deferredOperation, pInfo);
8030 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCopyMemoryToMicromapEXT", (PFN_vkVoidFunction)__fn); }
8031 : return ret;
8032 : }
8033 :
8034 : static VkResult xl_hook_tl_deviceHookTable_vkWriteMicromapsPropertiesEXT(VkDevice device, uint32_t micromapCount, const VkMicromapEXT* pMicromaps, VkQueryType queryType, size_t dataSize, void* pData, size_t stride) {
8035 : auto __fn = tl_deviceHookTable.table->vkWriteMicromapsPropertiesEXT;
8036 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkWriteMicromapsPropertiesEXT) {
8037 : __fn = tl_deviceHookTable.replace->vkWriteMicromapsPropertiesEXT;
8038 : }
8039 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkWriteMicromapsPropertiesEXT", (PFN_vkVoidFunction)__fn); }
8040 : auto ret = __fn(device, micromapCount, pMicromaps, queryType, dataSize, pData, stride);
8041 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkWriteMicromapsPropertiesEXT", (PFN_vkVoidFunction)__fn); }
8042 : return ret;
8043 : }
8044 :
8045 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMicromapEXT(VkCommandBuffer commandBuffer, const VkCopyMicromapInfoEXT* pInfo) {
8046 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMicromapEXT;
8047 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMicromapEXT) {
8048 : __fn = tl_deviceHookTable.replace->vkCmdCopyMicromapEXT;
8049 : }
8050 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMicromapEXT", (PFN_vkVoidFunction)__fn); }
8051 : __fn(commandBuffer, pInfo);
8052 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMicromapEXT", (PFN_vkVoidFunction)__fn); }
8053 : }
8054 :
8055 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMicromapToMemoryEXT(VkCommandBuffer commandBuffer, const VkCopyMicromapToMemoryInfoEXT* pInfo) {
8056 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMicromapToMemoryEXT;
8057 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMicromapToMemoryEXT) {
8058 : __fn = tl_deviceHookTable.replace->vkCmdCopyMicromapToMemoryEXT;
8059 : }
8060 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMicromapToMemoryEXT", (PFN_vkVoidFunction)__fn); }
8061 : __fn(commandBuffer, pInfo);
8062 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMicromapToMemoryEXT", (PFN_vkVoidFunction)__fn); }
8063 : }
8064 :
8065 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToMicromapEXT(VkCommandBuffer commandBuffer, const VkCopyMemoryToMicromapInfoEXT* pInfo) {
8066 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMemoryToMicromapEXT;
8067 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMemoryToMicromapEXT) {
8068 : __fn = tl_deviceHookTable.replace->vkCmdCopyMemoryToMicromapEXT;
8069 : }
8070 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToMicromapEXT", (PFN_vkVoidFunction)__fn); }
8071 : __fn(commandBuffer, pInfo);
8072 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToMicromapEXT", (PFN_vkVoidFunction)__fn); }
8073 : }
8074 :
8075 : static void xl_hook_tl_deviceHookTable_vkCmdWriteMicromapsPropertiesEXT(VkCommandBuffer commandBuffer, uint32_t micromapCount, const VkMicromapEXT* pMicromaps, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery) {
8076 : auto __fn = tl_deviceHookTable.table->vkCmdWriteMicromapsPropertiesEXT;
8077 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdWriteMicromapsPropertiesEXT) {
8078 : __fn = tl_deviceHookTable.replace->vkCmdWriteMicromapsPropertiesEXT;
8079 : }
8080 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdWriteMicromapsPropertiesEXT", (PFN_vkVoidFunction)__fn); }
8081 : __fn(commandBuffer, micromapCount, pMicromaps, queryType, queryPool, firstQuery);
8082 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdWriteMicromapsPropertiesEXT", (PFN_vkVoidFunction)__fn); }
8083 : }
8084 :
8085 : static void xl_hook_tl_deviceHookTable_vkGetDeviceMicromapCompatibilityEXT(VkDevice device, const VkMicromapVersionInfoEXT* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility) {
8086 : auto __fn = tl_deviceHookTable.table->vkGetDeviceMicromapCompatibilityEXT;
8087 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceMicromapCompatibilityEXT) {
8088 : __fn = tl_deviceHookTable.replace->vkGetDeviceMicromapCompatibilityEXT;
8089 : }
8090 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceMicromapCompatibilityEXT", (PFN_vkVoidFunction)__fn); }
8091 : __fn(device, pVersionInfo, pCompatibility);
8092 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceMicromapCompatibilityEXT", (PFN_vkVoidFunction)__fn); }
8093 : }
8094 :
8095 : static void xl_hook_tl_deviceHookTable_vkGetMicromapBuildSizesEXT(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkMicromapBuildInfoEXT* pBuildInfo, VkMicromapBuildSizesInfoEXT* pSizeInfo) {
8096 : auto __fn = tl_deviceHookTable.table->vkGetMicromapBuildSizesEXT;
8097 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetMicromapBuildSizesEXT) {
8098 : __fn = tl_deviceHookTable.replace->vkGetMicromapBuildSizesEXT;
8099 : }
8100 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetMicromapBuildSizesEXT", (PFN_vkVoidFunction)__fn); }
8101 : __fn(device, buildType, pBuildInfo, pSizeInfo);
8102 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetMicromapBuildSizesEXT", (PFN_vkVoidFunction)__fn); }
8103 : }
8104 :
8105 : #endif /* defined(VK_EXT_opacity_micromap) */
8106 :
8107 : #if defined(VK_HUAWEI_cluster_culling_shader)
8108 :
8109 : static void xl_hook_tl_deviceHookTable_vkCmdDrawClusterHUAWEI(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ) {
8110 : auto __fn = tl_deviceHookTable.table->vkCmdDrawClusterHUAWEI;
8111 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawClusterHUAWEI) {
8112 : __fn = tl_deviceHookTable.replace->vkCmdDrawClusterHUAWEI;
8113 : }
8114 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawClusterHUAWEI", (PFN_vkVoidFunction)__fn); }
8115 : __fn(commandBuffer, groupCountX, groupCountY, groupCountZ);
8116 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawClusterHUAWEI", (PFN_vkVoidFunction)__fn); }
8117 : }
8118 :
8119 : static void xl_hook_tl_deviceHookTable_vkCmdDrawClusterIndirectHUAWEI(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) {
8120 : auto __fn = tl_deviceHookTable.table->vkCmdDrawClusterIndirectHUAWEI;
8121 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDrawClusterIndirectHUAWEI) {
8122 : __fn = tl_deviceHookTable.replace->vkCmdDrawClusterIndirectHUAWEI;
8123 : }
8124 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDrawClusterIndirectHUAWEI", (PFN_vkVoidFunction)__fn); }
8125 : __fn(commandBuffer, buffer, offset);
8126 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDrawClusterIndirectHUAWEI", (PFN_vkVoidFunction)__fn); }
8127 : }
8128 :
8129 : #endif /* defined(VK_HUAWEI_cluster_culling_shader) */
8130 :
8131 : #if defined(VK_EXT_pageable_device_local_memory)
8132 :
8133 : static void xl_hook_tl_deviceHookTable_vkSetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority) {
8134 : auto __fn = tl_deviceHookTable.table->vkSetDeviceMemoryPriorityEXT;
8135 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkSetDeviceMemoryPriorityEXT) {
8136 : __fn = tl_deviceHookTable.replace->vkSetDeviceMemoryPriorityEXT;
8137 : }
8138 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkSetDeviceMemoryPriorityEXT", (PFN_vkVoidFunction)__fn); }
8139 : __fn(device, memory, priority);
8140 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkSetDeviceMemoryPriorityEXT", (PFN_vkVoidFunction)__fn); }
8141 : }
8142 :
8143 : #endif /* defined(VK_EXT_pageable_device_local_memory) */
8144 :
8145 : #if defined(VK_KHR_maintenance4)
8146 :
8147 : static void xl_hook_tl_deviceHookTable_vkGetDeviceBufferMemoryRequirementsKHR(VkDevice device, const VkDeviceBufferMemoryRequirementsKHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) {
8148 : auto __fn = tl_deviceHookTable.table->vkGetDeviceBufferMemoryRequirementsKHR;
8149 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceBufferMemoryRequirementsKHR) {
8150 : __fn = tl_deviceHookTable.replace->vkGetDeviceBufferMemoryRequirementsKHR;
8151 : }
8152 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceBufferMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8153 : __fn(device, pInfo, pMemoryRequirements);
8154 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceBufferMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8155 : }
8156 :
8157 : static void xl_hook_tl_deviceHookTable_vkGetDeviceImageMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirementsKHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) {
8158 : auto __fn = tl_deviceHookTable.table->vkGetDeviceImageMemoryRequirementsKHR;
8159 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceImageMemoryRequirementsKHR) {
8160 : __fn = tl_deviceHookTable.replace->vkGetDeviceImageMemoryRequirementsKHR;
8161 : }
8162 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceImageMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8163 : __fn(device, pInfo, pMemoryRequirements);
8164 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceImageMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8165 : }
8166 :
8167 : static void xl_hook_tl_deviceHookTable_vkGetDeviceImageSparseMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirementsKHR* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) {
8168 : auto __fn = tl_deviceHookTable.table->vkGetDeviceImageSparseMemoryRequirementsKHR;
8169 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceImageSparseMemoryRequirementsKHR) {
8170 : __fn = tl_deviceHookTable.replace->vkGetDeviceImageSparseMemoryRequirementsKHR;
8171 : }
8172 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSparseMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8173 : __fn(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
8174 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSparseMemoryRequirementsKHR", (PFN_vkVoidFunction)__fn); }
8175 : }
8176 :
8177 : #endif /* defined(VK_KHR_maintenance4) */
8178 :
8179 : #if defined(VK_VALVE_descriptor_set_host_mapping)
8180 :
8181 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutHostMappingInfoVALVE(VkDevice device, const VkDescriptorSetBindingReferenceVALVE* pBindingReference, VkDescriptorSetLayoutHostMappingInfoVALVE* pHostMapping) {
8182 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetLayoutHostMappingInfoVALVE;
8183 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetLayoutHostMappingInfoVALVE) {
8184 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetLayoutHostMappingInfoVALVE;
8185 : }
8186 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutHostMappingInfoVALVE", (PFN_vkVoidFunction)__fn); }
8187 : __fn(device, pBindingReference, pHostMapping);
8188 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetLayoutHostMappingInfoVALVE", (PFN_vkVoidFunction)__fn); }
8189 : }
8190 :
8191 : static void xl_hook_tl_deviceHookTable_vkGetDescriptorSetHostMappingVALVE(VkDevice device, VkDescriptorSet descriptorSet, void** ppData) {
8192 : auto __fn = tl_deviceHookTable.table->vkGetDescriptorSetHostMappingVALVE;
8193 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDescriptorSetHostMappingVALVE) {
8194 : __fn = tl_deviceHookTable.replace->vkGetDescriptorSetHostMappingVALVE;
8195 : }
8196 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetHostMappingVALVE", (PFN_vkVoidFunction)__fn); }
8197 : __fn(device, descriptorSet, ppData);
8198 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDescriptorSetHostMappingVALVE", (PFN_vkVoidFunction)__fn); }
8199 : }
8200 :
8201 : #endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
8202 :
8203 : #if defined(VK_NV_copy_memory_indirect)
8204 :
8205 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMemoryIndirectNV(VkCommandBuffer commandBuffer, VkDeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride) {
8206 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMemoryIndirectNV;
8207 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMemoryIndirectNV) {
8208 : __fn = tl_deviceHookTable.replace->vkCmdCopyMemoryIndirectNV;
8209 : }
8210 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryIndirectNV", (PFN_vkVoidFunction)__fn); }
8211 : __fn(commandBuffer, copyBufferAddress, copyCount, stride);
8212 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryIndirectNV", (PFN_vkVoidFunction)__fn); }
8213 : }
8214 :
8215 : static void xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToImageIndirectNV(VkCommandBuffer commandBuffer, VkDeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, VkImage dstImage, VkImageLayout dstImageLayout, const VkImageSubresourceLayers* pImageSubresources) {
8216 : auto __fn = tl_deviceHookTable.table->vkCmdCopyMemoryToImageIndirectNV;
8217 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdCopyMemoryToImageIndirectNV) {
8218 : __fn = tl_deviceHookTable.replace->vkCmdCopyMemoryToImageIndirectNV;
8219 : }
8220 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToImageIndirectNV", (PFN_vkVoidFunction)__fn); }
8221 : __fn(commandBuffer, copyBufferAddress, copyCount, stride, dstImage, dstImageLayout, pImageSubresources);
8222 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdCopyMemoryToImageIndirectNV", (PFN_vkVoidFunction)__fn); }
8223 : }
8224 :
8225 : #endif /* defined(VK_NV_copy_memory_indirect) */
8226 :
8227 : #if defined(VK_NV_memory_decompression)
8228 :
8229 : static void xl_hook_tl_deviceHookTable_vkCmdDecompressMemoryNV(VkCommandBuffer commandBuffer, uint32_t decompressRegionCount, const VkDecompressMemoryRegionNV* pDecompressMemoryRegions) {
8230 : auto __fn = tl_deviceHookTable.table->vkCmdDecompressMemoryNV;
8231 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDecompressMemoryNV) {
8232 : __fn = tl_deviceHookTable.replace->vkCmdDecompressMemoryNV;
8233 : }
8234 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDecompressMemoryNV", (PFN_vkVoidFunction)__fn); }
8235 : __fn(commandBuffer, decompressRegionCount, pDecompressMemoryRegions);
8236 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDecompressMemoryNV", (PFN_vkVoidFunction)__fn); }
8237 : }
8238 :
8239 : static void xl_hook_tl_deviceHookTable_vkCmdDecompressMemoryIndirectCountNV(VkCommandBuffer commandBuffer, VkDeviceAddress indirectCommandsAddress, VkDeviceAddress indirectCommandsCountAddress, uint32_t stride) {
8240 : auto __fn = tl_deviceHookTable.table->vkCmdDecompressMemoryIndirectCountNV;
8241 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdDecompressMemoryIndirectCountNV) {
8242 : __fn = tl_deviceHookTable.replace->vkCmdDecompressMemoryIndirectCountNV;
8243 : }
8244 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdDecompressMemoryIndirectCountNV", (PFN_vkVoidFunction)__fn); }
8245 : __fn(commandBuffer, indirectCommandsAddress, indirectCommandsCountAddress, stride);
8246 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdDecompressMemoryIndirectCountNV", (PFN_vkVoidFunction)__fn); }
8247 : }
8248 :
8249 : #endif /* defined(VK_NV_memory_decompression) */
8250 :
8251 : #if defined(VK_NV_device_generated_commands_compute)
8252 :
8253 : static void xl_hook_tl_deviceHookTable_vkGetPipelineIndirectMemoryRequirementsNV(VkDevice device, const VkComputePipelineCreateInfo* pCreateInfo, VkMemoryRequirements2* pMemoryRequirements) {
8254 : auto __fn = tl_deviceHookTable.table->vkGetPipelineIndirectMemoryRequirementsNV;
8255 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineIndirectMemoryRequirementsNV) {
8256 : __fn = tl_deviceHookTable.replace->vkGetPipelineIndirectMemoryRequirementsNV;
8257 : }
8258 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineIndirectMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
8259 : __fn(device, pCreateInfo, pMemoryRequirements);
8260 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineIndirectMemoryRequirementsNV", (PFN_vkVoidFunction)__fn); }
8261 : }
8262 :
8263 : static void xl_hook_tl_deviceHookTable_vkCmdUpdatePipelineIndirectBufferNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) {
8264 : auto __fn = tl_deviceHookTable.table->vkCmdUpdatePipelineIndirectBufferNV;
8265 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdUpdatePipelineIndirectBufferNV) {
8266 : __fn = tl_deviceHookTable.replace->vkCmdUpdatePipelineIndirectBufferNV;
8267 : }
8268 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdUpdatePipelineIndirectBufferNV", (PFN_vkVoidFunction)__fn); }
8269 : __fn(commandBuffer, pipelineBindPoint, pipeline);
8270 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdUpdatePipelineIndirectBufferNV", (PFN_vkVoidFunction)__fn); }
8271 : }
8272 :
8273 : static VkDeviceAddress xl_hook_tl_deviceHookTable_vkGetPipelineIndirectDeviceAddressNV(VkDevice device, const VkPipelineIndirectDeviceAddressInfoNV* pInfo) {
8274 : auto __fn = tl_deviceHookTable.table->vkGetPipelineIndirectDeviceAddressNV;
8275 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetPipelineIndirectDeviceAddressNV) {
8276 : __fn = tl_deviceHookTable.replace->vkGetPipelineIndirectDeviceAddressNV;
8277 : }
8278 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetPipelineIndirectDeviceAddressNV", (PFN_vkVoidFunction)__fn); }
8279 : auto ret = __fn(device, pInfo);
8280 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetPipelineIndirectDeviceAddressNV", (PFN_vkVoidFunction)__fn); }
8281 : return ret;
8282 : }
8283 :
8284 : #endif /* defined(VK_NV_device_generated_commands_compute) */
8285 :
8286 : #if defined(VK_EXT_extended_dynamic_state3)
8287 :
8288 : static void xl_hook_tl_deviceHookTable_vkCmdSetTessellationDomainOriginEXT(VkCommandBuffer commandBuffer, VkTessellationDomainOrigin domainOrigin) {
8289 : auto __fn = tl_deviceHookTable.table->vkCmdSetTessellationDomainOriginEXT;
8290 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetTessellationDomainOriginEXT) {
8291 : __fn = tl_deviceHookTable.replace->vkCmdSetTessellationDomainOriginEXT;
8292 : }
8293 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetTessellationDomainOriginEXT", (PFN_vkVoidFunction)__fn); }
8294 : __fn(commandBuffer, domainOrigin);
8295 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetTessellationDomainOriginEXT", (PFN_vkVoidFunction)__fn); }
8296 : }
8297 :
8298 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthClampEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthClampEnable) {
8299 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthClampEnableEXT;
8300 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthClampEnableEXT) {
8301 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthClampEnableEXT;
8302 : }
8303 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClampEnableEXT", (PFN_vkVoidFunction)__fn); }
8304 : __fn(commandBuffer, depthClampEnable);
8305 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClampEnableEXT", (PFN_vkVoidFunction)__fn); }
8306 : }
8307 :
8308 : static void xl_hook_tl_deviceHookTable_vkCmdSetPolygonModeEXT(VkCommandBuffer commandBuffer, VkPolygonMode polygonMode) {
8309 : auto __fn = tl_deviceHookTable.table->vkCmdSetPolygonModeEXT;
8310 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetPolygonModeEXT) {
8311 : __fn = tl_deviceHookTable.replace->vkCmdSetPolygonModeEXT;
8312 : }
8313 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetPolygonModeEXT", (PFN_vkVoidFunction)__fn); }
8314 : __fn(commandBuffer, polygonMode);
8315 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetPolygonModeEXT", (PFN_vkVoidFunction)__fn); }
8316 : }
8317 :
8318 : static void xl_hook_tl_deviceHookTable_vkCmdSetRasterizationSamplesEXT(VkCommandBuffer commandBuffer, VkSampleCountFlagBits rasterizationSamples) {
8319 : auto __fn = tl_deviceHookTable.table->vkCmdSetRasterizationSamplesEXT;
8320 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRasterizationSamplesEXT) {
8321 : __fn = tl_deviceHookTable.replace->vkCmdSetRasterizationSamplesEXT;
8322 : }
8323 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizationSamplesEXT", (PFN_vkVoidFunction)__fn); }
8324 : __fn(commandBuffer, rasterizationSamples);
8325 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizationSamplesEXT", (PFN_vkVoidFunction)__fn); }
8326 : }
8327 :
8328 : static void xl_hook_tl_deviceHookTable_vkCmdSetSampleMaskEXT(VkCommandBuffer commandBuffer, VkSampleCountFlagBits samples, const VkSampleMask* pSampleMask) {
8329 : auto __fn = tl_deviceHookTable.table->vkCmdSetSampleMaskEXT;
8330 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetSampleMaskEXT) {
8331 : __fn = tl_deviceHookTable.replace->vkCmdSetSampleMaskEXT;
8332 : }
8333 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetSampleMaskEXT", (PFN_vkVoidFunction)__fn); }
8334 : __fn(commandBuffer, samples, pSampleMask);
8335 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetSampleMaskEXT", (PFN_vkVoidFunction)__fn); }
8336 : }
8337 :
8338 : static void xl_hook_tl_deviceHookTable_vkCmdSetAlphaToCoverageEnableEXT(VkCommandBuffer commandBuffer, VkBool32 alphaToCoverageEnable) {
8339 : auto __fn = tl_deviceHookTable.table->vkCmdSetAlphaToCoverageEnableEXT;
8340 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetAlphaToCoverageEnableEXT) {
8341 : __fn = tl_deviceHookTable.replace->vkCmdSetAlphaToCoverageEnableEXT;
8342 : }
8343 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetAlphaToCoverageEnableEXT", (PFN_vkVoidFunction)__fn); }
8344 : __fn(commandBuffer, alphaToCoverageEnable);
8345 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetAlphaToCoverageEnableEXT", (PFN_vkVoidFunction)__fn); }
8346 : }
8347 :
8348 : static void xl_hook_tl_deviceHookTable_vkCmdSetAlphaToOneEnableEXT(VkCommandBuffer commandBuffer, VkBool32 alphaToOneEnable) {
8349 : auto __fn = tl_deviceHookTable.table->vkCmdSetAlphaToOneEnableEXT;
8350 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetAlphaToOneEnableEXT) {
8351 : __fn = tl_deviceHookTable.replace->vkCmdSetAlphaToOneEnableEXT;
8352 : }
8353 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetAlphaToOneEnableEXT", (PFN_vkVoidFunction)__fn); }
8354 : __fn(commandBuffer, alphaToOneEnable);
8355 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetAlphaToOneEnableEXT", (PFN_vkVoidFunction)__fn); }
8356 : }
8357 :
8358 : static void xl_hook_tl_deviceHookTable_vkCmdSetLogicOpEnableEXT(VkCommandBuffer commandBuffer, VkBool32 logicOpEnable) {
8359 : auto __fn = tl_deviceHookTable.table->vkCmdSetLogicOpEnableEXT;
8360 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLogicOpEnableEXT) {
8361 : __fn = tl_deviceHookTable.replace->vkCmdSetLogicOpEnableEXT;
8362 : }
8363 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLogicOpEnableEXT", (PFN_vkVoidFunction)__fn); }
8364 : __fn(commandBuffer, logicOpEnable);
8365 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLogicOpEnableEXT", (PFN_vkVoidFunction)__fn); }
8366 : }
8367 :
8368 : static void xl_hook_tl_deviceHookTable_vkCmdSetColorBlendEnableEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkBool32* pColorBlendEnables) {
8369 : auto __fn = tl_deviceHookTable.table->vkCmdSetColorBlendEnableEXT;
8370 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetColorBlendEnableEXT) {
8371 : __fn = tl_deviceHookTable.replace->vkCmdSetColorBlendEnableEXT;
8372 : }
8373 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendEnableEXT", (PFN_vkVoidFunction)__fn); }
8374 : __fn(commandBuffer, firstAttachment, attachmentCount, pColorBlendEnables);
8375 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendEnableEXT", (PFN_vkVoidFunction)__fn); }
8376 : }
8377 :
8378 : static void xl_hook_tl_deviceHookTable_vkCmdSetColorBlendEquationEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorBlendEquationEXT* pColorBlendEquations) {
8379 : auto __fn = tl_deviceHookTable.table->vkCmdSetColorBlendEquationEXT;
8380 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetColorBlendEquationEXT) {
8381 : __fn = tl_deviceHookTable.replace->vkCmdSetColorBlendEquationEXT;
8382 : }
8383 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendEquationEXT", (PFN_vkVoidFunction)__fn); }
8384 : __fn(commandBuffer, firstAttachment, attachmentCount, pColorBlendEquations);
8385 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendEquationEXT", (PFN_vkVoidFunction)__fn); }
8386 : }
8387 :
8388 : static void xl_hook_tl_deviceHookTable_vkCmdSetColorWriteMaskEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorComponentFlags* pColorWriteMasks) {
8389 : auto __fn = tl_deviceHookTable.table->vkCmdSetColorWriteMaskEXT;
8390 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetColorWriteMaskEXT) {
8391 : __fn = tl_deviceHookTable.replace->vkCmdSetColorWriteMaskEXT;
8392 : }
8393 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetColorWriteMaskEXT", (PFN_vkVoidFunction)__fn); }
8394 : __fn(commandBuffer, firstAttachment, attachmentCount, pColorWriteMasks);
8395 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetColorWriteMaskEXT", (PFN_vkVoidFunction)__fn); }
8396 : }
8397 :
8398 : static void xl_hook_tl_deviceHookTable_vkCmdSetRasterizationStreamEXT(VkCommandBuffer commandBuffer, uint32_t rasterizationStream) {
8399 : auto __fn = tl_deviceHookTable.table->vkCmdSetRasterizationStreamEXT;
8400 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRasterizationStreamEXT) {
8401 : __fn = tl_deviceHookTable.replace->vkCmdSetRasterizationStreamEXT;
8402 : }
8403 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizationStreamEXT", (PFN_vkVoidFunction)__fn); }
8404 : __fn(commandBuffer, rasterizationStream);
8405 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRasterizationStreamEXT", (PFN_vkVoidFunction)__fn); }
8406 : }
8407 :
8408 : static void xl_hook_tl_deviceHookTable_vkCmdSetConservativeRasterizationModeEXT(VkCommandBuffer commandBuffer, VkConservativeRasterizationModeEXT conservativeRasterizationMode) {
8409 : auto __fn = tl_deviceHookTable.table->vkCmdSetConservativeRasterizationModeEXT;
8410 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetConservativeRasterizationModeEXT) {
8411 : __fn = tl_deviceHookTable.replace->vkCmdSetConservativeRasterizationModeEXT;
8412 : }
8413 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetConservativeRasterizationModeEXT", (PFN_vkVoidFunction)__fn); }
8414 : __fn(commandBuffer, conservativeRasterizationMode);
8415 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetConservativeRasterizationModeEXT", (PFN_vkVoidFunction)__fn); }
8416 : }
8417 :
8418 : static void xl_hook_tl_deviceHookTable_vkCmdSetExtraPrimitiveOverestimationSizeEXT(VkCommandBuffer commandBuffer, float extraPrimitiveOverestimationSize) {
8419 : auto __fn = tl_deviceHookTable.table->vkCmdSetExtraPrimitiveOverestimationSizeEXT;
8420 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetExtraPrimitiveOverestimationSizeEXT) {
8421 : __fn = tl_deviceHookTable.replace->vkCmdSetExtraPrimitiveOverestimationSizeEXT;
8422 : }
8423 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetExtraPrimitiveOverestimationSizeEXT", (PFN_vkVoidFunction)__fn); }
8424 : __fn(commandBuffer, extraPrimitiveOverestimationSize);
8425 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetExtraPrimitiveOverestimationSizeEXT", (PFN_vkVoidFunction)__fn); }
8426 : }
8427 :
8428 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthClipEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthClipEnable) {
8429 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthClipEnableEXT;
8430 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthClipEnableEXT) {
8431 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthClipEnableEXT;
8432 : }
8433 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClipEnableEXT", (PFN_vkVoidFunction)__fn); }
8434 : __fn(commandBuffer, depthClipEnable);
8435 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClipEnableEXT", (PFN_vkVoidFunction)__fn); }
8436 : }
8437 :
8438 : static void xl_hook_tl_deviceHookTable_vkCmdSetSampleLocationsEnableEXT(VkCommandBuffer commandBuffer, VkBool32 sampleLocationsEnable) {
8439 : auto __fn = tl_deviceHookTable.table->vkCmdSetSampleLocationsEnableEXT;
8440 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetSampleLocationsEnableEXT) {
8441 : __fn = tl_deviceHookTable.replace->vkCmdSetSampleLocationsEnableEXT;
8442 : }
8443 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetSampleLocationsEnableEXT", (PFN_vkVoidFunction)__fn); }
8444 : __fn(commandBuffer, sampleLocationsEnable);
8445 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetSampleLocationsEnableEXT", (PFN_vkVoidFunction)__fn); }
8446 : }
8447 :
8448 : static void xl_hook_tl_deviceHookTable_vkCmdSetColorBlendAdvancedEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorBlendAdvancedEXT* pColorBlendAdvanced) {
8449 : auto __fn = tl_deviceHookTable.table->vkCmdSetColorBlendAdvancedEXT;
8450 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetColorBlendAdvancedEXT) {
8451 : __fn = tl_deviceHookTable.replace->vkCmdSetColorBlendAdvancedEXT;
8452 : }
8453 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendAdvancedEXT", (PFN_vkVoidFunction)__fn); }
8454 : __fn(commandBuffer, firstAttachment, attachmentCount, pColorBlendAdvanced);
8455 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetColorBlendAdvancedEXT", (PFN_vkVoidFunction)__fn); }
8456 : }
8457 :
8458 : static void xl_hook_tl_deviceHookTable_vkCmdSetProvokingVertexModeEXT(VkCommandBuffer commandBuffer, VkProvokingVertexModeEXT provokingVertexMode) {
8459 : auto __fn = tl_deviceHookTable.table->vkCmdSetProvokingVertexModeEXT;
8460 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetProvokingVertexModeEXT) {
8461 : __fn = tl_deviceHookTable.replace->vkCmdSetProvokingVertexModeEXT;
8462 : }
8463 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetProvokingVertexModeEXT", (PFN_vkVoidFunction)__fn); }
8464 : __fn(commandBuffer, provokingVertexMode);
8465 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetProvokingVertexModeEXT", (PFN_vkVoidFunction)__fn); }
8466 : }
8467 :
8468 : static void xl_hook_tl_deviceHookTable_vkCmdSetLineRasterizationModeEXT(VkCommandBuffer commandBuffer, VkLineRasterizationModeEXT lineRasterizationMode) {
8469 : auto __fn = tl_deviceHookTable.table->vkCmdSetLineRasterizationModeEXT;
8470 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLineRasterizationModeEXT) {
8471 : __fn = tl_deviceHookTable.replace->vkCmdSetLineRasterizationModeEXT;
8472 : }
8473 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLineRasterizationModeEXT", (PFN_vkVoidFunction)__fn); }
8474 : __fn(commandBuffer, lineRasterizationMode);
8475 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLineRasterizationModeEXT", (PFN_vkVoidFunction)__fn); }
8476 : }
8477 :
8478 : static void xl_hook_tl_deviceHookTable_vkCmdSetLineStippleEnableEXT(VkCommandBuffer commandBuffer, VkBool32 stippledLineEnable) {
8479 : auto __fn = tl_deviceHookTable.table->vkCmdSetLineStippleEnableEXT;
8480 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetLineStippleEnableEXT) {
8481 : __fn = tl_deviceHookTable.replace->vkCmdSetLineStippleEnableEXT;
8482 : }
8483 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetLineStippleEnableEXT", (PFN_vkVoidFunction)__fn); }
8484 : __fn(commandBuffer, stippledLineEnable);
8485 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetLineStippleEnableEXT", (PFN_vkVoidFunction)__fn); }
8486 : }
8487 :
8488 : static void xl_hook_tl_deviceHookTable_vkCmdSetDepthClipNegativeOneToOneEXT(VkCommandBuffer commandBuffer, VkBool32 negativeOneToOne) {
8489 : auto __fn = tl_deviceHookTable.table->vkCmdSetDepthClipNegativeOneToOneEXT;
8490 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetDepthClipNegativeOneToOneEXT) {
8491 : __fn = tl_deviceHookTable.replace->vkCmdSetDepthClipNegativeOneToOneEXT;
8492 : }
8493 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClipNegativeOneToOneEXT", (PFN_vkVoidFunction)__fn); }
8494 : __fn(commandBuffer, negativeOneToOne);
8495 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetDepthClipNegativeOneToOneEXT", (PFN_vkVoidFunction)__fn); }
8496 : }
8497 :
8498 : #endif /* defined(VK_EXT_extended_dynamic_state3) */
8499 :
8500 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling))
8501 :
8502 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportWScalingEnableNV(VkCommandBuffer commandBuffer, VkBool32 viewportWScalingEnable) {
8503 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportWScalingEnableNV;
8504 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportWScalingEnableNV) {
8505 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportWScalingEnableNV;
8506 : }
8507 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWScalingEnableNV", (PFN_vkVoidFunction)__fn); }
8508 : __fn(commandBuffer, viewportWScalingEnable);
8509 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportWScalingEnableNV", (PFN_vkVoidFunction)__fn); }
8510 : }
8511 :
8512 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling)) */
8513 :
8514 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode))
8515 :
8516 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageReductionModeNV(VkCommandBuffer commandBuffer, VkCoverageReductionModeNV coverageReductionMode) {
8517 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageReductionModeNV;
8518 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageReductionModeNV) {
8519 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageReductionModeNV;
8520 : }
8521 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageReductionModeNV", (PFN_vkVoidFunction)__fn); }
8522 : __fn(commandBuffer, coverageReductionMode);
8523 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageReductionModeNV", (PFN_vkVoidFunction)__fn); }
8524 : }
8525 :
8526 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode)) */
8527 :
8528 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color))
8529 :
8530 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageToColorEnableNV(VkCommandBuffer commandBuffer, VkBool32 coverageToColorEnable) {
8531 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageToColorEnableNV;
8532 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageToColorEnableNV) {
8533 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageToColorEnableNV;
8534 : }
8535 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageToColorEnableNV", (PFN_vkVoidFunction)__fn); }
8536 : __fn(commandBuffer, coverageToColorEnable);
8537 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageToColorEnableNV", (PFN_vkVoidFunction)__fn); }
8538 : }
8539 :
8540 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageToColorLocationNV(VkCommandBuffer commandBuffer, uint32_t coverageToColorLocation) {
8541 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageToColorLocationNV;
8542 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageToColorLocationNV) {
8543 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageToColorLocationNV;
8544 : }
8545 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageToColorLocationNV", (PFN_vkVoidFunction)__fn); }
8546 : __fn(commandBuffer, coverageToColorLocation);
8547 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageToColorLocationNV", (PFN_vkVoidFunction)__fn); }
8548 : }
8549 :
8550 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color)) */
8551 :
8552 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples))
8553 :
8554 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationModeNV(VkCommandBuffer commandBuffer, VkCoverageModulationModeNV coverageModulationMode) {
8555 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageModulationModeNV;
8556 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageModulationModeNV) {
8557 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageModulationModeNV;
8558 : }
8559 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationModeNV", (PFN_vkVoidFunction)__fn); }
8560 : __fn(commandBuffer, coverageModulationMode);
8561 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationModeNV", (PFN_vkVoidFunction)__fn); }
8562 : }
8563 :
8564 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationTableEnableNV(VkCommandBuffer commandBuffer, VkBool32 coverageModulationTableEnable) {
8565 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageModulationTableEnableNV;
8566 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageModulationTableEnableNV) {
8567 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageModulationTableEnableNV;
8568 : }
8569 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationTableEnableNV", (PFN_vkVoidFunction)__fn); }
8570 : __fn(commandBuffer, coverageModulationTableEnable);
8571 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationTableEnableNV", (PFN_vkVoidFunction)__fn); }
8572 : }
8573 :
8574 : static void xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationTableNV(VkCommandBuffer commandBuffer, uint32_t coverageModulationTableCount, const float* pCoverageModulationTable) {
8575 : auto __fn = tl_deviceHookTable.table->vkCmdSetCoverageModulationTableNV;
8576 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetCoverageModulationTableNV) {
8577 : __fn = tl_deviceHookTable.replace->vkCmdSetCoverageModulationTableNV;
8578 : }
8579 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationTableNV", (PFN_vkVoidFunction)__fn); }
8580 : __fn(commandBuffer, coverageModulationTableCount, pCoverageModulationTable);
8581 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetCoverageModulationTableNV", (PFN_vkVoidFunction)__fn); }
8582 : }
8583 :
8584 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples)) */
8585 :
8586 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test))
8587 :
8588 : static void xl_hook_tl_deviceHookTable_vkCmdSetRepresentativeFragmentTestEnableNV(VkCommandBuffer commandBuffer, VkBool32 representativeFragmentTestEnable) {
8589 : auto __fn = tl_deviceHookTable.table->vkCmdSetRepresentativeFragmentTestEnableNV;
8590 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetRepresentativeFragmentTestEnableNV) {
8591 : __fn = tl_deviceHookTable.replace->vkCmdSetRepresentativeFragmentTestEnableNV;
8592 : }
8593 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetRepresentativeFragmentTestEnableNV", (PFN_vkVoidFunction)__fn); }
8594 : __fn(commandBuffer, representativeFragmentTestEnable);
8595 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetRepresentativeFragmentTestEnableNV", (PFN_vkVoidFunction)__fn); }
8596 : }
8597 :
8598 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test)) */
8599 :
8600 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image))
8601 :
8602 : static void xl_hook_tl_deviceHookTable_vkCmdSetShadingRateImageEnableNV(VkCommandBuffer commandBuffer, VkBool32 shadingRateImageEnable) {
8603 : auto __fn = tl_deviceHookTable.table->vkCmdSetShadingRateImageEnableNV;
8604 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetShadingRateImageEnableNV) {
8605 : __fn = tl_deviceHookTable.replace->vkCmdSetShadingRateImageEnableNV;
8606 : }
8607 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetShadingRateImageEnableNV", (PFN_vkVoidFunction)__fn); }
8608 : __fn(commandBuffer, shadingRateImageEnable);
8609 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetShadingRateImageEnableNV", (PFN_vkVoidFunction)__fn); }
8610 : }
8611 :
8612 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image)) */
8613 :
8614 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle))
8615 :
8616 : static void xl_hook_tl_deviceHookTable_vkCmdSetViewportSwizzleNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportSwizzleNV* pViewportSwizzles) {
8617 : auto __fn = tl_deviceHookTable.table->vkCmdSetViewportSwizzleNV;
8618 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetViewportSwizzleNV) {
8619 : __fn = tl_deviceHookTable.replace->vkCmdSetViewportSwizzleNV;
8620 : }
8621 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetViewportSwizzleNV", (PFN_vkVoidFunction)__fn); }
8622 : __fn(commandBuffer, firstViewport, viewportCount, pViewportSwizzles);
8623 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetViewportSwizzleNV", (PFN_vkVoidFunction)__fn); }
8624 : }
8625 :
8626 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle)) */
8627 :
8628 : #if defined(VK_EXT_shader_module_identifier)
8629 :
8630 : static void xl_hook_tl_deviceHookTable_vkGetShaderModuleIdentifierEXT(VkDevice device, VkShaderModule shaderModule, VkShaderModuleIdentifierEXT* pIdentifier) {
8631 : auto __fn = tl_deviceHookTable.table->vkGetShaderModuleIdentifierEXT;
8632 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetShaderModuleIdentifierEXT) {
8633 : __fn = tl_deviceHookTable.replace->vkGetShaderModuleIdentifierEXT;
8634 : }
8635 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetShaderModuleIdentifierEXT", (PFN_vkVoidFunction)__fn); }
8636 : __fn(device, shaderModule, pIdentifier);
8637 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetShaderModuleIdentifierEXT", (PFN_vkVoidFunction)__fn); }
8638 : }
8639 :
8640 : static void xl_hook_tl_deviceHookTable_vkGetShaderModuleCreateInfoIdentifierEXT(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, VkShaderModuleIdentifierEXT* pIdentifier) {
8641 : auto __fn = tl_deviceHookTable.table->vkGetShaderModuleCreateInfoIdentifierEXT;
8642 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetShaderModuleCreateInfoIdentifierEXT) {
8643 : __fn = tl_deviceHookTable.replace->vkGetShaderModuleCreateInfoIdentifierEXT;
8644 : }
8645 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetShaderModuleCreateInfoIdentifierEXT", (PFN_vkVoidFunction)__fn); }
8646 : __fn(device, pCreateInfo, pIdentifier);
8647 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetShaderModuleCreateInfoIdentifierEXT", (PFN_vkVoidFunction)__fn); }
8648 : }
8649 :
8650 : #endif /* defined(VK_EXT_shader_module_identifier) */
8651 :
8652 : #if defined(VK_NV_optical_flow)
8653 :
8654 : static VkResult xl_hook_tl_deviceHookTable_vkCreateOpticalFlowSessionNV(VkDevice device, const VkOpticalFlowSessionCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkOpticalFlowSessionNV* pSession) {
8655 : auto __fn = tl_deviceHookTable.table->vkCreateOpticalFlowSessionNV;
8656 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateOpticalFlowSessionNV) {
8657 : __fn = tl_deviceHookTable.replace->vkCreateOpticalFlowSessionNV;
8658 : }
8659 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateOpticalFlowSessionNV", (PFN_vkVoidFunction)__fn); }
8660 : auto ret = __fn(device, pCreateInfo, pAllocator, pSession);
8661 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateOpticalFlowSessionNV", (PFN_vkVoidFunction)__fn); }
8662 : return ret;
8663 : }
8664 :
8665 : static void xl_hook_tl_deviceHookTable_vkDestroyOpticalFlowSessionNV(VkDevice device, VkOpticalFlowSessionNV session, const VkAllocationCallbacks* pAllocator) {
8666 : auto __fn = tl_deviceHookTable.table->vkDestroyOpticalFlowSessionNV;
8667 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyOpticalFlowSessionNV) {
8668 : __fn = tl_deviceHookTable.replace->vkDestroyOpticalFlowSessionNV;
8669 : }
8670 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyOpticalFlowSessionNV", (PFN_vkVoidFunction)__fn); }
8671 : __fn(device, session, pAllocator);
8672 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyOpticalFlowSessionNV", (PFN_vkVoidFunction)__fn); }
8673 : }
8674 :
8675 : static VkResult xl_hook_tl_deviceHookTable_vkBindOpticalFlowSessionImageNV(VkDevice device, VkOpticalFlowSessionNV session, VkOpticalFlowSessionBindingPointNV bindingPoint, VkImageView view, VkImageLayout layout) {
8676 : auto __fn = tl_deviceHookTable.table->vkBindOpticalFlowSessionImageNV;
8677 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkBindOpticalFlowSessionImageNV) {
8678 : __fn = tl_deviceHookTable.replace->vkBindOpticalFlowSessionImageNV;
8679 : }
8680 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkBindOpticalFlowSessionImageNV", (PFN_vkVoidFunction)__fn); }
8681 : auto ret = __fn(device, session, bindingPoint, view, layout);
8682 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkBindOpticalFlowSessionImageNV", (PFN_vkVoidFunction)__fn); }
8683 : return ret;
8684 : }
8685 :
8686 : static void xl_hook_tl_deviceHookTable_vkCmdOpticalFlowExecuteNV(VkCommandBuffer commandBuffer, VkOpticalFlowSessionNV session, const VkOpticalFlowExecuteInfoNV* pExecuteInfo) {
8687 : auto __fn = tl_deviceHookTable.table->vkCmdOpticalFlowExecuteNV;
8688 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdOpticalFlowExecuteNV) {
8689 : __fn = tl_deviceHookTable.replace->vkCmdOpticalFlowExecuteNV;
8690 : }
8691 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdOpticalFlowExecuteNV", (PFN_vkVoidFunction)__fn); }
8692 : __fn(commandBuffer, session, pExecuteInfo);
8693 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdOpticalFlowExecuteNV", (PFN_vkVoidFunction)__fn); }
8694 : }
8695 :
8696 : #endif /* defined(VK_NV_optical_flow) */
8697 :
8698 : #if defined(VK_KHR_maintenance5)
8699 :
8700 : static void xl_hook_tl_deviceHookTable_vkCmdBindIndexBuffer2KHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkIndexType indexType) {
8701 : auto __fn = tl_deviceHookTable.table->vkCmdBindIndexBuffer2KHR;
8702 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindIndexBuffer2KHR) {
8703 : __fn = tl_deviceHookTable.replace->vkCmdBindIndexBuffer2KHR;
8704 : }
8705 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindIndexBuffer2KHR", (PFN_vkVoidFunction)__fn); }
8706 : __fn(commandBuffer, buffer, offset, size, indexType);
8707 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindIndexBuffer2KHR", (PFN_vkVoidFunction)__fn); }
8708 : }
8709 :
8710 : static void xl_hook_tl_deviceHookTable_vkGetRenderingAreaGranularityKHR(VkDevice device, const VkRenderingAreaInfoKHR* pRenderingAreaInfo, VkExtent2D* pGranularity) {
8711 : auto __fn = tl_deviceHookTable.table->vkGetRenderingAreaGranularityKHR;
8712 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetRenderingAreaGranularityKHR) {
8713 : __fn = tl_deviceHookTable.replace->vkGetRenderingAreaGranularityKHR;
8714 : }
8715 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetRenderingAreaGranularityKHR", (PFN_vkVoidFunction)__fn); }
8716 : __fn(device, pRenderingAreaInfo, pGranularity);
8717 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetRenderingAreaGranularityKHR", (PFN_vkVoidFunction)__fn); }
8718 : }
8719 :
8720 : static void xl_hook_tl_deviceHookTable_vkGetDeviceImageSubresourceLayoutKHR(VkDevice device, const VkDeviceImageSubresourceInfoKHR* pInfo, VkSubresourceLayout2KHR* pLayout) {
8721 : auto __fn = tl_deviceHookTable.table->vkGetDeviceImageSubresourceLayoutKHR;
8722 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDeviceImageSubresourceLayoutKHR) {
8723 : __fn = tl_deviceHookTable.replace->vkGetDeviceImageSubresourceLayoutKHR;
8724 : }
8725 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSubresourceLayoutKHR", (PFN_vkVoidFunction)__fn); }
8726 : __fn(device, pInfo, pLayout);
8727 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDeviceImageSubresourceLayoutKHR", (PFN_vkVoidFunction)__fn); }
8728 : }
8729 :
8730 : static void xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout2KHR(VkDevice device, VkImage image, const VkImageSubresource2KHR* pSubresource, VkSubresourceLayout2KHR* pLayout) {
8731 : auto __fn = tl_deviceHookTable.table->vkGetImageSubresourceLayout2KHR;
8732 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetImageSubresourceLayout2KHR) {
8733 : __fn = tl_deviceHookTable.replace->vkGetImageSubresourceLayout2KHR;
8734 : }
8735 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout2KHR", (PFN_vkVoidFunction)__fn); }
8736 : __fn(device, image, pSubresource, pLayout);
8737 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetImageSubresourceLayout2KHR", (PFN_vkVoidFunction)__fn); }
8738 : }
8739 :
8740 : #endif /* defined(VK_KHR_maintenance5) */
8741 :
8742 : #if defined(VK_EXT_shader_object)
8743 :
8744 : static VkResult xl_hook_tl_deviceHookTable_vkCreateShadersEXT(VkDevice device, uint32_t createInfoCount, const VkShaderCreateInfoEXT* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkShaderEXT* pShaders) {
8745 : auto __fn = tl_deviceHookTable.table->vkCreateShadersEXT;
8746 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateShadersEXT) {
8747 : __fn = tl_deviceHookTable.replace->vkCreateShadersEXT;
8748 : }
8749 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateShadersEXT", (PFN_vkVoidFunction)__fn); }
8750 : auto ret = __fn(device, createInfoCount, pCreateInfos, pAllocator, pShaders);
8751 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateShadersEXT", (PFN_vkVoidFunction)__fn); }
8752 : return ret;
8753 : }
8754 :
8755 : static void xl_hook_tl_deviceHookTable_vkDestroyShaderEXT(VkDevice device, VkShaderEXT shader, const VkAllocationCallbacks* pAllocator) {
8756 : auto __fn = tl_deviceHookTable.table->vkDestroyShaderEXT;
8757 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroyShaderEXT) {
8758 : __fn = tl_deviceHookTable.replace->vkDestroyShaderEXT;
8759 : }
8760 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroyShaderEXT", (PFN_vkVoidFunction)__fn); }
8761 : __fn(device, shader, pAllocator);
8762 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroyShaderEXT", (PFN_vkVoidFunction)__fn); }
8763 : }
8764 :
8765 : static VkResult xl_hook_tl_deviceHookTable_vkGetShaderBinaryDataEXT(VkDevice device, VkShaderEXT shader, size_t* pDataSize, void* pData) {
8766 : auto __fn = tl_deviceHookTable.table->vkGetShaderBinaryDataEXT;
8767 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetShaderBinaryDataEXT) {
8768 : __fn = tl_deviceHookTable.replace->vkGetShaderBinaryDataEXT;
8769 : }
8770 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetShaderBinaryDataEXT", (PFN_vkVoidFunction)__fn); }
8771 : auto ret = __fn(device, shader, pDataSize, pData);
8772 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetShaderBinaryDataEXT", (PFN_vkVoidFunction)__fn); }
8773 : return ret;
8774 : }
8775 :
8776 : static void xl_hook_tl_deviceHookTable_vkCmdBindShadersEXT(VkCommandBuffer commandBuffer, uint32_t stageCount, const VkShaderStageFlagBits* pStages, const VkShaderEXT* pShaders) {
8777 : auto __fn = tl_deviceHookTable.table->vkCmdBindShadersEXT;
8778 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdBindShadersEXT) {
8779 : __fn = tl_deviceHookTable.replace->vkCmdBindShadersEXT;
8780 : }
8781 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdBindShadersEXT", (PFN_vkVoidFunction)__fn); }
8782 : __fn(commandBuffer, stageCount, pStages, pShaders);
8783 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdBindShadersEXT", (PFN_vkVoidFunction)__fn); }
8784 : }
8785 :
8786 : #endif /* defined(VK_EXT_shader_object) */
8787 :
8788 : #if defined(VK_QCOM_tile_properties)
8789 :
8790 : static VkResult xl_hook_tl_deviceHookTable_vkGetFramebufferTilePropertiesQCOM(VkDevice device, VkFramebuffer framebuffer, uint32_t* pPropertiesCount, VkTilePropertiesQCOM* pProperties) {
8791 : auto __fn = tl_deviceHookTable.table->vkGetFramebufferTilePropertiesQCOM;
8792 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetFramebufferTilePropertiesQCOM) {
8793 : __fn = tl_deviceHookTable.replace->vkGetFramebufferTilePropertiesQCOM;
8794 : }
8795 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetFramebufferTilePropertiesQCOM", (PFN_vkVoidFunction)__fn); }
8796 : auto ret = __fn(device, framebuffer, pPropertiesCount, pProperties);
8797 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetFramebufferTilePropertiesQCOM", (PFN_vkVoidFunction)__fn); }
8798 : return ret;
8799 : }
8800 :
8801 : static VkResult xl_hook_tl_deviceHookTable_vkGetDynamicRenderingTilePropertiesQCOM(VkDevice device, const VkRenderingInfo* pRenderingInfo, VkTilePropertiesQCOM* pProperties) {
8802 : auto __fn = tl_deviceHookTable.table->vkGetDynamicRenderingTilePropertiesQCOM;
8803 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetDynamicRenderingTilePropertiesQCOM) {
8804 : __fn = tl_deviceHookTable.replace->vkGetDynamicRenderingTilePropertiesQCOM;
8805 : }
8806 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetDynamicRenderingTilePropertiesQCOM", (PFN_vkVoidFunction)__fn); }
8807 : auto ret = __fn(device, pRenderingInfo, pProperties);
8808 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetDynamicRenderingTilePropertiesQCOM", (PFN_vkVoidFunction)__fn); }
8809 : return ret;
8810 : }
8811 :
8812 : #endif /* defined(VK_QCOM_tile_properties) */
8813 :
8814 : #if defined(VK_NV_external_sci_sync2)
8815 :
8816 : static VkResult xl_hook_tl_deviceHookTable_vkCreateSemaphoreSciSyncPoolNV(VkDevice device, const VkSemaphoreSciSyncPoolCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphoreSciSyncPoolNV* pSemaphorePool) {
8817 : auto __fn = tl_deviceHookTable.table->vkCreateSemaphoreSciSyncPoolNV;
8818 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCreateSemaphoreSciSyncPoolNV) {
8819 : __fn = tl_deviceHookTable.replace->vkCreateSemaphoreSciSyncPoolNV;
8820 : }
8821 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCreateSemaphoreSciSyncPoolNV", (PFN_vkVoidFunction)__fn); }
8822 : auto ret = __fn(device, pCreateInfo, pAllocator, pSemaphorePool);
8823 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCreateSemaphoreSciSyncPoolNV", (PFN_vkVoidFunction)__fn); }
8824 : return ret;
8825 : }
8826 :
8827 : static void xl_hook_tl_deviceHookTable_vkDestroySemaphoreSciSyncPoolNV(VkDevice device, VkSemaphoreSciSyncPoolNV semaphorePool, const VkAllocationCallbacks* pAllocator) {
8828 : auto __fn = tl_deviceHookTable.table->vkDestroySemaphoreSciSyncPoolNV;
8829 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkDestroySemaphoreSciSyncPoolNV) {
8830 : __fn = tl_deviceHookTable.replace->vkDestroySemaphoreSciSyncPoolNV;
8831 : }
8832 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkDestroySemaphoreSciSyncPoolNV", (PFN_vkVoidFunction)__fn); }
8833 : __fn(device, semaphorePool, pAllocator);
8834 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkDestroySemaphoreSciSyncPoolNV", (PFN_vkVoidFunction)__fn); }
8835 : }
8836 :
8837 : #endif /* defined(VK_NV_external_sci_sync2) */
8838 :
8839 : #if defined(VK_EXT_attachment_feedback_loop_dynamic_state)
8840 :
8841 : static void xl_hook_tl_deviceHookTable_vkCmdSetAttachmentFeedbackLoopEnableEXT(VkCommandBuffer commandBuffer, VkImageAspectFlags aspectMask) {
8842 : auto __fn = tl_deviceHookTable.table->vkCmdSetAttachmentFeedbackLoopEnableEXT;
8843 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkCmdSetAttachmentFeedbackLoopEnableEXT) {
8844 : __fn = tl_deviceHookTable.replace->vkCmdSetAttachmentFeedbackLoopEnableEXT;
8845 : }
8846 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkCmdSetAttachmentFeedbackLoopEnableEXT", (PFN_vkVoidFunction)__fn); }
8847 : __fn(commandBuffer, aspectMask);
8848 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkCmdSetAttachmentFeedbackLoopEnableEXT", (PFN_vkVoidFunction)__fn); }
8849 : }
8850 :
8851 : #endif /* defined(VK_EXT_attachment_feedback_loop_dynamic_state) */
8852 :
8853 : #if defined(VK_QNX_external_memory_screen_buffer)
8854 :
8855 : static VkResult xl_hook_tl_deviceHookTable_vkGetScreenBufferPropertiesQNX(VkDevice device, const struct _screen_buffer* buffer, VkScreenBufferPropertiesQNX* pProperties) {
8856 : auto __fn = tl_deviceHookTable.table->vkGetScreenBufferPropertiesQNX;
8857 : if (tl_deviceHookTable.replace && tl_deviceHookTable.replace->vkGetScreenBufferPropertiesQNX) {
8858 : __fn = tl_deviceHookTable.replace->vkGetScreenBufferPropertiesQNX;
8859 : }
8860 : if (tl_deviceHookTable.preCall) { tl_deviceHookTable.preCall(tl_deviceHookTable.ctx, "vkGetScreenBufferPropertiesQNX", (PFN_vkVoidFunction)__fn); }
8861 : auto ret = __fn(device, buffer, pProperties);
8862 : if (tl_deviceHookTable.postCall) { tl_deviceHookTable.postCall(tl_deviceHookTable.ctx, "vkGetScreenBufferPropertiesQNX", (PFN_vkVoidFunction)__fn); }
8863 : return ret;
8864 : }
8865 :
8866 : #endif /* defined(VK_QNX_external_memory_screen_buffer) */
8867 :
8868 :
8869 : static PFN_vkVoidFunction getInstanceHookAddr(VkInstance instance, const char* pName) {
8870 : #if defined(VK_VERSION_1_0)
8871 : if (strcmp(pName, "vkGetInstanceProcAddr") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetInstanceProcAddr; }
8872 : if (strcmp(pName, "vkDestroyInstance") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkDestroyInstance; }
8873 : if (strcmp(pName, "vkEnumeratePhysicalDevices") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDevices; }
8874 : if (strcmp(pName, "vkGetPhysicalDeviceFeatures") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures; }
8875 : if (strcmp(pName, "vkGetPhysicalDeviceFormatProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties; }
8876 : if (strcmp(pName, "vkGetPhysicalDeviceImageFormatProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties; }
8877 : if (strcmp(pName, "vkGetPhysicalDeviceProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties; }
8878 : if (strcmp(pName, "vkGetPhysicalDeviceQueueFamilyProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties; }
8879 : if (strcmp(pName, "vkGetPhysicalDeviceMemoryProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties; }
8880 : if (strcmp(pName, "vkGetDeviceProcAddr") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDeviceProcAddr; }
8881 : if (strcmp(pName, "vkCreateDevice") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDevice; }
8882 : if (strcmp(pName, "vkEnumerateDeviceExtensionProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumerateDeviceExtensionProperties; }
8883 : if (strcmp(pName, "vkEnumerateDeviceLayerProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumerateDeviceLayerProperties; }
8884 : if (strcmp(pName, "vkGetPhysicalDeviceSparseImageFormatProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties; }
8885 : #endif /* defined(VK_VERSION_1_0) */
8886 : #if defined(VK_VERSION_1_1)
8887 : if (strcmp(pName, "vkEnumeratePhysicalDeviceGroups") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceGroups; }
8888 : if (strcmp(pName, "vkGetPhysicalDeviceFeatures2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures2; }
8889 : if (strcmp(pName, "vkGetPhysicalDeviceProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties2; }
8890 : if (strcmp(pName, "vkGetPhysicalDeviceFormatProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties2; }
8891 : if (strcmp(pName, "vkGetPhysicalDeviceImageFormatProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties2; }
8892 : if (strcmp(pName, "vkGetPhysicalDeviceQueueFamilyProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties2; }
8893 : if (strcmp(pName, "vkGetPhysicalDeviceMemoryProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties2; }
8894 : if (strcmp(pName, "vkGetPhysicalDeviceSparseImageFormatProperties2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties2; }
8895 : if (strcmp(pName, "vkGetPhysicalDeviceExternalBufferProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalBufferProperties; }
8896 : if (strcmp(pName, "vkGetPhysicalDeviceExternalFenceProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalFenceProperties; }
8897 : if (strcmp(pName, "vkGetPhysicalDeviceExternalSemaphoreProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalSemaphoreProperties; }
8898 : #endif /* defined(VK_VERSION_1_1) */
8899 : #if defined(VK_VERSION_1_3)
8900 : if (strcmp(pName, "vkGetPhysicalDeviceToolProperties") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceToolProperties; }
8901 : #endif /* defined(VK_VERSION_1_3) */
8902 : #if defined(VK_KHR_surface)
8903 : if (strcmp(pName, "vkDestroySurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkDestroySurfaceKHR; }
8904 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceSupportKHR; }
8905 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilitiesKHR; }
8906 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceFormatsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceFormatsKHR; }
8907 : if (strcmp(pName, "vkGetPhysicalDeviceSurfacePresentModesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfacePresentModesKHR; }
8908 : #endif /* defined(VK_KHR_surface) */
8909 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
8910 : if (strcmp(pName, "vkGetPhysicalDevicePresentRectanglesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDevicePresentRectanglesKHR; }
8911 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
8912 : #if defined(VK_KHR_display)
8913 : if (strcmp(pName, "vkGetPhysicalDeviceDisplayPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPropertiesKHR; }
8914 : if (strcmp(pName, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPlanePropertiesKHR; }
8915 : if (strcmp(pName, "vkGetDisplayPlaneSupportedDisplaysKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDisplayPlaneSupportedDisplaysKHR; }
8916 : if (strcmp(pName, "vkGetDisplayModePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDisplayModePropertiesKHR; }
8917 : if (strcmp(pName, "vkCreateDisplayModeKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDisplayModeKHR; }
8918 : if (strcmp(pName, "vkGetDisplayPlaneCapabilitiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDisplayPlaneCapabilitiesKHR; }
8919 : if (strcmp(pName, "vkCreateDisplayPlaneSurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDisplayPlaneSurfaceKHR; }
8920 : #endif /* defined(VK_KHR_display) */
8921 : #if defined(VK_KHR_xlib_surface)
8922 : if (strcmp(pName, "vkCreateXlibSurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateXlibSurfaceKHR; }
8923 : if (strcmp(pName, "vkGetPhysicalDeviceXlibPresentationSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceXlibPresentationSupportKHR; }
8924 : #endif /* defined(VK_KHR_xlib_surface) */
8925 : #if defined(VK_KHR_xcb_surface)
8926 : if (strcmp(pName, "vkCreateXcbSurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateXcbSurfaceKHR; }
8927 : if (strcmp(pName, "vkGetPhysicalDeviceXcbPresentationSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceXcbPresentationSupportKHR; }
8928 : #endif /* defined(VK_KHR_xcb_surface) */
8929 : #if defined(VK_KHR_wayland_surface)
8930 : if (strcmp(pName, "vkCreateWaylandSurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateWaylandSurfaceKHR; }
8931 : if (strcmp(pName, "vkGetPhysicalDeviceWaylandPresentationSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceWaylandPresentationSupportKHR; }
8932 : #endif /* defined(VK_KHR_wayland_surface) */
8933 : #if defined(VK_KHR_android_surface)
8934 : if (strcmp(pName, "vkCreateAndroidSurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateAndroidSurfaceKHR; }
8935 : #endif /* defined(VK_KHR_android_surface) */
8936 : #if defined(VK_KHR_win32_surface)
8937 : if (strcmp(pName, "vkCreateWin32SurfaceKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateWin32SurfaceKHR; }
8938 : if (strcmp(pName, "vkGetPhysicalDeviceWin32PresentationSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceWin32PresentationSupportKHR; }
8939 : #endif /* defined(VK_KHR_win32_surface) */
8940 : #if defined(VK_EXT_debug_report)
8941 : if (strcmp(pName, "vkCreateDebugReportCallbackEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDebugReportCallbackEXT; }
8942 : if (strcmp(pName, "vkDestroyDebugReportCallbackEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkDestroyDebugReportCallbackEXT; }
8943 : if (strcmp(pName, "vkDebugReportMessageEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkDebugReportMessageEXT; }
8944 : #endif /* defined(VK_EXT_debug_report) */
8945 : #if defined(VK_KHR_video_queue)
8946 : if (strcmp(pName, "vkGetPhysicalDeviceVideoCapabilitiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoCapabilitiesKHR; }
8947 : if (strcmp(pName, "vkGetPhysicalDeviceVideoFormatPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoFormatPropertiesKHR; }
8948 : #endif /* defined(VK_KHR_video_queue) */
8949 : #if defined(VK_GGP_stream_descriptor_surface)
8950 : if (strcmp(pName, "vkCreateStreamDescriptorSurfaceGGP") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateStreamDescriptorSurfaceGGP; }
8951 : #endif /* defined(VK_GGP_stream_descriptor_surface) */
8952 : #if defined(VK_NV_external_memory_capabilities)
8953 : if (strcmp(pName, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalImageFormatPropertiesNV; }
8954 : #endif /* defined(VK_NV_external_memory_capabilities) */
8955 : #if defined(VK_KHR_get_physical_device_properties2)
8956 : if (strcmp(pName, "vkGetPhysicalDeviceFeatures2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFeatures2KHR; }
8957 : if (strcmp(pName, "vkGetPhysicalDeviceProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceProperties2KHR; }
8958 : if (strcmp(pName, "vkGetPhysicalDeviceFormatProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFormatProperties2KHR; }
8959 : if (strcmp(pName, "vkGetPhysicalDeviceImageFormatProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceImageFormatProperties2KHR; }
8960 : if (strcmp(pName, "vkGetPhysicalDeviceQueueFamilyProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyProperties2KHR; }
8961 : if (strcmp(pName, "vkGetPhysicalDeviceMemoryProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMemoryProperties2KHR; }
8962 : if (strcmp(pName, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSparseImageFormatProperties2KHR; }
8963 : #endif /* defined(VK_KHR_get_physical_device_properties2) */
8964 : #if defined(VK_NN_vi_surface)
8965 : if (strcmp(pName, "vkCreateViSurfaceNN") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateViSurfaceNN; }
8966 : #endif /* defined(VK_NN_vi_surface) */
8967 : #if defined(VK_KHR_device_group_creation)
8968 : if (strcmp(pName, "vkEnumeratePhysicalDeviceGroupsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceGroupsKHR; }
8969 : #endif /* defined(VK_KHR_device_group_creation) */
8970 : #if defined(VK_KHR_external_memory_capabilities)
8971 : if (strcmp(pName, "vkGetPhysicalDeviceExternalBufferPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalBufferPropertiesKHR; }
8972 : #endif /* defined(VK_KHR_external_memory_capabilities) */
8973 : #if defined(VK_KHR_external_semaphore_capabilities)
8974 : if (strcmp(pName, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR; }
8975 : #endif /* defined(VK_KHR_external_semaphore_capabilities) */
8976 : #if defined(VK_EXT_direct_mode_display)
8977 : if (strcmp(pName, "vkReleaseDisplayEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkReleaseDisplayEXT; }
8978 : #endif /* defined(VK_EXT_direct_mode_display) */
8979 : #if defined(VK_EXT_acquire_xlib_display)
8980 : if (strcmp(pName, "vkAcquireXlibDisplayEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkAcquireXlibDisplayEXT; }
8981 : if (strcmp(pName, "vkGetRandROutputDisplayEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetRandROutputDisplayEXT; }
8982 : #endif /* defined(VK_EXT_acquire_xlib_display) */
8983 : #if defined(VK_EXT_display_surface_counter)
8984 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceCapabilities2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilities2EXT; }
8985 : #endif /* defined(VK_EXT_display_surface_counter) */
8986 : #if defined(VK_KHR_external_fence_capabilities)
8987 : if (strcmp(pName, "vkGetPhysicalDeviceExternalFencePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalFencePropertiesKHR; }
8988 : #endif /* defined(VK_KHR_external_fence_capabilities) */
8989 : #if defined(VK_KHR_performance_query)
8990 : if (strcmp(pName, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR; }
8991 : if (strcmp(pName, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR; }
8992 : #endif /* defined(VK_KHR_performance_query) */
8993 : #if defined(VK_KHR_get_surface_capabilities2)
8994 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceCapabilities2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceCapabilities2KHR; }
8995 : if (strcmp(pName, "vkGetPhysicalDeviceSurfaceFormats2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfaceFormats2KHR; }
8996 : #endif /* defined(VK_KHR_get_surface_capabilities2) */
8997 : #if defined(VK_KHR_get_display_properties2)
8998 : if (strcmp(pName, "vkGetPhysicalDeviceDisplayProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayProperties2KHR; }
8999 : if (strcmp(pName, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDisplayPlaneProperties2KHR; }
9000 : if (strcmp(pName, "vkGetDisplayModeProperties2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDisplayModeProperties2KHR; }
9001 : if (strcmp(pName, "vkGetDisplayPlaneCapabilities2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDisplayPlaneCapabilities2KHR; }
9002 : #endif /* defined(VK_KHR_get_display_properties2) */
9003 : #if defined(VK_MVK_ios_surface)
9004 : if (strcmp(pName, "vkCreateIOSSurfaceMVK") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateIOSSurfaceMVK; }
9005 : #endif /* defined(VK_MVK_ios_surface) */
9006 : #if defined(VK_MVK_macos_surface)
9007 : if (strcmp(pName, "vkCreateMacOSSurfaceMVK") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateMacOSSurfaceMVK; }
9008 : #endif /* defined(VK_MVK_macos_surface) */
9009 : #if defined(VK_EXT_debug_utils)
9010 : if (strcmp(pName, "vkSetDebugUtilsObjectNameEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkSetDebugUtilsObjectNameEXT; }
9011 : if (strcmp(pName, "vkSetDebugUtilsObjectTagEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkSetDebugUtilsObjectTagEXT; }
9012 : if (strcmp(pName, "vkQueueBeginDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkQueueBeginDebugUtilsLabelEXT; }
9013 : if (strcmp(pName, "vkQueueEndDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkQueueEndDebugUtilsLabelEXT; }
9014 : if (strcmp(pName, "vkQueueInsertDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkQueueInsertDebugUtilsLabelEXT; }
9015 : if (strcmp(pName, "vkCmdBeginDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCmdBeginDebugUtilsLabelEXT; }
9016 : if (strcmp(pName, "vkCmdEndDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCmdEndDebugUtilsLabelEXT; }
9017 : if (strcmp(pName, "vkCmdInsertDebugUtilsLabelEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCmdInsertDebugUtilsLabelEXT; }
9018 : if (strcmp(pName, "vkCreateDebugUtilsMessengerEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDebugUtilsMessengerEXT; }
9019 : if (strcmp(pName, "vkDestroyDebugUtilsMessengerEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkDestroyDebugUtilsMessengerEXT; }
9020 : if (strcmp(pName, "vkSubmitDebugUtilsMessageEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkSubmitDebugUtilsMessageEXT; }
9021 : #endif /* defined(VK_EXT_debug_utils) */
9022 : #if defined(VK_EXT_sample_locations)
9023 : if (strcmp(pName, "vkGetPhysicalDeviceMultisamplePropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceMultisamplePropertiesEXT; }
9024 : #endif /* defined(VK_EXT_sample_locations) */
9025 : #if defined(VK_EXT_calibrated_timestamps)
9026 : if (strcmp(pName, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT; }
9027 : #endif /* defined(VK_EXT_calibrated_timestamps) */
9028 : #if defined(VK_FUCHSIA_imagepipe_surface)
9029 : if (strcmp(pName, "vkCreateImagePipeSurfaceFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateImagePipeSurfaceFUCHSIA; }
9030 : #endif /* defined(VK_FUCHSIA_imagepipe_surface) */
9031 : #if defined(VK_EXT_metal_surface)
9032 : if (strcmp(pName, "vkCreateMetalSurfaceEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateMetalSurfaceEXT; }
9033 : #endif /* defined(VK_EXT_metal_surface) */
9034 : #if defined(VK_KHR_fragment_shading_rate)
9035 : if (strcmp(pName, "vkGetPhysicalDeviceFragmentShadingRatesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceFragmentShadingRatesKHR; }
9036 : #endif /* defined(VK_KHR_fragment_shading_rate) */
9037 : #if defined(VK_EXT_tooling_info)
9038 : if (strcmp(pName, "vkGetPhysicalDeviceToolPropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceToolPropertiesEXT; }
9039 : #endif /* defined(VK_EXT_tooling_info) */
9040 : #if defined(VK_NV_cooperative_matrix)
9041 : if (strcmp(pName, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV; }
9042 : #endif /* defined(VK_NV_cooperative_matrix) */
9043 : #if defined(VK_NV_coverage_reduction_mode)
9044 : if (strcmp(pName, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV; }
9045 : #endif /* defined(VK_NV_coverage_reduction_mode) */
9046 : #if defined(VK_EXT_full_screen_exclusive)
9047 : if (strcmp(pName, "vkGetPhysicalDeviceSurfacePresentModes2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSurfacePresentModes2EXT; }
9048 : #endif /* defined(VK_EXT_full_screen_exclusive) */
9049 : #if defined(VK_EXT_headless_surface)
9050 : if (strcmp(pName, "vkCreateHeadlessSurfaceEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateHeadlessSurfaceEXT; }
9051 : #endif /* defined(VK_EXT_headless_surface) */
9052 : #if defined(VK_EXT_acquire_drm_display)
9053 : if (strcmp(pName, "vkAcquireDrmDisplayEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkAcquireDrmDisplayEXT; }
9054 : if (strcmp(pName, "vkGetDrmDisplayEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetDrmDisplayEXT; }
9055 : #endif /* defined(VK_EXT_acquire_drm_display) */
9056 : #if defined(VK_KHR_video_encode_queue)
9057 : if (strcmp(pName, "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR; }
9058 : #endif /* defined(VK_KHR_video_encode_queue) */
9059 : #if defined(VK_KHR_object_refresh)
9060 : if (strcmp(pName, "vkGetPhysicalDeviceRefreshableObjectTypesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceRefreshableObjectTypesKHR; }
9061 : #endif /* defined(VK_KHR_object_refresh) */
9062 : #if defined(VK_NV_acquire_winrt_display)
9063 : if (strcmp(pName, "vkAcquireWinrtDisplayNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkAcquireWinrtDisplayNV; }
9064 : if (strcmp(pName, "vkGetWinrtDisplayNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetWinrtDisplayNV; }
9065 : #endif /* defined(VK_NV_acquire_winrt_display) */
9066 : #if defined(VK_EXT_directfb_surface)
9067 : if (strcmp(pName, "vkCreateDirectFBSurfaceEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateDirectFBSurfaceEXT; }
9068 : if (strcmp(pName, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceDirectFBPresentationSupportEXT; }
9069 : #endif /* defined(VK_EXT_directfb_surface) */
9070 : #if defined(VK_NV_external_sci_sync)
9071 : if (strcmp(pName, "vkGetPhysicalDeviceSciSyncAttributesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSciSyncAttributesNV; }
9072 : #endif /* defined(VK_NV_external_sci_sync) */
9073 : #if defined(VK_NV_external_memory_sci_buf)
9074 : if (strcmp(pName, "vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV; }
9075 : if (strcmp(pName, "vkGetPhysicalDeviceSciBufAttributesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceSciBufAttributesNV; }
9076 : #endif /* defined(VK_NV_external_memory_sci_buf) */
9077 : #if defined(VK_QNX_screen_surface)
9078 : if (strcmp(pName, "vkCreateScreenSurfaceQNX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkCreateScreenSurfaceQNX; }
9079 : if (strcmp(pName, "vkGetPhysicalDeviceScreenPresentationSupportQNX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceScreenPresentationSupportQNX; }
9080 : #endif /* defined(VK_QNX_screen_surface) */
9081 : #if defined(VK_NV_optical_flow)
9082 : if (strcmp(pName, "vkGetPhysicalDeviceOpticalFlowImageFormatsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceOpticalFlowImageFormatsNV; }
9083 : #endif /* defined(VK_NV_optical_flow) */
9084 : #if defined(VK_KHR_cooperative_matrix)
9085 : if (strcmp(pName, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_instanceHookTable_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR; }
9086 : #endif /* defined(VK_KHR_cooperative_matrix) */
9087 : return nullptr;
9088 : }
9089 :
9090 :
9091 : static PFN_vkVoidFunction getDeviceHookAddr(VkDevice instance, const char* pName) {
9092 : #if defined(VK_VERSION_1_0)
9093 : if (strcmp(pName, "vkGetDeviceProcAddr") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceProcAddr; }
9094 : if (strcmp(pName, "vkDestroyDevice") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDevice; }
9095 : if (strcmp(pName, "vkGetDeviceQueue") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceQueue; }
9096 : if (strcmp(pName, "vkQueueSubmit") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueSubmit; }
9097 : if (strcmp(pName, "vkQueueWaitIdle") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueWaitIdle; }
9098 : if (strcmp(pName, "vkDeviceWaitIdle") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDeviceWaitIdle; }
9099 : if (strcmp(pName, "vkAllocateMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAllocateMemory; }
9100 : if (strcmp(pName, "vkFreeMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkFreeMemory; }
9101 : if (strcmp(pName, "vkMapMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkMapMemory; }
9102 : if (strcmp(pName, "vkUnmapMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUnmapMemory; }
9103 : if (strcmp(pName, "vkFlushMappedMemoryRanges") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkFlushMappedMemoryRanges; }
9104 : if (strcmp(pName, "vkInvalidateMappedMemoryRanges") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkInvalidateMappedMemoryRanges; }
9105 : if (strcmp(pName, "vkGetDeviceMemoryCommitment") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceMemoryCommitment; }
9106 : if (strcmp(pName, "vkBindBufferMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindBufferMemory; }
9107 : if (strcmp(pName, "vkBindImageMemory") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindImageMemory; }
9108 : if (strcmp(pName, "vkGetBufferMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements; }
9109 : if (strcmp(pName, "vkGetImageMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements; }
9110 : if (strcmp(pName, "vkGetImageSparseMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements; }
9111 : if (strcmp(pName, "vkQueueBindSparse") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueBindSparse; }
9112 : if (strcmp(pName, "vkCreateFence") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateFence; }
9113 : if (strcmp(pName, "vkDestroyFence") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyFence; }
9114 : if (strcmp(pName, "vkResetFences") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetFences; }
9115 : if (strcmp(pName, "vkGetFenceStatus") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFenceStatus; }
9116 : if (strcmp(pName, "vkWaitForFences") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWaitForFences; }
9117 : if (strcmp(pName, "vkCreateSemaphore") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSemaphore; }
9118 : if (strcmp(pName, "vkDestroySemaphore") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySemaphore; }
9119 : if (strcmp(pName, "vkCreateEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateEvent; }
9120 : if (strcmp(pName, "vkDestroyEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyEvent; }
9121 : if (strcmp(pName, "vkGetEventStatus") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetEventStatus; }
9122 : if (strcmp(pName, "vkSetEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetEvent; }
9123 : if (strcmp(pName, "vkResetEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetEvent; }
9124 : if (strcmp(pName, "vkCreateQueryPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateQueryPool; }
9125 : if (strcmp(pName, "vkDestroyQueryPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyQueryPool; }
9126 : if (strcmp(pName, "vkGetQueryPoolResults") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetQueryPoolResults; }
9127 : if (strcmp(pName, "vkCreateBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateBuffer; }
9128 : if (strcmp(pName, "vkDestroyBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyBuffer; }
9129 : if (strcmp(pName, "vkCreateBufferView") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateBufferView; }
9130 : if (strcmp(pName, "vkDestroyBufferView") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyBufferView; }
9131 : if (strcmp(pName, "vkCreateImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateImage; }
9132 : if (strcmp(pName, "vkDestroyImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyImage; }
9133 : if (strcmp(pName, "vkGetImageSubresourceLayout") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout; }
9134 : if (strcmp(pName, "vkCreateImageView") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateImageView; }
9135 : if (strcmp(pName, "vkDestroyImageView") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyImageView; }
9136 : if (strcmp(pName, "vkCreateShaderModule") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateShaderModule; }
9137 : if (strcmp(pName, "vkDestroyShaderModule") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyShaderModule; }
9138 : if (strcmp(pName, "vkCreatePipelineCache") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreatePipelineCache; }
9139 : if (strcmp(pName, "vkDestroyPipelineCache") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyPipelineCache; }
9140 : if (strcmp(pName, "vkGetPipelineCacheData") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineCacheData; }
9141 : if (strcmp(pName, "vkMergePipelineCaches") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkMergePipelineCaches; }
9142 : if (strcmp(pName, "vkCreateGraphicsPipelines") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateGraphicsPipelines; }
9143 : if (strcmp(pName, "vkCreateComputePipelines") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateComputePipelines; }
9144 : if (strcmp(pName, "vkDestroyPipeline") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyPipeline; }
9145 : if (strcmp(pName, "vkCreatePipelineLayout") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreatePipelineLayout; }
9146 : if (strcmp(pName, "vkDestroyPipelineLayout") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyPipelineLayout; }
9147 : if (strcmp(pName, "vkCreateSampler") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSampler; }
9148 : if (strcmp(pName, "vkDestroySampler") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySampler; }
9149 : if (strcmp(pName, "vkCreateDescriptorSetLayout") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateDescriptorSetLayout; }
9150 : if (strcmp(pName, "vkDestroyDescriptorSetLayout") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDescriptorSetLayout; }
9151 : if (strcmp(pName, "vkCreateDescriptorPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateDescriptorPool; }
9152 : if (strcmp(pName, "vkDestroyDescriptorPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDescriptorPool; }
9153 : if (strcmp(pName, "vkResetDescriptorPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetDescriptorPool; }
9154 : if (strcmp(pName, "vkAllocateDescriptorSets") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAllocateDescriptorSets; }
9155 : if (strcmp(pName, "vkFreeDescriptorSets") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkFreeDescriptorSets; }
9156 : if (strcmp(pName, "vkUpdateDescriptorSets") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUpdateDescriptorSets; }
9157 : if (strcmp(pName, "vkCreateFramebuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateFramebuffer; }
9158 : if (strcmp(pName, "vkDestroyFramebuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyFramebuffer; }
9159 : if (strcmp(pName, "vkCreateRenderPass") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateRenderPass; }
9160 : if (strcmp(pName, "vkDestroyRenderPass") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyRenderPass; }
9161 : if (strcmp(pName, "vkGetRenderAreaGranularity") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRenderAreaGranularity; }
9162 : if (strcmp(pName, "vkCreateCommandPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateCommandPool; }
9163 : if (strcmp(pName, "vkDestroyCommandPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyCommandPool; }
9164 : if (strcmp(pName, "vkResetCommandPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetCommandPool; }
9165 : if (strcmp(pName, "vkAllocateCommandBuffers") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAllocateCommandBuffers; }
9166 : if (strcmp(pName, "vkFreeCommandBuffers") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkFreeCommandBuffers; }
9167 : if (strcmp(pName, "vkBeginCommandBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBeginCommandBuffer; }
9168 : if (strcmp(pName, "vkEndCommandBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkEndCommandBuffer; }
9169 : if (strcmp(pName, "vkResetCommandBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetCommandBuffer; }
9170 : if (strcmp(pName, "vkCmdBindPipeline") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindPipeline; }
9171 : if (strcmp(pName, "vkCmdSetViewport") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewport; }
9172 : if (strcmp(pName, "vkCmdSetScissor") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetScissor; }
9173 : if (strcmp(pName, "vkCmdSetLineWidth") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLineWidth; }
9174 : if (strcmp(pName, "vkCmdSetDepthBias") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBias; }
9175 : if (strcmp(pName, "vkCmdSetBlendConstants") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetBlendConstants; }
9176 : if (strcmp(pName, "vkCmdSetDepthBounds") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBounds; }
9177 : if (strcmp(pName, "vkCmdSetStencilCompareMask") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilCompareMask; }
9178 : if (strcmp(pName, "vkCmdSetStencilWriteMask") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilWriteMask; }
9179 : if (strcmp(pName, "vkCmdSetStencilReference") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilReference; }
9180 : if (strcmp(pName, "vkCmdBindDescriptorSets") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindDescriptorSets; }
9181 : if (strcmp(pName, "vkCmdBindIndexBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindIndexBuffer; }
9182 : if (strcmp(pName, "vkCmdBindVertexBuffers") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers; }
9183 : if (strcmp(pName, "vkCmdDraw") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDraw; }
9184 : if (strcmp(pName, "vkCmdDrawIndexed") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndexed; }
9185 : if (strcmp(pName, "vkCmdDrawIndirect") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndirect; }
9186 : if (strcmp(pName, "vkCmdDrawIndexedIndirect") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirect; }
9187 : if (strcmp(pName, "vkCmdDispatch") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatch; }
9188 : if (strcmp(pName, "vkCmdDispatchIndirect") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchIndirect; }
9189 : if (strcmp(pName, "vkCmdCopyBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBuffer; }
9190 : if (strcmp(pName, "vkCmdCopyImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImage; }
9191 : if (strcmp(pName, "vkCmdBlitImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBlitImage; }
9192 : if (strcmp(pName, "vkCmdCopyBufferToImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage; }
9193 : if (strcmp(pName, "vkCmdCopyImageToBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer; }
9194 : if (strcmp(pName, "vkCmdUpdateBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdUpdateBuffer; }
9195 : if (strcmp(pName, "vkCmdFillBuffer") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdFillBuffer; }
9196 : if (strcmp(pName, "vkCmdClearColorImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdClearColorImage; }
9197 : if (strcmp(pName, "vkCmdClearDepthStencilImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdClearDepthStencilImage; }
9198 : if (strcmp(pName, "vkCmdClearAttachments") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdClearAttachments; }
9199 : if (strcmp(pName, "vkCmdResolveImage") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResolveImage; }
9200 : if (strcmp(pName, "vkCmdSetEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetEvent; }
9201 : if (strcmp(pName, "vkCmdResetEvent") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResetEvent; }
9202 : if (strcmp(pName, "vkCmdWaitEvents") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWaitEvents; }
9203 : if (strcmp(pName, "vkCmdPipelineBarrier") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier; }
9204 : if (strcmp(pName, "vkCmdBeginQuery") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginQuery; }
9205 : if (strcmp(pName, "vkCmdEndQuery") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndQuery; }
9206 : if (strcmp(pName, "vkCmdResetQueryPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResetQueryPool; }
9207 : if (strcmp(pName, "vkCmdWriteTimestamp") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp; }
9208 : if (strcmp(pName, "vkCmdCopyQueryPoolResults") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyQueryPoolResults; }
9209 : if (strcmp(pName, "vkCmdPushConstants") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPushConstants; }
9210 : if (strcmp(pName, "vkCmdBeginRenderPass") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass; }
9211 : if (strcmp(pName, "vkCmdNextSubpass") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdNextSubpass; }
9212 : if (strcmp(pName, "vkCmdEndRenderPass") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndRenderPass; }
9213 : if (strcmp(pName, "vkCmdExecuteCommands") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdExecuteCommands; }
9214 : #endif /* defined(VK_VERSION_1_0) */
9215 : #if defined(VK_VERSION_1_1)
9216 : if (strcmp(pName, "vkBindBufferMemory2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindBufferMemory2; }
9217 : if (strcmp(pName, "vkBindImageMemory2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindImageMemory2; }
9218 : if (strcmp(pName, "vkGetDeviceGroupPeerMemoryFeatures") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceGroupPeerMemoryFeatures; }
9219 : if (strcmp(pName, "vkCmdSetDeviceMask") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDeviceMask; }
9220 : if (strcmp(pName, "vkCmdDispatchBase") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchBase; }
9221 : if (strcmp(pName, "vkGetImageMemoryRequirements2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements2; }
9222 : if (strcmp(pName, "vkGetBufferMemoryRequirements2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements2; }
9223 : if (strcmp(pName, "vkGetImageSparseMemoryRequirements2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements2; }
9224 : if (strcmp(pName, "vkTrimCommandPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkTrimCommandPool; }
9225 : if (strcmp(pName, "vkGetDeviceQueue2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceQueue2; }
9226 : if (strcmp(pName, "vkCreateSamplerYcbcrConversion") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSamplerYcbcrConversion; }
9227 : if (strcmp(pName, "vkDestroySamplerYcbcrConversion") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySamplerYcbcrConversion; }
9228 : if (strcmp(pName, "vkCreateDescriptorUpdateTemplate") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateDescriptorUpdateTemplate; }
9229 : if (strcmp(pName, "vkDestroyDescriptorUpdateTemplate") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDescriptorUpdateTemplate; }
9230 : if (strcmp(pName, "vkUpdateDescriptorSetWithTemplate") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUpdateDescriptorSetWithTemplate; }
9231 : if (strcmp(pName, "vkGetDescriptorSetLayoutSupport") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSupport; }
9232 : #endif /* defined(VK_VERSION_1_1) */
9233 : #if defined(VK_VERSION_1_2)
9234 : if (strcmp(pName, "vkCmdDrawIndirectCount") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCount; }
9235 : if (strcmp(pName, "vkCmdDrawIndexedIndirectCount") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCount; }
9236 : if (strcmp(pName, "vkCreateRenderPass2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateRenderPass2; }
9237 : if (strcmp(pName, "vkCmdBeginRenderPass2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass2; }
9238 : if (strcmp(pName, "vkCmdNextSubpass2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdNextSubpass2; }
9239 : if (strcmp(pName, "vkCmdEndRenderPass2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndRenderPass2; }
9240 : if (strcmp(pName, "vkResetQueryPool") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetQueryPool; }
9241 : if (strcmp(pName, "vkGetSemaphoreCounterValue") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreCounterValue; }
9242 : if (strcmp(pName, "vkWaitSemaphores") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWaitSemaphores; }
9243 : if (strcmp(pName, "vkSignalSemaphore") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSignalSemaphore; }
9244 : if (strcmp(pName, "vkGetBufferDeviceAddress") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddress; }
9245 : if (strcmp(pName, "vkGetBufferOpaqueCaptureAddress") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureAddress; }
9246 : if (strcmp(pName, "vkGetDeviceMemoryOpaqueCaptureAddress") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceMemoryOpaqueCaptureAddress; }
9247 : #endif /* defined(VK_VERSION_1_2) */
9248 : #if defined(VK_VERSION_1_3)
9249 : if (strcmp(pName, "vkCreatePrivateDataSlot") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreatePrivateDataSlot; }
9250 : if (strcmp(pName, "vkDestroyPrivateDataSlot") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyPrivateDataSlot; }
9251 : if (strcmp(pName, "vkSetPrivateData") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetPrivateData; }
9252 : if (strcmp(pName, "vkGetPrivateData") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPrivateData; }
9253 : if (strcmp(pName, "vkCmdSetEvent2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetEvent2; }
9254 : if (strcmp(pName, "vkCmdResetEvent2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResetEvent2; }
9255 : if (strcmp(pName, "vkCmdWaitEvents2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWaitEvents2; }
9256 : if (strcmp(pName, "vkCmdPipelineBarrier2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier2; }
9257 : if (strcmp(pName, "vkCmdWriteTimestamp2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp2; }
9258 : if (strcmp(pName, "vkQueueSubmit2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueSubmit2; }
9259 : if (strcmp(pName, "vkCmdCopyBuffer2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBuffer2; }
9260 : if (strcmp(pName, "vkCmdCopyImage2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImage2; }
9261 : if (strcmp(pName, "vkCmdCopyBufferToImage2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage2; }
9262 : if (strcmp(pName, "vkCmdCopyImageToBuffer2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer2; }
9263 : if (strcmp(pName, "vkCmdBlitImage2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBlitImage2; }
9264 : if (strcmp(pName, "vkCmdResolveImage2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResolveImage2; }
9265 : if (strcmp(pName, "vkCmdBeginRendering") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginRendering; }
9266 : if (strcmp(pName, "vkCmdEndRendering") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndRendering; }
9267 : if (strcmp(pName, "vkCmdSetCullMode") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCullMode; }
9268 : if (strcmp(pName, "vkCmdSetFrontFace") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetFrontFace; }
9269 : if (strcmp(pName, "vkCmdSetPrimitiveTopology") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveTopology; }
9270 : if (strcmp(pName, "vkCmdSetViewportWithCount") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportWithCount; }
9271 : if (strcmp(pName, "vkCmdSetScissorWithCount") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetScissorWithCount; }
9272 : if (strcmp(pName, "vkCmdBindVertexBuffers2") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers2; }
9273 : if (strcmp(pName, "vkCmdSetDepthTestEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthTestEnable; }
9274 : if (strcmp(pName, "vkCmdSetDepthWriteEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthWriteEnable; }
9275 : if (strcmp(pName, "vkCmdSetDepthCompareOp") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthCompareOp; }
9276 : if (strcmp(pName, "vkCmdSetDepthBoundsTestEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBoundsTestEnable; }
9277 : if (strcmp(pName, "vkCmdSetStencilTestEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilTestEnable; }
9278 : if (strcmp(pName, "vkCmdSetStencilOp") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilOp; }
9279 : if (strcmp(pName, "vkCmdSetRasterizerDiscardEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRasterizerDiscardEnable; }
9280 : if (strcmp(pName, "vkCmdSetDepthBiasEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBiasEnable; }
9281 : if (strcmp(pName, "vkCmdSetPrimitiveRestartEnable") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveRestartEnable; }
9282 : if (strcmp(pName, "vkGetDeviceBufferMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceBufferMemoryRequirements; }
9283 : if (strcmp(pName, "vkGetDeviceImageMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceImageMemoryRequirements; }
9284 : if (strcmp(pName, "vkGetDeviceImageSparseMemoryRequirements") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceImageSparseMemoryRequirements; }
9285 : #endif /* defined(VK_VERSION_1_3) */
9286 : #if defined(VKSC_VERSION_1_0)
9287 : if (strcmp(pName, "vkGetCommandPoolMemoryConsumption") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetCommandPoolMemoryConsumption; }
9288 : if (strcmp(pName, "vkGetFaultData") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFaultData; }
9289 : #endif /* defined(VKSC_VERSION_1_0) */
9290 : #if defined(VK_KHR_swapchain)
9291 : if (strcmp(pName, "vkCreateSwapchainKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSwapchainKHR; }
9292 : if (strcmp(pName, "vkDestroySwapchainKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySwapchainKHR; }
9293 : if (strcmp(pName, "vkGetSwapchainImagesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSwapchainImagesKHR; }
9294 : if (strcmp(pName, "vkAcquireNextImageKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAcquireNextImageKHR; }
9295 : if (strcmp(pName, "vkQueuePresentKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueuePresentKHR; }
9296 : #endif /* defined(VK_KHR_swapchain) */
9297 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface))
9298 : if (strcmp(pName, "vkGetDeviceGroupPresentCapabilitiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceGroupPresentCapabilitiesKHR; }
9299 : if (strcmp(pName, "vkGetDeviceGroupSurfacePresentModesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceGroupSurfacePresentModesKHR; }
9300 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) */
9301 : #if (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain))
9302 : if (strcmp(pName, "vkAcquireNextImage2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAcquireNextImage2KHR; }
9303 : #endif /* (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) */
9304 : #if defined(VK_KHR_display_swapchain)
9305 : if (strcmp(pName, "vkCreateSharedSwapchainsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSharedSwapchainsKHR; }
9306 : #endif /* defined(VK_KHR_display_swapchain) */
9307 : #if defined(VK_EXT_debug_marker)
9308 : if (strcmp(pName, "vkDebugMarkerSetObjectTagEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDebugMarkerSetObjectTagEXT; }
9309 : if (strcmp(pName, "vkDebugMarkerSetObjectNameEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDebugMarkerSetObjectNameEXT; }
9310 : if (strcmp(pName, "vkCmdDebugMarkerBeginEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDebugMarkerBeginEXT; }
9311 : if (strcmp(pName, "vkCmdDebugMarkerEndEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDebugMarkerEndEXT; }
9312 : if (strcmp(pName, "vkCmdDebugMarkerInsertEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDebugMarkerInsertEXT; }
9313 : #endif /* defined(VK_EXT_debug_marker) */
9314 : #if defined(VK_KHR_video_queue)
9315 : if (strcmp(pName, "vkCreateVideoSessionKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateVideoSessionKHR; }
9316 : if (strcmp(pName, "vkDestroyVideoSessionKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyVideoSessionKHR; }
9317 : if (strcmp(pName, "vkGetVideoSessionMemoryRequirementsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetVideoSessionMemoryRequirementsKHR; }
9318 : if (strcmp(pName, "vkBindVideoSessionMemoryKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindVideoSessionMemoryKHR; }
9319 : if (strcmp(pName, "vkCreateVideoSessionParametersKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateVideoSessionParametersKHR; }
9320 : if (strcmp(pName, "vkUpdateVideoSessionParametersKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUpdateVideoSessionParametersKHR; }
9321 : if (strcmp(pName, "vkDestroyVideoSessionParametersKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyVideoSessionParametersKHR; }
9322 : if (strcmp(pName, "vkCmdBeginVideoCodingKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginVideoCodingKHR; }
9323 : if (strcmp(pName, "vkCmdEndVideoCodingKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndVideoCodingKHR; }
9324 : if (strcmp(pName, "vkCmdControlVideoCodingKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdControlVideoCodingKHR; }
9325 : #endif /* defined(VK_KHR_video_queue) */
9326 : #if defined(VK_KHR_video_decode_queue)
9327 : if (strcmp(pName, "vkCmdDecodeVideoKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDecodeVideoKHR; }
9328 : #endif /* defined(VK_KHR_video_decode_queue) */
9329 : #if defined(VK_EXT_transform_feedback)
9330 : if (strcmp(pName, "vkCmdBindTransformFeedbackBuffersEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindTransformFeedbackBuffersEXT; }
9331 : if (strcmp(pName, "vkCmdBeginTransformFeedbackEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginTransformFeedbackEXT; }
9332 : if (strcmp(pName, "vkCmdEndTransformFeedbackEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndTransformFeedbackEXT; }
9333 : if (strcmp(pName, "vkCmdBeginQueryIndexedEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginQueryIndexedEXT; }
9334 : if (strcmp(pName, "vkCmdEndQueryIndexedEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndQueryIndexedEXT; }
9335 : if (strcmp(pName, "vkCmdDrawIndirectByteCountEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndirectByteCountEXT; }
9336 : #endif /* defined(VK_EXT_transform_feedback) */
9337 : #if defined(VK_NVX_binary_import)
9338 : if (strcmp(pName, "vkCreateCuModuleNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateCuModuleNVX; }
9339 : if (strcmp(pName, "vkCreateCuFunctionNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateCuFunctionNVX; }
9340 : if (strcmp(pName, "vkDestroyCuModuleNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyCuModuleNVX; }
9341 : if (strcmp(pName, "vkDestroyCuFunctionNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyCuFunctionNVX; }
9342 : if (strcmp(pName, "vkCmdCuLaunchKernelNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCuLaunchKernelNVX; }
9343 : #endif /* defined(VK_NVX_binary_import) */
9344 : #if defined(VK_NVX_image_view_handle)
9345 : if (strcmp(pName, "vkGetImageViewHandleNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageViewHandleNVX; }
9346 : if (strcmp(pName, "vkGetImageViewAddressNVX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageViewAddressNVX; }
9347 : #endif /* defined(VK_NVX_image_view_handle) */
9348 : #if defined(VK_AMD_draw_indirect_count)
9349 : if (strcmp(pName, "vkCmdDrawIndirectCountAMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCountAMD; }
9350 : if (strcmp(pName, "vkCmdDrawIndexedIndirectCountAMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCountAMD; }
9351 : #endif /* defined(VK_AMD_draw_indirect_count) */
9352 : #if defined(VK_AMD_shader_info)
9353 : if (strcmp(pName, "vkGetShaderInfoAMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetShaderInfoAMD; }
9354 : #endif /* defined(VK_AMD_shader_info) */
9355 : #if defined(VK_KHR_dynamic_rendering)
9356 : if (strcmp(pName, "vkCmdBeginRenderingKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginRenderingKHR; }
9357 : if (strcmp(pName, "vkCmdEndRenderingKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndRenderingKHR; }
9358 : #endif /* defined(VK_KHR_dynamic_rendering) */
9359 : #if defined(VK_NV_external_memory_win32)
9360 : if (strcmp(pName, "vkGetMemoryWin32HandleNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandleNV; }
9361 : #endif /* defined(VK_NV_external_memory_win32) */
9362 : #if defined(VK_KHR_device_group)
9363 : if (strcmp(pName, "vkGetDeviceGroupPeerMemoryFeaturesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceGroupPeerMemoryFeaturesKHR; }
9364 : if (strcmp(pName, "vkCmdSetDeviceMaskKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDeviceMaskKHR; }
9365 : if (strcmp(pName, "vkCmdDispatchBaseKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchBaseKHR; }
9366 : #endif /* defined(VK_KHR_device_group) */
9367 : #if defined(VK_KHR_maintenance1)
9368 : if (strcmp(pName, "vkTrimCommandPoolKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkTrimCommandPoolKHR; }
9369 : #endif /* defined(VK_KHR_maintenance1) */
9370 : #if defined(VK_KHR_external_memory_win32)
9371 : if (strcmp(pName, "vkGetMemoryWin32HandleKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandleKHR; }
9372 : if (strcmp(pName, "vkGetMemoryWin32HandlePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryWin32HandlePropertiesKHR; }
9373 : #endif /* defined(VK_KHR_external_memory_win32) */
9374 : #if defined(VK_KHR_external_memory_fd)
9375 : if (strcmp(pName, "vkGetMemoryFdKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryFdKHR; }
9376 : if (strcmp(pName, "vkGetMemoryFdPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryFdPropertiesKHR; }
9377 : #endif /* defined(VK_KHR_external_memory_fd) */
9378 : #if defined(VK_KHR_external_semaphore_win32)
9379 : if (strcmp(pName, "vkImportSemaphoreWin32HandleKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportSemaphoreWin32HandleKHR; }
9380 : if (strcmp(pName, "vkGetSemaphoreWin32HandleKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreWin32HandleKHR; }
9381 : #endif /* defined(VK_KHR_external_semaphore_win32) */
9382 : #if defined(VK_KHR_external_semaphore_fd)
9383 : if (strcmp(pName, "vkImportSemaphoreFdKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportSemaphoreFdKHR; }
9384 : if (strcmp(pName, "vkGetSemaphoreFdKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreFdKHR; }
9385 : #endif /* defined(VK_KHR_external_semaphore_fd) */
9386 : #if defined(VK_KHR_push_descriptor)
9387 : if (strcmp(pName, "vkCmdPushDescriptorSetKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPushDescriptorSetKHR; }
9388 : #endif /* defined(VK_KHR_push_descriptor) */
9389 : #if (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor))
9390 : if (strcmp(pName, "vkCmdPushDescriptorSetWithTemplateKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPushDescriptorSetWithTemplateKHR; }
9391 : #endif /* (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) || (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) */
9392 : #if defined(VK_EXT_conditional_rendering)
9393 : if (strcmp(pName, "vkCmdBeginConditionalRenderingEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginConditionalRenderingEXT; }
9394 : if (strcmp(pName, "vkCmdEndConditionalRenderingEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndConditionalRenderingEXT; }
9395 : #endif /* defined(VK_EXT_conditional_rendering) */
9396 : #if defined(VK_KHR_descriptor_update_template)
9397 : if (strcmp(pName, "vkCreateDescriptorUpdateTemplateKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateDescriptorUpdateTemplateKHR; }
9398 : if (strcmp(pName, "vkDestroyDescriptorUpdateTemplateKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDescriptorUpdateTemplateKHR; }
9399 : if (strcmp(pName, "vkUpdateDescriptorSetWithTemplateKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUpdateDescriptorSetWithTemplateKHR; }
9400 : #endif /* defined(VK_KHR_descriptor_update_template) */
9401 : #if defined(VK_NV_clip_space_w_scaling)
9402 : if (strcmp(pName, "vkCmdSetViewportWScalingNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportWScalingNV; }
9403 : #endif /* defined(VK_NV_clip_space_w_scaling) */
9404 : #if defined(VK_EXT_display_control)
9405 : if (strcmp(pName, "vkDisplayPowerControlEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDisplayPowerControlEXT; }
9406 : if (strcmp(pName, "vkRegisterDeviceEventEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkRegisterDeviceEventEXT; }
9407 : if (strcmp(pName, "vkRegisterDisplayEventEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkRegisterDisplayEventEXT; }
9408 : if (strcmp(pName, "vkGetSwapchainCounterEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSwapchainCounterEXT; }
9409 : #endif /* defined(VK_EXT_display_control) */
9410 : #if defined(VK_GOOGLE_display_timing)
9411 : if (strcmp(pName, "vkGetRefreshCycleDurationGOOGLE") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRefreshCycleDurationGOOGLE; }
9412 : if (strcmp(pName, "vkGetPastPresentationTimingGOOGLE") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPastPresentationTimingGOOGLE; }
9413 : #endif /* defined(VK_GOOGLE_display_timing) */
9414 : #if defined(VK_EXT_discard_rectangles)
9415 : if (strcmp(pName, "vkCmdSetDiscardRectangleEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleEXT; }
9416 : if (strcmp(pName, "vkCmdSetDiscardRectangleEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleEnableEXT; }
9417 : if (strcmp(pName, "vkCmdSetDiscardRectangleModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDiscardRectangleModeEXT; }
9418 : #endif /* defined(VK_EXT_discard_rectangles) */
9419 : #if defined(VK_EXT_hdr_metadata)
9420 : if (strcmp(pName, "vkSetHdrMetadataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetHdrMetadataEXT; }
9421 : #endif /* defined(VK_EXT_hdr_metadata) */
9422 : #if defined(VK_KHR_create_renderpass2)
9423 : if (strcmp(pName, "vkCreateRenderPass2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateRenderPass2KHR; }
9424 : if (strcmp(pName, "vkCmdBeginRenderPass2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBeginRenderPass2KHR; }
9425 : if (strcmp(pName, "vkCmdNextSubpass2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdNextSubpass2KHR; }
9426 : if (strcmp(pName, "vkCmdEndRenderPass2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEndRenderPass2KHR; }
9427 : #endif /* defined(VK_KHR_create_renderpass2) */
9428 : #if defined(VK_KHR_shared_presentable_image)
9429 : if (strcmp(pName, "vkGetSwapchainStatusKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSwapchainStatusKHR; }
9430 : #endif /* defined(VK_KHR_shared_presentable_image) */
9431 : #if defined(VK_KHR_external_fence_win32)
9432 : if (strcmp(pName, "vkImportFenceWin32HandleKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportFenceWin32HandleKHR; }
9433 : if (strcmp(pName, "vkGetFenceWin32HandleKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFenceWin32HandleKHR; }
9434 : #endif /* defined(VK_KHR_external_fence_win32) */
9435 : #if defined(VK_KHR_external_fence_fd)
9436 : if (strcmp(pName, "vkImportFenceFdKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportFenceFdKHR; }
9437 : if (strcmp(pName, "vkGetFenceFdKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFenceFdKHR; }
9438 : #endif /* defined(VK_KHR_external_fence_fd) */
9439 : #if defined(VK_KHR_performance_query)
9440 : if (strcmp(pName, "vkAcquireProfilingLockKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAcquireProfilingLockKHR; }
9441 : if (strcmp(pName, "vkReleaseProfilingLockKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkReleaseProfilingLockKHR; }
9442 : #endif /* defined(VK_KHR_performance_query) */
9443 : #if defined(VK_ANDROID_external_memory_android_hardware_buffer)
9444 : if (strcmp(pName, "vkGetAndroidHardwareBufferPropertiesANDROID") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAndroidHardwareBufferPropertiesANDROID; }
9445 : if (strcmp(pName, "vkGetMemoryAndroidHardwareBufferANDROID") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryAndroidHardwareBufferANDROID; }
9446 : #endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
9447 : #if defined(VK_AMDX_shader_enqueue)
9448 : if (strcmp(pName, "vkCreateExecutionGraphPipelinesAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateExecutionGraphPipelinesAMDX; }
9449 : if (strcmp(pName, "vkGetExecutionGraphPipelineScratchSizeAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetExecutionGraphPipelineScratchSizeAMDX; }
9450 : if (strcmp(pName, "vkGetExecutionGraphPipelineNodeIndexAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetExecutionGraphPipelineNodeIndexAMDX; }
9451 : if (strcmp(pName, "vkCmdInitializeGraphScratchMemoryAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdInitializeGraphScratchMemoryAMDX; }
9452 : if (strcmp(pName, "vkCmdDispatchGraphAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchGraphAMDX; }
9453 : if (strcmp(pName, "vkCmdDispatchGraphIndirectAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchGraphIndirectAMDX; }
9454 : if (strcmp(pName, "vkCmdDispatchGraphIndirectCountAMDX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDispatchGraphIndirectCountAMDX; }
9455 : #endif /* defined(VK_AMDX_shader_enqueue) */
9456 : #if defined(VK_EXT_sample_locations)
9457 : if (strcmp(pName, "vkCmdSetSampleLocationsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetSampleLocationsEXT; }
9458 : #endif /* defined(VK_EXT_sample_locations) */
9459 : #if defined(VK_KHR_get_memory_requirements2)
9460 : if (strcmp(pName, "vkGetImageMemoryRequirements2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageMemoryRequirements2KHR; }
9461 : if (strcmp(pName, "vkGetBufferMemoryRequirements2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferMemoryRequirements2KHR; }
9462 : if (strcmp(pName, "vkGetImageSparseMemoryRequirements2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSparseMemoryRequirements2KHR; }
9463 : #endif /* defined(VK_KHR_get_memory_requirements2) */
9464 : #if defined(VK_KHR_acceleration_structure)
9465 : if (strcmp(pName, "vkCreateAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateAccelerationStructureKHR; }
9466 : if (strcmp(pName, "vkDestroyAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyAccelerationStructureKHR; }
9467 : if (strcmp(pName, "vkCmdBuildAccelerationStructuresKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructuresKHR; }
9468 : if (strcmp(pName, "vkCmdBuildAccelerationStructuresIndirectKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructuresIndirectKHR; }
9469 : if (strcmp(pName, "vkBuildAccelerationStructuresKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBuildAccelerationStructuresKHR; }
9470 : if (strcmp(pName, "vkCopyAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyAccelerationStructureKHR; }
9471 : if (strcmp(pName, "vkCopyAccelerationStructureToMemoryKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyAccelerationStructureToMemoryKHR; }
9472 : if (strcmp(pName, "vkCopyMemoryToAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyMemoryToAccelerationStructureKHR; }
9473 : if (strcmp(pName, "vkWriteAccelerationStructuresPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWriteAccelerationStructuresPropertiesKHR; }
9474 : if (strcmp(pName, "vkCmdCopyAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureKHR; }
9475 : if (strcmp(pName, "vkCmdCopyAccelerationStructureToMemoryKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureToMemoryKHR; }
9476 : if (strcmp(pName, "vkCmdCopyMemoryToAccelerationStructureKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToAccelerationStructureKHR; }
9477 : if (strcmp(pName, "vkGetAccelerationStructureDeviceAddressKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAccelerationStructureDeviceAddressKHR; }
9478 : if (strcmp(pName, "vkCmdWriteAccelerationStructuresPropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteAccelerationStructuresPropertiesKHR; }
9479 : if (strcmp(pName, "vkGetDeviceAccelerationStructureCompatibilityKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceAccelerationStructureCompatibilityKHR; }
9480 : if (strcmp(pName, "vkGetAccelerationStructureBuildSizesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAccelerationStructureBuildSizesKHR; }
9481 : #endif /* defined(VK_KHR_acceleration_structure) */
9482 : #if defined(VK_KHR_ray_tracing_pipeline)
9483 : if (strcmp(pName, "vkCmdTraceRaysKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdTraceRaysKHR; }
9484 : if (strcmp(pName, "vkCreateRayTracingPipelinesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateRayTracingPipelinesKHR; }
9485 : if (strcmp(pName, "vkGetRayTracingShaderGroupHandlesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupHandlesKHR; }
9486 : if (strcmp(pName, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; }
9487 : if (strcmp(pName, "vkCmdTraceRaysIndirectKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdTraceRaysIndirectKHR; }
9488 : if (strcmp(pName, "vkGetRayTracingShaderGroupStackSizeKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupStackSizeKHR; }
9489 : if (strcmp(pName, "vkCmdSetRayTracingPipelineStackSizeKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRayTracingPipelineStackSizeKHR; }
9490 : #endif /* defined(VK_KHR_ray_tracing_pipeline) */
9491 : #if defined(VK_KHR_sampler_ycbcr_conversion)
9492 : if (strcmp(pName, "vkCreateSamplerYcbcrConversionKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSamplerYcbcrConversionKHR; }
9493 : if (strcmp(pName, "vkDestroySamplerYcbcrConversionKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySamplerYcbcrConversionKHR; }
9494 : #endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
9495 : #if defined(VK_KHR_bind_memory2)
9496 : if (strcmp(pName, "vkBindBufferMemory2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindBufferMemory2KHR; }
9497 : if (strcmp(pName, "vkBindImageMemory2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindImageMemory2KHR; }
9498 : #endif /* defined(VK_KHR_bind_memory2) */
9499 : #if defined(VK_EXT_image_drm_format_modifier)
9500 : if (strcmp(pName, "vkGetImageDrmFormatModifierPropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageDrmFormatModifierPropertiesEXT; }
9501 : #endif /* defined(VK_EXT_image_drm_format_modifier) */
9502 : #if defined(VK_EXT_validation_cache)
9503 : if (strcmp(pName, "vkCreateValidationCacheEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateValidationCacheEXT; }
9504 : if (strcmp(pName, "vkDestroyValidationCacheEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyValidationCacheEXT; }
9505 : if (strcmp(pName, "vkMergeValidationCachesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkMergeValidationCachesEXT; }
9506 : if (strcmp(pName, "vkGetValidationCacheDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetValidationCacheDataEXT; }
9507 : #endif /* defined(VK_EXT_validation_cache) */
9508 : #if defined(VK_NV_shading_rate_image)
9509 : if (strcmp(pName, "vkCmdBindShadingRateImageNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindShadingRateImageNV; }
9510 : if (strcmp(pName, "vkCmdSetViewportShadingRatePaletteNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportShadingRatePaletteNV; }
9511 : if (strcmp(pName, "vkCmdSetCoarseSampleOrderNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoarseSampleOrderNV; }
9512 : #endif /* defined(VK_NV_shading_rate_image) */
9513 : #if defined(VK_NV_ray_tracing)
9514 : if (strcmp(pName, "vkCreateAccelerationStructureNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateAccelerationStructureNV; }
9515 : if (strcmp(pName, "vkDestroyAccelerationStructureNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyAccelerationStructureNV; }
9516 : if (strcmp(pName, "vkGetAccelerationStructureMemoryRequirementsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAccelerationStructureMemoryRequirementsNV; }
9517 : if (strcmp(pName, "vkBindAccelerationStructureMemoryNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindAccelerationStructureMemoryNV; }
9518 : if (strcmp(pName, "vkCmdBuildAccelerationStructureNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBuildAccelerationStructureNV; }
9519 : if (strcmp(pName, "vkCmdCopyAccelerationStructureNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyAccelerationStructureNV; }
9520 : if (strcmp(pName, "vkCmdTraceRaysNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdTraceRaysNV; }
9521 : if (strcmp(pName, "vkCreateRayTracingPipelinesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateRayTracingPipelinesNV; }
9522 : if (strcmp(pName, "vkGetRayTracingShaderGroupHandlesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRayTracingShaderGroupHandlesNV; }
9523 : if (strcmp(pName, "vkGetAccelerationStructureHandleNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAccelerationStructureHandleNV; }
9524 : if (strcmp(pName, "vkCmdWriteAccelerationStructuresPropertiesNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteAccelerationStructuresPropertiesNV; }
9525 : if (strcmp(pName, "vkCompileDeferredNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCompileDeferredNV; }
9526 : #endif /* defined(VK_NV_ray_tracing) */
9527 : #if defined(VK_KHR_maintenance3)
9528 : if (strcmp(pName, "vkGetDescriptorSetLayoutSupportKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSupportKHR; }
9529 : #endif /* defined(VK_KHR_maintenance3) */
9530 : #if defined(VK_KHR_draw_indirect_count)
9531 : if (strcmp(pName, "vkCmdDrawIndirectCountKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndirectCountKHR; }
9532 : if (strcmp(pName, "vkCmdDrawIndexedIndirectCountKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawIndexedIndirectCountKHR; }
9533 : #endif /* defined(VK_KHR_draw_indirect_count) */
9534 : #if defined(VK_EXT_external_memory_host)
9535 : if (strcmp(pName, "vkGetMemoryHostPointerPropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryHostPointerPropertiesEXT; }
9536 : #endif /* defined(VK_EXT_external_memory_host) */
9537 : #if defined(VK_AMD_buffer_marker)
9538 : if (strcmp(pName, "vkCmdWriteBufferMarkerAMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteBufferMarkerAMD; }
9539 : #endif /* defined(VK_AMD_buffer_marker) */
9540 : #if defined(VK_EXT_calibrated_timestamps)
9541 : if (strcmp(pName, "vkGetCalibratedTimestampsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetCalibratedTimestampsEXT; }
9542 : #endif /* defined(VK_EXT_calibrated_timestamps) */
9543 : #if defined(VK_NV_mesh_shader)
9544 : if (strcmp(pName, "vkCmdDrawMeshTasksNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksNV; }
9545 : if (strcmp(pName, "vkCmdDrawMeshTasksIndirectNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectNV; }
9546 : if (strcmp(pName, "vkCmdDrawMeshTasksIndirectCountNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectCountNV; }
9547 : #endif /* defined(VK_NV_mesh_shader) */
9548 : #if defined(VK_NV_scissor_exclusive)
9549 : if (strcmp(pName, "vkCmdSetExclusiveScissorEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetExclusiveScissorEnableNV; }
9550 : if (strcmp(pName, "vkCmdSetExclusiveScissorNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetExclusiveScissorNV; }
9551 : #endif /* defined(VK_NV_scissor_exclusive) */
9552 : #if defined(VK_NV_device_diagnostic_checkpoints)
9553 : if (strcmp(pName, "vkCmdSetCheckpointNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCheckpointNV; }
9554 : if (strcmp(pName, "vkGetQueueCheckpointDataNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetQueueCheckpointDataNV; }
9555 : #endif /* defined(VK_NV_device_diagnostic_checkpoints) */
9556 : #if defined(VK_KHR_timeline_semaphore)
9557 : if (strcmp(pName, "vkGetSemaphoreCounterValueKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreCounterValueKHR; }
9558 : if (strcmp(pName, "vkWaitSemaphoresKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWaitSemaphoresKHR; }
9559 : if (strcmp(pName, "vkSignalSemaphoreKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSignalSemaphoreKHR; }
9560 : #endif /* defined(VK_KHR_timeline_semaphore) */
9561 : #if defined(VK_INTEL_performance_query)
9562 : if (strcmp(pName, "vkInitializePerformanceApiINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkInitializePerformanceApiINTEL; }
9563 : if (strcmp(pName, "vkUninitializePerformanceApiINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUninitializePerformanceApiINTEL; }
9564 : if (strcmp(pName, "vkCmdSetPerformanceMarkerINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPerformanceMarkerINTEL; }
9565 : if (strcmp(pName, "vkCmdSetPerformanceStreamMarkerINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPerformanceStreamMarkerINTEL; }
9566 : if (strcmp(pName, "vkCmdSetPerformanceOverrideINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPerformanceOverrideINTEL; }
9567 : if (strcmp(pName, "vkAcquirePerformanceConfigurationINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAcquirePerformanceConfigurationINTEL; }
9568 : if (strcmp(pName, "vkReleasePerformanceConfigurationINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkReleasePerformanceConfigurationINTEL; }
9569 : if (strcmp(pName, "vkQueueSetPerformanceConfigurationINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueSetPerformanceConfigurationINTEL; }
9570 : if (strcmp(pName, "vkGetPerformanceParameterINTEL") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPerformanceParameterINTEL; }
9571 : #endif /* defined(VK_INTEL_performance_query) */
9572 : #if defined(VK_AMD_display_native_hdr)
9573 : if (strcmp(pName, "vkSetLocalDimmingAMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetLocalDimmingAMD; }
9574 : #endif /* defined(VK_AMD_display_native_hdr) */
9575 : #if defined(VK_KHR_fragment_shading_rate)
9576 : if (strcmp(pName, "vkCmdSetFragmentShadingRateKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetFragmentShadingRateKHR; }
9577 : #endif /* defined(VK_KHR_fragment_shading_rate) */
9578 : #if defined(VK_EXT_buffer_device_address)
9579 : if (strcmp(pName, "vkGetBufferDeviceAddressEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddressEXT; }
9580 : #endif /* defined(VK_EXT_buffer_device_address) */
9581 : #if defined(VK_KHR_present_wait)
9582 : if (strcmp(pName, "vkWaitForPresentKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWaitForPresentKHR; }
9583 : #endif /* defined(VK_KHR_present_wait) */
9584 : #if defined(VK_EXT_full_screen_exclusive)
9585 : if (strcmp(pName, "vkAcquireFullScreenExclusiveModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkAcquireFullScreenExclusiveModeEXT; }
9586 : if (strcmp(pName, "vkReleaseFullScreenExclusiveModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkReleaseFullScreenExclusiveModeEXT; }
9587 : #endif /* defined(VK_EXT_full_screen_exclusive) */
9588 : #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
9589 : if (strcmp(pName, "vkGetDeviceGroupSurfacePresentModes2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceGroupSurfacePresentModes2EXT; }
9590 : #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
9591 : #if defined(VK_KHR_buffer_device_address)
9592 : if (strcmp(pName, "vkGetBufferDeviceAddressKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferDeviceAddressKHR; }
9593 : if (strcmp(pName, "vkGetBufferOpaqueCaptureAddressKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureAddressKHR; }
9594 : if (strcmp(pName, "vkGetDeviceMemoryOpaqueCaptureAddressKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceMemoryOpaqueCaptureAddressKHR; }
9595 : #endif /* defined(VK_KHR_buffer_device_address) */
9596 : #if defined(VK_EXT_line_rasterization)
9597 : if (strcmp(pName, "vkCmdSetLineStippleEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLineStippleEXT; }
9598 : #endif /* defined(VK_EXT_line_rasterization) */
9599 : #if defined(VK_EXT_host_query_reset)
9600 : if (strcmp(pName, "vkResetQueryPoolEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkResetQueryPoolEXT; }
9601 : #endif /* defined(VK_EXT_host_query_reset) */
9602 : #if defined(VK_EXT_extended_dynamic_state)
9603 : if (strcmp(pName, "vkCmdSetCullModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCullModeEXT; }
9604 : if (strcmp(pName, "vkCmdSetFrontFaceEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetFrontFaceEXT; }
9605 : if (strcmp(pName, "vkCmdSetPrimitiveTopologyEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveTopologyEXT; }
9606 : if (strcmp(pName, "vkCmdSetViewportWithCountEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportWithCountEXT; }
9607 : if (strcmp(pName, "vkCmdSetScissorWithCountEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetScissorWithCountEXT; }
9608 : if (strcmp(pName, "vkCmdBindVertexBuffers2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindVertexBuffers2EXT; }
9609 : if (strcmp(pName, "vkCmdSetDepthTestEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthTestEnableEXT; }
9610 : if (strcmp(pName, "vkCmdSetDepthWriteEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthWriteEnableEXT; }
9611 : if (strcmp(pName, "vkCmdSetDepthCompareOpEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthCompareOpEXT; }
9612 : if (strcmp(pName, "vkCmdSetDepthBoundsTestEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBoundsTestEnableEXT; }
9613 : if (strcmp(pName, "vkCmdSetStencilTestEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilTestEnableEXT; }
9614 : if (strcmp(pName, "vkCmdSetStencilOpEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetStencilOpEXT; }
9615 : #endif /* defined(VK_EXT_extended_dynamic_state) */
9616 : #if defined(VK_KHR_deferred_host_operations)
9617 : if (strcmp(pName, "vkCreateDeferredOperationKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateDeferredOperationKHR; }
9618 : if (strcmp(pName, "vkDestroyDeferredOperationKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyDeferredOperationKHR; }
9619 : if (strcmp(pName, "vkGetDeferredOperationMaxConcurrencyKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeferredOperationMaxConcurrencyKHR; }
9620 : if (strcmp(pName, "vkGetDeferredOperationResultKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeferredOperationResultKHR; }
9621 : if (strcmp(pName, "vkDeferredOperationJoinKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDeferredOperationJoinKHR; }
9622 : #endif /* defined(VK_KHR_deferred_host_operations) */
9623 : #if defined(VK_KHR_pipeline_executable_properties)
9624 : if (strcmp(pName, "vkGetPipelineExecutablePropertiesKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineExecutablePropertiesKHR; }
9625 : if (strcmp(pName, "vkGetPipelineExecutableStatisticsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineExecutableStatisticsKHR; }
9626 : if (strcmp(pName, "vkGetPipelineExecutableInternalRepresentationsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineExecutableInternalRepresentationsKHR; }
9627 : #endif /* defined(VK_KHR_pipeline_executable_properties) */
9628 : #if defined(VK_EXT_host_image_copy)
9629 : if (strcmp(pName, "vkCopyMemoryToImageEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyMemoryToImageEXT; }
9630 : if (strcmp(pName, "vkCopyImageToMemoryEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyImageToMemoryEXT; }
9631 : if (strcmp(pName, "vkCopyImageToImageEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyImageToImageEXT; }
9632 : if (strcmp(pName, "vkTransitionImageLayoutEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkTransitionImageLayoutEXT; }
9633 : if (strcmp(pName, "vkGetImageSubresourceLayout2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout2EXT; }
9634 : #endif /* defined(VK_EXT_host_image_copy) */
9635 : #if defined(VK_KHR_map_memory2)
9636 : if (strcmp(pName, "vkMapMemory2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkMapMemory2KHR; }
9637 : if (strcmp(pName, "vkUnmapMemory2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkUnmapMemory2KHR; }
9638 : #endif /* defined(VK_KHR_map_memory2) */
9639 : #if defined(VK_EXT_swapchain_maintenance1)
9640 : if (strcmp(pName, "vkReleaseSwapchainImagesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkReleaseSwapchainImagesEXT; }
9641 : #endif /* defined(VK_EXT_swapchain_maintenance1) */
9642 : #if defined(VK_NV_device_generated_commands)
9643 : if (strcmp(pName, "vkGetGeneratedCommandsMemoryRequirementsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetGeneratedCommandsMemoryRequirementsNV; }
9644 : if (strcmp(pName, "vkCmdPreprocessGeneratedCommandsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPreprocessGeneratedCommandsNV; }
9645 : if (strcmp(pName, "vkCmdExecuteGeneratedCommandsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdExecuteGeneratedCommandsNV; }
9646 : if (strcmp(pName, "vkCmdBindPipelineShaderGroupNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindPipelineShaderGroupNV; }
9647 : if (strcmp(pName, "vkCreateIndirectCommandsLayoutNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateIndirectCommandsLayoutNV; }
9648 : if (strcmp(pName, "vkDestroyIndirectCommandsLayoutNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyIndirectCommandsLayoutNV; }
9649 : #endif /* defined(VK_NV_device_generated_commands) */
9650 : #if defined(VK_EXT_depth_bias_control)
9651 : if (strcmp(pName, "vkCmdSetDepthBias2EXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBias2EXT; }
9652 : #endif /* defined(VK_EXT_depth_bias_control) */
9653 : #if defined(VK_EXT_private_data)
9654 : if (strcmp(pName, "vkCreatePrivateDataSlotEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreatePrivateDataSlotEXT; }
9655 : if (strcmp(pName, "vkDestroyPrivateDataSlotEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyPrivateDataSlotEXT; }
9656 : if (strcmp(pName, "vkSetPrivateDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetPrivateDataEXT; }
9657 : if (strcmp(pName, "vkGetPrivateDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPrivateDataEXT; }
9658 : #endif /* defined(VK_EXT_private_data) */
9659 : #if defined(VK_KHR_video_encode_queue)
9660 : if (strcmp(pName, "vkGetEncodedVideoSessionParametersKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetEncodedVideoSessionParametersKHR; }
9661 : if (strcmp(pName, "vkCmdEncodeVideoKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdEncodeVideoKHR; }
9662 : #endif /* defined(VK_KHR_video_encode_queue) */
9663 : #if defined(VK_KHR_object_refresh)
9664 : if (strcmp(pName, "vkCmdRefreshObjectsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdRefreshObjectsKHR; }
9665 : #endif /* defined(VK_KHR_object_refresh) */
9666 : #if defined(VK_EXT_metal_objects)
9667 : if (strcmp(pName, "vkExportMetalObjectsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkExportMetalObjectsEXT; }
9668 : #endif /* defined(VK_EXT_metal_objects) */
9669 : #if defined(VK_KHR_synchronization2)
9670 : if (strcmp(pName, "vkCmdSetEvent2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetEvent2KHR; }
9671 : if (strcmp(pName, "vkCmdResetEvent2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResetEvent2KHR; }
9672 : if (strcmp(pName, "vkCmdWaitEvents2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWaitEvents2KHR; }
9673 : if (strcmp(pName, "vkCmdPipelineBarrier2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdPipelineBarrier2KHR; }
9674 : if (strcmp(pName, "vkCmdWriteTimestamp2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteTimestamp2KHR; }
9675 : if (strcmp(pName, "vkQueueSubmit2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkQueueSubmit2KHR; }
9676 : #endif /* defined(VK_KHR_synchronization2) */
9677 : #if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
9678 : if (strcmp(pName, "vkCmdWriteBufferMarker2AMD") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteBufferMarker2AMD; }
9679 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
9680 : #if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
9681 : if (strcmp(pName, "vkGetQueueCheckpointData2NV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetQueueCheckpointData2NV; }
9682 : #endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
9683 : #if defined(VK_EXT_descriptor_buffer)
9684 : if (strcmp(pName, "vkGetDescriptorSetLayoutSizeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutSizeEXT; }
9685 : if (strcmp(pName, "vkGetDescriptorSetLayoutBindingOffsetEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutBindingOffsetEXT; }
9686 : if (strcmp(pName, "vkGetDescriptorEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorEXT; }
9687 : if (strcmp(pName, "vkCmdBindDescriptorBuffersEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindDescriptorBuffersEXT; }
9688 : if (strcmp(pName, "vkCmdSetDescriptorBufferOffsetsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDescriptorBufferOffsetsEXT; }
9689 : if (strcmp(pName, "vkCmdBindDescriptorBufferEmbeddedSamplersEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindDescriptorBufferEmbeddedSamplersEXT; }
9690 : if (strcmp(pName, "vkGetBufferOpaqueCaptureDescriptorDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferOpaqueCaptureDescriptorDataEXT; }
9691 : if (strcmp(pName, "vkGetImageOpaqueCaptureDescriptorDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageOpaqueCaptureDescriptorDataEXT; }
9692 : if (strcmp(pName, "vkGetImageViewOpaqueCaptureDescriptorDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageViewOpaqueCaptureDescriptorDataEXT; }
9693 : if (strcmp(pName, "vkGetSamplerOpaqueCaptureDescriptorDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSamplerOpaqueCaptureDescriptorDataEXT; }
9694 : #endif /* defined(VK_EXT_descriptor_buffer) */
9695 : #if (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing))
9696 : if (strcmp(pName, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT; }
9697 : #endif /* (defined(VK_EXT_descriptor_buffer) && defined(VK_KHR_acceleration_structure)) || (defined(VK_EXT_descriptor_buffer) && defined(VK_NV_ray_tracing)) */
9698 : #if defined(VK_NV_fragment_shading_rate_enums)
9699 : if (strcmp(pName, "vkCmdSetFragmentShadingRateEnumNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetFragmentShadingRateEnumNV; }
9700 : #endif /* defined(VK_NV_fragment_shading_rate_enums) */
9701 : #if defined(VK_EXT_mesh_shader)
9702 : if (strcmp(pName, "vkCmdDrawMeshTasksEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksEXT; }
9703 : if (strcmp(pName, "vkCmdDrawMeshTasksIndirectEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectEXT; }
9704 : if (strcmp(pName, "vkCmdDrawMeshTasksIndirectCountEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMeshTasksIndirectCountEXT; }
9705 : #endif /* defined(VK_EXT_mesh_shader) */
9706 : #if defined(VK_KHR_copy_commands2)
9707 : if (strcmp(pName, "vkCmdCopyBuffer2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBuffer2KHR; }
9708 : if (strcmp(pName, "vkCmdCopyImage2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImage2KHR; }
9709 : if (strcmp(pName, "vkCmdCopyBufferToImage2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyBufferToImage2KHR; }
9710 : if (strcmp(pName, "vkCmdCopyImageToBuffer2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyImageToBuffer2KHR; }
9711 : if (strcmp(pName, "vkCmdBlitImage2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBlitImage2KHR; }
9712 : if (strcmp(pName, "vkCmdResolveImage2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdResolveImage2KHR; }
9713 : #endif /* defined(VK_KHR_copy_commands2) */
9714 : #if defined(VK_EXT_device_fault)
9715 : if (strcmp(pName, "vkGetDeviceFaultInfoEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceFaultInfoEXT; }
9716 : #endif /* defined(VK_EXT_device_fault) */
9717 : #if defined(VK_EXT_vertex_input_dynamic_state)
9718 : if (strcmp(pName, "vkCmdSetVertexInputEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetVertexInputEXT; }
9719 : #endif /* defined(VK_EXT_vertex_input_dynamic_state) */
9720 : #if defined(VK_FUCHSIA_external_memory)
9721 : if (strcmp(pName, "vkGetMemoryZirconHandleFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryZirconHandleFUCHSIA; }
9722 : if (strcmp(pName, "vkGetMemoryZirconHandlePropertiesFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryZirconHandlePropertiesFUCHSIA; }
9723 : #endif /* defined(VK_FUCHSIA_external_memory) */
9724 : #if defined(VK_FUCHSIA_external_semaphore)
9725 : if (strcmp(pName, "vkImportSemaphoreZirconHandleFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportSemaphoreZirconHandleFUCHSIA; }
9726 : if (strcmp(pName, "vkGetSemaphoreZirconHandleFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreZirconHandleFUCHSIA; }
9727 : #endif /* defined(VK_FUCHSIA_external_semaphore) */
9728 : #if defined(VK_FUCHSIA_buffer_collection)
9729 : if (strcmp(pName, "vkCreateBufferCollectionFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateBufferCollectionFUCHSIA; }
9730 : if (strcmp(pName, "vkSetBufferCollectionImageConstraintsFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetBufferCollectionImageConstraintsFUCHSIA; }
9731 : if (strcmp(pName, "vkSetBufferCollectionBufferConstraintsFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetBufferCollectionBufferConstraintsFUCHSIA; }
9732 : if (strcmp(pName, "vkDestroyBufferCollectionFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyBufferCollectionFUCHSIA; }
9733 : if (strcmp(pName, "vkGetBufferCollectionPropertiesFUCHSIA") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetBufferCollectionPropertiesFUCHSIA; }
9734 : #endif /* defined(VK_FUCHSIA_buffer_collection) */
9735 : #if defined(VK_HUAWEI_subpass_shading)
9736 : if (strcmp(pName, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI; }
9737 : if (strcmp(pName, "vkCmdSubpassShadingHUAWEI") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSubpassShadingHUAWEI; }
9738 : #endif /* defined(VK_HUAWEI_subpass_shading) */
9739 : #if defined(VK_HUAWEI_invocation_mask)
9740 : if (strcmp(pName, "vkCmdBindInvocationMaskHUAWEI") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindInvocationMaskHUAWEI; }
9741 : #endif /* defined(VK_HUAWEI_invocation_mask) */
9742 : #if defined(VK_NV_external_memory_rdma)
9743 : if (strcmp(pName, "vkGetMemoryRemoteAddressNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemoryRemoteAddressNV; }
9744 : #endif /* defined(VK_NV_external_memory_rdma) */
9745 : #if defined(VK_EXT_pipeline_properties)
9746 : if (strcmp(pName, "vkGetPipelinePropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelinePropertiesEXT; }
9747 : #endif /* defined(VK_EXT_pipeline_properties) */
9748 : #if defined(VK_NV_external_sci_sync)
9749 : if (strcmp(pName, "vkGetFenceSciSyncFenceNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFenceSciSyncFenceNV; }
9750 : if (strcmp(pName, "vkGetFenceSciSyncObjNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFenceSciSyncObjNV; }
9751 : if (strcmp(pName, "vkImportFenceSciSyncFenceNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportFenceSciSyncFenceNV; }
9752 : if (strcmp(pName, "vkImportFenceSciSyncObjNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportFenceSciSyncObjNV; }
9753 : if (strcmp(pName, "vkGetSemaphoreSciSyncObjNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetSemaphoreSciSyncObjNV; }
9754 : if (strcmp(pName, "vkImportSemaphoreSciSyncObjNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkImportSemaphoreSciSyncObjNV; }
9755 : #endif /* defined(VK_NV_external_sci_sync) */
9756 : #if defined(VK_NV_external_memory_sci_buf)
9757 : if (strcmp(pName, "vkGetMemorySciBufNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMemorySciBufNV; }
9758 : #endif /* defined(VK_NV_external_memory_sci_buf) */
9759 : #if defined(VK_EXT_extended_dynamic_state2)
9760 : if (strcmp(pName, "vkCmdSetPatchControlPointsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPatchControlPointsEXT; }
9761 : if (strcmp(pName, "vkCmdSetRasterizerDiscardEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRasterizerDiscardEnableEXT; }
9762 : if (strcmp(pName, "vkCmdSetDepthBiasEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthBiasEnableEXT; }
9763 : if (strcmp(pName, "vkCmdSetLogicOpEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLogicOpEXT; }
9764 : if (strcmp(pName, "vkCmdSetPrimitiveRestartEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPrimitiveRestartEnableEXT; }
9765 : #endif /* defined(VK_EXT_extended_dynamic_state2) */
9766 : #if defined(VK_EXT_color_write_enable)
9767 : if (strcmp(pName, "vkCmdSetColorWriteEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetColorWriteEnableEXT; }
9768 : #endif /* defined(VK_EXT_color_write_enable) */
9769 : #if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
9770 : if (strcmp(pName, "vkCmdTraceRaysIndirect2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdTraceRaysIndirect2KHR; }
9771 : #endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
9772 : #if defined(VK_EXT_multi_draw)
9773 : if (strcmp(pName, "vkCmdDrawMultiEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMultiEXT; }
9774 : if (strcmp(pName, "vkCmdDrawMultiIndexedEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawMultiIndexedEXT; }
9775 : #endif /* defined(VK_EXT_multi_draw) */
9776 : #if defined(VK_EXT_opacity_micromap)
9777 : if (strcmp(pName, "vkCreateMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateMicromapEXT; }
9778 : if (strcmp(pName, "vkDestroyMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyMicromapEXT; }
9779 : if (strcmp(pName, "vkCmdBuildMicromapsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBuildMicromapsEXT; }
9780 : if (strcmp(pName, "vkBuildMicromapsEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBuildMicromapsEXT; }
9781 : if (strcmp(pName, "vkCopyMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyMicromapEXT; }
9782 : if (strcmp(pName, "vkCopyMicromapToMemoryEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyMicromapToMemoryEXT; }
9783 : if (strcmp(pName, "vkCopyMemoryToMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCopyMemoryToMicromapEXT; }
9784 : if (strcmp(pName, "vkWriteMicromapsPropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkWriteMicromapsPropertiesEXT; }
9785 : if (strcmp(pName, "vkCmdCopyMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMicromapEXT; }
9786 : if (strcmp(pName, "vkCmdCopyMicromapToMemoryEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMicromapToMemoryEXT; }
9787 : if (strcmp(pName, "vkCmdCopyMemoryToMicromapEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToMicromapEXT; }
9788 : if (strcmp(pName, "vkCmdWriteMicromapsPropertiesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdWriteMicromapsPropertiesEXT; }
9789 : if (strcmp(pName, "vkGetDeviceMicromapCompatibilityEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceMicromapCompatibilityEXT; }
9790 : if (strcmp(pName, "vkGetMicromapBuildSizesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetMicromapBuildSizesEXT; }
9791 : #endif /* defined(VK_EXT_opacity_micromap) */
9792 : #if defined(VK_HUAWEI_cluster_culling_shader)
9793 : if (strcmp(pName, "vkCmdDrawClusterHUAWEI") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawClusterHUAWEI; }
9794 : if (strcmp(pName, "vkCmdDrawClusterIndirectHUAWEI") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDrawClusterIndirectHUAWEI; }
9795 : #endif /* defined(VK_HUAWEI_cluster_culling_shader) */
9796 : #if defined(VK_EXT_pageable_device_local_memory)
9797 : if (strcmp(pName, "vkSetDeviceMemoryPriorityEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkSetDeviceMemoryPriorityEXT; }
9798 : #endif /* defined(VK_EXT_pageable_device_local_memory) */
9799 : #if defined(VK_KHR_maintenance4)
9800 : if (strcmp(pName, "vkGetDeviceBufferMemoryRequirementsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceBufferMemoryRequirementsKHR; }
9801 : if (strcmp(pName, "vkGetDeviceImageMemoryRequirementsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceImageMemoryRequirementsKHR; }
9802 : if (strcmp(pName, "vkGetDeviceImageSparseMemoryRequirementsKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceImageSparseMemoryRequirementsKHR; }
9803 : #endif /* defined(VK_KHR_maintenance4) */
9804 : #if defined(VK_VALVE_descriptor_set_host_mapping)
9805 : if (strcmp(pName, "vkGetDescriptorSetLayoutHostMappingInfoVALVE") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetLayoutHostMappingInfoVALVE; }
9806 : if (strcmp(pName, "vkGetDescriptorSetHostMappingVALVE") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDescriptorSetHostMappingVALVE; }
9807 : #endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
9808 : #if defined(VK_NV_copy_memory_indirect)
9809 : if (strcmp(pName, "vkCmdCopyMemoryIndirectNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMemoryIndirectNV; }
9810 : if (strcmp(pName, "vkCmdCopyMemoryToImageIndirectNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdCopyMemoryToImageIndirectNV; }
9811 : #endif /* defined(VK_NV_copy_memory_indirect) */
9812 : #if defined(VK_NV_memory_decompression)
9813 : if (strcmp(pName, "vkCmdDecompressMemoryNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDecompressMemoryNV; }
9814 : if (strcmp(pName, "vkCmdDecompressMemoryIndirectCountNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdDecompressMemoryIndirectCountNV; }
9815 : #endif /* defined(VK_NV_memory_decompression) */
9816 : #if defined(VK_NV_device_generated_commands_compute)
9817 : if (strcmp(pName, "vkGetPipelineIndirectMemoryRequirementsNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineIndirectMemoryRequirementsNV; }
9818 : if (strcmp(pName, "vkCmdUpdatePipelineIndirectBufferNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdUpdatePipelineIndirectBufferNV; }
9819 : if (strcmp(pName, "vkGetPipelineIndirectDeviceAddressNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetPipelineIndirectDeviceAddressNV; }
9820 : #endif /* defined(VK_NV_device_generated_commands_compute) */
9821 : #if defined(VK_EXT_extended_dynamic_state3)
9822 : if (strcmp(pName, "vkCmdSetTessellationDomainOriginEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetTessellationDomainOriginEXT; }
9823 : if (strcmp(pName, "vkCmdSetDepthClampEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthClampEnableEXT; }
9824 : if (strcmp(pName, "vkCmdSetPolygonModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetPolygonModeEXT; }
9825 : if (strcmp(pName, "vkCmdSetRasterizationSamplesEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRasterizationSamplesEXT; }
9826 : if (strcmp(pName, "vkCmdSetSampleMaskEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetSampleMaskEXT; }
9827 : if (strcmp(pName, "vkCmdSetAlphaToCoverageEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetAlphaToCoverageEnableEXT; }
9828 : if (strcmp(pName, "vkCmdSetAlphaToOneEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetAlphaToOneEnableEXT; }
9829 : if (strcmp(pName, "vkCmdSetLogicOpEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLogicOpEnableEXT; }
9830 : if (strcmp(pName, "vkCmdSetColorBlendEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetColorBlendEnableEXT; }
9831 : if (strcmp(pName, "vkCmdSetColorBlendEquationEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetColorBlendEquationEXT; }
9832 : if (strcmp(pName, "vkCmdSetColorWriteMaskEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetColorWriteMaskEXT; }
9833 : if (strcmp(pName, "vkCmdSetRasterizationStreamEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRasterizationStreamEXT; }
9834 : if (strcmp(pName, "vkCmdSetConservativeRasterizationModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetConservativeRasterizationModeEXT; }
9835 : if (strcmp(pName, "vkCmdSetExtraPrimitiveOverestimationSizeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetExtraPrimitiveOverestimationSizeEXT; }
9836 : if (strcmp(pName, "vkCmdSetDepthClipEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthClipEnableEXT; }
9837 : if (strcmp(pName, "vkCmdSetSampleLocationsEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetSampleLocationsEnableEXT; }
9838 : if (strcmp(pName, "vkCmdSetColorBlendAdvancedEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetColorBlendAdvancedEXT; }
9839 : if (strcmp(pName, "vkCmdSetProvokingVertexModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetProvokingVertexModeEXT; }
9840 : if (strcmp(pName, "vkCmdSetLineRasterizationModeEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLineRasterizationModeEXT; }
9841 : if (strcmp(pName, "vkCmdSetLineStippleEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetLineStippleEnableEXT; }
9842 : if (strcmp(pName, "vkCmdSetDepthClipNegativeOneToOneEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetDepthClipNegativeOneToOneEXT; }
9843 : #endif /* defined(VK_EXT_extended_dynamic_state3) */
9844 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling))
9845 : if (strcmp(pName, "vkCmdSetViewportWScalingEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportWScalingEnableNV; }
9846 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling)) */
9847 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode))
9848 : if (strcmp(pName, "vkCmdSetCoverageReductionModeNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageReductionModeNV; }
9849 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode)) */
9850 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color))
9851 : if (strcmp(pName, "vkCmdSetCoverageToColorEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageToColorEnableNV; }
9852 : if (strcmp(pName, "vkCmdSetCoverageToColorLocationNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageToColorLocationNV; }
9853 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color)) */
9854 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples))
9855 : if (strcmp(pName, "vkCmdSetCoverageModulationModeNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationModeNV; }
9856 : if (strcmp(pName, "vkCmdSetCoverageModulationTableEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationTableEnableNV; }
9857 : if (strcmp(pName, "vkCmdSetCoverageModulationTableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetCoverageModulationTableNV; }
9858 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples)) */
9859 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test))
9860 : if (strcmp(pName, "vkCmdSetRepresentativeFragmentTestEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetRepresentativeFragmentTestEnableNV; }
9861 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test)) */
9862 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image))
9863 : if (strcmp(pName, "vkCmdSetShadingRateImageEnableNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetShadingRateImageEnableNV; }
9864 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image)) */
9865 : #if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle))
9866 : if (strcmp(pName, "vkCmdSetViewportSwizzleNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetViewportSwizzleNV; }
9867 : #endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle)) */
9868 : #if defined(VK_EXT_shader_module_identifier)
9869 : if (strcmp(pName, "vkGetShaderModuleIdentifierEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetShaderModuleIdentifierEXT; }
9870 : if (strcmp(pName, "vkGetShaderModuleCreateInfoIdentifierEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetShaderModuleCreateInfoIdentifierEXT; }
9871 : #endif /* defined(VK_EXT_shader_module_identifier) */
9872 : #if defined(VK_NV_optical_flow)
9873 : if (strcmp(pName, "vkCreateOpticalFlowSessionNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateOpticalFlowSessionNV; }
9874 : if (strcmp(pName, "vkDestroyOpticalFlowSessionNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyOpticalFlowSessionNV; }
9875 : if (strcmp(pName, "vkBindOpticalFlowSessionImageNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkBindOpticalFlowSessionImageNV; }
9876 : if (strcmp(pName, "vkCmdOpticalFlowExecuteNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdOpticalFlowExecuteNV; }
9877 : #endif /* defined(VK_NV_optical_flow) */
9878 : #if defined(VK_KHR_maintenance5)
9879 : if (strcmp(pName, "vkCmdBindIndexBuffer2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindIndexBuffer2KHR; }
9880 : if (strcmp(pName, "vkGetRenderingAreaGranularityKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetRenderingAreaGranularityKHR; }
9881 : if (strcmp(pName, "vkGetDeviceImageSubresourceLayoutKHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDeviceImageSubresourceLayoutKHR; }
9882 : if (strcmp(pName, "vkGetImageSubresourceLayout2KHR") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetImageSubresourceLayout2KHR; }
9883 : #endif /* defined(VK_KHR_maintenance5) */
9884 : #if defined(VK_EXT_shader_object)
9885 : if (strcmp(pName, "vkCreateShadersEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateShadersEXT; }
9886 : if (strcmp(pName, "vkDestroyShaderEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroyShaderEXT; }
9887 : if (strcmp(pName, "vkGetShaderBinaryDataEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetShaderBinaryDataEXT; }
9888 : if (strcmp(pName, "vkCmdBindShadersEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdBindShadersEXT; }
9889 : #endif /* defined(VK_EXT_shader_object) */
9890 : #if defined(VK_QCOM_tile_properties)
9891 : if (strcmp(pName, "vkGetFramebufferTilePropertiesQCOM") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetFramebufferTilePropertiesQCOM; }
9892 : if (strcmp(pName, "vkGetDynamicRenderingTilePropertiesQCOM") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetDynamicRenderingTilePropertiesQCOM; }
9893 : #endif /* defined(VK_QCOM_tile_properties) */
9894 : #if defined(VK_NV_external_sci_sync2)
9895 : if (strcmp(pName, "vkCreateSemaphoreSciSyncPoolNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCreateSemaphoreSciSyncPoolNV; }
9896 : if (strcmp(pName, "vkDestroySemaphoreSciSyncPoolNV") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkDestroySemaphoreSciSyncPoolNV; }
9897 : #endif /* defined(VK_NV_external_sci_sync2) */
9898 : #if defined(VK_EXT_attachment_feedback_loop_dynamic_state)
9899 : if (strcmp(pName, "vkCmdSetAttachmentFeedbackLoopEnableEXT") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkCmdSetAttachmentFeedbackLoopEnableEXT; }
9900 : #endif /* defined(VK_EXT_attachment_feedback_loop_dynamic_state) */
9901 : #if defined(VK_QNX_external_memory_screen_buffer)
9902 : if (strcmp(pName, "vkGetScreenBufferPropertiesQNX") == 0) { return (PFN_vkVoidFunction)&xl_hook_tl_deviceHookTable_vkGetScreenBufferPropertiesQNX; }
9903 : #endif /* defined(VK_QNX_external_memory_screen_buffer) */
9904 : return nullptr;
9905 : }
9906 :
9907 : InstanceTable InstanceTable::makeHooks() {
9908 : return InstanceTable(&getInstanceHookAddr, nullptr);
9909 : }
9910 :
9911 : DeviceTable DeviceTable::makeHooks() {
9912 : return DeviceTable(&getDeviceHookAddr, nullptr);
9913 : }
9914 :
9915 : #endif /* VK_HOOK_DEBUG */
9916 :
9917 : }
|