Lingfeng Yang | 0b81df2 | 2018-11-05 21:40:30 -0800 | [diff] [blame^] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // Copyright (C) 2018 Google Inc. |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | // Autogenerated module func_table |
| 17 | // (impl) generated by android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/genvk.py -registry android/android-emugl/host/libs/libOpenglRender/vulkan-registry/xml/vk.xml cereal -o android/android-emugl/host/libs/libOpenglRender/vulkan/cereal |
| 18 | // Please do not modify directly; |
| 19 | // re-run android/scripts/generate-vulkan-sources.sh, |
| 20 | // or directly from Python by defining: |
| 21 | // VULKAN_REGISTRY_XML_DIR : Directory containing genvk.py and vk.xml |
| 22 | // CEREAL_OUTPUT_DIR: Where to put the generated sources. |
| 23 | // python3 $VULKAN_REGISTRY_XML_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o $CEREAL_OUTPUT_DIR |
| 24 | |
| 25 | #include "func_table.h" |
| 26 | |
| 27 | |
| 28 | #include "VkEncoder.h" |
| 29 | #include "HostConnection.h" |
| 30 | |
| 31 | // Stuff we are not going to use but if included, |
| 32 | // will cause compile errors. These are Android Vulkan |
| 33 | // required extensions, but the approach will be to |
| 34 | // implement them completely on the guest side. |
| 35 | #undef VK_KHR_android_surface |
| 36 | #undef VK_ANDROID_external_memory_android_hardware_buffer |
| 37 | |
| 38 | |
| 39 | namespace goldfish_vk { |
| 40 | |
| 41 | #ifdef VK_VERSION_1_0 |
| 42 | static VkResult entry_vkCreateInstance( |
| 43 | const VkInstanceCreateInfo* pCreateInfo, |
| 44 | const VkAllocationCallbacks* pAllocator, |
| 45 | VkInstance* pInstance) |
| 46 | { |
| 47 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 48 | VkResult vkCreateInstance_VkResult_return = (VkResult)0; |
| 49 | vkCreateInstance_VkResult_return = vkEnc->vkCreateInstance(pCreateInfo, pAllocator, pInstance); |
| 50 | return vkCreateInstance_VkResult_return; |
| 51 | } |
| 52 | static void entry_vkDestroyInstance( |
| 53 | VkInstance instance, |
| 54 | const VkAllocationCallbacks* pAllocator) |
| 55 | { |
| 56 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 57 | vkEnc->vkDestroyInstance(instance, pAllocator); |
| 58 | } |
| 59 | static VkResult entry_vkEnumeratePhysicalDevices( |
| 60 | VkInstance instance, |
| 61 | uint32_t* pPhysicalDeviceCount, |
| 62 | VkPhysicalDevice* pPhysicalDevices) |
| 63 | { |
| 64 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 65 | VkResult vkEnumeratePhysicalDevices_VkResult_return = (VkResult)0; |
| 66 | vkEnumeratePhysicalDevices_VkResult_return = vkEnc->vkEnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); |
| 67 | return vkEnumeratePhysicalDevices_VkResult_return; |
| 68 | } |
| 69 | static void entry_vkGetPhysicalDeviceFeatures( |
| 70 | VkPhysicalDevice physicalDevice, |
| 71 | VkPhysicalDeviceFeatures* pFeatures) |
| 72 | { |
| 73 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 74 | vkEnc->vkGetPhysicalDeviceFeatures(physicalDevice, pFeatures); |
| 75 | } |
| 76 | static void entry_vkGetPhysicalDeviceFormatProperties( |
| 77 | VkPhysicalDevice physicalDevice, |
| 78 | VkFormat format, |
| 79 | VkFormatProperties* pFormatProperties) |
| 80 | { |
| 81 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 82 | vkEnc->vkGetPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties); |
| 83 | } |
| 84 | static VkResult entry_vkGetPhysicalDeviceImageFormatProperties( |
| 85 | VkPhysicalDevice physicalDevice, |
| 86 | VkFormat format, |
| 87 | VkImageType type, |
| 88 | VkImageTiling tiling, |
| 89 | VkImageUsageFlags usage, |
| 90 | VkImageCreateFlags flags, |
| 91 | VkImageFormatProperties* pImageFormatProperties) |
| 92 | { |
| 93 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 94 | VkResult vkGetPhysicalDeviceImageFormatProperties_VkResult_return = (VkResult)0; |
| 95 | vkGetPhysicalDeviceImageFormatProperties_VkResult_return = vkEnc->vkGetPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties); |
| 96 | return vkGetPhysicalDeviceImageFormatProperties_VkResult_return; |
| 97 | } |
| 98 | static void entry_vkGetPhysicalDeviceProperties( |
| 99 | VkPhysicalDevice physicalDevice, |
| 100 | VkPhysicalDeviceProperties* pProperties) |
| 101 | { |
| 102 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 103 | vkEnc->vkGetPhysicalDeviceProperties(physicalDevice, pProperties); |
| 104 | } |
| 105 | static void entry_vkGetPhysicalDeviceQueueFamilyProperties( |
| 106 | VkPhysicalDevice physicalDevice, |
| 107 | uint32_t* pQueueFamilyPropertyCount, |
| 108 | VkQueueFamilyProperties* pQueueFamilyProperties) |
| 109 | { |
| 110 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 111 | vkEnc->vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties); |
| 112 | } |
| 113 | static void entry_vkGetPhysicalDeviceMemoryProperties( |
| 114 | VkPhysicalDevice physicalDevice, |
| 115 | VkPhysicalDeviceMemoryProperties* pMemoryProperties) |
| 116 | { |
| 117 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 118 | vkEnc->vkGetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties); |
| 119 | } |
| 120 | static PFN_vkVoidFunction entry_vkGetInstanceProcAddr( |
| 121 | VkInstance instance, |
| 122 | const char* pName) |
| 123 | { |
| 124 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 125 | PFN_vkVoidFunction vkGetInstanceProcAddr_PFN_vkVoidFunction_return = (PFN_vkVoidFunction)0; |
| 126 | vkGetInstanceProcAddr_PFN_vkVoidFunction_return = vkEnc->vkGetInstanceProcAddr(instance, pName); |
| 127 | return vkGetInstanceProcAddr_PFN_vkVoidFunction_return; |
| 128 | } |
| 129 | static PFN_vkVoidFunction entry_vkGetDeviceProcAddr( |
| 130 | VkDevice device, |
| 131 | const char* pName) |
| 132 | { |
| 133 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 134 | PFN_vkVoidFunction vkGetDeviceProcAddr_PFN_vkVoidFunction_return = (PFN_vkVoidFunction)0; |
| 135 | vkGetDeviceProcAddr_PFN_vkVoidFunction_return = vkEnc->vkGetDeviceProcAddr(device, pName); |
| 136 | return vkGetDeviceProcAddr_PFN_vkVoidFunction_return; |
| 137 | } |
| 138 | static VkResult entry_vkCreateDevice( |
| 139 | VkPhysicalDevice physicalDevice, |
| 140 | const VkDeviceCreateInfo* pCreateInfo, |
| 141 | const VkAllocationCallbacks* pAllocator, |
| 142 | VkDevice* pDevice) |
| 143 | { |
| 144 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 145 | VkResult vkCreateDevice_VkResult_return = (VkResult)0; |
| 146 | vkCreateDevice_VkResult_return = vkEnc->vkCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); |
| 147 | return vkCreateDevice_VkResult_return; |
| 148 | } |
| 149 | static void entry_vkDestroyDevice( |
| 150 | VkDevice device, |
| 151 | const VkAllocationCallbacks* pAllocator) |
| 152 | { |
| 153 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 154 | vkEnc->vkDestroyDevice(device, pAllocator); |
| 155 | } |
| 156 | static VkResult entry_vkEnumerateInstanceExtensionProperties( |
| 157 | const char* pLayerName, |
| 158 | uint32_t* pPropertyCount, |
| 159 | VkExtensionProperties* pProperties) |
| 160 | { |
| 161 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 162 | VkResult vkEnumerateInstanceExtensionProperties_VkResult_return = (VkResult)0; |
| 163 | vkEnumerateInstanceExtensionProperties_VkResult_return = vkEnc->vkEnumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties); |
| 164 | return vkEnumerateInstanceExtensionProperties_VkResult_return; |
| 165 | } |
| 166 | static VkResult entry_vkEnumerateDeviceExtensionProperties( |
| 167 | VkPhysicalDevice physicalDevice, |
| 168 | const char* pLayerName, |
| 169 | uint32_t* pPropertyCount, |
| 170 | VkExtensionProperties* pProperties) |
| 171 | { |
| 172 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 173 | VkResult vkEnumerateDeviceExtensionProperties_VkResult_return = (VkResult)0; |
| 174 | vkEnumerateDeviceExtensionProperties_VkResult_return = vkEnc->vkEnumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProperties); |
| 175 | return vkEnumerateDeviceExtensionProperties_VkResult_return; |
| 176 | } |
| 177 | static VkResult entry_vkEnumerateInstanceLayerProperties( |
| 178 | uint32_t* pPropertyCount, |
| 179 | VkLayerProperties* pProperties) |
| 180 | { |
| 181 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 182 | VkResult vkEnumerateInstanceLayerProperties_VkResult_return = (VkResult)0; |
| 183 | vkEnumerateInstanceLayerProperties_VkResult_return = vkEnc->vkEnumerateInstanceLayerProperties(pPropertyCount, pProperties); |
| 184 | return vkEnumerateInstanceLayerProperties_VkResult_return; |
| 185 | } |
| 186 | static VkResult entry_vkEnumerateDeviceLayerProperties( |
| 187 | VkPhysicalDevice physicalDevice, |
| 188 | uint32_t* pPropertyCount, |
| 189 | VkLayerProperties* pProperties) |
| 190 | { |
| 191 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 192 | VkResult vkEnumerateDeviceLayerProperties_VkResult_return = (VkResult)0; |
| 193 | vkEnumerateDeviceLayerProperties_VkResult_return = vkEnc->vkEnumerateDeviceLayerProperties(physicalDevice, pPropertyCount, pProperties); |
| 194 | return vkEnumerateDeviceLayerProperties_VkResult_return; |
| 195 | } |
| 196 | static void entry_vkGetDeviceQueue( |
| 197 | VkDevice device, |
| 198 | uint32_t queueFamilyIndex, |
| 199 | uint32_t queueIndex, |
| 200 | VkQueue* pQueue) |
| 201 | { |
| 202 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 203 | vkEnc->vkGetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); |
| 204 | } |
| 205 | static VkResult entry_vkQueueSubmit( |
| 206 | VkQueue queue, |
| 207 | uint32_t submitCount, |
| 208 | const VkSubmitInfo* pSubmits, |
| 209 | VkFence fence) |
| 210 | { |
| 211 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 212 | VkResult vkQueueSubmit_VkResult_return = (VkResult)0; |
| 213 | vkQueueSubmit_VkResult_return = vkEnc->vkQueueSubmit(queue, submitCount, pSubmits, fence); |
| 214 | return vkQueueSubmit_VkResult_return; |
| 215 | } |
| 216 | static VkResult entry_vkQueueWaitIdle( |
| 217 | VkQueue queue) |
| 218 | { |
| 219 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 220 | VkResult vkQueueWaitIdle_VkResult_return = (VkResult)0; |
| 221 | vkQueueWaitIdle_VkResult_return = vkEnc->vkQueueWaitIdle(queue); |
| 222 | return vkQueueWaitIdle_VkResult_return; |
| 223 | } |
| 224 | static VkResult entry_vkDeviceWaitIdle( |
| 225 | VkDevice device) |
| 226 | { |
| 227 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 228 | VkResult vkDeviceWaitIdle_VkResult_return = (VkResult)0; |
| 229 | vkDeviceWaitIdle_VkResult_return = vkEnc->vkDeviceWaitIdle(device); |
| 230 | return vkDeviceWaitIdle_VkResult_return; |
| 231 | } |
| 232 | static VkResult entry_vkAllocateMemory( |
| 233 | VkDevice device, |
| 234 | const VkMemoryAllocateInfo* pAllocateInfo, |
| 235 | const VkAllocationCallbacks* pAllocator, |
| 236 | VkDeviceMemory* pMemory) |
| 237 | { |
| 238 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 239 | VkResult vkAllocateMemory_VkResult_return = (VkResult)0; |
| 240 | vkAllocateMemory_VkResult_return = vkEnc->vkAllocateMemory(device, pAllocateInfo, pAllocator, pMemory); |
| 241 | return vkAllocateMemory_VkResult_return; |
| 242 | } |
| 243 | static void entry_vkFreeMemory( |
| 244 | VkDevice device, |
| 245 | VkDeviceMemory memory, |
| 246 | const VkAllocationCallbacks* pAllocator) |
| 247 | { |
| 248 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 249 | vkEnc->vkFreeMemory(device, memory, pAllocator); |
| 250 | } |
| 251 | static VkResult entry_vkMapMemory( |
| 252 | VkDevice device, |
| 253 | VkDeviceMemory memory, |
| 254 | VkDeviceSize offset, |
| 255 | VkDeviceSize size, |
| 256 | VkMemoryMapFlags flags, |
| 257 | void** ppData) |
| 258 | { |
| 259 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 260 | VkResult vkMapMemory_VkResult_return = (VkResult)0; |
| 261 | vkMapMemory_VkResult_return = vkEnc->vkMapMemory(device, memory, offset, size, flags, ppData); |
| 262 | return vkMapMemory_VkResult_return; |
| 263 | } |
| 264 | static void entry_vkUnmapMemory( |
| 265 | VkDevice device, |
| 266 | VkDeviceMemory memory) |
| 267 | { |
| 268 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 269 | vkEnc->vkUnmapMemory(device, memory); |
| 270 | } |
| 271 | static VkResult entry_vkFlushMappedMemoryRanges( |
| 272 | VkDevice device, |
| 273 | uint32_t memoryRangeCount, |
| 274 | const VkMappedMemoryRange* pMemoryRanges) |
| 275 | { |
| 276 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 277 | VkResult vkFlushMappedMemoryRanges_VkResult_return = (VkResult)0; |
| 278 | vkFlushMappedMemoryRanges_VkResult_return = vkEnc->vkFlushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges); |
| 279 | return vkFlushMappedMemoryRanges_VkResult_return; |
| 280 | } |
| 281 | static VkResult entry_vkInvalidateMappedMemoryRanges( |
| 282 | VkDevice device, |
| 283 | uint32_t memoryRangeCount, |
| 284 | const VkMappedMemoryRange* pMemoryRanges) |
| 285 | { |
| 286 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 287 | VkResult vkInvalidateMappedMemoryRanges_VkResult_return = (VkResult)0; |
| 288 | vkInvalidateMappedMemoryRanges_VkResult_return = vkEnc->vkInvalidateMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges); |
| 289 | return vkInvalidateMappedMemoryRanges_VkResult_return; |
| 290 | } |
| 291 | static void entry_vkGetDeviceMemoryCommitment( |
| 292 | VkDevice device, |
| 293 | VkDeviceMemory memory, |
| 294 | VkDeviceSize* pCommittedMemoryInBytes) |
| 295 | { |
| 296 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 297 | vkEnc->vkGetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes); |
| 298 | } |
| 299 | static VkResult entry_vkBindBufferMemory( |
| 300 | VkDevice device, |
| 301 | VkBuffer buffer, |
| 302 | VkDeviceMemory memory, |
| 303 | VkDeviceSize memoryOffset) |
| 304 | { |
| 305 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 306 | VkResult vkBindBufferMemory_VkResult_return = (VkResult)0; |
| 307 | vkBindBufferMemory_VkResult_return = vkEnc->vkBindBufferMemory(device, buffer, memory, memoryOffset); |
| 308 | return vkBindBufferMemory_VkResult_return; |
| 309 | } |
| 310 | static VkResult entry_vkBindImageMemory( |
| 311 | VkDevice device, |
| 312 | VkImage image, |
| 313 | VkDeviceMemory memory, |
| 314 | VkDeviceSize memoryOffset) |
| 315 | { |
| 316 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 317 | VkResult vkBindImageMemory_VkResult_return = (VkResult)0; |
| 318 | vkBindImageMemory_VkResult_return = vkEnc->vkBindImageMemory(device, image, memory, memoryOffset); |
| 319 | return vkBindImageMemory_VkResult_return; |
| 320 | } |
| 321 | static void entry_vkGetBufferMemoryRequirements( |
| 322 | VkDevice device, |
| 323 | VkBuffer buffer, |
| 324 | VkMemoryRequirements* pMemoryRequirements) |
| 325 | { |
| 326 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 327 | vkEnc->vkGetBufferMemoryRequirements(device, buffer, pMemoryRequirements); |
| 328 | } |
| 329 | static void entry_vkGetImageMemoryRequirements( |
| 330 | VkDevice device, |
| 331 | VkImage image, |
| 332 | VkMemoryRequirements* pMemoryRequirements) |
| 333 | { |
| 334 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 335 | vkEnc->vkGetImageMemoryRequirements(device, image, pMemoryRequirements); |
| 336 | } |
| 337 | static void entry_vkGetImageSparseMemoryRequirements( |
| 338 | VkDevice device, |
| 339 | VkImage image, |
| 340 | uint32_t* pSparseMemoryRequirementCount, |
| 341 | VkSparseImageMemoryRequirements* pSparseMemoryRequirements) |
| 342 | { |
| 343 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 344 | vkEnc->vkGetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements); |
| 345 | } |
| 346 | static void entry_vkGetPhysicalDeviceSparseImageFormatProperties( |
| 347 | VkPhysicalDevice physicalDevice, |
| 348 | VkFormat format, |
| 349 | VkImageType type, |
| 350 | VkSampleCountFlagBits samples, |
| 351 | VkImageUsageFlags usage, |
| 352 | VkImageTiling tiling, |
| 353 | uint32_t* pPropertyCount, |
| 354 | VkSparseImageFormatProperties* pProperties) |
| 355 | { |
| 356 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 357 | vkEnc->vkGetPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties); |
| 358 | } |
| 359 | static VkResult entry_vkQueueBindSparse( |
| 360 | VkQueue queue, |
| 361 | uint32_t bindInfoCount, |
| 362 | const VkBindSparseInfo* pBindInfo, |
| 363 | VkFence fence) |
| 364 | { |
| 365 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 366 | VkResult vkQueueBindSparse_VkResult_return = (VkResult)0; |
| 367 | vkQueueBindSparse_VkResult_return = vkEnc->vkQueueBindSparse(queue, bindInfoCount, pBindInfo, fence); |
| 368 | return vkQueueBindSparse_VkResult_return; |
| 369 | } |
| 370 | static VkResult entry_vkCreateFence( |
| 371 | VkDevice device, |
| 372 | const VkFenceCreateInfo* pCreateInfo, |
| 373 | const VkAllocationCallbacks* pAllocator, |
| 374 | VkFence* pFence) |
| 375 | { |
| 376 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 377 | VkResult vkCreateFence_VkResult_return = (VkResult)0; |
| 378 | vkCreateFence_VkResult_return = vkEnc->vkCreateFence(device, pCreateInfo, pAllocator, pFence); |
| 379 | return vkCreateFence_VkResult_return; |
| 380 | } |
| 381 | static void entry_vkDestroyFence( |
| 382 | VkDevice device, |
| 383 | VkFence fence, |
| 384 | const VkAllocationCallbacks* pAllocator) |
| 385 | { |
| 386 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 387 | vkEnc->vkDestroyFence(device, fence, pAllocator); |
| 388 | } |
| 389 | static VkResult entry_vkResetFences( |
| 390 | VkDevice device, |
| 391 | uint32_t fenceCount, |
| 392 | const VkFence* pFences) |
| 393 | { |
| 394 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 395 | VkResult vkResetFences_VkResult_return = (VkResult)0; |
| 396 | vkResetFences_VkResult_return = vkEnc->vkResetFences(device, fenceCount, pFences); |
| 397 | return vkResetFences_VkResult_return; |
| 398 | } |
| 399 | static VkResult entry_vkGetFenceStatus( |
| 400 | VkDevice device, |
| 401 | VkFence fence) |
| 402 | { |
| 403 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 404 | VkResult vkGetFenceStatus_VkResult_return = (VkResult)0; |
| 405 | vkGetFenceStatus_VkResult_return = vkEnc->vkGetFenceStatus(device, fence); |
| 406 | return vkGetFenceStatus_VkResult_return; |
| 407 | } |
| 408 | static VkResult entry_vkWaitForFences( |
| 409 | VkDevice device, |
| 410 | uint32_t fenceCount, |
| 411 | const VkFence* pFences, |
| 412 | VkBool32 waitAll, |
| 413 | uint64_t timeout) |
| 414 | { |
| 415 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 416 | VkResult vkWaitForFences_VkResult_return = (VkResult)0; |
| 417 | vkWaitForFences_VkResult_return = vkEnc->vkWaitForFences(device, fenceCount, pFences, waitAll, timeout); |
| 418 | return vkWaitForFences_VkResult_return; |
| 419 | } |
| 420 | static VkResult entry_vkCreateSemaphore( |
| 421 | VkDevice device, |
| 422 | const VkSemaphoreCreateInfo* pCreateInfo, |
| 423 | const VkAllocationCallbacks* pAllocator, |
| 424 | VkSemaphore* pSemaphore) |
| 425 | { |
| 426 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 427 | VkResult vkCreateSemaphore_VkResult_return = (VkResult)0; |
| 428 | vkCreateSemaphore_VkResult_return = vkEnc->vkCreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore); |
| 429 | return vkCreateSemaphore_VkResult_return; |
| 430 | } |
| 431 | static void entry_vkDestroySemaphore( |
| 432 | VkDevice device, |
| 433 | VkSemaphore semaphore, |
| 434 | const VkAllocationCallbacks* pAllocator) |
| 435 | { |
| 436 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 437 | vkEnc->vkDestroySemaphore(device, semaphore, pAllocator); |
| 438 | } |
| 439 | static VkResult entry_vkCreateEvent( |
| 440 | VkDevice device, |
| 441 | const VkEventCreateInfo* pCreateInfo, |
| 442 | const VkAllocationCallbacks* pAllocator, |
| 443 | VkEvent* pEvent) |
| 444 | { |
| 445 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 446 | VkResult vkCreateEvent_VkResult_return = (VkResult)0; |
| 447 | vkCreateEvent_VkResult_return = vkEnc->vkCreateEvent(device, pCreateInfo, pAllocator, pEvent); |
| 448 | return vkCreateEvent_VkResult_return; |
| 449 | } |
| 450 | static void entry_vkDestroyEvent( |
| 451 | VkDevice device, |
| 452 | VkEvent event, |
| 453 | const VkAllocationCallbacks* pAllocator) |
| 454 | { |
| 455 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 456 | vkEnc->vkDestroyEvent(device, event, pAllocator); |
| 457 | } |
| 458 | static VkResult entry_vkGetEventStatus( |
| 459 | VkDevice device, |
| 460 | VkEvent event) |
| 461 | { |
| 462 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 463 | VkResult vkGetEventStatus_VkResult_return = (VkResult)0; |
| 464 | vkGetEventStatus_VkResult_return = vkEnc->vkGetEventStatus(device, event); |
| 465 | return vkGetEventStatus_VkResult_return; |
| 466 | } |
| 467 | static VkResult entry_vkSetEvent( |
| 468 | VkDevice device, |
| 469 | VkEvent event) |
| 470 | { |
| 471 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 472 | VkResult vkSetEvent_VkResult_return = (VkResult)0; |
| 473 | vkSetEvent_VkResult_return = vkEnc->vkSetEvent(device, event); |
| 474 | return vkSetEvent_VkResult_return; |
| 475 | } |
| 476 | static VkResult entry_vkResetEvent( |
| 477 | VkDevice device, |
| 478 | VkEvent event) |
| 479 | { |
| 480 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 481 | VkResult vkResetEvent_VkResult_return = (VkResult)0; |
| 482 | vkResetEvent_VkResult_return = vkEnc->vkResetEvent(device, event); |
| 483 | return vkResetEvent_VkResult_return; |
| 484 | } |
| 485 | static VkResult entry_vkCreateQueryPool( |
| 486 | VkDevice device, |
| 487 | const VkQueryPoolCreateInfo* pCreateInfo, |
| 488 | const VkAllocationCallbacks* pAllocator, |
| 489 | VkQueryPool* pQueryPool) |
| 490 | { |
| 491 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 492 | VkResult vkCreateQueryPool_VkResult_return = (VkResult)0; |
| 493 | vkCreateQueryPool_VkResult_return = vkEnc->vkCreateQueryPool(device, pCreateInfo, pAllocator, pQueryPool); |
| 494 | return vkCreateQueryPool_VkResult_return; |
| 495 | } |
| 496 | static void entry_vkDestroyQueryPool( |
| 497 | VkDevice device, |
| 498 | VkQueryPool queryPool, |
| 499 | const VkAllocationCallbacks* pAllocator) |
| 500 | { |
| 501 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 502 | vkEnc->vkDestroyQueryPool(device, queryPool, pAllocator); |
| 503 | } |
| 504 | static VkResult entry_vkGetQueryPoolResults( |
| 505 | VkDevice device, |
| 506 | VkQueryPool queryPool, |
| 507 | uint32_t firstQuery, |
| 508 | uint32_t queryCount, |
| 509 | size_t dataSize, |
| 510 | void* pData, |
| 511 | VkDeviceSize stride, |
| 512 | VkQueryResultFlags flags) |
| 513 | { |
| 514 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 515 | VkResult vkGetQueryPoolResults_VkResult_return = (VkResult)0; |
| 516 | vkGetQueryPoolResults_VkResult_return = vkEnc->vkGetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags); |
| 517 | return vkGetQueryPoolResults_VkResult_return; |
| 518 | } |
| 519 | static VkResult entry_vkCreateBuffer( |
| 520 | VkDevice device, |
| 521 | const VkBufferCreateInfo* pCreateInfo, |
| 522 | const VkAllocationCallbacks* pAllocator, |
| 523 | VkBuffer* pBuffer) |
| 524 | { |
| 525 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 526 | VkResult vkCreateBuffer_VkResult_return = (VkResult)0; |
| 527 | vkCreateBuffer_VkResult_return = vkEnc->vkCreateBuffer(device, pCreateInfo, pAllocator, pBuffer); |
| 528 | return vkCreateBuffer_VkResult_return; |
| 529 | } |
| 530 | static void entry_vkDestroyBuffer( |
| 531 | VkDevice device, |
| 532 | VkBuffer buffer, |
| 533 | const VkAllocationCallbacks* pAllocator) |
| 534 | { |
| 535 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 536 | vkEnc->vkDestroyBuffer(device, buffer, pAllocator); |
| 537 | } |
| 538 | static VkResult entry_vkCreateBufferView( |
| 539 | VkDevice device, |
| 540 | const VkBufferViewCreateInfo* pCreateInfo, |
| 541 | const VkAllocationCallbacks* pAllocator, |
| 542 | VkBufferView* pView) |
| 543 | { |
| 544 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 545 | VkResult vkCreateBufferView_VkResult_return = (VkResult)0; |
| 546 | vkCreateBufferView_VkResult_return = vkEnc->vkCreateBufferView(device, pCreateInfo, pAllocator, pView); |
| 547 | return vkCreateBufferView_VkResult_return; |
| 548 | } |
| 549 | static void entry_vkDestroyBufferView( |
| 550 | VkDevice device, |
| 551 | VkBufferView bufferView, |
| 552 | const VkAllocationCallbacks* pAllocator) |
| 553 | { |
| 554 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 555 | vkEnc->vkDestroyBufferView(device, bufferView, pAllocator); |
| 556 | } |
| 557 | static VkResult entry_vkCreateImage( |
| 558 | VkDevice device, |
| 559 | const VkImageCreateInfo* pCreateInfo, |
| 560 | const VkAllocationCallbacks* pAllocator, |
| 561 | VkImage* pImage) |
| 562 | { |
| 563 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 564 | VkResult vkCreateImage_VkResult_return = (VkResult)0; |
| 565 | vkCreateImage_VkResult_return = vkEnc->vkCreateImage(device, pCreateInfo, pAllocator, pImage); |
| 566 | return vkCreateImage_VkResult_return; |
| 567 | } |
| 568 | static void entry_vkDestroyImage( |
| 569 | VkDevice device, |
| 570 | VkImage image, |
| 571 | const VkAllocationCallbacks* pAllocator) |
| 572 | { |
| 573 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 574 | vkEnc->vkDestroyImage(device, image, pAllocator); |
| 575 | } |
| 576 | static void entry_vkGetImageSubresourceLayout( |
| 577 | VkDevice device, |
| 578 | VkImage image, |
| 579 | const VkImageSubresource* pSubresource, |
| 580 | VkSubresourceLayout* pLayout) |
| 581 | { |
| 582 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 583 | vkEnc->vkGetImageSubresourceLayout(device, image, pSubresource, pLayout); |
| 584 | } |
| 585 | static VkResult entry_vkCreateImageView( |
| 586 | VkDevice device, |
| 587 | const VkImageViewCreateInfo* pCreateInfo, |
| 588 | const VkAllocationCallbacks* pAllocator, |
| 589 | VkImageView* pView) |
| 590 | { |
| 591 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 592 | VkResult vkCreateImageView_VkResult_return = (VkResult)0; |
| 593 | vkCreateImageView_VkResult_return = vkEnc->vkCreateImageView(device, pCreateInfo, pAllocator, pView); |
| 594 | return vkCreateImageView_VkResult_return; |
| 595 | } |
| 596 | static void entry_vkDestroyImageView( |
| 597 | VkDevice device, |
| 598 | VkImageView imageView, |
| 599 | const VkAllocationCallbacks* pAllocator) |
| 600 | { |
| 601 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 602 | vkEnc->vkDestroyImageView(device, imageView, pAllocator); |
| 603 | } |
| 604 | static VkResult entry_vkCreateShaderModule( |
| 605 | VkDevice device, |
| 606 | const VkShaderModuleCreateInfo* pCreateInfo, |
| 607 | const VkAllocationCallbacks* pAllocator, |
| 608 | VkShaderModule* pShaderModule) |
| 609 | { |
| 610 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 611 | VkResult vkCreateShaderModule_VkResult_return = (VkResult)0; |
| 612 | vkCreateShaderModule_VkResult_return = vkEnc->vkCreateShaderModule(device, pCreateInfo, pAllocator, pShaderModule); |
| 613 | return vkCreateShaderModule_VkResult_return; |
| 614 | } |
| 615 | static void entry_vkDestroyShaderModule( |
| 616 | VkDevice device, |
| 617 | VkShaderModule shaderModule, |
| 618 | const VkAllocationCallbacks* pAllocator) |
| 619 | { |
| 620 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 621 | vkEnc->vkDestroyShaderModule(device, shaderModule, pAllocator); |
| 622 | } |
| 623 | static VkResult entry_vkCreatePipelineCache( |
| 624 | VkDevice device, |
| 625 | const VkPipelineCacheCreateInfo* pCreateInfo, |
| 626 | const VkAllocationCallbacks* pAllocator, |
| 627 | VkPipelineCache* pPipelineCache) |
| 628 | { |
| 629 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 630 | VkResult vkCreatePipelineCache_VkResult_return = (VkResult)0; |
| 631 | vkCreatePipelineCache_VkResult_return = vkEnc->vkCreatePipelineCache(device, pCreateInfo, pAllocator, pPipelineCache); |
| 632 | return vkCreatePipelineCache_VkResult_return; |
| 633 | } |
| 634 | static void entry_vkDestroyPipelineCache( |
| 635 | VkDevice device, |
| 636 | VkPipelineCache pipelineCache, |
| 637 | const VkAllocationCallbacks* pAllocator) |
| 638 | { |
| 639 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 640 | vkEnc->vkDestroyPipelineCache(device, pipelineCache, pAllocator); |
| 641 | } |
| 642 | static VkResult entry_vkGetPipelineCacheData( |
| 643 | VkDevice device, |
| 644 | VkPipelineCache pipelineCache, |
| 645 | size_t* pDataSize, |
| 646 | void* pData) |
| 647 | { |
| 648 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 649 | VkResult vkGetPipelineCacheData_VkResult_return = (VkResult)0; |
| 650 | vkGetPipelineCacheData_VkResult_return = vkEnc->vkGetPipelineCacheData(device, pipelineCache, pDataSize, pData); |
| 651 | return vkGetPipelineCacheData_VkResult_return; |
| 652 | } |
| 653 | static VkResult entry_vkMergePipelineCaches( |
| 654 | VkDevice device, |
| 655 | VkPipelineCache dstCache, |
| 656 | uint32_t srcCacheCount, |
| 657 | const VkPipelineCache* pSrcCaches) |
| 658 | { |
| 659 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 660 | VkResult vkMergePipelineCaches_VkResult_return = (VkResult)0; |
| 661 | vkMergePipelineCaches_VkResult_return = vkEnc->vkMergePipelineCaches(device, dstCache, srcCacheCount, pSrcCaches); |
| 662 | return vkMergePipelineCaches_VkResult_return; |
| 663 | } |
| 664 | static VkResult entry_vkCreateGraphicsPipelines( |
| 665 | VkDevice device, |
| 666 | VkPipelineCache pipelineCache, |
| 667 | uint32_t createInfoCount, |
| 668 | const VkGraphicsPipelineCreateInfo* pCreateInfos, |
| 669 | const VkAllocationCallbacks* pAllocator, |
| 670 | VkPipeline* pPipelines) |
| 671 | { |
| 672 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 673 | VkResult vkCreateGraphicsPipelines_VkResult_return = (VkResult)0; |
| 674 | vkCreateGraphicsPipelines_VkResult_return = vkEnc->vkCreateGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines); |
| 675 | return vkCreateGraphicsPipelines_VkResult_return; |
| 676 | } |
| 677 | static VkResult entry_vkCreateComputePipelines( |
| 678 | VkDevice device, |
| 679 | VkPipelineCache pipelineCache, |
| 680 | uint32_t createInfoCount, |
| 681 | const VkComputePipelineCreateInfo* pCreateInfos, |
| 682 | const VkAllocationCallbacks* pAllocator, |
| 683 | VkPipeline* pPipelines) |
| 684 | { |
| 685 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 686 | VkResult vkCreateComputePipelines_VkResult_return = (VkResult)0; |
| 687 | vkCreateComputePipelines_VkResult_return = vkEnc->vkCreateComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines); |
| 688 | return vkCreateComputePipelines_VkResult_return; |
| 689 | } |
| 690 | static void entry_vkDestroyPipeline( |
| 691 | VkDevice device, |
| 692 | VkPipeline pipeline, |
| 693 | const VkAllocationCallbacks* pAllocator) |
| 694 | { |
| 695 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 696 | vkEnc->vkDestroyPipeline(device, pipeline, pAllocator); |
| 697 | } |
| 698 | static VkResult entry_vkCreatePipelineLayout( |
| 699 | VkDevice device, |
| 700 | const VkPipelineLayoutCreateInfo* pCreateInfo, |
| 701 | const VkAllocationCallbacks* pAllocator, |
| 702 | VkPipelineLayout* pPipelineLayout) |
| 703 | { |
| 704 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 705 | VkResult vkCreatePipelineLayout_VkResult_return = (VkResult)0; |
| 706 | vkCreatePipelineLayout_VkResult_return = vkEnc->vkCreatePipelineLayout(device, pCreateInfo, pAllocator, pPipelineLayout); |
| 707 | return vkCreatePipelineLayout_VkResult_return; |
| 708 | } |
| 709 | static void entry_vkDestroyPipelineLayout( |
| 710 | VkDevice device, |
| 711 | VkPipelineLayout pipelineLayout, |
| 712 | const VkAllocationCallbacks* pAllocator) |
| 713 | { |
| 714 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 715 | vkEnc->vkDestroyPipelineLayout(device, pipelineLayout, pAllocator); |
| 716 | } |
| 717 | static VkResult entry_vkCreateSampler( |
| 718 | VkDevice device, |
| 719 | const VkSamplerCreateInfo* pCreateInfo, |
| 720 | const VkAllocationCallbacks* pAllocator, |
| 721 | VkSampler* pSampler) |
| 722 | { |
| 723 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 724 | VkResult vkCreateSampler_VkResult_return = (VkResult)0; |
| 725 | vkCreateSampler_VkResult_return = vkEnc->vkCreateSampler(device, pCreateInfo, pAllocator, pSampler); |
| 726 | return vkCreateSampler_VkResult_return; |
| 727 | } |
| 728 | static void entry_vkDestroySampler( |
| 729 | VkDevice device, |
| 730 | VkSampler sampler, |
| 731 | const VkAllocationCallbacks* pAllocator) |
| 732 | { |
| 733 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 734 | vkEnc->vkDestroySampler(device, sampler, pAllocator); |
| 735 | } |
| 736 | static VkResult entry_vkCreateDescriptorSetLayout( |
| 737 | VkDevice device, |
| 738 | const VkDescriptorSetLayoutCreateInfo* pCreateInfo, |
| 739 | const VkAllocationCallbacks* pAllocator, |
| 740 | VkDescriptorSetLayout* pSetLayout) |
| 741 | { |
| 742 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 743 | VkResult vkCreateDescriptorSetLayout_VkResult_return = (VkResult)0; |
| 744 | vkCreateDescriptorSetLayout_VkResult_return = vkEnc->vkCreateDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout); |
| 745 | return vkCreateDescriptorSetLayout_VkResult_return; |
| 746 | } |
| 747 | static void entry_vkDestroyDescriptorSetLayout( |
| 748 | VkDevice device, |
| 749 | VkDescriptorSetLayout descriptorSetLayout, |
| 750 | const VkAllocationCallbacks* pAllocator) |
| 751 | { |
| 752 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 753 | vkEnc->vkDestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator); |
| 754 | } |
| 755 | static VkResult entry_vkCreateDescriptorPool( |
| 756 | VkDevice device, |
| 757 | const VkDescriptorPoolCreateInfo* pCreateInfo, |
| 758 | const VkAllocationCallbacks* pAllocator, |
| 759 | VkDescriptorPool* pDescriptorPool) |
| 760 | { |
| 761 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 762 | VkResult vkCreateDescriptorPool_VkResult_return = (VkResult)0; |
| 763 | vkCreateDescriptorPool_VkResult_return = vkEnc->vkCreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool); |
| 764 | return vkCreateDescriptorPool_VkResult_return; |
| 765 | } |
| 766 | static void entry_vkDestroyDescriptorPool( |
| 767 | VkDevice device, |
| 768 | VkDescriptorPool descriptorPool, |
| 769 | const VkAllocationCallbacks* pAllocator) |
| 770 | { |
| 771 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 772 | vkEnc->vkDestroyDescriptorPool(device, descriptorPool, pAllocator); |
| 773 | } |
| 774 | static VkResult entry_vkResetDescriptorPool( |
| 775 | VkDevice device, |
| 776 | VkDescriptorPool descriptorPool, |
| 777 | VkDescriptorPoolResetFlags flags) |
| 778 | { |
| 779 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 780 | VkResult vkResetDescriptorPool_VkResult_return = (VkResult)0; |
| 781 | vkResetDescriptorPool_VkResult_return = vkEnc->vkResetDescriptorPool(device, descriptorPool, flags); |
| 782 | return vkResetDescriptorPool_VkResult_return; |
| 783 | } |
| 784 | static VkResult entry_vkAllocateDescriptorSets( |
| 785 | VkDevice device, |
| 786 | const VkDescriptorSetAllocateInfo* pAllocateInfo, |
| 787 | VkDescriptorSet* pDescriptorSets) |
| 788 | { |
| 789 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 790 | VkResult vkAllocateDescriptorSets_VkResult_return = (VkResult)0; |
| 791 | vkAllocateDescriptorSets_VkResult_return = vkEnc->vkAllocateDescriptorSets(device, pAllocateInfo, pDescriptorSets); |
| 792 | return vkAllocateDescriptorSets_VkResult_return; |
| 793 | } |
| 794 | static VkResult entry_vkFreeDescriptorSets( |
| 795 | VkDevice device, |
| 796 | VkDescriptorPool descriptorPool, |
| 797 | uint32_t descriptorSetCount, |
| 798 | const VkDescriptorSet* pDescriptorSets) |
| 799 | { |
| 800 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 801 | VkResult vkFreeDescriptorSets_VkResult_return = (VkResult)0; |
| 802 | vkFreeDescriptorSets_VkResult_return = vkEnc->vkFreeDescriptorSets(device, descriptorPool, descriptorSetCount, pDescriptorSets); |
| 803 | return vkFreeDescriptorSets_VkResult_return; |
| 804 | } |
| 805 | static void entry_vkUpdateDescriptorSets( |
| 806 | VkDevice device, |
| 807 | uint32_t descriptorWriteCount, |
| 808 | const VkWriteDescriptorSet* pDescriptorWrites, |
| 809 | uint32_t descriptorCopyCount, |
| 810 | const VkCopyDescriptorSet* pDescriptorCopies) |
| 811 | { |
| 812 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 813 | vkEnc->vkUpdateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies); |
| 814 | } |
| 815 | static VkResult entry_vkCreateFramebuffer( |
| 816 | VkDevice device, |
| 817 | const VkFramebufferCreateInfo* pCreateInfo, |
| 818 | const VkAllocationCallbacks* pAllocator, |
| 819 | VkFramebuffer* pFramebuffer) |
| 820 | { |
| 821 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 822 | VkResult vkCreateFramebuffer_VkResult_return = (VkResult)0; |
| 823 | vkCreateFramebuffer_VkResult_return = vkEnc->vkCreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer); |
| 824 | return vkCreateFramebuffer_VkResult_return; |
| 825 | } |
| 826 | static void entry_vkDestroyFramebuffer( |
| 827 | VkDevice device, |
| 828 | VkFramebuffer framebuffer, |
| 829 | const VkAllocationCallbacks* pAllocator) |
| 830 | { |
| 831 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 832 | vkEnc->vkDestroyFramebuffer(device, framebuffer, pAllocator); |
| 833 | } |
| 834 | static VkResult entry_vkCreateRenderPass( |
| 835 | VkDevice device, |
| 836 | const VkRenderPassCreateInfo* pCreateInfo, |
| 837 | const VkAllocationCallbacks* pAllocator, |
| 838 | VkRenderPass* pRenderPass) |
| 839 | { |
| 840 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 841 | VkResult vkCreateRenderPass_VkResult_return = (VkResult)0; |
| 842 | vkCreateRenderPass_VkResult_return = vkEnc->vkCreateRenderPass(device, pCreateInfo, pAllocator, pRenderPass); |
| 843 | return vkCreateRenderPass_VkResult_return; |
| 844 | } |
| 845 | static void entry_vkDestroyRenderPass( |
| 846 | VkDevice device, |
| 847 | VkRenderPass renderPass, |
| 848 | const VkAllocationCallbacks* pAllocator) |
| 849 | { |
| 850 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 851 | vkEnc->vkDestroyRenderPass(device, renderPass, pAllocator); |
| 852 | } |
| 853 | static void entry_vkGetRenderAreaGranularity( |
| 854 | VkDevice device, |
| 855 | VkRenderPass renderPass, |
| 856 | VkExtent2D* pGranularity) |
| 857 | { |
| 858 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 859 | vkEnc->vkGetRenderAreaGranularity(device, renderPass, pGranularity); |
| 860 | } |
| 861 | static VkResult entry_vkCreateCommandPool( |
| 862 | VkDevice device, |
| 863 | const VkCommandPoolCreateInfo* pCreateInfo, |
| 864 | const VkAllocationCallbacks* pAllocator, |
| 865 | VkCommandPool* pCommandPool) |
| 866 | { |
| 867 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 868 | VkResult vkCreateCommandPool_VkResult_return = (VkResult)0; |
| 869 | vkCreateCommandPool_VkResult_return = vkEnc->vkCreateCommandPool(device, pCreateInfo, pAllocator, pCommandPool); |
| 870 | return vkCreateCommandPool_VkResult_return; |
| 871 | } |
| 872 | static void entry_vkDestroyCommandPool( |
| 873 | VkDevice device, |
| 874 | VkCommandPool commandPool, |
| 875 | const VkAllocationCallbacks* pAllocator) |
| 876 | { |
| 877 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 878 | vkEnc->vkDestroyCommandPool(device, commandPool, pAllocator); |
| 879 | } |
| 880 | static VkResult entry_vkResetCommandPool( |
| 881 | VkDevice device, |
| 882 | VkCommandPool commandPool, |
| 883 | VkCommandPoolResetFlags flags) |
| 884 | { |
| 885 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 886 | VkResult vkResetCommandPool_VkResult_return = (VkResult)0; |
| 887 | vkResetCommandPool_VkResult_return = vkEnc->vkResetCommandPool(device, commandPool, flags); |
| 888 | return vkResetCommandPool_VkResult_return; |
| 889 | } |
| 890 | static VkResult entry_vkAllocateCommandBuffers( |
| 891 | VkDevice device, |
| 892 | const VkCommandBufferAllocateInfo* pAllocateInfo, |
| 893 | VkCommandBuffer* pCommandBuffers) |
| 894 | { |
| 895 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 896 | VkResult vkAllocateCommandBuffers_VkResult_return = (VkResult)0; |
| 897 | vkAllocateCommandBuffers_VkResult_return = vkEnc->vkAllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers); |
| 898 | return vkAllocateCommandBuffers_VkResult_return; |
| 899 | } |
| 900 | static void entry_vkFreeCommandBuffers( |
| 901 | VkDevice device, |
| 902 | VkCommandPool commandPool, |
| 903 | uint32_t commandBufferCount, |
| 904 | const VkCommandBuffer* pCommandBuffers) |
| 905 | { |
| 906 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 907 | vkEnc->vkFreeCommandBuffers(device, commandPool, commandBufferCount, pCommandBuffers); |
| 908 | } |
| 909 | static VkResult entry_vkBeginCommandBuffer( |
| 910 | VkCommandBuffer commandBuffer, |
| 911 | const VkCommandBufferBeginInfo* pBeginInfo) |
| 912 | { |
| 913 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 914 | VkResult vkBeginCommandBuffer_VkResult_return = (VkResult)0; |
| 915 | vkBeginCommandBuffer_VkResult_return = vkEnc->vkBeginCommandBuffer(commandBuffer, pBeginInfo); |
| 916 | return vkBeginCommandBuffer_VkResult_return; |
| 917 | } |
| 918 | static VkResult entry_vkEndCommandBuffer( |
| 919 | VkCommandBuffer commandBuffer) |
| 920 | { |
| 921 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 922 | VkResult vkEndCommandBuffer_VkResult_return = (VkResult)0; |
| 923 | vkEndCommandBuffer_VkResult_return = vkEnc->vkEndCommandBuffer(commandBuffer); |
| 924 | return vkEndCommandBuffer_VkResult_return; |
| 925 | } |
| 926 | static VkResult entry_vkResetCommandBuffer( |
| 927 | VkCommandBuffer commandBuffer, |
| 928 | VkCommandBufferResetFlags flags) |
| 929 | { |
| 930 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 931 | VkResult vkResetCommandBuffer_VkResult_return = (VkResult)0; |
| 932 | vkResetCommandBuffer_VkResult_return = vkEnc->vkResetCommandBuffer(commandBuffer, flags); |
| 933 | return vkResetCommandBuffer_VkResult_return; |
| 934 | } |
| 935 | static void entry_vkCmdBindPipeline( |
| 936 | VkCommandBuffer commandBuffer, |
| 937 | VkPipelineBindPoint pipelineBindPoint, |
| 938 | VkPipeline pipeline) |
| 939 | { |
| 940 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 941 | vkEnc->vkCmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline); |
| 942 | } |
| 943 | static void entry_vkCmdSetViewport( |
| 944 | VkCommandBuffer commandBuffer, |
| 945 | uint32_t firstViewport, |
| 946 | uint32_t viewportCount, |
| 947 | const VkViewport* pViewports) |
| 948 | { |
| 949 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 950 | vkEnc->vkCmdSetViewport(commandBuffer, firstViewport, viewportCount, pViewports); |
| 951 | } |
| 952 | static void entry_vkCmdSetScissor( |
| 953 | VkCommandBuffer commandBuffer, |
| 954 | uint32_t firstScissor, |
| 955 | uint32_t scissorCount, |
| 956 | const VkRect2D* pScissors) |
| 957 | { |
| 958 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 959 | vkEnc->vkCmdSetScissor(commandBuffer, firstScissor, scissorCount, pScissors); |
| 960 | } |
| 961 | static void entry_vkCmdSetLineWidth( |
| 962 | VkCommandBuffer commandBuffer, |
| 963 | float lineWidth) |
| 964 | { |
| 965 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 966 | vkEnc->vkCmdSetLineWidth(commandBuffer, lineWidth); |
| 967 | } |
| 968 | static void entry_vkCmdSetDepthBias( |
| 969 | VkCommandBuffer commandBuffer, |
| 970 | float depthBiasConstantFactor, |
| 971 | float depthBiasClamp, |
| 972 | float depthBiasSlopeFactor) |
| 973 | { |
| 974 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 975 | vkEnc->vkCmdSetDepthBias(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); |
| 976 | } |
| 977 | static void entry_vkCmdSetBlendConstants( |
| 978 | VkCommandBuffer commandBuffer, |
| 979 | const float blendConstants) |
| 980 | { |
| 981 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 982 | vkEnc->vkCmdSetBlendConstants(commandBuffer, blendConstants); |
| 983 | } |
| 984 | static void entry_vkCmdSetDepthBounds( |
| 985 | VkCommandBuffer commandBuffer, |
| 986 | float minDepthBounds, |
| 987 | float maxDepthBounds) |
| 988 | { |
| 989 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 990 | vkEnc->vkCmdSetDepthBounds(commandBuffer, minDepthBounds, maxDepthBounds); |
| 991 | } |
| 992 | static void entry_vkCmdSetStencilCompareMask( |
| 993 | VkCommandBuffer commandBuffer, |
| 994 | VkStencilFaceFlags faceMask, |
| 995 | uint32_t compareMask) |
| 996 | { |
| 997 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 998 | vkEnc->vkCmdSetStencilCompareMask(commandBuffer, faceMask, compareMask); |
| 999 | } |
| 1000 | static void entry_vkCmdSetStencilWriteMask( |
| 1001 | VkCommandBuffer commandBuffer, |
| 1002 | VkStencilFaceFlags faceMask, |
| 1003 | uint32_t writeMask) |
| 1004 | { |
| 1005 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1006 | vkEnc->vkCmdSetStencilWriteMask(commandBuffer, faceMask, writeMask); |
| 1007 | } |
| 1008 | static void entry_vkCmdSetStencilReference( |
| 1009 | VkCommandBuffer commandBuffer, |
| 1010 | VkStencilFaceFlags faceMask, |
| 1011 | uint32_t reference) |
| 1012 | { |
| 1013 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1014 | vkEnc->vkCmdSetStencilReference(commandBuffer, faceMask, reference); |
| 1015 | } |
| 1016 | static void entry_vkCmdBindDescriptorSets( |
| 1017 | VkCommandBuffer commandBuffer, |
| 1018 | VkPipelineBindPoint pipelineBindPoint, |
| 1019 | VkPipelineLayout layout, |
| 1020 | uint32_t firstSet, |
| 1021 | uint32_t descriptorSetCount, |
| 1022 | const VkDescriptorSet* pDescriptorSets, |
| 1023 | uint32_t dynamicOffsetCount, |
| 1024 | const uint32_t* pDynamicOffsets) |
| 1025 | { |
| 1026 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1027 | vkEnc->vkCmdBindDescriptorSets(commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets); |
| 1028 | } |
| 1029 | static void entry_vkCmdBindIndexBuffer( |
| 1030 | VkCommandBuffer commandBuffer, |
| 1031 | VkBuffer buffer, |
| 1032 | VkDeviceSize offset, |
| 1033 | VkIndexType indexType) |
| 1034 | { |
| 1035 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1036 | vkEnc->vkCmdBindIndexBuffer(commandBuffer, buffer, offset, indexType); |
| 1037 | } |
| 1038 | static void entry_vkCmdBindVertexBuffers( |
| 1039 | VkCommandBuffer commandBuffer, |
| 1040 | uint32_t firstBinding, |
| 1041 | uint32_t bindingCount, |
| 1042 | const VkBuffer* pBuffers, |
| 1043 | const VkDeviceSize* pOffsets) |
| 1044 | { |
| 1045 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1046 | vkEnc->vkCmdBindVertexBuffers(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets); |
| 1047 | } |
| 1048 | static void entry_vkCmdDraw( |
| 1049 | VkCommandBuffer commandBuffer, |
| 1050 | uint32_t vertexCount, |
| 1051 | uint32_t instanceCount, |
| 1052 | uint32_t firstVertex, |
| 1053 | uint32_t firstInstance) |
| 1054 | { |
| 1055 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1056 | vkEnc->vkCmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance); |
| 1057 | } |
| 1058 | static void entry_vkCmdDrawIndexed( |
| 1059 | VkCommandBuffer commandBuffer, |
| 1060 | uint32_t indexCount, |
| 1061 | uint32_t instanceCount, |
| 1062 | uint32_t firstIndex, |
| 1063 | int32_t vertexOffset, |
| 1064 | uint32_t firstInstance) |
| 1065 | { |
| 1066 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1067 | vkEnc->vkCmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); |
| 1068 | } |
| 1069 | static void entry_vkCmdDrawIndirect( |
| 1070 | VkCommandBuffer commandBuffer, |
| 1071 | VkBuffer buffer, |
| 1072 | VkDeviceSize offset, |
| 1073 | uint32_t drawCount, |
| 1074 | uint32_t stride) |
| 1075 | { |
| 1076 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1077 | vkEnc->vkCmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); |
| 1078 | } |
| 1079 | static void entry_vkCmdDrawIndexedIndirect( |
| 1080 | VkCommandBuffer commandBuffer, |
| 1081 | VkBuffer buffer, |
| 1082 | VkDeviceSize offset, |
| 1083 | uint32_t drawCount, |
| 1084 | uint32_t stride) |
| 1085 | { |
| 1086 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1087 | vkEnc->vkCmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); |
| 1088 | } |
| 1089 | static void entry_vkCmdDispatch( |
| 1090 | VkCommandBuffer commandBuffer, |
| 1091 | uint32_t groupCountX, |
| 1092 | uint32_t groupCountY, |
| 1093 | uint32_t groupCountZ) |
| 1094 | { |
| 1095 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1096 | vkEnc->vkCmdDispatch(commandBuffer, groupCountX, groupCountY, groupCountZ); |
| 1097 | } |
| 1098 | static void entry_vkCmdDispatchIndirect( |
| 1099 | VkCommandBuffer commandBuffer, |
| 1100 | VkBuffer buffer, |
| 1101 | VkDeviceSize offset) |
| 1102 | { |
| 1103 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1104 | vkEnc->vkCmdDispatchIndirect(commandBuffer, buffer, offset); |
| 1105 | } |
| 1106 | static void entry_vkCmdCopyBuffer( |
| 1107 | VkCommandBuffer commandBuffer, |
| 1108 | VkBuffer srcBuffer, |
| 1109 | VkBuffer dstBuffer, |
| 1110 | uint32_t regionCount, |
| 1111 | const VkBufferCopy* pRegions) |
| 1112 | { |
| 1113 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1114 | vkEnc->vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); |
| 1115 | } |
| 1116 | static void entry_vkCmdCopyImage( |
| 1117 | VkCommandBuffer commandBuffer, |
| 1118 | VkImage srcImage, |
| 1119 | VkImageLayout srcImageLayout, |
| 1120 | VkImage dstImage, |
| 1121 | VkImageLayout dstImageLayout, |
| 1122 | uint32_t regionCount, |
| 1123 | const VkImageCopy* pRegions) |
| 1124 | { |
| 1125 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1126 | vkEnc->vkCmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); |
| 1127 | } |
| 1128 | static void entry_vkCmdBlitImage( |
| 1129 | VkCommandBuffer commandBuffer, |
| 1130 | VkImage srcImage, |
| 1131 | VkImageLayout srcImageLayout, |
| 1132 | VkImage dstImage, |
| 1133 | VkImageLayout dstImageLayout, |
| 1134 | uint32_t regionCount, |
| 1135 | const VkImageBlit* pRegions, |
| 1136 | VkFilter filter) |
| 1137 | { |
| 1138 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1139 | vkEnc->vkCmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter); |
| 1140 | } |
| 1141 | static void entry_vkCmdCopyBufferToImage( |
| 1142 | VkCommandBuffer commandBuffer, |
| 1143 | VkBuffer srcBuffer, |
| 1144 | VkImage dstImage, |
| 1145 | VkImageLayout dstImageLayout, |
| 1146 | uint32_t regionCount, |
| 1147 | const VkBufferImageCopy* pRegions) |
| 1148 | { |
| 1149 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1150 | vkEnc->vkCmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); |
| 1151 | } |
| 1152 | static void entry_vkCmdCopyImageToBuffer( |
| 1153 | VkCommandBuffer commandBuffer, |
| 1154 | VkImage srcImage, |
| 1155 | VkImageLayout srcImageLayout, |
| 1156 | VkBuffer dstBuffer, |
| 1157 | uint32_t regionCount, |
| 1158 | const VkBufferImageCopy* pRegions) |
| 1159 | { |
| 1160 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1161 | vkEnc->vkCmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); |
| 1162 | } |
| 1163 | static void entry_vkCmdUpdateBuffer( |
| 1164 | VkCommandBuffer commandBuffer, |
| 1165 | VkBuffer dstBuffer, |
| 1166 | VkDeviceSize dstOffset, |
| 1167 | VkDeviceSize dataSize, |
| 1168 | const void* pData) |
| 1169 | { |
| 1170 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1171 | vkEnc->vkCmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData); |
| 1172 | } |
| 1173 | static void entry_vkCmdFillBuffer( |
| 1174 | VkCommandBuffer commandBuffer, |
| 1175 | VkBuffer dstBuffer, |
| 1176 | VkDeviceSize dstOffset, |
| 1177 | VkDeviceSize size, |
| 1178 | uint32_t data) |
| 1179 | { |
| 1180 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1181 | vkEnc->vkCmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); |
| 1182 | } |
| 1183 | static void entry_vkCmdClearColorImage( |
| 1184 | VkCommandBuffer commandBuffer, |
| 1185 | VkImage image, |
| 1186 | VkImageLayout imageLayout, |
| 1187 | const VkClearColorValue* pColor, |
| 1188 | uint32_t rangeCount, |
| 1189 | const VkImageSubresourceRange* pRanges) |
| 1190 | { |
| 1191 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1192 | vkEnc->vkCmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges); |
| 1193 | } |
| 1194 | static void entry_vkCmdClearDepthStencilImage( |
| 1195 | VkCommandBuffer commandBuffer, |
| 1196 | VkImage image, |
| 1197 | VkImageLayout imageLayout, |
| 1198 | const VkClearDepthStencilValue* pDepthStencil, |
| 1199 | uint32_t rangeCount, |
| 1200 | const VkImageSubresourceRange* pRanges) |
| 1201 | { |
| 1202 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1203 | vkEnc->vkCmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges); |
| 1204 | } |
| 1205 | static void entry_vkCmdClearAttachments( |
| 1206 | VkCommandBuffer commandBuffer, |
| 1207 | uint32_t attachmentCount, |
| 1208 | const VkClearAttachment* pAttachments, |
| 1209 | uint32_t rectCount, |
| 1210 | const VkClearRect* pRects) |
| 1211 | { |
| 1212 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1213 | vkEnc->vkCmdClearAttachments(commandBuffer, attachmentCount, pAttachments, rectCount, pRects); |
| 1214 | } |
| 1215 | static void entry_vkCmdResolveImage( |
| 1216 | VkCommandBuffer commandBuffer, |
| 1217 | VkImage srcImage, |
| 1218 | VkImageLayout srcImageLayout, |
| 1219 | VkImage dstImage, |
| 1220 | VkImageLayout dstImageLayout, |
| 1221 | uint32_t regionCount, |
| 1222 | const VkImageResolve* pRegions) |
| 1223 | { |
| 1224 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1225 | vkEnc->vkCmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); |
| 1226 | } |
| 1227 | static void entry_vkCmdSetEvent( |
| 1228 | VkCommandBuffer commandBuffer, |
| 1229 | VkEvent event, |
| 1230 | VkPipelineStageFlags stageMask) |
| 1231 | { |
| 1232 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1233 | vkEnc->vkCmdSetEvent(commandBuffer, event, stageMask); |
| 1234 | } |
| 1235 | static void entry_vkCmdResetEvent( |
| 1236 | VkCommandBuffer commandBuffer, |
| 1237 | VkEvent event, |
| 1238 | VkPipelineStageFlags stageMask) |
| 1239 | { |
| 1240 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1241 | vkEnc->vkCmdResetEvent(commandBuffer, event, stageMask); |
| 1242 | } |
| 1243 | static void entry_vkCmdWaitEvents( |
| 1244 | VkCommandBuffer commandBuffer, |
| 1245 | uint32_t eventCount, |
| 1246 | const VkEvent* pEvents, |
| 1247 | VkPipelineStageFlags srcStageMask, |
| 1248 | VkPipelineStageFlags dstStageMask, |
| 1249 | uint32_t memoryBarrierCount, |
| 1250 | const VkMemoryBarrier* pMemoryBarriers, |
| 1251 | uint32_t bufferMemoryBarrierCount, |
| 1252 | const VkBufferMemoryBarrier* pBufferMemoryBarriers, |
| 1253 | uint32_t imageMemoryBarrierCount, |
| 1254 | const VkImageMemoryBarrier* pImageMemoryBarriers) |
| 1255 | { |
| 1256 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1257 | vkEnc->vkCmdWaitEvents(commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers); |
| 1258 | } |
| 1259 | static void entry_vkCmdPipelineBarrier( |
| 1260 | VkCommandBuffer commandBuffer, |
| 1261 | VkPipelineStageFlags srcStageMask, |
| 1262 | VkPipelineStageFlags dstStageMask, |
| 1263 | VkDependencyFlags dependencyFlags, |
| 1264 | uint32_t memoryBarrierCount, |
| 1265 | const VkMemoryBarrier* pMemoryBarriers, |
| 1266 | uint32_t bufferMemoryBarrierCount, |
| 1267 | const VkBufferMemoryBarrier* pBufferMemoryBarriers, |
| 1268 | uint32_t imageMemoryBarrierCount, |
| 1269 | const VkImageMemoryBarrier* pImageMemoryBarriers) |
| 1270 | { |
| 1271 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1272 | vkEnc->vkCmdPipelineBarrier(commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers); |
| 1273 | } |
| 1274 | static void entry_vkCmdBeginQuery( |
| 1275 | VkCommandBuffer commandBuffer, |
| 1276 | VkQueryPool queryPool, |
| 1277 | uint32_t query, |
| 1278 | VkQueryControlFlags flags) |
| 1279 | { |
| 1280 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1281 | vkEnc->vkCmdBeginQuery(commandBuffer, queryPool, query, flags); |
| 1282 | } |
| 1283 | static void entry_vkCmdEndQuery( |
| 1284 | VkCommandBuffer commandBuffer, |
| 1285 | VkQueryPool queryPool, |
| 1286 | uint32_t query) |
| 1287 | { |
| 1288 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1289 | vkEnc->vkCmdEndQuery(commandBuffer, queryPool, query); |
| 1290 | } |
| 1291 | static void entry_vkCmdResetQueryPool( |
| 1292 | VkCommandBuffer commandBuffer, |
| 1293 | VkQueryPool queryPool, |
| 1294 | uint32_t firstQuery, |
| 1295 | uint32_t queryCount) |
| 1296 | { |
| 1297 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1298 | vkEnc->vkCmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount); |
| 1299 | } |
| 1300 | static void entry_vkCmdWriteTimestamp( |
| 1301 | VkCommandBuffer commandBuffer, |
| 1302 | VkPipelineStageFlagBits pipelineStage, |
| 1303 | VkQueryPool queryPool, |
| 1304 | uint32_t query) |
| 1305 | { |
| 1306 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1307 | vkEnc->vkCmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query); |
| 1308 | } |
| 1309 | static void entry_vkCmdCopyQueryPoolResults( |
| 1310 | VkCommandBuffer commandBuffer, |
| 1311 | VkQueryPool queryPool, |
| 1312 | uint32_t firstQuery, |
| 1313 | uint32_t queryCount, |
| 1314 | VkBuffer dstBuffer, |
| 1315 | VkDeviceSize dstOffset, |
| 1316 | VkDeviceSize stride, |
| 1317 | VkQueryResultFlags flags) |
| 1318 | { |
| 1319 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1320 | vkEnc->vkCmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); |
| 1321 | } |
| 1322 | static void entry_vkCmdPushConstants( |
| 1323 | VkCommandBuffer commandBuffer, |
| 1324 | VkPipelineLayout layout, |
| 1325 | VkShaderStageFlags stageFlags, |
| 1326 | uint32_t offset, |
| 1327 | uint32_t size, |
| 1328 | const void* pValues) |
| 1329 | { |
| 1330 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1331 | vkEnc->vkCmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues); |
| 1332 | } |
| 1333 | static void entry_vkCmdBeginRenderPass( |
| 1334 | VkCommandBuffer commandBuffer, |
| 1335 | const VkRenderPassBeginInfo* pRenderPassBegin, |
| 1336 | VkSubpassContents contents) |
| 1337 | { |
| 1338 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1339 | vkEnc->vkCmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents); |
| 1340 | } |
| 1341 | static void entry_vkCmdNextSubpass( |
| 1342 | VkCommandBuffer commandBuffer, |
| 1343 | VkSubpassContents contents) |
| 1344 | { |
| 1345 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1346 | vkEnc->vkCmdNextSubpass(commandBuffer, contents); |
| 1347 | } |
| 1348 | static void entry_vkCmdEndRenderPass( |
| 1349 | VkCommandBuffer commandBuffer) |
| 1350 | { |
| 1351 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1352 | vkEnc->vkCmdEndRenderPass(commandBuffer); |
| 1353 | } |
| 1354 | static void entry_vkCmdExecuteCommands( |
| 1355 | VkCommandBuffer commandBuffer, |
| 1356 | uint32_t commandBufferCount, |
| 1357 | const VkCommandBuffer* pCommandBuffers) |
| 1358 | { |
| 1359 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1360 | vkEnc->vkCmdExecuteCommands(commandBuffer, commandBufferCount, pCommandBuffers); |
| 1361 | } |
| 1362 | #endif |
| 1363 | #ifdef VK_VERSION_1_1 |
| 1364 | static VkResult entry_vkEnumerateInstanceVersion( |
| 1365 | uint32_t* pApiVersion) |
| 1366 | { |
| 1367 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1368 | VkResult vkEnumerateInstanceVersion_VkResult_return = (VkResult)0; |
| 1369 | vkEnumerateInstanceVersion_VkResult_return = vkEnc->vkEnumerateInstanceVersion(pApiVersion); |
| 1370 | return vkEnumerateInstanceVersion_VkResult_return; |
| 1371 | } |
| 1372 | static VkResult entry_vkBindBufferMemory2( |
| 1373 | VkDevice device, |
| 1374 | uint32_t bindInfoCount, |
| 1375 | const VkBindBufferMemoryInfo* pBindInfos) |
| 1376 | { |
| 1377 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1378 | VkResult vkBindBufferMemory2_VkResult_return = (VkResult)0; |
| 1379 | vkBindBufferMemory2_VkResult_return = vkEnc->vkBindBufferMemory2(device, bindInfoCount, pBindInfos); |
| 1380 | return vkBindBufferMemory2_VkResult_return; |
| 1381 | } |
| 1382 | static VkResult entry_vkBindImageMemory2( |
| 1383 | VkDevice device, |
| 1384 | uint32_t bindInfoCount, |
| 1385 | const VkBindImageMemoryInfo* pBindInfos) |
| 1386 | { |
| 1387 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1388 | VkResult vkBindImageMemory2_VkResult_return = (VkResult)0; |
| 1389 | vkBindImageMemory2_VkResult_return = vkEnc->vkBindImageMemory2(device, bindInfoCount, pBindInfos); |
| 1390 | return vkBindImageMemory2_VkResult_return; |
| 1391 | } |
| 1392 | static void entry_vkGetDeviceGroupPeerMemoryFeatures( |
| 1393 | VkDevice device, |
| 1394 | uint32_t heapIndex, |
| 1395 | uint32_t localDeviceIndex, |
| 1396 | uint32_t remoteDeviceIndex, |
| 1397 | VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) |
| 1398 | { |
| 1399 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1400 | vkEnc->vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures); |
| 1401 | } |
| 1402 | static void entry_vkCmdSetDeviceMask( |
| 1403 | VkCommandBuffer commandBuffer, |
| 1404 | uint32_t deviceMask) |
| 1405 | { |
| 1406 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1407 | vkEnc->vkCmdSetDeviceMask(commandBuffer, deviceMask); |
| 1408 | } |
| 1409 | static void entry_vkCmdDispatchBase( |
| 1410 | VkCommandBuffer commandBuffer, |
| 1411 | uint32_t baseGroupX, |
| 1412 | uint32_t baseGroupY, |
| 1413 | uint32_t baseGroupZ, |
| 1414 | uint32_t groupCountX, |
| 1415 | uint32_t groupCountY, |
| 1416 | uint32_t groupCountZ) |
| 1417 | { |
| 1418 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1419 | vkEnc->vkCmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ); |
| 1420 | } |
| 1421 | static VkResult entry_vkEnumeratePhysicalDeviceGroups( |
| 1422 | VkInstance instance, |
| 1423 | uint32_t* pPhysicalDeviceGroupCount, |
| 1424 | VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties) |
| 1425 | { |
| 1426 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1427 | VkResult vkEnumeratePhysicalDeviceGroups_VkResult_return = (VkResult)0; |
| 1428 | vkEnumeratePhysicalDeviceGroups_VkResult_return = vkEnc->vkEnumeratePhysicalDeviceGroups(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties); |
| 1429 | return vkEnumeratePhysicalDeviceGroups_VkResult_return; |
| 1430 | } |
| 1431 | static void entry_vkGetImageMemoryRequirements2( |
| 1432 | VkDevice device, |
| 1433 | const VkImageMemoryRequirementsInfo2* pInfo, |
| 1434 | VkMemoryRequirements2* pMemoryRequirements) |
| 1435 | { |
| 1436 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1437 | vkEnc->vkGetImageMemoryRequirements2(device, pInfo, pMemoryRequirements); |
| 1438 | } |
| 1439 | static void entry_vkGetBufferMemoryRequirements2( |
| 1440 | VkDevice device, |
| 1441 | const VkBufferMemoryRequirementsInfo2* pInfo, |
| 1442 | VkMemoryRequirements2* pMemoryRequirements) |
| 1443 | { |
| 1444 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1445 | vkEnc->vkGetBufferMemoryRequirements2(device, pInfo, pMemoryRequirements); |
| 1446 | } |
| 1447 | static void entry_vkGetImageSparseMemoryRequirements2( |
| 1448 | VkDevice device, |
| 1449 | const VkImageSparseMemoryRequirementsInfo2* pInfo, |
| 1450 | uint32_t* pSparseMemoryRequirementCount, |
| 1451 | VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) |
| 1452 | { |
| 1453 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1454 | vkEnc->vkGetImageSparseMemoryRequirements2(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements); |
| 1455 | } |
| 1456 | static void entry_vkGetPhysicalDeviceFeatures2( |
| 1457 | VkPhysicalDevice physicalDevice, |
| 1458 | VkPhysicalDeviceFeatures2* pFeatures) |
| 1459 | { |
| 1460 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1461 | vkEnc->vkGetPhysicalDeviceFeatures2(physicalDevice, pFeatures); |
| 1462 | } |
| 1463 | static void entry_vkGetPhysicalDeviceProperties2( |
| 1464 | VkPhysicalDevice physicalDevice, |
| 1465 | VkPhysicalDeviceProperties2* pProperties) |
| 1466 | { |
| 1467 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1468 | vkEnc->vkGetPhysicalDeviceProperties2(physicalDevice, pProperties); |
| 1469 | } |
| 1470 | static void entry_vkGetPhysicalDeviceFormatProperties2( |
| 1471 | VkPhysicalDevice physicalDevice, |
| 1472 | VkFormat format, |
| 1473 | VkFormatProperties2* pFormatProperties) |
| 1474 | { |
| 1475 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1476 | vkEnc->vkGetPhysicalDeviceFormatProperties2(physicalDevice, format, pFormatProperties); |
| 1477 | } |
| 1478 | static VkResult entry_vkGetPhysicalDeviceImageFormatProperties2( |
| 1479 | VkPhysicalDevice physicalDevice, |
| 1480 | const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, |
| 1481 | VkImageFormatProperties2* pImageFormatProperties) |
| 1482 | { |
| 1483 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1484 | VkResult vkGetPhysicalDeviceImageFormatProperties2_VkResult_return = (VkResult)0; |
| 1485 | vkGetPhysicalDeviceImageFormatProperties2_VkResult_return = vkEnc->vkGetPhysicalDeviceImageFormatProperties2(physicalDevice, pImageFormatInfo, pImageFormatProperties); |
| 1486 | return vkGetPhysicalDeviceImageFormatProperties2_VkResult_return; |
| 1487 | } |
| 1488 | static void entry_vkGetPhysicalDeviceQueueFamilyProperties2( |
| 1489 | VkPhysicalDevice physicalDevice, |
| 1490 | uint32_t* pQueueFamilyPropertyCount, |
| 1491 | VkQueueFamilyProperties2* pQueueFamilyProperties) |
| 1492 | { |
| 1493 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1494 | vkEnc->vkGetPhysicalDeviceQueueFamilyProperties2(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties); |
| 1495 | } |
| 1496 | static void entry_vkGetPhysicalDeviceMemoryProperties2( |
| 1497 | VkPhysicalDevice physicalDevice, |
| 1498 | VkPhysicalDeviceMemoryProperties2* pMemoryProperties) |
| 1499 | { |
| 1500 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1501 | vkEnc->vkGetPhysicalDeviceMemoryProperties2(physicalDevice, pMemoryProperties); |
| 1502 | } |
| 1503 | static void entry_vkGetPhysicalDeviceSparseImageFormatProperties2( |
| 1504 | VkPhysicalDevice physicalDevice, |
| 1505 | const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, |
| 1506 | uint32_t* pPropertyCount, |
| 1507 | VkSparseImageFormatProperties2* pProperties) |
| 1508 | { |
| 1509 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1510 | vkEnc->vkGetPhysicalDeviceSparseImageFormatProperties2(physicalDevice, pFormatInfo, pPropertyCount, pProperties); |
| 1511 | } |
| 1512 | static void entry_vkTrimCommandPool( |
| 1513 | VkDevice device, |
| 1514 | VkCommandPool commandPool, |
| 1515 | VkCommandPoolTrimFlags flags) |
| 1516 | { |
| 1517 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1518 | vkEnc->vkTrimCommandPool(device, commandPool, flags); |
| 1519 | } |
| 1520 | static void entry_vkGetDeviceQueue2( |
| 1521 | VkDevice device, |
| 1522 | const VkDeviceQueueInfo2* pQueueInfo, |
| 1523 | VkQueue* pQueue) |
| 1524 | { |
| 1525 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1526 | vkEnc->vkGetDeviceQueue2(device, pQueueInfo, pQueue); |
| 1527 | } |
| 1528 | static VkResult entry_vkCreateSamplerYcbcrConversion( |
| 1529 | VkDevice device, |
| 1530 | const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, |
| 1531 | const VkAllocationCallbacks* pAllocator, |
| 1532 | VkSamplerYcbcrConversion* pYcbcrConversion) |
| 1533 | { |
| 1534 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1535 | VkResult vkCreateSamplerYcbcrConversion_VkResult_return = (VkResult)0; |
| 1536 | vkCreateSamplerYcbcrConversion_VkResult_return = vkEnc->vkCreateSamplerYcbcrConversion(device, pCreateInfo, pAllocator, pYcbcrConversion); |
| 1537 | return vkCreateSamplerYcbcrConversion_VkResult_return; |
| 1538 | } |
| 1539 | static void entry_vkDestroySamplerYcbcrConversion( |
| 1540 | VkDevice device, |
| 1541 | VkSamplerYcbcrConversion ycbcrConversion, |
| 1542 | const VkAllocationCallbacks* pAllocator) |
| 1543 | { |
| 1544 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1545 | vkEnc->vkDestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocator); |
| 1546 | } |
| 1547 | static VkResult entry_vkCreateDescriptorUpdateTemplate( |
| 1548 | VkDevice device, |
| 1549 | const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, |
| 1550 | const VkAllocationCallbacks* pAllocator, |
| 1551 | VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate) |
| 1552 | { |
| 1553 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1554 | VkResult vkCreateDescriptorUpdateTemplate_VkResult_return = (VkResult)0; |
| 1555 | vkCreateDescriptorUpdateTemplate_VkResult_return = vkEnc->vkCreateDescriptorUpdateTemplate(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate); |
| 1556 | return vkCreateDescriptorUpdateTemplate_VkResult_return; |
| 1557 | } |
| 1558 | static void entry_vkDestroyDescriptorUpdateTemplate( |
| 1559 | VkDevice device, |
| 1560 | VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 1561 | const VkAllocationCallbacks* pAllocator) |
| 1562 | { |
| 1563 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1564 | vkEnc->vkDestroyDescriptorUpdateTemplate(device, descriptorUpdateTemplate, pAllocator); |
| 1565 | } |
| 1566 | static void entry_vkUpdateDescriptorSetWithTemplate( |
| 1567 | VkDevice device, |
| 1568 | VkDescriptorSet descriptorSet, |
| 1569 | VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 1570 | const void* pData) |
| 1571 | { |
| 1572 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1573 | vkEnc->vkUpdateDescriptorSetWithTemplate(device, descriptorSet, descriptorUpdateTemplate, pData); |
| 1574 | } |
| 1575 | static void entry_vkGetPhysicalDeviceExternalBufferProperties( |
| 1576 | VkPhysicalDevice physicalDevice, |
| 1577 | const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, |
| 1578 | VkExternalBufferProperties* pExternalBufferProperties) |
| 1579 | { |
| 1580 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1581 | vkEnc->vkGetPhysicalDeviceExternalBufferProperties(physicalDevice, pExternalBufferInfo, pExternalBufferProperties); |
| 1582 | } |
| 1583 | static void entry_vkGetPhysicalDeviceExternalFenceProperties( |
| 1584 | VkPhysicalDevice physicalDevice, |
| 1585 | const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, |
| 1586 | VkExternalFenceProperties* pExternalFenceProperties) |
| 1587 | { |
| 1588 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1589 | vkEnc->vkGetPhysicalDeviceExternalFenceProperties(physicalDevice, pExternalFenceInfo, pExternalFenceProperties); |
| 1590 | } |
| 1591 | static void entry_vkGetPhysicalDeviceExternalSemaphoreProperties( |
| 1592 | VkPhysicalDevice physicalDevice, |
| 1593 | const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, |
| 1594 | VkExternalSemaphoreProperties* pExternalSemaphoreProperties) |
| 1595 | { |
| 1596 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1597 | vkEnc->vkGetPhysicalDeviceExternalSemaphoreProperties(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties); |
| 1598 | } |
| 1599 | static void entry_vkGetDescriptorSetLayoutSupport( |
| 1600 | VkDevice device, |
| 1601 | const VkDescriptorSetLayoutCreateInfo* pCreateInfo, |
| 1602 | VkDescriptorSetLayoutSupport* pSupport) |
| 1603 | { |
| 1604 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1605 | vkEnc->vkGetDescriptorSetLayoutSupport(device, pCreateInfo, pSupport); |
| 1606 | } |
| 1607 | #endif |
| 1608 | #ifdef VK_KHR_surface |
| 1609 | static void entry_vkDestroySurfaceKHR( |
| 1610 | VkInstance instance, |
| 1611 | VkSurfaceKHR surface, |
| 1612 | const VkAllocationCallbacks* pAllocator) |
| 1613 | { |
| 1614 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1615 | vkEnc->vkDestroySurfaceKHR(instance, surface, pAllocator); |
| 1616 | } |
| 1617 | static VkResult entry_vkGetPhysicalDeviceSurfaceSupportKHR( |
| 1618 | VkPhysicalDevice physicalDevice, |
| 1619 | uint32_t queueFamilyIndex, |
| 1620 | VkSurfaceKHR surface, |
| 1621 | VkBool32* pSupported) |
| 1622 | { |
| 1623 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1624 | VkResult vkGetPhysicalDeviceSurfaceSupportKHR_VkResult_return = (VkResult)0; |
| 1625 | vkGetPhysicalDeviceSurfaceSupportKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported); |
| 1626 | return vkGetPhysicalDeviceSurfaceSupportKHR_VkResult_return; |
| 1627 | } |
| 1628 | static VkResult entry_vkGetPhysicalDeviceSurfaceCapabilitiesKHR( |
| 1629 | VkPhysicalDevice physicalDevice, |
| 1630 | VkSurfaceKHR surface, |
| 1631 | VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) |
| 1632 | { |
| 1633 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1634 | VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR_VkResult_return = (VkResult)0; |
| 1635 | vkGetPhysicalDeviceSurfaceCapabilitiesKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities); |
| 1636 | return vkGetPhysicalDeviceSurfaceCapabilitiesKHR_VkResult_return; |
| 1637 | } |
| 1638 | static VkResult entry_vkGetPhysicalDeviceSurfaceFormatsKHR( |
| 1639 | VkPhysicalDevice physicalDevice, |
| 1640 | VkSurfaceKHR surface, |
| 1641 | uint32_t* pSurfaceFormatCount, |
| 1642 | VkSurfaceFormatKHR* pSurfaceFormats) |
| 1643 | { |
| 1644 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1645 | VkResult vkGetPhysicalDeviceSurfaceFormatsKHR_VkResult_return = (VkResult)0; |
| 1646 | vkGetPhysicalDeviceSurfaceFormatsKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats); |
| 1647 | return vkGetPhysicalDeviceSurfaceFormatsKHR_VkResult_return; |
| 1648 | } |
| 1649 | static VkResult entry_vkGetPhysicalDeviceSurfacePresentModesKHR( |
| 1650 | VkPhysicalDevice physicalDevice, |
| 1651 | VkSurfaceKHR surface, |
| 1652 | uint32_t* pPresentModeCount, |
| 1653 | VkPresentModeKHR* pPresentModes) |
| 1654 | { |
| 1655 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1656 | VkResult vkGetPhysicalDeviceSurfacePresentModesKHR_VkResult_return = (VkResult)0; |
| 1657 | vkGetPhysicalDeviceSurfacePresentModesKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes); |
| 1658 | return vkGetPhysicalDeviceSurfacePresentModesKHR_VkResult_return; |
| 1659 | } |
| 1660 | #endif |
| 1661 | #ifdef VK_KHR_swapchain |
| 1662 | static VkResult entry_vkCreateSwapchainKHR( |
| 1663 | VkDevice device, |
| 1664 | const VkSwapchainCreateInfoKHR* pCreateInfo, |
| 1665 | const VkAllocationCallbacks* pAllocator, |
| 1666 | VkSwapchainKHR* pSwapchain) |
| 1667 | { |
| 1668 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1669 | VkResult vkCreateSwapchainKHR_VkResult_return = (VkResult)0; |
| 1670 | vkCreateSwapchainKHR_VkResult_return = vkEnc->vkCreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain); |
| 1671 | return vkCreateSwapchainKHR_VkResult_return; |
| 1672 | } |
| 1673 | static void entry_vkDestroySwapchainKHR( |
| 1674 | VkDevice device, |
| 1675 | VkSwapchainKHR swapchain, |
| 1676 | const VkAllocationCallbacks* pAllocator) |
| 1677 | { |
| 1678 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1679 | vkEnc->vkDestroySwapchainKHR(device, swapchain, pAllocator); |
| 1680 | } |
| 1681 | static VkResult entry_vkGetSwapchainImagesKHR( |
| 1682 | VkDevice device, |
| 1683 | VkSwapchainKHR swapchain, |
| 1684 | uint32_t* pSwapchainImageCount, |
| 1685 | VkImage* pSwapchainImages) |
| 1686 | { |
| 1687 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1688 | VkResult vkGetSwapchainImagesKHR_VkResult_return = (VkResult)0; |
| 1689 | vkGetSwapchainImagesKHR_VkResult_return = vkEnc->vkGetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages); |
| 1690 | return vkGetSwapchainImagesKHR_VkResult_return; |
| 1691 | } |
| 1692 | static VkResult entry_vkAcquireNextImageKHR( |
| 1693 | VkDevice device, |
| 1694 | VkSwapchainKHR swapchain, |
| 1695 | uint64_t timeout, |
| 1696 | VkSemaphore semaphore, |
| 1697 | VkFence fence, |
| 1698 | uint32_t* pImageIndex) |
| 1699 | { |
| 1700 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1701 | VkResult vkAcquireNextImageKHR_VkResult_return = (VkResult)0; |
| 1702 | vkAcquireNextImageKHR_VkResult_return = vkEnc->vkAcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex); |
| 1703 | return vkAcquireNextImageKHR_VkResult_return; |
| 1704 | } |
| 1705 | static VkResult entry_vkQueuePresentKHR( |
| 1706 | VkQueue queue, |
| 1707 | const VkPresentInfoKHR* pPresentInfo) |
| 1708 | { |
| 1709 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1710 | VkResult vkQueuePresentKHR_VkResult_return = (VkResult)0; |
| 1711 | vkQueuePresentKHR_VkResult_return = vkEnc->vkQueuePresentKHR(queue, pPresentInfo); |
| 1712 | return vkQueuePresentKHR_VkResult_return; |
| 1713 | } |
| 1714 | static VkResult entry_vkGetDeviceGroupPresentCapabilitiesKHR( |
| 1715 | VkDevice device, |
| 1716 | VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities) |
| 1717 | { |
| 1718 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1719 | VkResult vkGetDeviceGroupPresentCapabilitiesKHR_VkResult_return = (VkResult)0; |
| 1720 | vkGetDeviceGroupPresentCapabilitiesKHR_VkResult_return = vkEnc->vkGetDeviceGroupPresentCapabilitiesKHR(device, pDeviceGroupPresentCapabilities); |
| 1721 | return vkGetDeviceGroupPresentCapabilitiesKHR_VkResult_return; |
| 1722 | } |
| 1723 | static VkResult entry_vkGetDeviceGroupSurfacePresentModesKHR( |
| 1724 | VkDevice device, |
| 1725 | VkSurfaceKHR surface, |
| 1726 | VkDeviceGroupPresentModeFlagsKHR* pModes) |
| 1727 | { |
| 1728 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1729 | VkResult vkGetDeviceGroupSurfacePresentModesKHR_VkResult_return = (VkResult)0; |
| 1730 | vkGetDeviceGroupSurfacePresentModesKHR_VkResult_return = vkEnc->vkGetDeviceGroupSurfacePresentModesKHR(device, surface, pModes); |
| 1731 | return vkGetDeviceGroupSurfacePresentModesKHR_VkResult_return; |
| 1732 | } |
| 1733 | static VkResult entry_vkGetPhysicalDevicePresentRectanglesKHR( |
| 1734 | VkPhysicalDevice physicalDevice, |
| 1735 | VkSurfaceKHR surface, |
| 1736 | uint32_t* pRectCount, |
| 1737 | VkRect2D* pRects) |
| 1738 | { |
| 1739 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1740 | VkResult vkGetPhysicalDevicePresentRectanglesKHR_VkResult_return = (VkResult)0; |
| 1741 | vkGetPhysicalDevicePresentRectanglesKHR_VkResult_return = vkEnc->vkGetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects); |
| 1742 | return vkGetPhysicalDevicePresentRectanglesKHR_VkResult_return; |
| 1743 | } |
| 1744 | static VkResult entry_vkAcquireNextImage2KHR( |
| 1745 | VkDevice device, |
| 1746 | const VkAcquireNextImageInfoKHR* pAcquireInfo, |
| 1747 | uint32_t* pImageIndex) |
| 1748 | { |
| 1749 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1750 | VkResult vkAcquireNextImage2KHR_VkResult_return = (VkResult)0; |
| 1751 | vkAcquireNextImage2KHR_VkResult_return = vkEnc->vkAcquireNextImage2KHR(device, pAcquireInfo, pImageIndex); |
| 1752 | return vkAcquireNextImage2KHR_VkResult_return; |
| 1753 | } |
| 1754 | #endif |
| 1755 | #ifdef VK_KHR_display |
| 1756 | static VkResult entry_vkGetPhysicalDeviceDisplayPropertiesKHR( |
| 1757 | VkPhysicalDevice physicalDevice, |
| 1758 | uint32_t* pPropertyCount, |
| 1759 | VkDisplayPropertiesKHR* pProperties) |
| 1760 | { |
| 1761 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1762 | VkResult vkGetPhysicalDeviceDisplayPropertiesKHR_VkResult_return = (VkResult)0; |
| 1763 | vkGetPhysicalDeviceDisplayPropertiesKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceDisplayPropertiesKHR(physicalDevice, pPropertyCount, pProperties); |
| 1764 | return vkGetPhysicalDeviceDisplayPropertiesKHR_VkResult_return; |
| 1765 | } |
| 1766 | static VkResult entry_vkGetPhysicalDeviceDisplayPlanePropertiesKHR( |
| 1767 | VkPhysicalDevice physicalDevice, |
| 1768 | uint32_t* pPropertyCount, |
| 1769 | VkDisplayPlanePropertiesKHR* pProperties) |
| 1770 | { |
| 1771 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1772 | VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR_VkResult_return = (VkResult)0; |
| 1773 | vkGetPhysicalDeviceDisplayPlanePropertiesKHR_VkResult_return = vkEnc->vkGetPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice, pPropertyCount, pProperties); |
| 1774 | return vkGetPhysicalDeviceDisplayPlanePropertiesKHR_VkResult_return; |
| 1775 | } |
| 1776 | static VkResult entry_vkGetDisplayPlaneSupportedDisplaysKHR( |
| 1777 | VkPhysicalDevice physicalDevice, |
| 1778 | uint32_t planeIndex, |
| 1779 | uint32_t* pDisplayCount, |
| 1780 | VkDisplayKHR* pDisplays) |
| 1781 | { |
| 1782 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1783 | VkResult vkGetDisplayPlaneSupportedDisplaysKHR_VkResult_return = (VkResult)0; |
| 1784 | vkGetDisplayPlaneSupportedDisplaysKHR_VkResult_return = vkEnc->vkGetDisplayPlaneSupportedDisplaysKHR(physicalDevice, planeIndex, pDisplayCount, pDisplays); |
| 1785 | return vkGetDisplayPlaneSupportedDisplaysKHR_VkResult_return; |
| 1786 | } |
| 1787 | static VkResult entry_vkGetDisplayModePropertiesKHR( |
| 1788 | VkPhysicalDevice physicalDevice, |
| 1789 | VkDisplayKHR display, |
| 1790 | uint32_t* pPropertyCount, |
| 1791 | VkDisplayModePropertiesKHR* pProperties) |
| 1792 | { |
| 1793 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1794 | VkResult vkGetDisplayModePropertiesKHR_VkResult_return = (VkResult)0; |
| 1795 | vkGetDisplayModePropertiesKHR_VkResult_return = vkEnc->vkGetDisplayModePropertiesKHR(physicalDevice, display, pPropertyCount, pProperties); |
| 1796 | return vkGetDisplayModePropertiesKHR_VkResult_return; |
| 1797 | } |
| 1798 | static VkResult entry_vkCreateDisplayModeKHR( |
| 1799 | VkPhysicalDevice physicalDevice, |
| 1800 | VkDisplayKHR display, |
| 1801 | const VkDisplayModeCreateInfoKHR* pCreateInfo, |
| 1802 | const VkAllocationCallbacks* pAllocator, |
| 1803 | VkDisplayModeKHR* pMode) |
| 1804 | { |
| 1805 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1806 | VkResult vkCreateDisplayModeKHR_VkResult_return = (VkResult)0; |
| 1807 | vkCreateDisplayModeKHR_VkResult_return = vkEnc->vkCreateDisplayModeKHR(physicalDevice, display, pCreateInfo, pAllocator, pMode); |
| 1808 | return vkCreateDisplayModeKHR_VkResult_return; |
| 1809 | } |
| 1810 | static VkResult entry_vkGetDisplayPlaneCapabilitiesKHR( |
| 1811 | VkPhysicalDevice physicalDevice, |
| 1812 | VkDisplayModeKHR mode, |
| 1813 | uint32_t planeIndex, |
| 1814 | VkDisplayPlaneCapabilitiesKHR* pCapabilities) |
| 1815 | { |
| 1816 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1817 | VkResult vkGetDisplayPlaneCapabilitiesKHR_VkResult_return = (VkResult)0; |
| 1818 | vkGetDisplayPlaneCapabilitiesKHR_VkResult_return = vkEnc->vkGetDisplayPlaneCapabilitiesKHR(physicalDevice, mode, planeIndex, pCapabilities); |
| 1819 | return vkGetDisplayPlaneCapabilitiesKHR_VkResult_return; |
| 1820 | } |
| 1821 | static VkResult entry_vkCreateDisplayPlaneSurfaceKHR( |
| 1822 | VkInstance instance, |
| 1823 | const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, |
| 1824 | const VkAllocationCallbacks* pAllocator, |
| 1825 | VkSurfaceKHR* pSurface) |
| 1826 | { |
| 1827 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1828 | VkResult vkCreateDisplayPlaneSurfaceKHR_VkResult_return = (VkResult)0; |
| 1829 | vkCreateDisplayPlaneSurfaceKHR_VkResult_return = vkEnc->vkCreateDisplayPlaneSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1830 | return vkCreateDisplayPlaneSurfaceKHR_VkResult_return; |
| 1831 | } |
| 1832 | #endif |
| 1833 | #ifdef VK_KHR_display_swapchain |
| 1834 | static VkResult entry_vkCreateSharedSwapchainsKHR( |
| 1835 | VkDevice device, |
| 1836 | uint32_t swapchainCount, |
| 1837 | const VkSwapchainCreateInfoKHR* pCreateInfos, |
| 1838 | const VkAllocationCallbacks* pAllocator, |
| 1839 | VkSwapchainKHR* pSwapchains) |
| 1840 | { |
| 1841 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1842 | VkResult vkCreateSharedSwapchainsKHR_VkResult_return = (VkResult)0; |
| 1843 | vkCreateSharedSwapchainsKHR_VkResult_return = vkEnc->vkCreateSharedSwapchainsKHR(device, swapchainCount, pCreateInfos, pAllocator, pSwapchains); |
| 1844 | return vkCreateSharedSwapchainsKHR_VkResult_return; |
| 1845 | } |
| 1846 | #endif |
| 1847 | #ifdef VK_KHR_xlib_surface |
| 1848 | static VkResult entry_vkCreateXlibSurfaceKHR( |
| 1849 | VkInstance instance, |
| 1850 | const VkXlibSurfaceCreateInfoKHR* pCreateInfo, |
| 1851 | const VkAllocationCallbacks* pAllocator, |
| 1852 | VkSurfaceKHR* pSurface) |
| 1853 | { |
| 1854 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1855 | VkResult vkCreateXlibSurfaceKHR_VkResult_return = (VkResult)0; |
| 1856 | vkCreateXlibSurfaceKHR_VkResult_return = vkEnc->vkCreateXlibSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1857 | return vkCreateXlibSurfaceKHR_VkResult_return; |
| 1858 | } |
| 1859 | static VkBool32 entry_vkGetPhysicalDeviceXlibPresentationSupportKHR( |
| 1860 | VkPhysicalDevice physicalDevice, |
| 1861 | uint32_t queueFamilyIndex, |
| 1862 | Display* dpy, |
| 1863 | VisualID visualID) |
| 1864 | { |
| 1865 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1866 | VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR_VkBool32_return = (VkBool32)0; |
| 1867 | vkGetPhysicalDeviceXlibPresentationSupportKHR_VkBool32_return = vkEnc->vkGetPhysicalDeviceXlibPresentationSupportKHR(physicalDevice, queueFamilyIndex, dpy, visualID); |
| 1868 | return vkGetPhysicalDeviceXlibPresentationSupportKHR_VkBool32_return; |
| 1869 | } |
| 1870 | #endif |
| 1871 | #ifdef VK_KHR_xcb_surface |
| 1872 | static VkResult entry_vkCreateXcbSurfaceKHR( |
| 1873 | VkInstance instance, |
| 1874 | const VkXcbSurfaceCreateInfoKHR* pCreateInfo, |
| 1875 | const VkAllocationCallbacks* pAllocator, |
| 1876 | VkSurfaceKHR* pSurface) |
| 1877 | { |
| 1878 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1879 | VkResult vkCreateXcbSurfaceKHR_VkResult_return = (VkResult)0; |
| 1880 | vkCreateXcbSurfaceKHR_VkResult_return = vkEnc->vkCreateXcbSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1881 | return vkCreateXcbSurfaceKHR_VkResult_return; |
| 1882 | } |
| 1883 | static VkBool32 entry_vkGetPhysicalDeviceXcbPresentationSupportKHR( |
| 1884 | VkPhysicalDevice physicalDevice, |
| 1885 | uint32_t queueFamilyIndex, |
| 1886 | xcb_connection_t* connection, |
| 1887 | xcb_visualid_t visual_id) |
| 1888 | { |
| 1889 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1890 | VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR_VkBool32_return = (VkBool32)0; |
| 1891 | vkGetPhysicalDeviceXcbPresentationSupportKHR_VkBool32_return = vkEnc->vkGetPhysicalDeviceXcbPresentationSupportKHR(physicalDevice, queueFamilyIndex, connection, visual_id); |
| 1892 | return vkGetPhysicalDeviceXcbPresentationSupportKHR_VkBool32_return; |
| 1893 | } |
| 1894 | #endif |
| 1895 | #ifdef VK_KHR_wayland_surface |
| 1896 | static VkResult entry_vkCreateWaylandSurfaceKHR( |
| 1897 | VkInstance instance, |
| 1898 | const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, |
| 1899 | const VkAllocationCallbacks* pAllocator, |
| 1900 | VkSurfaceKHR* pSurface) |
| 1901 | { |
| 1902 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1903 | VkResult vkCreateWaylandSurfaceKHR_VkResult_return = (VkResult)0; |
| 1904 | vkCreateWaylandSurfaceKHR_VkResult_return = vkEnc->vkCreateWaylandSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1905 | return vkCreateWaylandSurfaceKHR_VkResult_return; |
| 1906 | } |
| 1907 | static VkBool32 entry_vkGetPhysicalDeviceWaylandPresentationSupportKHR( |
| 1908 | VkPhysicalDevice physicalDevice, |
| 1909 | uint32_t queueFamilyIndex, |
| 1910 | wl_display* display) |
| 1911 | { |
| 1912 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1913 | VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR_VkBool32_return = (VkBool32)0; |
| 1914 | vkGetPhysicalDeviceWaylandPresentationSupportKHR_VkBool32_return = vkEnc->vkGetPhysicalDeviceWaylandPresentationSupportKHR(physicalDevice, queueFamilyIndex, display); |
| 1915 | return vkGetPhysicalDeviceWaylandPresentationSupportKHR_VkBool32_return; |
| 1916 | } |
| 1917 | #endif |
| 1918 | #ifdef VK_KHR_mir_surface |
| 1919 | static VkResult entry_vkCreateMirSurfaceKHR( |
| 1920 | VkInstance instance, |
| 1921 | const VkMirSurfaceCreateInfoKHR* pCreateInfo, |
| 1922 | const VkAllocationCallbacks* pAllocator, |
| 1923 | VkSurfaceKHR* pSurface) |
| 1924 | { |
| 1925 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1926 | VkResult vkCreateMirSurfaceKHR_VkResult_return = (VkResult)0; |
| 1927 | vkCreateMirSurfaceKHR_VkResult_return = vkEnc->vkCreateMirSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1928 | return vkCreateMirSurfaceKHR_VkResult_return; |
| 1929 | } |
| 1930 | static VkBool32 entry_vkGetPhysicalDeviceMirPresentationSupportKHR( |
| 1931 | VkPhysicalDevice physicalDevice, |
| 1932 | uint32_t queueFamilyIndex, |
| 1933 | MirConnection* connection) |
| 1934 | { |
| 1935 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1936 | VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR_VkBool32_return = (VkBool32)0; |
| 1937 | vkGetPhysicalDeviceMirPresentationSupportKHR_VkBool32_return = vkEnc->vkGetPhysicalDeviceMirPresentationSupportKHR(physicalDevice, queueFamilyIndex, connection); |
| 1938 | return vkGetPhysicalDeviceMirPresentationSupportKHR_VkBool32_return; |
| 1939 | } |
| 1940 | #endif |
| 1941 | #ifdef VK_KHR_android_surface |
| 1942 | static VkResult entry_vkCreateAndroidSurfaceKHR( |
| 1943 | VkInstance instance, |
| 1944 | const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, |
| 1945 | const VkAllocationCallbacks* pAllocator, |
| 1946 | VkSurfaceKHR* pSurface) |
| 1947 | { |
| 1948 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1949 | VkResult vkCreateAndroidSurfaceKHR_VkResult_return = (VkResult)0; |
| 1950 | vkCreateAndroidSurfaceKHR_VkResult_return = vkEnc->vkCreateAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1951 | return vkCreateAndroidSurfaceKHR_VkResult_return; |
| 1952 | } |
| 1953 | #endif |
| 1954 | #ifdef VK_KHR_win32_surface |
| 1955 | static VkResult entry_vkCreateWin32SurfaceKHR( |
| 1956 | VkInstance instance, |
| 1957 | const VkWin32SurfaceCreateInfoKHR* pCreateInfo, |
| 1958 | const VkAllocationCallbacks* pAllocator, |
| 1959 | VkSurfaceKHR* pSurface) |
| 1960 | { |
| 1961 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1962 | VkResult vkCreateWin32SurfaceKHR_VkResult_return = (VkResult)0; |
| 1963 | vkCreateWin32SurfaceKHR_VkResult_return = vkEnc->vkCreateWin32SurfaceKHR(instance, pCreateInfo, pAllocator, pSurface); |
| 1964 | return vkCreateWin32SurfaceKHR_VkResult_return; |
| 1965 | } |
| 1966 | static VkBool32 entry_vkGetPhysicalDeviceWin32PresentationSupportKHR( |
| 1967 | VkPhysicalDevice physicalDevice, |
| 1968 | uint32_t queueFamilyIndex) |
| 1969 | { |
| 1970 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1971 | VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR_VkBool32_return = (VkBool32)0; |
| 1972 | vkGetPhysicalDeviceWin32PresentationSupportKHR_VkBool32_return = vkEnc->vkGetPhysicalDeviceWin32PresentationSupportKHR(physicalDevice, queueFamilyIndex); |
| 1973 | return vkGetPhysicalDeviceWin32PresentationSupportKHR_VkBool32_return; |
| 1974 | } |
| 1975 | #endif |
| 1976 | #ifdef VK_KHR_sampler_mirror_clamp_to_edge |
| 1977 | #endif |
| 1978 | #ifdef VK_KHR_multiview |
| 1979 | #endif |
| 1980 | #ifdef VK_KHR_get_physical_device_properties2 |
| 1981 | static void entry_vkGetPhysicalDeviceFeatures2KHR( |
| 1982 | VkPhysicalDevice physicalDevice, |
| 1983 | VkPhysicalDeviceFeatures2* pFeatures) |
| 1984 | { |
| 1985 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1986 | vkEnc->vkGetPhysicalDeviceFeatures2KHR(physicalDevice, pFeatures); |
| 1987 | } |
| 1988 | static void entry_vkGetPhysicalDeviceProperties2KHR( |
| 1989 | VkPhysicalDevice physicalDevice, |
| 1990 | VkPhysicalDeviceProperties2* pProperties) |
| 1991 | { |
| 1992 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 1993 | vkEnc->vkGetPhysicalDeviceProperties2KHR(physicalDevice, pProperties); |
| 1994 | } |
| 1995 | static void entry_vkGetPhysicalDeviceFormatProperties2KHR( |
| 1996 | VkPhysicalDevice physicalDevice, |
| 1997 | VkFormat format, |
| 1998 | VkFormatProperties2* pFormatProperties) |
| 1999 | { |
| 2000 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2001 | vkEnc->vkGetPhysicalDeviceFormatProperties2KHR(physicalDevice, format, pFormatProperties); |
| 2002 | } |
| 2003 | static VkResult entry_vkGetPhysicalDeviceImageFormatProperties2KHR( |
| 2004 | VkPhysicalDevice physicalDevice, |
| 2005 | const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, |
| 2006 | VkImageFormatProperties2* pImageFormatProperties) |
| 2007 | { |
| 2008 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2009 | VkResult vkGetPhysicalDeviceImageFormatProperties2KHR_VkResult_return = (VkResult)0; |
| 2010 | vkGetPhysicalDeviceImageFormatProperties2KHR_VkResult_return = vkEnc->vkGetPhysicalDeviceImageFormatProperties2KHR(physicalDevice, pImageFormatInfo, pImageFormatProperties); |
| 2011 | return vkGetPhysicalDeviceImageFormatProperties2KHR_VkResult_return; |
| 2012 | } |
| 2013 | static void entry_vkGetPhysicalDeviceQueueFamilyProperties2KHR( |
| 2014 | VkPhysicalDevice physicalDevice, |
| 2015 | uint32_t* pQueueFamilyPropertyCount, |
| 2016 | VkQueueFamilyProperties2* pQueueFamilyProperties) |
| 2017 | { |
| 2018 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2019 | vkEnc->vkGetPhysicalDeviceQueueFamilyProperties2KHR(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties); |
| 2020 | } |
| 2021 | static void entry_vkGetPhysicalDeviceMemoryProperties2KHR( |
| 2022 | VkPhysicalDevice physicalDevice, |
| 2023 | VkPhysicalDeviceMemoryProperties2* pMemoryProperties) |
| 2024 | { |
| 2025 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2026 | vkEnc->vkGetPhysicalDeviceMemoryProperties2KHR(physicalDevice, pMemoryProperties); |
| 2027 | } |
| 2028 | static void entry_vkGetPhysicalDeviceSparseImageFormatProperties2KHR( |
| 2029 | VkPhysicalDevice physicalDevice, |
| 2030 | const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, |
| 2031 | uint32_t* pPropertyCount, |
| 2032 | VkSparseImageFormatProperties2* pProperties) |
| 2033 | { |
| 2034 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2035 | vkEnc->vkGetPhysicalDeviceSparseImageFormatProperties2KHR(physicalDevice, pFormatInfo, pPropertyCount, pProperties); |
| 2036 | } |
| 2037 | #endif |
| 2038 | #ifdef VK_KHR_device_group |
| 2039 | static void entry_vkGetDeviceGroupPeerMemoryFeaturesKHR( |
| 2040 | VkDevice device, |
| 2041 | uint32_t heapIndex, |
| 2042 | uint32_t localDeviceIndex, |
| 2043 | uint32_t remoteDeviceIndex, |
| 2044 | VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) |
| 2045 | { |
| 2046 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2047 | vkEnc->vkGetDeviceGroupPeerMemoryFeaturesKHR(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures); |
| 2048 | } |
| 2049 | static void entry_vkCmdSetDeviceMaskKHR( |
| 2050 | VkCommandBuffer commandBuffer, |
| 2051 | uint32_t deviceMask) |
| 2052 | { |
| 2053 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2054 | vkEnc->vkCmdSetDeviceMaskKHR(commandBuffer, deviceMask); |
| 2055 | } |
| 2056 | static void entry_vkCmdDispatchBaseKHR( |
| 2057 | VkCommandBuffer commandBuffer, |
| 2058 | uint32_t baseGroupX, |
| 2059 | uint32_t baseGroupY, |
| 2060 | uint32_t baseGroupZ, |
| 2061 | uint32_t groupCountX, |
| 2062 | uint32_t groupCountY, |
| 2063 | uint32_t groupCountZ) |
| 2064 | { |
| 2065 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2066 | vkEnc->vkCmdDispatchBaseKHR(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ); |
| 2067 | } |
| 2068 | #endif |
| 2069 | #ifdef VK_KHR_shader_draw_parameters |
| 2070 | #endif |
| 2071 | #ifdef VK_KHR_maintenance1 |
| 2072 | static void entry_vkTrimCommandPoolKHR( |
| 2073 | VkDevice device, |
| 2074 | VkCommandPool commandPool, |
| 2075 | VkCommandPoolTrimFlags flags) |
| 2076 | { |
| 2077 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2078 | vkEnc->vkTrimCommandPoolKHR(device, commandPool, flags); |
| 2079 | } |
| 2080 | #endif |
| 2081 | #ifdef VK_KHR_device_group_creation |
| 2082 | static VkResult entry_vkEnumeratePhysicalDeviceGroupsKHR( |
| 2083 | VkInstance instance, |
| 2084 | uint32_t* pPhysicalDeviceGroupCount, |
| 2085 | VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties) |
| 2086 | { |
| 2087 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2088 | VkResult vkEnumeratePhysicalDeviceGroupsKHR_VkResult_return = (VkResult)0; |
| 2089 | vkEnumeratePhysicalDeviceGroupsKHR_VkResult_return = vkEnc->vkEnumeratePhysicalDeviceGroupsKHR(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties); |
| 2090 | return vkEnumeratePhysicalDeviceGroupsKHR_VkResult_return; |
| 2091 | } |
| 2092 | #endif |
| 2093 | #ifdef VK_KHR_external_memory_capabilities |
| 2094 | static void entry_vkGetPhysicalDeviceExternalBufferPropertiesKHR( |
| 2095 | VkPhysicalDevice physicalDevice, |
| 2096 | const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, |
| 2097 | VkExternalBufferProperties* pExternalBufferProperties) |
| 2098 | { |
| 2099 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2100 | vkEnc->vkGetPhysicalDeviceExternalBufferPropertiesKHR(physicalDevice, pExternalBufferInfo, pExternalBufferProperties); |
| 2101 | } |
| 2102 | #endif |
| 2103 | #ifdef VK_KHR_external_memory |
| 2104 | #endif |
| 2105 | #ifdef VK_KHR_external_memory_win32 |
| 2106 | static VkResult entry_vkGetMemoryWin32HandleKHR( |
| 2107 | VkDevice device, |
| 2108 | const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, |
| 2109 | HANDLE* pHandle) |
| 2110 | { |
| 2111 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2112 | VkResult vkGetMemoryWin32HandleKHR_VkResult_return = (VkResult)0; |
| 2113 | vkGetMemoryWin32HandleKHR_VkResult_return = vkEnc->vkGetMemoryWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); |
| 2114 | return vkGetMemoryWin32HandleKHR_VkResult_return; |
| 2115 | } |
| 2116 | static VkResult entry_vkGetMemoryWin32HandlePropertiesKHR( |
| 2117 | VkDevice device, |
| 2118 | VkExternalMemoryHandleTypeFlagBits handleType, |
| 2119 | HANDLE handle, |
| 2120 | VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties) |
| 2121 | { |
| 2122 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2123 | VkResult vkGetMemoryWin32HandlePropertiesKHR_VkResult_return = (VkResult)0; |
| 2124 | vkGetMemoryWin32HandlePropertiesKHR_VkResult_return = vkEnc->vkGetMemoryWin32HandlePropertiesKHR(device, handleType, handle, pMemoryWin32HandleProperties); |
| 2125 | return vkGetMemoryWin32HandlePropertiesKHR_VkResult_return; |
| 2126 | } |
| 2127 | #endif |
| 2128 | #ifdef VK_KHR_external_memory_fd |
| 2129 | static VkResult entry_vkGetMemoryFdKHR( |
| 2130 | VkDevice device, |
| 2131 | const VkMemoryGetFdInfoKHR* pGetFdInfo, |
| 2132 | int* pFd) |
| 2133 | { |
| 2134 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2135 | VkResult vkGetMemoryFdKHR_VkResult_return = (VkResult)0; |
| 2136 | vkGetMemoryFdKHR_VkResult_return = vkEnc->vkGetMemoryFdKHR(device, pGetFdInfo, pFd); |
| 2137 | return vkGetMemoryFdKHR_VkResult_return; |
| 2138 | } |
| 2139 | static VkResult entry_vkGetMemoryFdPropertiesKHR( |
| 2140 | VkDevice device, |
| 2141 | VkExternalMemoryHandleTypeFlagBits handleType, |
| 2142 | int fd, |
| 2143 | VkMemoryFdPropertiesKHR* pMemoryFdProperties) |
| 2144 | { |
| 2145 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2146 | VkResult vkGetMemoryFdPropertiesKHR_VkResult_return = (VkResult)0; |
| 2147 | vkGetMemoryFdPropertiesKHR_VkResult_return = vkEnc->vkGetMemoryFdPropertiesKHR(device, handleType, fd, pMemoryFdProperties); |
| 2148 | return vkGetMemoryFdPropertiesKHR_VkResult_return; |
| 2149 | } |
| 2150 | #endif |
| 2151 | #ifdef VK_KHR_win32_keyed_mutex |
| 2152 | #endif |
| 2153 | #ifdef VK_KHR_external_semaphore_capabilities |
| 2154 | static void entry_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( |
| 2155 | VkPhysicalDevice physicalDevice, |
| 2156 | const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, |
| 2157 | VkExternalSemaphoreProperties* pExternalSemaphoreProperties) |
| 2158 | { |
| 2159 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2160 | vkEnc->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties); |
| 2161 | } |
| 2162 | #endif |
| 2163 | #ifdef VK_KHR_external_semaphore |
| 2164 | #endif |
| 2165 | #ifdef VK_KHR_external_semaphore_win32 |
| 2166 | static VkResult entry_vkImportSemaphoreWin32HandleKHR( |
| 2167 | VkDevice device, |
| 2168 | const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo) |
| 2169 | { |
| 2170 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2171 | VkResult vkImportSemaphoreWin32HandleKHR_VkResult_return = (VkResult)0; |
| 2172 | vkImportSemaphoreWin32HandleKHR_VkResult_return = vkEnc->vkImportSemaphoreWin32HandleKHR(device, pImportSemaphoreWin32HandleInfo); |
| 2173 | return vkImportSemaphoreWin32HandleKHR_VkResult_return; |
| 2174 | } |
| 2175 | static VkResult entry_vkGetSemaphoreWin32HandleKHR( |
| 2176 | VkDevice device, |
| 2177 | const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, |
| 2178 | HANDLE* pHandle) |
| 2179 | { |
| 2180 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2181 | VkResult vkGetSemaphoreWin32HandleKHR_VkResult_return = (VkResult)0; |
| 2182 | vkGetSemaphoreWin32HandleKHR_VkResult_return = vkEnc->vkGetSemaphoreWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); |
| 2183 | return vkGetSemaphoreWin32HandleKHR_VkResult_return; |
| 2184 | } |
| 2185 | #endif |
| 2186 | #ifdef VK_KHR_external_semaphore_fd |
| 2187 | static VkResult entry_vkImportSemaphoreFdKHR( |
| 2188 | VkDevice device, |
| 2189 | const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo) |
| 2190 | { |
| 2191 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2192 | VkResult vkImportSemaphoreFdKHR_VkResult_return = (VkResult)0; |
| 2193 | vkImportSemaphoreFdKHR_VkResult_return = vkEnc->vkImportSemaphoreFdKHR(device, pImportSemaphoreFdInfo); |
| 2194 | return vkImportSemaphoreFdKHR_VkResult_return; |
| 2195 | } |
| 2196 | static VkResult entry_vkGetSemaphoreFdKHR( |
| 2197 | VkDevice device, |
| 2198 | const VkSemaphoreGetFdInfoKHR* pGetFdInfo, |
| 2199 | int* pFd) |
| 2200 | { |
| 2201 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2202 | VkResult vkGetSemaphoreFdKHR_VkResult_return = (VkResult)0; |
| 2203 | vkGetSemaphoreFdKHR_VkResult_return = vkEnc->vkGetSemaphoreFdKHR(device, pGetFdInfo, pFd); |
| 2204 | return vkGetSemaphoreFdKHR_VkResult_return; |
| 2205 | } |
| 2206 | #endif |
| 2207 | #ifdef VK_KHR_push_descriptor |
| 2208 | static void entry_vkCmdPushDescriptorSetKHR( |
| 2209 | VkCommandBuffer commandBuffer, |
| 2210 | VkPipelineBindPoint pipelineBindPoint, |
| 2211 | VkPipelineLayout layout, |
| 2212 | uint32_t set, |
| 2213 | uint32_t descriptorWriteCount, |
| 2214 | const VkWriteDescriptorSet* pDescriptorWrites) |
| 2215 | { |
| 2216 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2217 | vkEnc->vkCmdPushDescriptorSetKHR(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites); |
| 2218 | } |
| 2219 | static void entry_vkCmdPushDescriptorSetWithTemplateKHR( |
| 2220 | VkCommandBuffer commandBuffer, |
| 2221 | VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 2222 | VkPipelineLayout layout, |
| 2223 | uint32_t set, |
| 2224 | const void* pData) |
| 2225 | { |
| 2226 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2227 | vkEnc->vkCmdPushDescriptorSetWithTemplateKHR(commandBuffer, descriptorUpdateTemplate, layout, set, pData); |
| 2228 | } |
| 2229 | #endif |
| 2230 | #ifdef VK_KHR_16bit_storage |
| 2231 | #endif |
| 2232 | #ifdef VK_KHR_incremental_present |
| 2233 | #endif |
| 2234 | #ifdef VK_KHR_descriptor_update_template |
| 2235 | static VkResult entry_vkCreateDescriptorUpdateTemplateKHR( |
| 2236 | VkDevice device, |
| 2237 | const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, |
| 2238 | const VkAllocationCallbacks* pAllocator, |
| 2239 | VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate) |
| 2240 | { |
| 2241 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2242 | VkResult vkCreateDescriptorUpdateTemplateKHR_VkResult_return = (VkResult)0; |
| 2243 | vkCreateDescriptorUpdateTemplateKHR_VkResult_return = vkEnc->vkCreateDescriptorUpdateTemplateKHR(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate); |
| 2244 | return vkCreateDescriptorUpdateTemplateKHR_VkResult_return; |
| 2245 | } |
| 2246 | static void entry_vkDestroyDescriptorUpdateTemplateKHR( |
| 2247 | VkDevice device, |
| 2248 | VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 2249 | const VkAllocationCallbacks* pAllocator) |
| 2250 | { |
| 2251 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2252 | vkEnc->vkDestroyDescriptorUpdateTemplateKHR(device, descriptorUpdateTemplate, pAllocator); |
| 2253 | } |
| 2254 | static void entry_vkUpdateDescriptorSetWithTemplateKHR( |
| 2255 | VkDevice device, |
| 2256 | VkDescriptorSet descriptorSet, |
| 2257 | VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 2258 | const void* pData) |
| 2259 | { |
| 2260 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2261 | vkEnc->vkUpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descriptorUpdateTemplate, pData); |
| 2262 | } |
| 2263 | #endif |
| 2264 | #ifdef VK_KHR_create_renderpass2 |
| 2265 | static VkResult entry_vkCreateRenderPass2KHR( |
| 2266 | VkDevice device, |
| 2267 | const VkRenderPassCreateInfo2KHR* pCreateInfo, |
| 2268 | const VkAllocationCallbacks* pAllocator, |
| 2269 | VkRenderPass* pRenderPass) |
| 2270 | { |
| 2271 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2272 | VkResult vkCreateRenderPass2KHR_VkResult_return = (VkResult)0; |
| 2273 | vkCreateRenderPass2KHR_VkResult_return = vkEnc->vkCreateRenderPass2KHR(device, pCreateInfo, pAllocator, pRenderPass); |
| 2274 | return vkCreateRenderPass2KHR_VkResult_return; |
| 2275 | } |
| 2276 | static void entry_vkCmdBeginRenderPass2KHR( |
| 2277 | VkCommandBuffer commandBuffer, |
| 2278 | const VkRenderPassBeginInfo* pRenderPassBegin, |
| 2279 | const VkSubpassBeginInfoKHR* pSubpassBeginInfo) |
| 2280 | { |
| 2281 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2282 | vkEnc->vkCmdBeginRenderPass2KHR(commandBuffer, pRenderPassBegin, pSubpassBeginInfo); |
| 2283 | } |
| 2284 | static void entry_vkCmdNextSubpass2KHR( |
| 2285 | VkCommandBuffer commandBuffer, |
| 2286 | const VkSubpassBeginInfoKHR* pSubpassBeginInfo, |
| 2287 | const VkSubpassEndInfoKHR* pSubpassEndInfo) |
| 2288 | { |
| 2289 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2290 | vkEnc->vkCmdNextSubpass2KHR(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo); |
| 2291 | } |
| 2292 | static void entry_vkCmdEndRenderPass2KHR( |
| 2293 | VkCommandBuffer commandBuffer, |
| 2294 | const VkSubpassEndInfoKHR* pSubpassEndInfo) |
| 2295 | { |
| 2296 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2297 | vkEnc->vkCmdEndRenderPass2KHR(commandBuffer, pSubpassEndInfo); |
| 2298 | } |
| 2299 | #endif |
| 2300 | #ifdef VK_KHR_shared_presentable_image |
| 2301 | static VkResult entry_vkGetSwapchainStatusKHR( |
| 2302 | VkDevice device, |
| 2303 | VkSwapchainKHR swapchain) |
| 2304 | { |
| 2305 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2306 | VkResult vkGetSwapchainStatusKHR_VkResult_return = (VkResult)0; |
| 2307 | vkGetSwapchainStatusKHR_VkResult_return = vkEnc->vkGetSwapchainStatusKHR(device, swapchain); |
| 2308 | return vkGetSwapchainStatusKHR_VkResult_return; |
| 2309 | } |
| 2310 | #endif |
| 2311 | #ifdef VK_KHR_external_fence_capabilities |
| 2312 | static void entry_vkGetPhysicalDeviceExternalFencePropertiesKHR( |
| 2313 | VkPhysicalDevice physicalDevice, |
| 2314 | const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, |
| 2315 | VkExternalFenceProperties* pExternalFenceProperties) |
| 2316 | { |
| 2317 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2318 | vkEnc->vkGetPhysicalDeviceExternalFencePropertiesKHR(physicalDevice, pExternalFenceInfo, pExternalFenceProperties); |
| 2319 | } |
| 2320 | #endif |
| 2321 | #ifdef VK_KHR_external_fence |
| 2322 | #endif |
| 2323 | #ifdef VK_KHR_external_fence_win32 |
| 2324 | static VkResult entry_vkImportFenceWin32HandleKHR( |
| 2325 | VkDevice device, |
| 2326 | const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo) |
| 2327 | { |
| 2328 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2329 | VkResult vkImportFenceWin32HandleKHR_VkResult_return = (VkResult)0; |
| 2330 | vkImportFenceWin32HandleKHR_VkResult_return = vkEnc->vkImportFenceWin32HandleKHR(device, pImportFenceWin32HandleInfo); |
| 2331 | return vkImportFenceWin32HandleKHR_VkResult_return; |
| 2332 | } |
| 2333 | static VkResult entry_vkGetFenceWin32HandleKHR( |
| 2334 | VkDevice device, |
| 2335 | const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, |
| 2336 | HANDLE* pHandle) |
| 2337 | { |
| 2338 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2339 | VkResult vkGetFenceWin32HandleKHR_VkResult_return = (VkResult)0; |
| 2340 | vkGetFenceWin32HandleKHR_VkResult_return = vkEnc->vkGetFenceWin32HandleKHR(device, pGetWin32HandleInfo, pHandle); |
| 2341 | return vkGetFenceWin32HandleKHR_VkResult_return; |
| 2342 | } |
| 2343 | #endif |
| 2344 | #ifdef VK_KHR_external_fence_fd |
| 2345 | static VkResult entry_vkImportFenceFdKHR( |
| 2346 | VkDevice device, |
| 2347 | const VkImportFenceFdInfoKHR* pImportFenceFdInfo) |
| 2348 | { |
| 2349 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2350 | VkResult vkImportFenceFdKHR_VkResult_return = (VkResult)0; |
| 2351 | vkImportFenceFdKHR_VkResult_return = vkEnc->vkImportFenceFdKHR(device, pImportFenceFdInfo); |
| 2352 | return vkImportFenceFdKHR_VkResult_return; |
| 2353 | } |
| 2354 | static VkResult entry_vkGetFenceFdKHR( |
| 2355 | VkDevice device, |
| 2356 | const VkFenceGetFdInfoKHR* pGetFdInfo, |
| 2357 | int* pFd) |
| 2358 | { |
| 2359 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2360 | VkResult vkGetFenceFdKHR_VkResult_return = (VkResult)0; |
| 2361 | vkGetFenceFdKHR_VkResult_return = vkEnc->vkGetFenceFdKHR(device, pGetFdInfo, pFd); |
| 2362 | return vkGetFenceFdKHR_VkResult_return; |
| 2363 | } |
| 2364 | #endif |
| 2365 | #ifdef VK_KHR_maintenance2 |
| 2366 | #endif |
| 2367 | #ifdef VK_KHR_get_surface_capabilities2 |
| 2368 | static VkResult entry_vkGetPhysicalDeviceSurfaceCapabilities2KHR( |
| 2369 | VkPhysicalDevice physicalDevice, |
| 2370 | const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 2371 | VkSurfaceCapabilities2KHR* pSurfaceCapabilities) |
| 2372 | { |
| 2373 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2374 | VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR_VkResult_return = (VkResult)0; |
| 2375 | vkGetPhysicalDeviceSurfaceCapabilities2KHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceCapabilities2KHR(physicalDevice, pSurfaceInfo, pSurfaceCapabilities); |
| 2376 | return vkGetPhysicalDeviceSurfaceCapabilities2KHR_VkResult_return; |
| 2377 | } |
| 2378 | static VkResult entry_vkGetPhysicalDeviceSurfaceFormats2KHR( |
| 2379 | VkPhysicalDevice physicalDevice, |
| 2380 | const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 2381 | uint32_t* pSurfaceFormatCount, |
| 2382 | VkSurfaceFormat2KHR* pSurfaceFormats) |
| 2383 | { |
| 2384 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2385 | VkResult vkGetPhysicalDeviceSurfaceFormats2KHR_VkResult_return = (VkResult)0; |
| 2386 | vkGetPhysicalDeviceSurfaceFormats2KHR_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceFormats2KHR(physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats); |
| 2387 | return vkGetPhysicalDeviceSurfaceFormats2KHR_VkResult_return; |
| 2388 | } |
| 2389 | #endif |
| 2390 | #ifdef VK_KHR_variable_pointers |
| 2391 | #endif |
| 2392 | #ifdef VK_KHR_get_display_properties2 |
| 2393 | static VkResult entry_vkGetPhysicalDeviceDisplayProperties2KHR( |
| 2394 | VkPhysicalDevice physicalDevice, |
| 2395 | uint32_t* pPropertyCount, |
| 2396 | VkDisplayProperties2KHR* pProperties) |
| 2397 | { |
| 2398 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2399 | VkResult vkGetPhysicalDeviceDisplayProperties2KHR_VkResult_return = (VkResult)0; |
| 2400 | vkGetPhysicalDeviceDisplayProperties2KHR_VkResult_return = vkEnc->vkGetPhysicalDeviceDisplayProperties2KHR(physicalDevice, pPropertyCount, pProperties); |
| 2401 | return vkGetPhysicalDeviceDisplayProperties2KHR_VkResult_return; |
| 2402 | } |
| 2403 | static VkResult entry_vkGetPhysicalDeviceDisplayPlaneProperties2KHR( |
| 2404 | VkPhysicalDevice physicalDevice, |
| 2405 | uint32_t* pPropertyCount, |
| 2406 | VkDisplayPlaneProperties2KHR* pProperties) |
| 2407 | { |
| 2408 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2409 | VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR_VkResult_return = (VkResult)0; |
| 2410 | vkGetPhysicalDeviceDisplayPlaneProperties2KHR_VkResult_return = vkEnc->vkGetPhysicalDeviceDisplayPlaneProperties2KHR(physicalDevice, pPropertyCount, pProperties); |
| 2411 | return vkGetPhysicalDeviceDisplayPlaneProperties2KHR_VkResult_return; |
| 2412 | } |
| 2413 | static VkResult entry_vkGetDisplayModeProperties2KHR( |
| 2414 | VkPhysicalDevice physicalDevice, |
| 2415 | VkDisplayKHR display, |
| 2416 | uint32_t* pPropertyCount, |
| 2417 | VkDisplayModeProperties2KHR* pProperties) |
| 2418 | { |
| 2419 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2420 | VkResult vkGetDisplayModeProperties2KHR_VkResult_return = (VkResult)0; |
| 2421 | vkGetDisplayModeProperties2KHR_VkResult_return = vkEnc->vkGetDisplayModeProperties2KHR(physicalDevice, display, pPropertyCount, pProperties); |
| 2422 | return vkGetDisplayModeProperties2KHR_VkResult_return; |
| 2423 | } |
| 2424 | static VkResult entry_vkGetDisplayPlaneCapabilities2KHR( |
| 2425 | VkPhysicalDevice physicalDevice, |
| 2426 | const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo, |
| 2427 | VkDisplayPlaneCapabilities2KHR* pCapabilities) |
| 2428 | { |
| 2429 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2430 | VkResult vkGetDisplayPlaneCapabilities2KHR_VkResult_return = (VkResult)0; |
| 2431 | vkGetDisplayPlaneCapabilities2KHR_VkResult_return = vkEnc->vkGetDisplayPlaneCapabilities2KHR(physicalDevice, pDisplayPlaneInfo, pCapabilities); |
| 2432 | return vkGetDisplayPlaneCapabilities2KHR_VkResult_return; |
| 2433 | } |
| 2434 | #endif |
| 2435 | #ifdef VK_KHR_dedicated_allocation |
| 2436 | #endif |
| 2437 | #ifdef VK_KHR_storage_buffer_storage_class |
| 2438 | #endif |
| 2439 | #ifdef VK_KHR_relaxed_block_layout |
| 2440 | #endif |
| 2441 | #ifdef VK_KHR_get_memory_requirements2 |
| 2442 | static void entry_vkGetImageMemoryRequirements2KHR( |
| 2443 | VkDevice device, |
| 2444 | const VkImageMemoryRequirementsInfo2* pInfo, |
| 2445 | VkMemoryRequirements2* pMemoryRequirements) |
| 2446 | { |
| 2447 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2448 | vkEnc->vkGetImageMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); |
| 2449 | } |
| 2450 | static void entry_vkGetBufferMemoryRequirements2KHR( |
| 2451 | VkDevice device, |
| 2452 | const VkBufferMemoryRequirementsInfo2* pInfo, |
| 2453 | VkMemoryRequirements2* pMemoryRequirements) |
| 2454 | { |
| 2455 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2456 | vkEnc->vkGetBufferMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); |
| 2457 | } |
| 2458 | static void entry_vkGetImageSparseMemoryRequirements2KHR( |
| 2459 | VkDevice device, |
| 2460 | const VkImageSparseMemoryRequirementsInfo2* pInfo, |
| 2461 | uint32_t* pSparseMemoryRequirementCount, |
| 2462 | VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) |
| 2463 | { |
| 2464 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2465 | vkEnc->vkGetImageSparseMemoryRequirements2KHR(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements); |
| 2466 | } |
| 2467 | #endif |
| 2468 | #ifdef VK_KHR_image_format_list |
| 2469 | #endif |
| 2470 | #ifdef VK_KHR_sampler_ycbcr_conversion |
| 2471 | static VkResult entry_vkCreateSamplerYcbcrConversionKHR( |
| 2472 | VkDevice device, |
| 2473 | const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, |
| 2474 | const VkAllocationCallbacks* pAllocator, |
| 2475 | VkSamplerYcbcrConversion* pYcbcrConversion) |
| 2476 | { |
| 2477 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2478 | VkResult vkCreateSamplerYcbcrConversionKHR_VkResult_return = (VkResult)0; |
| 2479 | vkCreateSamplerYcbcrConversionKHR_VkResult_return = vkEnc->vkCreateSamplerYcbcrConversionKHR(device, pCreateInfo, pAllocator, pYcbcrConversion); |
| 2480 | return vkCreateSamplerYcbcrConversionKHR_VkResult_return; |
| 2481 | } |
| 2482 | static void entry_vkDestroySamplerYcbcrConversionKHR( |
| 2483 | VkDevice device, |
| 2484 | VkSamplerYcbcrConversion ycbcrConversion, |
| 2485 | const VkAllocationCallbacks* pAllocator) |
| 2486 | { |
| 2487 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2488 | vkEnc->vkDestroySamplerYcbcrConversionKHR(device, ycbcrConversion, pAllocator); |
| 2489 | } |
| 2490 | #endif |
| 2491 | #ifdef VK_KHR_bind_memory2 |
| 2492 | static VkResult entry_vkBindBufferMemory2KHR( |
| 2493 | VkDevice device, |
| 2494 | uint32_t bindInfoCount, |
| 2495 | const VkBindBufferMemoryInfo* pBindInfos) |
| 2496 | { |
| 2497 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2498 | VkResult vkBindBufferMemory2KHR_VkResult_return = (VkResult)0; |
| 2499 | vkBindBufferMemory2KHR_VkResult_return = vkEnc->vkBindBufferMemory2KHR(device, bindInfoCount, pBindInfos); |
| 2500 | return vkBindBufferMemory2KHR_VkResult_return; |
| 2501 | } |
| 2502 | static VkResult entry_vkBindImageMemory2KHR( |
| 2503 | VkDevice device, |
| 2504 | uint32_t bindInfoCount, |
| 2505 | const VkBindImageMemoryInfo* pBindInfos) |
| 2506 | { |
| 2507 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2508 | VkResult vkBindImageMemory2KHR_VkResult_return = (VkResult)0; |
| 2509 | vkBindImageMemory2KHR_VkResult_return = vkEnc->vkBindImageMemory2KHR(device, bindInfoCount, pBindInfos); |
| 2510 | return vkBindImageMemory2KHR_VkResult_return; |
| 2511 | } |
| 2512 | #endif |
| 2513 | #ifdef VK_KHR_maintenance3 |
| 2514 | static void entry_vkGetDescriptorSetLayoutSupportKHR( |
| 2515 | VkDevice device, |
| 2516 | const VkDescriptorSetLayoutCreateInfo* pCreateInfo, |
| 2517 | VkDescriptorSetLayoutSupport* pSupport) |
| 2518 | { |
| 2519 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2520 | vkEnc->vkGetDescriptorSetLayoutSupportKHR(device, pCreateInfo, pSupport); |
| 2521 | } |
| 2522 | #endif |
| 2523 | #ifdef VK_KHR_draw_indirect_count |
| 2524 | static void entry_vkCmdDrawIndirectCountKHR( |
| 2525 | VkCommandBuffer commandBuffer, |
| 2526 | VkBuffer buffer, |
| 2527 | VkDeviceSize offset, |
| 2528 | VkBuffer countBuffer, |
| 2529 | VkDeviceSize countBufferOffset, |
| 2530 | uint32_t maxDrawCount, |
| 2531 | uint32_t stride) |
| 2532 | { |
| 2533 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2534 | vkEnc->vkCmdDrawIndirectCountKHR(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); |
| 2535 | } |
| 2536 | static void entry_vkCmdDrawIndexedIndirectCountKHR( |
| 2537 | VkCommandBuffer commandBuffer, |
| 2538 | VkBuffer buffer, |
| 2539 | VkDeviceSize offset, |
| 2540 | VkBuffer countBuffer, |
| 2541 | VkDeviceSize countBufferOffset, |
| 2542 | uint32_t maxDrawCount, |
| 2543 | uint32_t stride) |
| 2544 | { |
| 2545 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2546 | vkEnc->vkCmdDrawIndexedIndirectCountKHR(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); |
| 2547 | } |
| 2548 | #endif |
| 2549 | #ifdef VK_KHR_8bit_storage |
| 2550 | #endif |
| 2551 | #ifdef VK_EXT_debug_report |
| 2552 | static VkResult entry_vkCreateDebugReportCallbackEXT( |
| 2553 | VkInstance instance, |
| 2554 | const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, |
| 2555 | const VkAllocationCallbacks* pAllocator, |
| 2556 | VkDebugReportCallbackEXT* pCallback) |
| 2557 | { |
| 2558 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2559 | VkResult vkCreateDebugReportCallbackEXT_VkResult_return = (VkResult)0; |
| 2560 | vkCreateDebugReportCallbackEXT_VkResult_return = vkEnc->vkCreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pCallback); |
| 2561 | return vkCreateDebugReportCallbackEXT_VkResult_return; |
| 2562 | } |
| 2563 | static void entry_vkDestroyDebugReportCallbackEXT( |
| 2564 | VkInstance instance, |
| 2565 | VkDebugReportCallbackEXT callback, |
| 2566 | const VkAllocationCallbacks* pAllocator) |
| 2567 | { |
| 2568 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2569 | vkEnc->vkDestroyDebugReportCallbackEXT(instance, callback, pAllocator); |
| 2570 | } |
| 2571 | static void entry_vkDebugReportMessageEXT( |
| 2572 | VkInstance instance, |
| 2573 | VkDebugReportFlagsEXT flags, |
| 2574 | VkDebugReportObjectTypeEXT objectType, |
| 2575 | uint64_t object, |
| 2576 | size_t location, |
| 2577 | int32_t messageCode, |
| 2578 | const char* pLayerPrefix, |
| 2579 | const char* pMessage) |
| 2580 | { |
| 2581 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2582 | vkEnc->vkDebugReportMessageEXT(instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage); |
| 2583 | } |
| 2584 | #endif |
| 2585 | #ifdef VK_NV_glsl_shader |
| 2586 | #endif |
| 2587 | #ifdef VK_EXT_depth_range_unrestricted |
| 2588 | #endif |
| 2589 | #ifdef VK_IMG_filter_cubic |
| 2590 | #endif |
| 2591 | #ifdef VK_AMD_rasterization_order |
| 2592 | #endif |
| 2593 | #ifdef VK_AMD_shader_trinary_minmax |
| 2594 | #endif |
| 2595 | #ifdef VK_AMD_shader_explicit_vertex_parameter |
| 2596 | #endif |
| 2597 | #ifdef VK_EXT_debug_marker |
| 2598 | static VkResult entry_vkDebugMarkerSetObjectTagEXT( |
| 2599 | VkDevice device, |
| 2600 | const VkDebugMarkerObjectTagInfoEXT* pTagInfo) |
| 2601 | { |
| 2602 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2603 | VkResult vkDebugMarkerSetObjectTagEXT_VkResult_return = (VkResult)0; |
| 2604 | vkDebugMarkerSetObjectTagEXT_VkResult_return = vkEnc->vkDebugMarkerSetObjectTagEXT(device, pTagInfo); |
| 2605 | return vkDebugMarkerSetObjectTagEXT_VkResult_return; |
| 2606 | } |
| 2607 | static VkResult entry_vkDebugMarkerSetObjectNameEXT( |
| 2608 | VkDevice device, |
| 2609 | const VkDebugMarkerObjectNameInfoEXT* pNameInfo) |
| 2610 | { |
| 2611 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2612 | VkResult vkDebugMarkerSetObjectNameEXT_VkResult_return = (VkResult)0; |
| 2613 | vkDebugMarkerSetObjectNameEXT_VkResult_return = vkEnc->vkDebugMarkerSetObjectNameEXT(device, pNameInfo); |
| 2614 | return vkDebugMarkerSetObjectNameEXT_VkResult_return; |
| 2615 | } |
| 2616 | static void entry_vkCmdDebugMarkerBeginEXT( |
| 2617 | VkCommandBuffer commandBuffer, |
| 2618 | const VkDebugMarkerMarkerInfoEXT* pMarkerInfo) |
| 2619 | { |
| 2620 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2621 | vkEnc->vkCmdDebugMarkerBeginEXT(commandBuffer, pMarkerInfo); |
| 2622 | } |
| 2623 | static void entry_vkCmdDebugMarkerEndEXT( |
| 2624 | VkCommandBuffer commandBuffer) |
| 2625 | { |
| 2626 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2627 | vkEnc->vkCmdDebugMarkerEndEXT(commandBuffer); |
| 2628 | } |
| 2629 | static void entry_vkCmdDebugMarkerInsertEXT( |
| 2630 | VkCommandBuffer commandBuffer, |
| 2631 | const VkDebugMarkerMarkerInfoEXT* pMarkerInfo) |
| 2632 | { |
| 2633 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2634 | vkEnc->vkCmdDebugMarkerInsertEXT(commandBuffer, pMarkerInfo); |
| 2635 | } |
| 2636 | #endif |
| 2637 | #ifdef VK_AMD_gcn_shader |
| 2638 | #endif |
| 2639 | #ifdef VK_NV_dedicated_allocation |
| 2640 | #endif |
| 2641 | #ifdef VK_AMD_draw_indirect_count |
| 2642 | static void entry_vkCmdDrawIndirectCountAMD( |
| 2643 | VkCommandBuffer commandBuffer, |
| 2644 | VkBuffer buffer, |
| 2645 | VkDeviceSize offset, |
| 2646 | VkBuffer countBuffer, |
| 2647 | VkDeviceSize countBufferOffset, |
| 2648 | uint32_t maxDrawCount, |
| 2649 | uint32_t stride) |
| 2650 | { |
| 2651 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2652 | vkEnc->vkCmdDrawIndirectCountAMD(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); |
| 2653 | } |
| 2654 | static void entry_vkCmdDrawIndexedIndirectCountAMD( |
| 2655 | VkCommandBuffer commandBuffer, |
| 2656 | VkBuffer buffer, |
| 2657 | VkDeviceSize offset, |
| 2658 | VkBuffer countBuffer, |
| 2659 | VkDeviceSize countBufferOffset, |
| 2660 | uint32_t maxDrawCount, |
| 2661 | uint32_t stride) |
| 2662 | { |
| 2663 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2664 | vkEnc->vkCmdDrawIndexedIndirectCountAMD(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); |
| 2665 | } |
| 2666 | #endif |
| 2667 | #ifdef VK_AMD_negative_viewport_height |
| 2668 | #endif |
| 2669 | #ifdef VK_AMD_gpu_shader_half_float |
| 2670 | #endif |
| 2671 | #ifdef VK_AMD_shader_ballot |
| 2672 | #endif |
| 2673 | #ifdef VK_AMD_texture_gather_bias_lod |
| 2674 | #endif |
| 2675 | #ifdef VK_AMD_shader_info |
| 2676 | static VkResult entry_vkGetShaderInfoAMD( |
| 2677 | VkDevice device, |
| 2678 | VkPipeline pipeline, |
| 2679 | VkShaderStageFlagBits shaderStage, |
| 2680 | VkShaderInfoTypeAMD infoType, |
| 2681 | size_t* pInfoSize, |
| 2682 | void* pInfo) |
| 2683 | { |
| 2684 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2685 | VkResult vkGetShaderInfoAMD_VkResult_return = (VkResult)0; |
| 2686 | vkGetShaderInfoAMD_VkResult_return = vkEnc->vkGetShaderInfoAMD(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); |
| 2687 | return vkGetShaderInfoAMD_VkResult_return; |
| 2688 | } |
| 2689 | #endif |
| 2690 | #ifdef VK_AMD_shader_image_load_store_lod |
| 2691 | #endif |
| 2692 | #ifdef VK_IMG_format_pvrtc |
| 2693 | #endif |
| 2694 | #ifdef VK_NV_external_memory_capabilities |
| 2695 | static VkResult entry_vkGetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 2696 | VkPhysicalDevice physicalDevice, |
| 2697 | VkFormat format, |
| 2698 | VkImageType type, |
| 2699 | VkImageTiling tiling, |
| 2700 | VkImageUsageFlags usage, |
| 2701 | VkImageCreateFlags flags, |
| 2702 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 2703 | VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties) |
| 2704 | { |
| 2705 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2706 | VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV_VkResult_return = (VkResult)0; |
| 2707 | vkGetPhysicalDeviceExternalImageFormatPropertiesNV_VkResult_return = vkEnc->vkGetPhysicalDeviceExternalImageFormatPropertiesNV(physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties); |
| 2708 | return vkGetPhysicalDeviceExternalImageFormatPropertiesNV_VkResult_return; |
| 2709 | } |
| 2710 | #endif |
| 2711 | #ifdef VK_NV_external_memory |
| 2712 | #endif |
| 2713 | #ifdef VK_NV_external_memory_win32 |
| 2714 | static VkResult entry_vkGetMemoryWin32HandleNV( |
| 2715 | VkDevice device, |
| 2716 | VkDeviceMemory memory, |
| 2717 | VkExternalMemoryHandleTypeFlagsNV handleType, |
| 2718 | HANDLE* pHandle) |
| 2719 | { |
| 2720 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2721 | VkResult vkGetMemoryWin32HandleNV_VkResult_return = (VkResult)0; |
| 2722 | vkGetMemoryWin32HandleNV_VkResult_return = vkEnc->vkGetMemoryWin32HandleNV(device, memory, handleType, pHandle); |
| 2723 | return vkGetMemoryWin32HandleNV_VkResult_return; |
| 2724 | } |
| 2725 | #endif |
| 2726 | #ifdef VK_NV_win32_keyed_mutex |
| 2727 | #endif |
| 2728 | #ifdef VK_EXT_validation_flags |
| 2729 | #endif |
| 2730 | #ifdef VK_NN_vi_surface |
| 2731 | static VkResult entry_vkCreateViSurfaceNN( |
| 2732 | VkInstance instance, |
| 2733 | const VkViSurfaceCreateInfoNN* pCreateInfo, |
| 2734 | const VkAllocationCallbacks* pAllocator, |
| 2735 | VkSurfaceKHR* pSurface) |
| 2736 | { |
| 2737 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2738 | VkResult vkCreateViSurfaceNN_VkResult_return = (VkResult)0; |
| 2739 | vkCreateViSurfaceNN_VkResult_return = vkEnc->vkCreateViSurfaceNN(instance, pCreateInfo, pAllocator, pSurface); |
| 2740 | return vkCreateViSurfaceNN_VkResult_return; |
| 2741 | } |
| 2742 | #endif |
| 2743 | #ifdef VK_EXT_shader_subgroup_ballot |
| 2744 | #endif |
| 2745 | #ifdef VK_EXT_shader_subgroup_vote |
| 2746 | #endif |
| 2747 | #ifdef VK_EXT_conditional_rendering |
| 2748 | static void entry_vkCmdBeginConditionalRenderingEXT( |
| 2749 | VkCommandBuffer commandBuffer, |
| 2750 | const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin) |
| 2751 | { |
| 2752 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2753 | vkEnc->vkCmdBeginConditionalRenderingEXT(commandBuffer, pConditionalRenderingBegin); |
| 2754 | } |
| 2755 | static void entry_vkCmdEndConditionalRenderingEXT( |
| 2756 | VkCommandBuffer commandBuffer) |
| 2757 | { |
| 2758 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2759 | vkEnc->vkCmdEndConditionalRenderingEXT(commandBuffer); |
| 2760 | } |
| 2761 | #endif |
| 2762 | #ifdef VK_NVX_device_generated_commands |
| 2763 | static void entry_vkCmdProcessCommandsNVX( |
| 2764 | VkCommandBuffer commandBuffer, |
| 2765 | const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo) |
| 2766 | { |
| 2767 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2768 | vkEnc->vkCmdProcessCommandsNVX(commandBuffer, pProcessCommandsInfo); |
| 2769 | } |
| 2770 | static void entry_vkCmdReserveSpaceForCommandsNVX( |
| 2771 | VkCommandBuffer commandBuffer, |
| 2772 | const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo) |
| 2773 | { |
| 2774 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2775 | vkEnc->vkCmdReserveSpaceForCommandsNVX(commandBuffer, pReserveSpaceInfo); |
| 2776 | } |
| 2777 | static VkResult entry_vkCreateIndirectCommandsLayoutNVX( |
| 2778 | VkDevice device, |
| 2779 | const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, |
| 2780 | const VkAllocationCallbacks* pAllocator, |
| 2781 | VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) |
| 2782 | { |
| 2783 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2784 | VkResult vkCreateIndirectCommandsLayoutNVX_VkResult_return = (VkResult)0; |
| 2785 | vkCreateIndirectCommandsLayoutNVX_VkResult_return = vkEnc->vkCreateIndirectCommandsLayoutNVX(device, pCreateInfo, pAllocator, pIndirectCommandsLayout); |
| 2786 | return vkCreateIndirectCommandsLayoutNVX_VkResult_return; |
| 2787 | } |
| 2788 | static void entry_vkDestroyIndirectCommandsLayoutNVX( |
| 2789 | VkDevice device, |
| 2790 | VkIndirectCommandsLayoutNVX indirectCommandsLayout, |
| 2791 | const VkAllocationCallbacks* pAllocator) |
| 2792 | { |
| 2793 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2794 | vkEnc->vkDestroyIndirectCommandsLayoutNVX(device, indirectCommandsLayout, pAllocator); |
| 2795 | } |
| 2796 | static VkResult entry_vkCreateObjectTableNVX( |
| 2797 | VkDevice device, |
| 2798 | const VkObjectTableCreateInfoNVX* pCreateInfo, |
| 2799 | const VkAllocationCallbacks* pAllocator, |
| 2800 | VkObjectTableNVX* pObjectTable) |
| 2801 | { |
| 2802 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2803 | VkResult vkCreateObjectTableNVX_VkResult_return = (VkResult)0; |
| 2804 | vkCreateObjectTableNVX_VkResult_return = vkEnc->vkCreateObjectTableNVX(device, pCreateInfo, pAllocator, pObjectTable); |
| 2805 | return vkCreateObjectTableNVX_VkResult_return; |
| 2806 | } |
| 2807 | static void entry_vkDestroyObjectTableNVX( |
| 2808 | VkDevice device, |
| 2809 | VkObjectTableNVX objectTable, |
| 2810 | const VkAllocationCallbacks* pAllocator) |
| 2811 | { |
| 2812 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2813 | vkEnc->vkDestroyObjectTableNVX(device, objectTable, pAllocator); |
| 2814 | } |
| 2815 | static VkResult entry_vkRegisterObjectsNVX( |
| 2816 | VkDevice device, |
| 2817 | VkObjectTableNVX objectTable, |
| 2818 | uint32_t objectCount, |
| 2819 | const VkObjectTableEntryNVX* const* ppObjectTableEntries, |
| 2820 | const uint32_t* pObjectIndices) |
| 2821 | { |
| 2822 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2823 | VkResult vkRegisterObjectsNVX_VkResult_return = (VkResult)0; |
| 2824 | vkRegisterObjectsNVX_VkResult_return = vkEnc->vkRegisterObjectsNVX(device, objectTable, objectCount, ppObjectTableEntries, pObjectIndices); |
| 2825 | return vkRegisterObjectsNVX_VkResult_return; |
| 2826 | } |
| 2827 | static VkResult entry_vkUnregisterObjectsNVX( |
| 2828 | VkDevice device, |
| 2829 | VkObjectTableNVX objectTable, |
| 2830 | uint32_t objectCount, |
| 2831 | const VkObjectEntryTypeNVX* pObjectEntryTypes, |
| 2832 | const uint32_t* pObjectIndices) |
| 2833 | { |
| 2834 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2835 | VkResult vkUnregisterObjectsNVX_VkResult_return = (VkResult)0; |
| 2836 | vkUnregisterObjectsNVX_VkResult_return = vkEnc->vkUnregisterObjectsNVX(device, objectTable, objectCount, pObjectEntryTypes, pObjectIndices); |
| 2837 | return vkUnregisterObjectsNVX_VkResult_return; |
| 2838 | } |
| 2839 | static void entry_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( |
| 2840 | VkPhysicalDevice physicalDevice, |
| 2841 | VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, |
| 2842 | VkDeviceGeneratedCommandsLimitsNVX* pLimits) |
| 2843 | { |
| 2844 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2845 | vkEnc->vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(physicalDevice, pFeatures, pLimits); |
| 2846 | } |
| 2847 | #endif |
| 2848 | #ifdef VK_NV_clip_space_w_scaling |
| 2849 | static void entry_vkCmdSetViewportWScalingNV( |
| 2850 | VkCommandBuffer commandBuffer, |
| 2851 | uint32_t firstViewport, |
| 2852 | uint32_t viewportCount, |
| 2853 | const VkViewportWScalingNV* pViewportWScalings) |
| 2854 | { |
| 2855 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2856 | vkEnc->vkCmdSetViewportWScalingNV(commandBuffer, firstViewport, viewportCount, pViewportWScalings); |
| 2857 | } |
| 2858 | #endif |
| 2859 | #ifdef VK_EXT_direct_mode_display |
| 2860 | static VkResult entry_vkReleaseDisplayEXT( |
| 2861 | VkPhysicalDevice physicalDevice, |
| 2862 | VkDisplayKHR display) |
| 2863 | { |
| 2864 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2865 | VkResult vkReleaseDisplayEXT_VkResult_return = (VkResult)0; |
| 2866 | vkReleaseDisplayEXT_VkResult_return = vkEnc->vkReleaseDisplayEXT(physicalDevice, display); |
| 2867 | return vkReleaseDisplayEXT_VkResult_return; |
| 2868 | } |
| 2869 | #endif |
| 2870 | #ifdef VK_EXT_acquire_xlib_display |
| 2871 | static VkResult entry_vkAcquireXlibDisplayEXT( |
| 2872 | VkPhysicalDevice physicalDevice, |
| 2873 | Display* dpy, |
| 2874 | VkDisplayKHR display) |
| 2875 | { |
| 2876 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2877 | VkResult vkAcquireXlibDisplayEXT_VkResult_return = (VkResult)0; |
| 2878 | vkAcquireXlibDisplayEXT_VkResult_return = vkEnc->vkAcquireXlibDisplayEXT(physicalDevice, dpy, display); |
| 2879 | return vkAcquireXlibDisplayEXT_VkResult_return; |
| 2880 | } |
| 2881 | static VkResult entry_vkGetRandROutputDisplayEXT( |
| 2882 | VkPhysicalDevice physicalDevice, |
| 2883 | Display* dpy, |
| 2884 | RROutput rrOutput, |
| 2885 | VkDisplayKHR* pDisplay) |
| 2886 | { |
| 2887 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2888 | VkResult vkGetRandROutputDisplayEXT_VkResult_return = (VkResult)0; |
| 2889 | vkGetRandROutputDisplayEXT_VkResult_return = vkEnc->vkGetRandROutputDisplayEXT(physicalDevice, dpy, rrOutput, pDisplay); |
| 2890 | return vkGetRandROutputDisplayEXT_VkResult_return; |
| 2891 | } |
| 2892 | #endif |
| 2893 | #ifdef VK_EXT_display_surface_counter |
| 2894 | static VkResult entry_vkGetPhysicalDeviceSurfaceCapabilities2EXT( |
| 2895 | VkPhysicalDevice physicalDevice, |
| 2896 | VkSurfaceKHR surface, |
| 2897 | VkSurfaceCapabilities2EXT* pSurfaceCapabilities) |
| 2898 | { |
| 2899 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2900 | VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT_VkResult_return = (VkResult)0; |
| 2901 | vkGetPhysicalDeviceSurfaceCapabilities2EXT_VkResult_return = vkEnc->vkGetPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice, surface, pSurfaceCapabilities); |
| 2902 | return vkGetPhysicalDeviceSurfaceCapabilities2EXT_VkResult_return; |
| 2903 | } |
| 2904 | #endif |
| 2905 | #ifdef VK_EXT_display_control |
| 2906 | static VkResult entry_vkDisplayPowerControlEXT( |
| 2907 | VkDevice device, |
| 2908 | VkDisplayKHR display, |
| 2909 | const VkDisplayPowerInfoEXT* pDisplayPowerInfo) |
| 2910 | { |
| 2911 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2912 | VkResult vkDisplayPowerControlEXT_VkResult_return = (VkResult)0; |
| 2913 | vkDisplayPowerControlEXT_VkResult_return = vkEnc->vkDisplayPowerControlEXT(device, display, pDisplayPowerInfo); |
| 2914 | return vkDisplayPowerControlEXT_VkResult_return; |
| 2915 | } |
| 2916 | static VkResult entry_vkRegisterDeviceEventEXT( |
| 2917 | VkDevice device, |
| 2918 | const VkDeviceEventInfoEXT* pDeviceEventInfo, |
| 2919 | const VkAllocationCallbacks* pAllocator, |
| 2920 | VkFence* pFence) |
| 2921 | { |
| 2922 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2923 | VkResult vkRegisterDeviceEventEXT_VkResult_return = (VkResult)0; |
| 2924 | vkRegisterDeviceEventEXT_VkResult_return = vkEnc->vkRegisterDeviceEventEXT(device, pDeviceEventInfo, pAllocator, pFence); |
| 2925 | return vkRegisterDeviceEventEXT_VkResult_return; |
| 2926 | } |
| 2927 | static VkResult entry_vkRegisterDisplayEventEXT( |
| 2928 | VkDevice device, |
| 2929 | VkDisplayKHR display, |
| 2930 | const VkDisplayEventInfoEXT* pDisplayEventInfo, |
| 2931 | const VkAllocationCallbacks* pAllocator, |
| 2932 | VkFence* pFence) |
| 2933 | { |
| 2934 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2935 | VkResult vkRegisterDisplayEventEXT_VkResult_return = (VkResult)0; |
| 2936 | vkRegisterDisplayEventEXT_VkResult_return = vkEnc->vkRegisterDisplayEventEXT(device, display, pDisplayEventInfo, pAllocator, pFence); |
| 2937 | return vkRegisterDisplayEventEXT_VkResult_return; |
| 2938 | } |
| 2939 | static VkResult entry_vkGetSwapchainCounterEXT( |
| 2940 | VkDevice device, |
| 2941 | VkSwapchainKHR swapchain, |
| 2942 | VkSurfaceCounterFlagBitsEXT counter, |
| 2943 | uint64_t* pCounterValue) |
| 2944 | { |
| 2945 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2946 | VkResult vkGetSwapchainCounterEXT_VkResult_return = (VkResult)0; |
| 2947 | vkGetSwapchainCounterEXT_VkResult_return = vkEnc->vkGetSwapchainCounterEXT(device, swapchain, counter, pCounterValue); |
| 2948 | return vkGetSwapchainCounterEXT_VkResult_return; |
| 2949 | } |
| 2950 | #endif |
| 2951 | #ifdef VK_GOOGLE_display_timing |
| 2952 | static VkResult entry_vkGetRefreshCycleDurationGOOGLE( |
| 2953 | VkDevice device, |
| 2954 | VkSwapchainKHR swapchain, |
| 2955 | VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) |
| 2956 | { |
| 2957 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2958 | VkResult vkGetRefreshCycleDurationGOOGLE_VkResult_return = (VkResult)0; |
| 2959 | vkGetRefreshCycleDurationGOOGLE_VkResult_return = vkEnc->vkGetRefreshCycleDurationGOOGLE(device, swapchain, pDisplayTimingProperties); |
| 2960 | return vkGetRefreshCycleDurationGOOGLE_VkResult_return; |
| 2961 | } |
| 2962 | static VkResult entry_vkGetPastPresentationTimingGOOGLE( |
| 2963 | VkDevice device, |
| 2964 | VkSwapchainKHR swapchain, |
| 2965 | uint32_t* pPresentationTimingCount, |
| 2966 | VkPastPresentationTimingGOOGLE* pPresentationTimings) |
| 2967 | { |
| 2968 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2969 | VkResult vkGetPastPresentationTimingGOOGLE_VkResult_return = (VkResult)0; |
| 2970 | vkGetPastPresentationTimingGOOGLE_VkResult_return = vkEnc->vkGetPastPresentationTimingGOOGLE(device, swapchain, pPresentationTimingCount, pPresentationTimings); |
| 2971 | return vkGetPastPresentationTimingGOOGLE_VkResult_return; |
| 2972 | } |
| 2973 | #endif |
| 2974 | #ifdef VK_NV_sample_mask_override_coverage |
| 2975 | #endif |
| 2976 | #ifdef VK_NV_geometry_shader_passthrough |
| 2977 | #endif |
| 2978 | #ifdef VK_NV_viewport_array2 |
| 2979 | #endif |
| 2980 | #ifdef VK_NVX_multiview_per_view_attributes |
| 2981 | #endif |
| 2982 | #ifdef VK_NV_viewport_swizzle |
| 2983 | #endif |
| 2984 | #ifdef VK_EXT_discard_rectangles |
| 2985 | static void entry_vkCmdSetDiscardRectangleEXT( |
| 2986 | VkCommandBuffer commandBuffer, |
| 2987 | uint32_t firstDiscardRectangle, |
| 2988 | uint32_t discardRectangleCount, |
| 2989 | const VkRect2D* pDiscardRectangles) |
| 2990 | { |
| 2991 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 2992 | vkEnc->vkCmdSetDiscardRectangleEXT(commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles); |
| 2993 | } |
| 2994 | #endif |
| 2995 | #ifdef VK_EXT_conservative_rasterization |
| 2996 | #endif |
| 2997 | #ifdef VK_EXT_swapchain_colorspace |
| 2998 | #endif |
| 2999 | #ifdef VK_EXT_hdr_metadata |
| 3000 | static void entry_vkSetHdrMetadataEXT( |
| 3001 | VkDevice device, |
| 3002 | uint32_t swapchainCount, |
| 3003 | const VkSwapchainKHR* pSwapchains, |
| 3004 | const VkHdrMetadataEXT* pMetadata) |
| 3005 | { |
| 3006 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3007 | vkEnc->vkSetHdrMetadataEXT(device, swapchainCount, pSwapchains, pMetadata); |
| 3008 | } |
| 3009 | #endif |
| 3010 | #ifdef VK_MVK_ios_surface |
| 3011 | static VkResult entry_vkCreateIOSSurfaceMVK( |
| 3012 | VkInstance instance, |
| 3013 | const VkIOSSurfaceCreateInfoMVK* pCreateInfo, |
| 3014 | const VkAllocationCallbacks* pAllocator, |
| 3015 | VkSurfaceKHR* pSurface) |
| 3016 | { |
| 3017 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3018 | VkResult vkCreateIOSSurfaceMVK_VkResult_return = (VkResult)0; |
| 3019 | vkCreateIOSSurfaceMVK_VkResult_return = vkEnc->vkCreateIOSSurfaceMVK(instance, pCreateInfo, pAllocator, pSurface); |
| 3020 | return vkCreateIOSSurfaceMVK_VkResult_return; |
| 3021 | } |
| 3022 | #endif |
| 3023 | #ifdef VK_MVK_macos_surface |
| 3024 | static VkResult entry_vkCreateMacOSSurfaceMVK( |
| 3025 | VkInstance instance, |
| 3026 | const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, |
| 3027 | const VkAllocationCallbacks* pAllocator, |
| 3028 | VkSurfaceKHR* pSurface) |
| 3029 | { |
| 3030 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3031 | VkResult vkCreateMacOSSurfaceMVK_VkResult_return = (VkResult)0; |
| 3032 | vkCreateMacOSSurfaceMVK_VkResult_return = vkEnc->vkCreateMacOSSurfaceMVK(instance, pCreateInfo, pAllocator, pSurface); |
| 3033 | return vkCreateMacOSSurfaceMVK_VkResult_return; |
| 3034 | } |
| 3035 | #endif |
| 3036 | #ifdef VK_EXT_external_memory_dma_buf |
| 3037 | #endif |
| 3038 | #ifdef VK_EXT_queue_family_foreign |
| 3039 | #endif |
| 3040 | #ifdef VK_EXT_debug_utils |
| 3041 | static VkResult entry_vkSetDebugUtilsObjectNameEXT( |
| 3042 | VkDevice device, |
| 3043 | const VkDebugUtilsObjectNameInfoEXT* pNameInfo) |
| 3044 | { |
| 3045 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3046 | VkResult vkSetDebugUtilsObjectNameEXT_VkResult_return = (VkResult)0; |
| 3047 | vkSetDebugUtilsObjectNameEXT_VkResult_return = vkEnc->vkSetDebugUtilsObjectNameEXT(device, pNameInfo); |
| 3048 | return vkSetDebugUtilsObjectNameEXT_VkResult_return; |
| 3049 | } |
| 3050 | static VkResult entry_vkSetDebugUtilsObjectTagEXT( |
| 3051 | VkDevice device, |
| 3052 | const VkDebugUtilsObjectTagInfoEXT* pTagInfo) |
| 3053 | { |
| 3054 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3055 | VkResult vkSetDebugUtilsObjectTagEXT_VkResult_return = (VkResult)0; |
| 3056 | vkSetDebugUtilsObjectTagEXT_VkResult_return = vkEnc->vkSetDebugUtilsObjectTagEXT(device, pTagInfo); |
| 3057 | return vkSetDebugUtilsObjectTagEXT_VkResult_return; |
| 3058 | } |
| 3059 | static void entry_vkQueueBeginDebugUtilsLabelEXT( |
| 3060 | VkQueue queue, |
| 3061 | const VkDebugUtilsLabelEXT* pLabelInfo) |
| 3062 | { |
| 3063 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3064 | vkEnc->vkQueueBeginDebugUtilsLabelEXT(queue, pLabelInfo); |
| 3065 | } |
| 3066 | static void entry_vkQueueEndDebugUtilsLabelEXT( |
| 3067 | VkQueue queue) |
| 3068 | { |
| 3069 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3070 | vkEnc->vkQueueEndDebugUtilsLabelEXT(queue); |
| 3071 | } |
| 3072 | static void entry_vkQueueInsertDebugUtilsLabelEXT( |
| 3073 | VkQueue queue, |
| 3074 | const VkDebugUtilsLabelEXT* pLabelInfo) |
| 3075 | { |
| 3076 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3077 | vkEnc->vkQueueInsertDebugUtilsLabelEXT(queue, pLabelInfo); |
| 3078 | } |
| 3079 | static void entry_vkCmdBeginDebugUtilsLabelEXT( |
| 3080 | VkCommandBuffer commandBuffer, |
| 3081 | const VkDebugUtilsLabelEXT* pLabelInfo) |
| 3082 | { |
| 3083 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3084 | vkEnc->vkCmdBeginDebugUtilsLabelEXT(commandBuffer, pLabelInfo); |
| 3085 | } |
| 3086 | static void entry_vkCmdEndDebugUtilsLabelEXT( |
| 3087 | VkCommandBuffer commandBuffer) |
| 3088 | { |
| 3089 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3090 | vkEnc->vkCmdEndDebugUtilsLabelEXT(commandBuffer); |
| 3091 | } |
| 3092 | static void entry_vkCmdInsertDebugUtilsLabelEXT( |
| 3093 | VkCommandBuffer commandBuffer, |
| 3094 | const VkDebugUtilsLabelEXT* pLabelInfo) |
| 3095 | { |
| 3096 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3097 | vkEnc->vkCmdInsertDebugUtilsLabelEXT(commandBuffer, pLabelInfo); |
| 3098 | } |
| 3099 | static VkResult entry_vkCreateDebugUtilsMessengerEXT( |
| 3100 | VkInstance instance, |
| 3101 | const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, |
| 3102 | const VkAllocationCallbacks* pAllocator, |
| 3103 | VkDebugUtilsMessengerEXT* pMessenger) |
| 3104 | { |
| 3105 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3106 | VkResult vkCreateDebugUtilsMessengerEXT_VkResult_return = (VkResult)0; |
| 3107 | vkCreateDebugUtilsMessengerEXT_VkResult_return = vkEnc->vkCreateDebugUtilsMessengerEXT(instance, pCreateInfo, pAllocator, pMessenger); |
| 3108 | return vkCreateDebugUtilsMessengerEXT_VkResult_return; |
| 3109 | } |
| 3110 | static void entry_vkDestroyDebugUtilsMessengerEXT( |
| 3111 | VkInstance instance, |
| 3112 | VkDebugUtilsMessengerEXT messenger, |
| 3113 | const VkAllocationCallbacks* pAllocator) |
| 3114 | { |
| 3115 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3116 | vkEnc->vkDestroyDebugUtilsMessengerEXT(instance, messenger, pAllocator); |
| 3117 | } |
| 3118 | static void entry_vkSubmitDebugUtilsMessageEXT( |
| 3119 | VkInstance instance, |
| 3120 | VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, |
| 3121 | VkDebugUtilsMessageTypeFlagsEXT messageTypes, |
| 3122 | const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData) |
| 3123 | { |
| 3124 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3125 | vkEnc->vkSubmitDebugUtilsMessageEXT(instance, messageSeverity, messageTypes, pCallbackData); |
| 3126 | } |
| 3127 | #endif |
| 3128 | #ifdef VK_ANDROID_external_memory_android_hardware_buffer |
| 3129 | static VkResult entry_vkGetAndroidHardwareBufferPropertiesANDROID( |
| 3130 | VkDevice device, |
| 3131 | const AHardwareBuffer* buffer, |
| 3132 | VkAndroidHardwareBufferPropertiesANDROID* pProperties) |
| 3133 | { |
| 3134 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3135 | VkResult vkGetAndroidHardwareBufferPropertiesANDROID_VkResult_return = (VkResult)0; |
| 3136 | vkGetAndroidHardwareBufferPropertiesANDROID_VkResult_return = vkEnc->vkGetAndroidHardwareBufferPropertiesANDROID(device, buffer, pProperties); |
| 3137 | return vkGetAndroidHardwareBufferPropertiesANDROID_VkResult_return; |
| 3138 | } |
| 3139 | static VkResult entry_vkGetMemoryAndroidHardwareBufferANDROID( |
| 3140 | VkDevice device, |
| 3141 | const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, |
| 3142 | AHardwareBuffer** pBuffer) |
| 3143 | { |
| 3144 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3145 | VkResult vkGetMemoryAndroidHardwareBufferANDROID_VkResult_return = (VkResult)0; |
| 3146 | vkGetMemoryAndroidHardwareBufferANDROID_VkResult_return = vkEnc->vkGetMemoryAndroidHardwareBufferANDROID(device, pInfo, pBuffer); |
| 3147 | return vkGetMemoryAndroidHardwareBufferANDROID_VkResult_return; |
| 3148 | } |
| 3149 | #endif |
| 3150 | #ifdef VK_EXT_sampler_filter_minmax |
| 3151 | #endif |
| 3152 | #ifdef VK_AMD_gpu_shader_int16 |
| 3153 | #endif |
| 3154 | #ifdef VK_AMD_mixed_attachment_samples |
| 3155 | #endif |
| 3156 | #ifdef VK_AMD_shader_fragment_mask |
| 3157 | #endif |
| 3158 | #ifdef VK_EXT_shader_stencil_export |
| 3159 | #endif |
| 3160 | #ifdef VK_EXT_sample_locations |
| 3161 | static void entry_vkCmdSetSampleLocationsEXT( |
| 3162 | VkCommandBuffer commandBuffer, |
| 3163 | const VkSampleLocationsInfoEXT* pSampleLocationsInfo) |
| 3164 | { |
| 3165 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3166 | vkEnc->vkCmdSetSampleLocationsEXT(commandBuffer, pSampleLocationsInfo); |
| 3167 | } |
| 3168 | static void entry_vkGetPhysicalDeviceMultisamplePropertiesEXT( |
| 3169 | VkPhysicalDevice physicalDevice, |
| 3170 | VkSampleCountFlagBits samples, |
| 3171 | VkMultisamplePropertiesEXT* pMultisampleProperties) |
| 3172 | { |
| 3173 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3174 | vkEnc->vkGetPhysicalDeviceMultisamplePropertiesEXT(physicalDevice, samples, pMultisampleProperties); |
| 3175 | } |
| 3176 | #endif |
| 3177 | #ifdef VK_EXT_blend_operation_advanced |
| 3178 | #endif |
| 3179 | #ifdef VK_NV_fragment_coverage_to_color |
| 3180 | #endif |
| 3181 | #ifdef VK_NV_framebuffer_mixed_samples |
| 3182 | #endif |
| 3183 | #ifdef VK_NV_fill_rectangle |
| 3184 | #endif |
| 3185 | #ifdef VK_EXT_post_depth_coverage |
| 3186 | #endif |
| 3187 | #ifdef VK_EXT_validation_cache |
| 3188 | static VkResult entry_vkCreateValidationCacheEXT( |
| 3189 | VkDevice device, |
| 3190 | const VkValidationCacheCreateInfoEXT* pCreateInfo, |
| 3191 | const VkAllocationCallbacks* pAllocator, |
| 3192 | VkValidationCacheEXT* pValidationCache) |
| 3193 | { |
| 3194 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3195 | VkResult vkCreateValidationCacheEXT_VkResult_return = (VkResult)0; |
| 3196 | vkCreateValidationCacheEXT_VkResult_return = vkEnc->vkCreateValidationCacheEXT(device, pCreateInfo, pAllocator, pValidationCache); |
| 3197 | return vkCreateValidationCacheEXT_VkResult_return; |
| 3198 | } |
| 3199 | static void entry_vkDestroyValidationCacheEXT( |
| 3200 | VkDevice device, |
| 3201 | VkValidationCacheEXT validationCache, |
| 3202 | const VkAllocationCallbacks* pAllocator) |
| 3203 | { |
| 3204 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3205 | vkEnc->vkDestroyValidationCacheEXT(device, validationCache, pAllocator); |
| 3206 | } |
| 3207 | static VkResult entry_vkMergeValidationCachesEXT( |
| 3208 | VkDevice device, |
| 3209 | VkValidationCacheEXT dstCache, |
| 3210 | uint32_t srcCacheCount, |
| 3211 | const VkValidationCacheEXT* pSrcCaches) |
| 3212 | { |
| 3213 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3214 | VkResult vkMergeValidationCachesEXT_VkResult_return = (VkResult)0; |
| 3215 | vkMergeValidationCachesEXT_VkResult_return = vkEnc->vkMergeValidationCachesEXT(device, dstCache, srcCacheCount, pSrcCaches); |
| 3216 | return vkMergeValidationCachesEXT_VkResult_return; |
| 3217 | } |
| 3218 | static VkResult entry_vkGetValidationCacheDataEXT( |
| 3219 | VkDevice device, |
| 3220 | VkValidationCacheEXT validationCache, |
| 3221 | size_t* pDataSize, |
| 3222 | void* pData) |
| 3223 | { |
| 3224 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3225 | VkResult vkGetValidationCacheDataEXT_VkResult_return = (VkResult)0; |
| 3226 | vkGetValidationCacheDataEXT_VkResult_return = vkEnc->vkGetValidationCacheDataEXT(device, validationCache, pDataSize, pData); |
| 3227 | return vkGetValidationCacheDataEXT_VkResult_return; |
| 3228 | } |
| 3229 | #endif |
| 3230 | #ifdef VK_EXT_descriptor_indexing |
| 3231 | #endif |
| 3232 | #ifdef VK_EXT_shader_viewport_index_layer |
| 3233 | #endif |
| 3234 | #ifdef VK_EXT_global_priority |
| 3235 | #endif |
| 3236 | #ifdef VK_EXT_external_memory_host |
| 3237 | static VkResult entry_vkGetMemoryHostPointerPropertiesEXT( |
| 3238 | VkDevice device, |
| 3239 | VkExternalMemoryHandleTypeFlagBits handleType, |
| 3240 | const void* pHostPointer, |
| 3241 | VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties) |
| 3242 | { |
| 3243 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3244 | VkResult vkGetMemoryHostPointerPropertiesEXT_VkResult_return = (VkResult)0; |
| 3245 | vkGetMemoryHostPointerPropertiesEXT_VkResult_return = vkEnc->vkGetMemoryHostPointerPropertiesEXT(device, handleType, pHostPointer, pMemoryHostPointerProperties); |
| 3246 | return vkGetMemoryHostPointerPropertiesEXT_VkResult_return; |
| 3247 | } |
| 3248 | #endif |
| 3249 | #ifdef VK_AMD_buffer_marker |
| 3250 | static void entry_vkCmdWriteBufferMarkerAMD( |
| 3251 | VkCommandBuffer commandBuffer, |
| 3252 | VkPipelineStageFlagBits pipelineStage, |
| 3253 | VkBuffer dstBuffer, |
| 3254 | VkDeviceSize dstOffset, |
| 3255 | uint32_t marker) |
| 3256 | { |
| 3257 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3258 | vkEnc->vkCmdWriteBufferMarkerAMD(commandBuffer, pipelineStage, dstBuffer, dstOffset, marker); |
| 3259 | } |
| 3260 | #endif |
| 3261 | #ifdef VK_AMD_shader_core_properties |
| 3262 | #endif |
| 3263 | #ifdef VK_EXT_vertex_attribute_divisor |
| 3264 | #endif |
| 3265 | #ifdef VK_NV_shader_subgroup_partitioned |
| 3266 | #endif |
| 3267 | #ifdef VK_NV_device_diagnostic_checkpoints |
| 3268 | static void entry_vkCmdSetCheckpointNV( |
| 3269 | VkCommandBuffer commandBuffer, |
| 3270 | const void* pCheckpointMarker) |
| 3271 | { |
| 3272 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3273 | vkEnc->vkCmdSetCheckpointNV(commandBuffer, pCheckpointMarker); |
| 3274 | } |
| 3275 | static void entry_vkGetQueueCheckpointDataNV( |
| 3276 | VkQueue queue, |
| 3277 | uint32_t* pCheckpointDataCount, |
| 3278 | VkCheckpointDataNV* pCheckpointData) |
| 3279 | { |
| 3280 | auto vkEnc = HostConnection::get()->vkEncoder(); |
| 3281 | vkEnc->vkGetQueueCheckpointDataNV(queue, pCheckpointDataCount, pCheckpointData); |
| 3282 | } |
| 3283 | #endif |
| 3284 | void* goldfish_vulkan_get_proc_address(const char* name){ |
| 3285 | #ifdef VK_VERSION_1_0 |
| 3286 | if (!strcmp(name, "vkCreateInstance")) |
| 3287 | { |
| 3288 | return (void*)entry_vkCreateInstance; |
| 3289 | } |
| 3290 | if (!strcmp(name, "vkDestroyInstance")) |
| 3291 | { |
| 3292 | return (void*)entry_vkDestroyInstance; |
| 3293 | } |
| 3294 | if (!strcmp(name, "vkEnumeratePhysicalDevices")) |
| 3295 | { |
| 3296 | return (void*)entry_vkEnumeratePhysicalDevices; |
| 3297 | } |
| 3298 | if (!strcmp(name, "vkGetPhysicalDeviceFeatures")) |
| 3299 | { |
| 3300 | return (void*)entry_vkGetPhysicalDeviceFeatures; |
| 3301 | } |
| 3302 | if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties")) |
| 3303 | { |
| 3304 | return (void*)entry_vkGetPhysicalDeviceFormatProperties; |
| 3305 | } |
| 3306 | if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties")) |
| 3307 | { |
| 3308 | return (void*)entry_vkGetPhysicalDeviceImageFormatProperties; |
| 3309 | } |
| 3310 | if (!strcmp(name, "vkGetPhysicalDeviceProperties")) |
| 3311 | { |
| 3312 | return (void*)entry_vkGetPhysicalDeviceProperties; |
| 3313 | } |
| 3314 | if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties")) |
| 3315 | { |
| 3316 | return (void*)entry_vkGetPhysicalDeviceQueueFamilyProperties; |
| 3317 | } |
| 3318 | if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties")) |
| 3319 | { |
| 3320 | return (void*)entry_vkGetPhysicalDeviceMemoryProperties; |
| 3321 | } |
| 3322 | if (!strcmp(name, "vkGetInstanceProcAddr")) |
| 3323 | { |
| 3324 | return (void*)entry_vkGetInstanceProcAddr; |
| 3325 | } |
| 3326 | if (!strcmp(name, "vkGetDeviceProcAddr")) |
| 3327 | { |
| 3328 | return (void*)entry_vkGetDeviceProcAddr; |
| 3329 | } |
| 3330 | if (!strcmp(name, "vkCreateDevice")) |
| 3331 | { |
| 3332 | return (void*)entry_vkCreateDevice; |
| 3333 | } |
| 3334 | if (!strcmp(name, "vkDestroyDevice")) |
| 3335 | { |
| 3336 | return (void*)entry_vkDestroyDevice; |
| 3337 | } |
| 3338 | if (!strcmp(name, "vkEnumerateInstanceExtensionProperties")) |
| 3339 | { |
| 3340 | return (void*)entry_vkEnumerateInstanceExtensionProperties; |
| 3341 | } |
| 3342 | if (!strcmp(name, "vkEnumerateDeviceExtensionProperties")) |
| 3343 | { |
| 3344 | return (void*)entry_vkEnumerateDeviceExtensionProperties; |
| 3345 | } |
| 3346 | if (!strcmp(name, "vkEnumerateInstanceLayerProperties")) |
| 3347 | { |
| 3348 | return (void*)entry_vkEnumerateInstanceLayerProperties; |
| 3349 | } |
| 3350 | if (!strcmp(name, "vkEnumerateDeviceLayerProperties")) |
| 3351 | { |
| 3352 | return (void*)entry_vkEnumerateDeviceLayerProperties; |
| 3353 | } |
| 3354 | if (!strcmp(name, "vkGetDeviceQueue")) |
| 3355 | { |
| 3356 | return (void*)entry_vkGetDeviceQueue; |
| 3357 | } |
| 3358 | if (!strcmp(name, "vkQueueSubmit")) |
| 3359 | { |
| 3360 | return (void*)entry_vkQueueSubmit; |
| 3361 | } |
| 3362 | if (!strcmp(name, "vkQueueWaitIdle")) |
| 3363 | { |
| 3364 | return (void*)entry_vkQueueWaitIdle; |
| 3365 | } |
| 3366 | if (!strcmp(name, "vkDeviceWaitIdle")) |
| 3367 | { |
| 3368 | return (void*)entry_vkDeviceWaitIdle; |
| 3369 | } |
| 3370 | if (!strcmp(name, "vkAllocateMemory")) |
| 3371 | { |
| 3372 | return (void*)entry_vkAllocateMemory; |
| 3373 | } |
| 3374 | if (!strcmp(name, "vkFreeMemory")) |
| 3375 | { |
| 3376 | return (void*)entry_vkFreeMemory; |
| 3377 | } |
| 3378 | if (!strcmp(name, "vkMapMemory")) |
| 3379 | { |
| 3380 | return (void*)entry_vkMapMemory; |
| 3381 | } |
| 3382 | if (!strcmp(name, "vkUnmapMemory")) |
| 3383 | { |
| 3384 | return (void*)entry_vkUnmapMemory; |
| 3385 | } |
| 3386 | if (!strcmp(name, "vkFlushMappedMemoryRanges")) |
| 3387 | { |
| 3388 | return (void*)entry_vkFlushMappedMemoryRanges; |
| 3389 | } |
| 3390 | if (!strcmp(name, "vkInvalidateMappedMemoryRanges")) |
| 3391 | { |
| 3392 | return (void*)entry_vkInvalidateMappedMemoryRanges; |
| 3393 | } |
| 3394 | if (!strcmp(name, "vkGetDeviceMemoryCommitment")) |
| 3395 | { |
| 3396 | return (void*)entry_vkGetDeviceMemoryCommitment; |
| 3397 | } |
| 3398 | if (!strcmp(name, "vkBindBufferMemory")) |
| 3399 | { |
| 3400 | return (void*)entry_vkBindBufferMemory; |
| 3401 | } |
| 3402 | if (!strcmp(name, "vkBindImageMemory")) |
| 3403 | { |
| 3404 | return (void*)entry_vkBindImageMemory; |
| 3405 | } |
| 3406 | if (!strcmp(name, "vkGetBufferMemoryRequirements")) |
| 3407 | { |
| 3408 | return (void*)entry_vkGetBufferMemoryRequirements; |
| 3409 | } |
| 3410 | if (!strcmp(name, "vkGetImageMemoryRequirements")) |
| 3411 | { |
| 3412 | return (void*)entry_vkGetImageMemoryRequirements; |
| 3413 | } |
| 3414 | if (!strcmp(name, "vkGetImageSparseMemoryRequirements")) |
| 3415 | { |
| 3416 | return (void*)entry_vkGetImageSparseMemoryRequirements; |
| 3417 | } |
| 3418 | if (!strcmp(name, "vkGetPhysicalDeviceSparseImageFormatProperties")) |
| 3419 | { |
| 3420 | return (void*)entry_vkGetPhysicalDeviceSparseImageFormatProperties; |
| 3421 | } |
| 3422 | if (!strcmp(name, "vkQueueBindSparse")) |
| 3423 | { |
| 3424 | return (void*)entry_vkQueueBindSparse; |
| 3425 | } |
| 3426 | if (!strcmp(name, "vkCreateFence")) |
| 3427 | { |
| 3428 | return (void*)entry_vkCreateFence; |
| 3429 | } |
| 3430 | if (!strcmp(name, "vkDestroyFence")) |
| 3431 | { |
| 3432 | return (void*)entry_vkDestroyFence; |
| 3433 | } |
| 3434 | if (!strcmp(name, "vkResetFences")) |
| 3435 | { |
| 3436 | return (void*)entry_vkResetFences; |
| 3437 | } |
| 3438 | if (!strcmp(name, "vkGetFenceStatus")) |
| 3439 | { |
| 3440 | return (void*)entry_vkGetFenceStatus; |
| 3441 | } |
| 3442 | if (!strcmp(name, "vkWaitForFences")) |
| 3443 | { |
| 3444 | return (void*)entry_vkWaitForFences; |
| 3445 | } |
| 3446 | if (!strcmp(name, "vkCreateSemaphore")) |
| 3447 | { |
| 3448 | return (void*)entry_vkCreateSemaphore; |
| 3449 | } |
| 3450 | if (!strcmp(name, "vkDestroySemaphore")) |
| 3451 | { |
| 3452 | return (void*)entry_vkDestroySemaphore; |
| 3453 | } |
| 3454 | if (!strcmp(name, "vkCreateEvent")) |
| 3455 | { |
| 3456 | return (void*)entry_vkCreateEvent; |
| 3457 | } |
| 3458 | if (!strcmp(name, "vkDestroyEvent")) |
| 3459 | { |
| 3460 | return (void*)entry_vkDestroyEvent; |
| 3461 | } |
| 3462 | if (!strcmp(name, "vkGetEventStatus")) |
| 3463 | { |
| 3464 | return (void*)entry_vkGetEventStatus; |
| 3465 | } |
| 3466 | if (!strcmp(name, "vkSetEvent")) |
| 3467 | { |
| 3468 | return (void*)entry_vkSetEvent; |
| 3469 | } |
| 3470 | if (!strcmp(name, "vkResetEvent")) |
| 3471 | { |
| 3472 | return (void*)entry_vkResetEvent; |
| 3473 | } |
| 3474 | if (!strcmp(name, "vkCreateQueryPool")) |
| 3475 | { |
| 3476 | return (void*)entry_vkCreateQueryPool; |
| 3477 | } |
| 3478 | if (!strcmp(name, "vkDestroyQueryPool")) |
| 3479 | { |
| 3480 | return (void*)entry_vkDestroyQueryPool; |
| 3481 | } |
| 3482 | if (!strcmp(name, "vkGetQueryPoolResults")) |
| 3483 | { |
| 3484 | return (void*)entry_vkGetQueryPoolResults; |
| 3485 | } |
| 3486 | if (!strcmp(name, "vkCreateBuffer")) |
| 3487 | { |
| 3488 | return (void*)entry_vkCreateBuffer; |
| 3489 | } |
| 3490 | if (!strcmp(name, "vkDestroyBuffer")) |
| 3491 | { |
| 3492 | return (void*)entry_vkDestroyBuffer; |
| 3493 | } |
| 3494 | if (!strcmp(name, "vkCreateBufferView")) |
| 3495 | { |
| 3496 | return (void*)entry_vkCreateBufferView; |
| 3497 | } |
| 3498 | if (!strcmp(name, "vkDestroyBufferView")) |
| 3499 | { |
| 3500 | return (void*)entry_vkDestroyBufferView; |
| 3501 | } |
| 3502 | if (!strcmp(name, "vkCreateImage")) |
| 3503 | { |
| 3504 | return (void*)entry_vkCreateImage; |
| 3505 | } |
| 3506 | if (!strcmp(name, "vkDestroyImage")) |
| 3507 | { |
| 3508 | return (void*)entry_vkDestroyImage; |
| 3509 | } |
| 3510 | if (!strcmp(name, "vkGetImageSubresourceLayout")) |
| 3511 | { |
| 3512 | return (void*)entry_vkGetImageSubresourceLayout; |
| 3513 | } |
| 3514 | if (!strcmp(name, "vkCreateImageView")) |
| 3515 | { |
| 3516 | return (void*)entry_vkCreateImageView; |
| 3517 | } |
| 3518 | if (!strcmp(name, "vkDestroyImageView")) |
| 3519 | { |
| 3520 | return (void*)entry_vkDestroyImageView; |
| 3521 | } |
| 3522 | if (!strcmp(name, "vkCreateShaderModule")) |
| 3523 | { |
| 3524 | return (void*)entry_vkCreateShaderModule; |
| 3525 | } |
| 3526 | if (!strcmp(name, "vkDestroyShaderModule")) |
| 3527 | { |
| 3528 | return (void*)entry_vkDestroyShaderModule; |
| 3529 | } |
| 3530 | if (!strcmp(name, "vkCreatePipelineCache")) |
| 3531 | { |
| 3532 | return (void*)entry_vkCreatePipelineCache; |
| 3533 | } |
| 3534 | if (!strcmp(name, "vkDestroyPipelineCache")) |
| 3535 | { |
| 3536 | return (void*)entry_vkDestroyPipelineCache; |
| 3537 | } |
| 3538 | if (!strcmp(name, "vkGetPipelineCacheData")) |
| 3539 | { |
| 3540 | return (void*)entry_vkGetPipelineCacheData; |
| 3541 | } |
| 3542 | if (!strcmp(name, "vkMergePipelineCaches")) |
| 3543 | { |
| 3544 | return (void*)entry_vkMergePipelineCaches; |
| 3545 | } |
| 3546 | if (!strcmp(name, "vkCreateGraphicsPipelines")) |
| 3547 | { |
| 3548 | return (void*)entry_vkCreateGraphicsPipelines; |
| 3549 | } |
| 3550 | if (!strcmp(name, "vkCreateComputePipelines")) |
| 3551 | { |
| 3552 | return (void*)entry_vkCreateComputePipelines; |
| 3553 | } |
| 3554 | if (!strcmp(name, "vkDestroyPipeline")) |
| 3555 | { |
| 3556 | return (void*)entry_vkDestroyPipeline; |
| 3557 | } |
| 3558 | if (!strcmp(name, "vkCreatePipelineLayout")) |
| 3559 | { |
| 3560 | return (void*)entry_vkCreatePipelineLayout; |
| 3561 | } |
| 3562 | if (!strcmp(name, "vkDestroyPipelineLayout")) |
| 3563 | { |
| 3564 | return (void*)entry_vkDestroyPipelineLayout; |
| 3565 | } |
| 3566 | if (!strcmp(name, "vkCreateSampler")) |
| 3567 | { |
| 3568 | return (void*)entry_vkCreateSampler; |
| 3569 | } |
| 3570 | if (!strcmp(name, "vkDestroySampler")) |
| 3571 | { |
| 3572 | return (void*)entry_vkDestroySampler; |
| 3573 | } |
| 3574 | if (!strcmp(name, "vkCreateDescriptorSetLayout")) |
| 3575 | { |
| 3576 | return (void*)entry_vkCreateDescriptorSetLayout; |
| 3577 | } |
| 3578 | if (!strcmp(name, "vkDestroyDescriptorSetLayout")) |
| 3579 | { |
| 3580 | return (void*)entry_vkDestroyDescriptorSetLayout; |
| 3581 | } |
| 3582 | if (!strcmp(name, "vkCreateDescriptorPool")) |
| 3583 | { |
| 3584 | return (void*)entry_vkCreateDescriptorPool; |
| 3585 | } |
| 3586 | if (!strcmp(name, "vkDestroyDescriptorPool")) |
| 3587 | { |
| 3588 | return (void*)entry_vkDestroyDescriptorPool; |
| 3589 | } |
| 3590 | if (!strcmp(name, "vkResetDescriptorPool")) |
| 3591 | { |
| 3592 | return (void*)entry_vkResetDescriptorPool; |
| 3593 | } |
| 3594 | if (!strcmp(name, "vkAllocateDescriptorSets")) |
| 3595 | { |
| 3596 | return (void*)entry_vkAllocateDescriptorSets; |
| 3597 | } |
| 3598 | if (!strcmp(name, "vkFreeDescriptorSets")) |
| 3599 | { |
| 3600 | return (void*)entry_vkFreeDescriptorSets; |
| 3601 | } |
| 3602 | if (!strcmp(name, "vkUpdateDescriptorSets")) |
| 3603 | { |
| 3604 | return (void*)entry_vkUpdateDescriptorSets; |
| 3605 | } |
| 3606 | if (!strcmp(name, "vkCreateFramebuffer")) |
| 3607 | { |
| 3608 | return (void*)entry_vkCreateFramebuffer; |
| 3609 | } |
| 3610 | if (!strcmp(name, "vkDestroyFramebuffer")) |
| 3611 | { |
| 3612 | return (void*)entry_vkDestroyFramebuffer; |
| 3613 | } |
| 3614 | if (!strcmp(name, "vkCreateRenderPass")) |
| 3615 | { |
| 3616 | return (void*)entry_vkCreateRenderPass; |
| 3617 | } |
| 3618 | if (!strcmp(name, "vkDestroyRenderPass")) |
| 3619 | { |
| 3620 | return (void*)entry_vkDestroyRenderPass; |
| 3621 | } |
| 3622 | if (!strcmp(name, "vkGetRenderAreaGranularity")) |
| 3623 | { |
| 3624 | return (void*)entry_vkGetRenderAreaGranularity; |
| 3625 | } |
| 3626 | if (!strcmp(name, "vkCreateCommandPool")) |
| 3627 | { |
| 3628 | return (void*)entry_vkCreateCommandPool; |
| 3629 | } |
| 3630 | if (!strcmp(name, "vkDestroyCommandPool")) |
| 3631 | { |
| 3632 | return (void*)entry_vkDestroyCommandPool; |
| 3633 | } |
| 3634 | if (!strcmp(name, "vkResetCommandPool")) |
| 3635 | { |
| 3636 | return (void*)entry_vkResetCommandPool; |
| 3637 | } |
| 3638 | if (!strcmp(name, "vkAllocateCommandBuffers")) |
| 3639 | { |
| 3640 | return (void*)entry_vkAllocateCommandBuffers; |
| 3641 | } |
| 3642 | if (!strcmp(name, "vkFreeCommandBuffers")) |
| 3643 | { |
| 3644 | return (void*)entry_vkFreeCommandBuffers; |
| 3645 | } |
| 3646 | if (!strcmp(name, "vkBeginCommandBuffer")) |
| 3647 | { |
| 3648 | return (void*)entry_vkBeginCommandBuffer; |
| 3649 | } |
| 3650 | if (!strcmp(name, "vkEndCommandBuffer")) |
| 3651 | { |
| 3652 | return (void*)entry_vkEndCommandBuffer; |
| 3653 | } |
| 3654 | if (!strcmp(name, "vkResetCommandBuffer")) |
| 3655 | { |
| 3656 | return (void*)entry_vkResetCommandBuffer; |
| 3657 | } |
| 3658 | if (!strcmp(name, "vkCmdBindPipeline")) |
| 3659 | { |
| 3660 | return (void*)entry_vkCmdBindPipeline; |
| 3661 | } |
| 3662 | if (!strcmp(name, "vkCmdSetViewport")) |
| 3663 | { |
| 3664 | return (void*)entry_vkCmdSetViewport; |
| 3665 | } |
| 3666 | if (!strcmp(name, "vkCmdSetScissor")) |
| 3667 | { |
| 3668 | return (void*)entry_vkCmdSetScissor; |
| 3669 | } |
| 3670 | if (!strcmp(name, "vkCmdSetLineWidth")) |
| 3671 | { |
| 3672 | return (void*)entry_vkCmdSetLineWidth; |
| 3673 | } |
| 3674 | if (!strcmp(name, "vkCmdSetDepthBias")) |
| 3675 | { |
| 3676 | return (void*)entry_vkCmdSetDepthBias; |
| 3677 | } |
| 3678 | if (!strcmp(name, "vkCmdSetBlendConstants")) |
| 3679 | { |
| 3680 | return (void*)entry_vkCmdSetBlendConstants; |
| 3681 | } |
| 3682 | if (!strcmp(name, "vkCmdSetDepthBounds")) |
| 3683 | { |
| 3684 | return (void*)entry_vkCmdSetDepthBounds; |
| 3685 | } |
| 3686 | if (!strcmp(name, "vkCmdSetStencilCompareMask")) |
| 3687 | { |
| 3688 | return (void*)entry_vkCmdSetStencilCompareMask; |
| 3689 | } |
| 3690 | if (!strcmp(name, "vkCmdSetStencilWriteMask")) |
| 3691 | { |
| 3692 | return (void*)entry_vkCmdSetStencilWriteMask; |
| 3693 | } |
| 3694 | if (!strcmp(name, "vkCmdSetStencilReference")) |
| 3695 | { |
| 3696 | return (void*)entry_vkCmdSetStencilReference; |
| 3697 | } |
| 3698 | if (!strcmp(name, "vkCmdBindDescriptorSets")) |
| 3699 | { |
| 3700 | return (void*)entry_vkCmdBindDescriptorSets; |
| 3701 | } |
| 3702 | if (!strcmp(name, "vkCmdBindIndexBuffer")) |
| 3703 | { |
| 3704 | return (void*)entry_vkCmdBindIndexBuffer; |
| 3705 | } |
| 3706 | if (!strcmp(name, "vkCmdBindVertexBuffers")) |
| 3707 | { |
| 3708 | return (void*)entry_vkCmdBindVertexBuffers; |
| 3709 | } |
| 3710 | if (!strcmp(name, "vkCmdDraw")) |
| 3711 | { |
| 3712 | return (void*)entry_vkCmdDraw; |
| 3713 | } |
| 3714 | if (!strcmp(name, "vkCmdDrawIndexed")) |
| 3715 | { |
| 3716 | return (void*)entry_vkCmdDrawIndexed; |
| 3717 | } |
| 3718 | if (!strcmp(name, "vkCmdDrawIndirect")) |
| 3719 | { |
| 3720 | return (void*)entry_vkCmdDrawIndirect; |
| 3721 | } |
| 3722 | if (!strcmp(name, "vkCmdDrawIndexedIndirect")) |
| 3723 | { |
| 3724 | return (void*)entry_vkCmdDrawIndexedIndirect; |
| 3725 | } |
| 3726 | if (!strcmp(name, "vkCmdDispatch")) |
| 3727 | { |
| 3728 | return (void*)entry_vkCmdDispatch; |
| 3729 | } |
| 3730 | if (!strcmp(name, "vkCmdDispatchIndirect")) |
| 3731 | { |
| 3732 | return (void*)entry_vkCmdDispatchIndirect; |
| 3733 | } |
| 3734 | if (!strcmp(name, "vkCmdCopyBuffer")) |
| 3735 | { |
| 3736 | return (void*)entry_vkCmdCopyBuffer; |
| 3737 | } |
| 3738 | if (!strcmp(name, "vkCmdCopyImage")) |
| 3739 | { |
| 3740 | return (void*)entry_vkCmdCopyImage; |
| 3741 | } |
| 3742 | if (!strcmp(name, "vkCmdBlitImage")) |
| 3743 | { |
| 3744 | return (void*)entry_vkCmdBlitImage; |
| 3745 | } |
| 3746 | if (!strcmp(name, "vkCmdCopyBufferToImage")) |
| 3747 | { |
| 3748 | return (void*)entry_vkCmdCopyBufferToImage; |
| 3749 | } |
| 3750 | if (!strcmp(name, "vkCmdCopyImageToBuffer")) |
| 3751 | { |
| 3752 | return (void*)entry_vkCmdCopyImageToBuffer; |
| 3753 | } |
| 3754 | if (!strcmp(name, "vkCmdUpdateBuffer")) |
| 3755 | { |
| 3756 | return (void*)entry_vkCmdUpdateBuffer; |
| 3757 | } |
| 3758 | if (!strcmp(name, "vkCmdFillBuffer")) |
| 3759 | { |
| 3760 | return (void*)entry_vkCmdFillBuffer; |
| 3761 | } |
| 3762 | if (!strcmp(name, "vkCmdClearColorImage")) |
| 3763 | { |
| 3764 | return (void*)entry_vkCmdClearColorImage; |
| 3765 | } |
| 3766 | if (!strcmp(name, "vkCmdClearDepthStencilImage")) |
| 3767 | { |
| 3768 | return (void*)entry_vkCmdClearDepthStencilImage; |
| 3769 | } |
| 3770 | if (!strcmp(name, "vkCmdClearAttachments")) |
| 3771 | { |
| 3772 | return (void*)entry_vkCmdClearAttachments; |
| 3773 | } |
| 3774 | if (!strcmp(name, "vkCmdResolveImage")) |
| 3775 | { |
| 3776 | return (void*)entry_vkCmdResolveImage; |
| 3777 | } |
| 3778 | if (!strcmp(name, "vkCmdSetEvent")) |
| 3779 | { |
| 3780 | return (void*)entry_vkCmdSetEvent; |
| 3781 | } |
| 3782 | if (!strcmp(name, "vkCmdResetEvent")) |
| 3783 | { |
| 3784 | return (void*)entry_vkCmdResetEvent; |
| 3785 | } |
| 3786 | if (!strcmp(name, "vkCmdWaitEvents")) |
| 3787 | { |
| 3788 | return (void*)entry_vkCmdWaitEvents; |
| 3789 | } |
| 3790 | if (!strcmp(name, "vkCmdPipelineBarrier")) |
| 3791 | { |
| 3792 | return (void*)entry_vkCmdPipelineBarrier; |
| 3793 | } |
| 3794 | if (!strcmp(name, "vkCmdBeginQuery")) |
| 3795 | { |
| 3796 | return (void*)entry_vkCmdBeginQuery; |
| 3797 | } |
| 3798 | if (!strcmp(name, "vkCmdEndQuery")) |
| 3799 | { |
| 3800 | return (void*)entry_vkCmdEndQuery; |
| 3801 | } |
| 3802 | if (!strcmp(name, "vkCmdResetQueryPool")) |
| 3803 | { |
| 3804 | return (void*)entry_vkCmdResetQueryPool; |
| 3805 | } |
| 3806 | if (!strcmp(name, "vkCmdWriteTimestamp")) |
| 3807 | { |
| 3808 | return (void*)entry_vkCmdWriteTimestamp; |
| 3809 | } |
| 3810 | if (!strcmp(name, "vkCmdCopyQueryPoolResults")) |
| 3811 | { |
| 3812 | return (void*)entry_vkCmdCopyQueryPoolResults; |
| 3813 | } |
| 3814 | if (!strcmp(name, "vkCmdPushConstants")) |
| 3815 | { |
| 3816 | return (void*)entry_vkCmdPushConstants; |
| 3817 | } |
| 3818 | if (!strcmp(name, "vkCmdBeginRenderPass")) |
| 3819 | { |
| 3820 | return (void*)entry_vkCmdBeginRenderPass; |
| 3821 | } |
| 3822 | if (!strcmp(name, "vkCmdNextSubpass")) |
| 3823 | { |
| 3824 | return (void*)entry_vkCmdNextSubpass; |
| 3825 | } |
| 3826 | if (!strcmp(name, "vkCmdEndRenderPass")) |
| 3827 | { |
| 3828 | return (void*)entry_vkCmdEndRenderPass; |
| 3829 | } |
| 3830 | if (!strcmp(name, "vkCmdExecuteCommands")) |
| 3831 | { |
| 3832 | return (void*)entry_vkCmdExecuteCommands; |
| 3833 | } |
| 3834 | #endif |
| 3835 | #ifdef VK_VERSION_1_1 |
| 3836 | if (!strcmp(name, "vkEnumerateInstanceVersion")) |
| 3837 | { |
| 3838 | return (void*)entry_vkEnumerateInstanceVersion; |
| 3839 | } |
| 3840 | if (!strcmp(name, "vkBindBufferMemory2")) |
| 3841 | { |
| 3842 | return (void*)entry_vkBindBufferMemory2; |
| 3843 | } |
| 3844 | if (!strcmp(name, "vkBindImageMemory2")) |
| 3845 | { |
| 3846 | return (void*)entry_vkBindImageMemory2; |
| 3847 | } |
| 3848 | if (!strcmp(name, "vkGetDeviceGroupPeerMemoryFeatures")) |
| 3849 | { |
| 3850 | return (void*)entry_vkGetDeviceGroupPeerMemoryFeatures; |
| 3851 | } |
| 3852 | if (!strcmp(name, "vkCmdSetDeviceMask")) |
| 3853 | { |
| 3854 | return (void*)entry_vkCmdSetDeviceMask; |
| 3855 | } |
| 3856 | if (!strcmp(name, "vkCmdDispatchBase")) |
| 3857 | { |
| 3858 | return (void*)entry_vkCmdDispatchBase; |
| 3859 | } |
| 3860 | if (!strcmp(name, "vkEnumeratePhysicalDeviceGroups")) |
| 3861 | { |
| 3862 | return (void*)entry_vkEnumeratePhysicalDeviceGroups; |
| 3863 | } |
| 3864 | if (!strcmp(name, "vkGetImageMemoryRequirements2")) |
| 3865 | { |
| 3866 | return (void*)entry_vkGetImageMemoryRequirements2; |
| 3867 | } |
| 3868 | if (!strcmp(name, "vkGetBufferMemoryRequirements2")) |
| 3869 | { |
| 3870 | return (void*)entry_vkGetBufferMemoryRequirements2; |
| 3871 | } |
| 3872 | if (!strcmp(name, "vkGetImageSparseMemoryRequirements2")) |
| 3873 | { |
| 3874 | return (void*)entry_vkGetImageSparseMemoryRequirements2; |
| 3875 | } |
| 3876 | if (!strcmp(name, "vkGetPhysicalDeviceFeatures2")) |
| 3877 | { |
| 3878 | return (void*)entry_vkGetPhysicalDeviceFeatures2; |
| 3879 | } |
| 3880 | if (!strcmp(name, "vkGetPhysicalDeviceProperties2")) |
| 3881 | { |
| 3882 | return (void*)entry_vkGetPhysicalDeviceProperties2; |
| 3883 | } |
| 3884 | if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties2")) |
| 3885 | { |
| 3886 | return (void*)entry_vkGetPhysicalDeviceFormatProperties2; |
| 3887 | } |
| 3888 | if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties2")) |
| 3889 | { |
| 3890 | return (void*)entry_vkGetPhysicalDeviceImageFormatProperties2; |
| 3891 | } |
| 3892 | if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties2")) |
| 3893 | { |
| 3894 | return (void*)entry_vkGetPhysicalDeviceQueueFamilyProperties2; |
| 3895 | } |
| 3896 | if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties2")) |
| 3897 | { |
| 3898 | return (void*)entry_vkGetPhysicalDeviceMemoryProperties2; |
| 3899 | } |
| 3900 | if (!strcmp(name, "vkGetPhysicalDeviceSparseImageFormatProperties2")) |
| 3901 | { |
| 3902 | return (void*)entry_vkGetPhysicalDeviceSparseImageFormatProperties2; |
| 3903 | } |
| 3904 | if (!strcmp(name, "vkTrimCommandPool")) |
| 3905 | { |
| 3906 | return (void*)entry_vkTrimCommandPool; |
| 3907 | } |
| 3908 | if (!strcmp(name, "vkGetDeviceQueue2")) |
| 3909 | { |
| 3910 | return (void*)entry_vkGetDeviceQueue2; |
| 3911 | } |
| 3912 | if (!strcmp(name, "vkCreateSamplerYcbcrConversion")) |
| 3913 | { |
| 3914 | return (void*)entry_vkCreateSamplerYcbcrConversion; |
| 3915 | } |
| 3916 | if (!strcmp(name, "vkDestroySamplerYcbcrConversion")) |
| 3917 | { |
| 3918 | return (void*)entry_vkDestroySamplerYcbcrConversion; |
| 3919 | } |
| 3920 | if (!strcmp(name, "vkCreateDescriptorUpdateTemplate")) |
| 3921 | { |
| 3922 | return (void*)entry_vkCreateDescriptorUpdateTemplate; |
| 3923 | } |
| 3924 | if (!strcmp(name, "vkDestroyDescriptorUpdateTemplate")) |
| 3925 | { |
| 3926 | return (void*)entry_vkDestroyDescriptorUpdateTemplate; |
| 3927 | } |
| 3928 | if (!strcmp(name, "vkUpdateDescriptorSetWithTemplate")) |
| 3929 | { |
| 3930 | return (void*)entry_vkUpdateDescriptorSetWithTemplate; |
| 3931 | } |
| 3932 | if (!strcmp(name, "vkGetPhysicalDeviceExternalBufferProperties")) |
| 3933 | { |
| 3934 | return (void*)entry_vkGetPhysicalDeviceExternalBufferProperties; |
| 3935 | } |
| 3936 | if (!strcmp(name, "vkGetPhysicalDeviceExternalFenceProperties")) |
| 3937 | { |
| 3938 | return (void*)entry_vkGetPhysicalDeviceExternalFenceProperties; |
| 3939 | } |
| 3940 | if (!strcmp(name, "vkGetPhysicalDeviceExternalSemaphoreProperties")) |
| 3941 | { |
| 3942 | return (void*)entry_vkGetPhysicalDeviceExternalSemaphoreProperties; |
| 3943 | } |
| 3944 | if (!strcmp(name, "vkGetDescriptorSetLayoutSupport")) |
| 3945 | { |
| 3946 | return (void*)entry_vkGetDescriptorSetLayoutSupport; |
| 3947 | } |
| 3948 | #endif |
| 3949 | #ifdef VK_KHR_surface |
| 3950 | if (!strcmp(name, "vkDestroySurfaceKHR")) |
| 3951 | { |
| 3952 | return (void*)entry_vkDestroySurfaceKHR; |
| 3953 | } |
| 3954 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceSupportKHR")) |
| 3955 | { |
| 3956 | return (void*)entry_vkGetPhysicalDeviceSurfaceSupportKHR; |
| 3957 | } |
| 3958 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR")) |
| 3959 | { |
| 3960 | return (void*)entry_vkGetPhysicalDeviceSurfaceCapabilitiesKHR; |
| 3961 | } |
| 3962 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceFormatsKHR")) |
| 3963 | { |
| 3964 | return (void*)entry_vkGetPhysicalDeviceSurfaceFormatsKHR; |
| 3965 | } |
| 3966 | if (!strcmp(name, "vkGetPhysicalDeviceSurfacePresentModesKHR")) |
| 3967 | { |
| 3968 | return (void*)entry_vkGetPhysicalDeviceSurfacePresentModesKHR; |
| 3969 | } |
| 3970 | #endif |
| 3971 | #ifdef VK_KHR_swapchain |
| 3972 | if (!strcmp(name, "vkCreateSwapchainKHR")) |
| 3973 | { |
| 3974 | return (void*)entry_vkCreateSwapchainKHR; |
| 3975 | } |
| 3976 | if (!strcmp(name, "vkDestroySwapchainKHR")) |
| 3977 | { |
| 3978 | return (void*)entry_vkDestroySwapchainKHR; |
| 3979 | } |
| 3980 | if (!strcmp(name, "vkGetSwapchainImagesKHR")) |
| 3981 | { |
| 3982 | return (void*)entry_vkGetSwapchainImagesKHR; |
| 3983 | } |
| 3984 | if (!strcmp(name, "vkAcquireNextImageKHR")) |
| 3985 | { |
| 3986 | return (void*)entry_vkAcquireNextImageKHR; |
| 3987 | } |
| 3988 | if (!strcmp(name, "vkQueuePresentKHR")) |
| 3989 | { |
| 3990 | return (void*)entry_vkQueuePresentKHR; |
| 3991 | } |
| 3992 | if (!strcmp(name, "vkGetDeviceGroupPresentCapabilitiesKHR")) |
| 3993 | { |
| 3994 | return (void*)entry_vkGetDeviceGroupPresentCapabilitiesKHR; |
| 3995 | } |
| 3996 | if (!strcmp(name, "vkGetDeviceGroupSurfacePresentModesKHR")) |
| 3997 | { |
| 3998 | return (void*)entry_vkGetDeviceGroupSurfacePresentModesKHR; |
| 3999 | } |
| 4000 | if (!strcmp(name, "vkGetPhysicalDevicePresentRectanglesKHR")) |
| 4001 | { |
| 4002 | return (void*)entry_vkGetPhysicalDevicePresentRectanglesKHR; |
| 4003 | } |
| 4004 | if (!strcmp(name, "vkAcquireNextImage2KHR")) |
| 4005 | { |
| 4006 | return (void*)entry_vkAcquireNextImage2KHR; |
| 4007 | } |
| 4008 | #endif |
| 4009 | #ifdef VK_KHR_display |
| 4010 | if (!strcmp(name, "vkGetPhysicalDeviceDisplayPropertiesKHR")) |
| 4011 | { |
| 4012 | return (void*)entry_vkGetPhysicalDeviceDisplayPropertiesKHR; |
| 4013 | } |
| 4014 | if (!strcmp(name, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR")) |
| 4015 | { |
| 4016 | return (void*)entry_vkGetPhysicalDeviceDisplayPlanePropertiesKHR; |
| 4017 | } |
| 4018 | if (!strcmp(name, "vkGetDisplayPlaneSupportedDisplaysKHR")) |
| 4019 | { |
| 4020 | return (void*)entry_vkGetDisplayPlaneSupportedDisplaysKHR; |
| 4021 | } |
| 4022 | if (!strcmp(name, "vkGetDisplayModePropertiesKHR")) |
| 4023 | { |
| 4024 | return (void*)entry_vkGetDisplayModePropertiesKHR; |
| 4025 | } |
| 4026 | if (!strcmp(name, "vkCreateDisplayModeKHR")) |
| 4027 | { |
| 4028 | return (void*)entry_vkCreateDisplayModeKHR; |
| 4029 | } |
| 4030 | if (!strcmp(name, "vkGetDisplayPlaneCapabilitiesKHR")) |
| 4031 | { |
| 4032 | return (void*)entry_vkGetDisplayPlaneCapabilitiesKHR; |
| 4033 | } |
| 4034 | if (!strcmp(name, "vkCreateDisplayPlaneSurfaceKHR")) |
| 4035 | { |
| 4036 | return (void*)entry_vkCreateDisplayPlaneSurfaceKHR; |
| 4037 | } |
| 4038 | #endif |
| 4039 | #ifdef VK_KHR_display_swapchain |
| 4040 | if (!strcmp(name, "vkCreateSharedSwapchainsKHR")) |
| 4041 | { |
| 4042 | return (void*)entry_vkCreateSharedSwapchainsKHR; |
| 4043 | } |
| 4044 | #endif |
| 4045 | #ifdef VK_KHR_xlib_surface |
| 4046 | if (!strcmp(name, "vkCreateXlibSurfaceKHR")) |
| 4047 | { |
| 4048 | return (void*)entry_vkCreateXlibSurfaceKHR; |
| 4049 | } |
| 4050 | if (!strcmp(name, "vkGetPhysicalDeviceXlibPresentationSupportKHR")) |
| 4051 | { |
| 4052 | return (void*)entry_vkGetPhysicalDeviceXlibPresentationSupportKHR; |
| 4053 | } |
| 4054 | #endif |
| 4055 | #ifdef VK_KHR_xcb_surface |
| 4056 | if (!strcmp(name, "vkCreateXcbSurfaceKHR")) |
| 4057 | { |
| 4058 | return (void*)entry_vkCreateXcbSurfaceKHR; |
| 4059 | } |
| 4060 | if (!strcmp(name, "vkGetPhysicalDeviceXcbPresentationSupportKHR")) |
| 4061 | { |
| 4062 | return (void*)entry_vkGetPhysicalDeviceXcbPresentationSupportKHR; |
| 4063 | } |
| 4064 | #endif |
| 4065 | #ifdef VK_KHR_wayland_surface |
| 4066 | if (!strcmp(name, "vkCreateWaylandSurfaceKHR")) |
| 4067 | { |
| 4068 | return (void*)entry_vkCreateWaylandSurfaceKHR; |
| 4069 | } |
| 4070 | if (!strcmp(name, "vkGetPhysicalDeviceWaylandPresentationSupportKHR")) |
| 4071 | { |
| 4072 | return (void*)entry_vkGetPhysicalDeviceWaylandPresentationSupportKHR; |
| 4073 | } |
| 4074 | #endif |
| 4075 | #ifdef VK_KHR_mir_surface |
| 4076 | if (!strcmp(name, "vkCreateMirSurfaceKHR")) |
| 4077 | { |
| 4078 | return (void*)entry_vkCreateMirSurfaceKHR; |
| 4079 | } |
| 4080 | if (!strcmp(name, "vkGetPhysicalDeviceMirPresentationSupportKHR")) |
| 4081 | { |
| 4082 | return (void*)entry_vkGetPhysicalDeviceMirPresentationSupportKHR; |
| 4083 | } |
| 4084 | #endif |
| 4085 | #ifdef VK_KHR_android_surface |
| 4086 | if (!strcmp(name, "vkCreateAndroidSurfaceKHR")) |
| 4087 | { |
| 4088 | return (void*)entry_vkCreateAndroidSurfaceKHR; |
| 4089 | } |
| 4090 | #endif |
| 4091 | #ifdef VK_KHR_win32_surface |
| 4092 | if (!strcmp(name, "vkCreateWin32SurfaceKHR")) |
| 4093 | { |
| 4094 | return (void*)entry_vkCreateWin32SurfaceKHR; |
| 4095 | } |
| 4096 | if (!strcmp(name, "vkGetPhysicalDeviceWin32PresentationSupportKHR")) |
| 4097 | { |
| 4098 | return (void*)entry_vkGetPhysicalDeviceWin32PresentationSupportKHR; |
| 4099 | } |
| 4100 | #endif |
| 4101 | #ifdef VK_KHR_get_physical_device_properties2 |
| 4102 | if (!strcmp(name, "vkGetPhysicalDeviceFeatures2KHR")) |
| 4103 | { |
| 4104 | return (void*)entry_vkGetPhysicalDeviceFeatures2KHR; |
| 4105 | } |
| 4106 | if (!strcmp(name, "vkGetPhysicalDeviceProperties2KHR")) |
| 4107 | { |
| 4108 | return (void*)entry_vkGetPhysicalDeviceProperties2KHR; |
| 4109 | } |
| 4110 | if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties2KHR")) |
| 4111 | { |
| 4112 | return (void*)entry_vkGetPhysicalDeviceFormatProperties2KHR; |
| 4113 | } |
| 4114 | if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties2KHR")) |
| 4115 | { |
| 4116 | return (void*)entry_vkGetPhysicalDeviceImageFormatProperties2KHR; |
| 4117 | } |
| 4118 | if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties2KHR")) |
| 4119 | { |
| 4120 | return (void*)entry_vkGetPhysicalDeviceQueueFamilyProperties2KHR; |
| 4121 | } |
| 4122 | if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties2KHR")) |
| 4123 | { |
| 4124 | return (void*)entry_vkGetPhysicalDeviceMemoryProperties2KHR; |
| 4125 | } |
| 4126 | if (!strcmp(name, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR")) |
| 4127 | { |
| 4128 | return (void*)entry_vkGetPhysicalDeviceSparseImageFormatProperties2KHR; |
| 4129 | } |
| 4130 | #endif |
| 4131 | #ifdef VK_KHR_device_group |
| 4132 | if (!strcmp(name, "vkGetDeviceGroupPeerMemoryFeaturesKHR")) |
| 4133 | { |
| 4134 | return (void*)entry_vkGetDeviceGroupPeerMemoryFeaturesKHR; |
| 4135 | } |
| 4136 | if (!strcmp(name, "vkCmdSetDeviceMaskKHR")) |
| 4137 | { |
| 4138 | return (void*)entry_vkCmdSetDeviceMaskKHR; |
| 4139 | } |
| 4140 | if (!strcmp(name, "vkCmdDispatchBaseKHR")) |
| 4141 | { |
| 4142 | return (void*)entry_vkCmdDispatchBaseKHR; |
| 4143 | } |
| 4144 | #endif |
| 4145 | #ifdef VK_KHR_maintenance1 |
| 4146 | if (!strcmp(name, "vkTrimCommandPoolKHR")) |
| 4147 | { |
| 4148 | return (void*)entry_vkTrimCommandPoolKHR; |
| 4149 | } |
| 4150 | #endif |
| 4151 | #ifdef VK_KHR_device_group_creation |
| 4152 | if (!strcmp(name, "vkEnumeratePhysicalDeviceGroupsKHR")) |
| 4153 | { |
| 4154 | return (void*)entry_vkEnumeratePhysicalDeviceGroupsKHR; |
| 4155 | } |
| 4156 | #endif |
| 4157 | #ifdef VK_KHR_external_memory_capabilities |
| 4158 | if (!strcmp(name, "vkGetPhysicalDeviceExternalBufferPropertiesKHR")) |
| 4159 | { |
| 4160 | return (void*)entry_vkGetPhysicalDeviceExternalBufferPropertiesKHR; |
| 4161 | } |
| 4162 | #endif |
| 4163 | #ifdef VK_KHR_external_memory_win32 |
| 4164 | if (!strcmp(name, "vkGetMemoryWin32HandleKHR")) |
| 4165 | { |
| 4166 | return (void*)entry_vkGetMemoryWin32HandleKHR; |
| 4167 | } |
| 4168 | if (!strcmp(name, "vkGetMemoryWin32HandlePropertiesKHR")) |
| 4169 | { |
| 4170 | return (void*)entry_vkGetMemoryWin32HandlePropertiesKHR; |
| 4171 | } |
| 4172 | #endif |
| 4173 | #ifdef VK_KHR_external_memory_fd |
| 4174 | if (!strcmp(name, "vkGetMemoryFdKHR")) |
| 4175 | { |
| 4176 | return (void*)entry_vkGetMemoryFdKHR; |
| 4177 | } |
| 4178 | if (!strcmp(name, "vkGetMemoryFdPropertiesKHR")) |
| 4179 | { |
| 4180 | return (void*)entry_vkGetMemoryFdPropertiesKHR; |
| 4181 | } |
| 4182 | #endif |
| 4183 | #ifdef VK_KHR_external_semaphore_capabilities |
| 4184 | if (!strcmp(name, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR")) |
| 4185 | { |
| 4186 | return (void*)entry_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR; |
| 4187 | } |
| 4188 | #endif |
| 4189 | #ifdef VK_KHR_external_semaphore_win32 |
| 4190 | if (!strcmp(name, "vkImportSemaphoreWin32HandleKHR")) |
| 4191 | { |
| 4192 | return (void*)entry_vkImportSemaphoreWin32HandleKHR; |
| 4193 | } |
| 4194 | if (!strcmp(name, "vkGetSemaphoreWin32HandleKHR")) |
| 4195 | { |
| 4196 | return (void*)entry_vkGetSemaphoreWin32HandleKHR; |
| 4197 | } |
| 4198 | #endif |
| 4199 | #ifdef VK_KHR_external_semaphore_fd |
| 4200 | if (!strcmp(name, "vkImportSemaphoreFdKHR")) |
| 4201 | { |
| 4202 | return (void*)entry_vkImportSemaphoreFdKHR; |
| 4203 | } |
| 4204 | if (!strcmp(name, "vkGetSemaphoreFdKHR")) |
| 4205 | { |
| 4206 | return (void*)entry_vkGetSemaphoreFdKHR; |
| 4207 | } |
| 4208 | #endif |
| 4209 | #ifdef VK_KHR_push_descriptor |
| 4210 | if (!strcmp(name, "vkCmdPushDescriptorSetKHR")) |
| 4211 | { |
| 4212 | return (void*)entry_vkCmdPushDescriptorSetKHR; |
| 4213 | } |
| 4214 | if (!strcmp(name, "vkCmdPushDescriptorSetWithTemplateKHR")) |
| 4215 | { |
| 4216 | return (void*)entry_vkCmdPushDescriptorSetWithTemplateKHR; |
| 4217 | } |
| 4218 | #endif |
| 4219 | #ifdef VK_KHR_descriptor_update_template |
| 4220 | if (!strcmp(name, "vkCreateDescriptorUpdateTemplateKHR")) |
| 4221 | { |
| 4222 | return (void*)entry_vkCreateDescriptorUpdateTemplateKHR; |
| 4223 | } |
| 4224 | if (!strcmp(name, "vkDestroyDescriptorUpdateTemplateKHR")) |
| 4225 | { |
| 4226 | return (void*)entry_vkDestroyDescriptorUpdateTemplateKHR; |
| 4227 | } |
| 4228 | if (!strcmp(name, "vkUpdateDescriptorSetWithTemplateKHR")) |
| 4229 | { |
| 4230 | return (void*)entry_vkUpdateDescriptorSetWithTemplateKHR; |
| 4231 | } |
| 4232 | #endif |
| 4233 | #ifdef VK_KHR_create_renderpass2 |
| 4234 | if (!strcmp(name, "vkCreateRenderPass2KHR")) |
| 4235 | { |
| 4236 | return (void*)entry_vkCreateRenderPass2KHR; |
| 4237 | } |
| 4238 | if (!strcmp(name, "vkCmdBeginRenderPass2KHR")) |
| 4239 | { |
| 4240 | return (void*)entry_vkCmdBeginRenderPass2KHR; |
| 4241 | } |
| 4242 | if (!strcmp(name, "vkCmdNextSubpass2KHR")) |
| 4243 | { |
| 4244 | return (void*)entry_vkCmdNextSubpass2KHR; |
| 4245 | } |
| 4246 | if (!strcmp(name, "vkCmdEndRenderPass2KHR")) |
| 4247 | { |
| 4248 | return (void*)entry_vkCmdEndRenderPass2KHR; |
| 4249 | } |
| 4250 | #endif |
| 4251 | #ifdef VK_KHR_shared_presentable_image |
| 4252 | if (!strcmp(name, "vkGetSwapchainStatusKHR")) |
| 4253 | { |
| 4254 | return (void*)entry_vkGetSwapchainStatusKHR; |
| 4255 | } |
| 4256 | #endif |
| 4257 | #ifdef VK_KHR_external_fence_capabilities |
| 4258 | if (!strcmp(name, "vkGetPhysicalDeviceExternalFencePropertiesKHR")) |
| 4259 | { |
| 4260 | return (void*)entry_vkGetPhysicalDeviceExternalFencePropertiesKHR; |
| 4261 | } |
| 4262 | #endif |
| 4263 | #ifdef VK_KHR_external_fence_win32 |
| 4264 | if (!strcmp(name, "vkImportFenceWin32HandleKHR")) |
| 4265 | { |
| 4266 | return (void*)entry_vkImportFenceWin32HandleKHR; |
| 4267 | } |
| 4268 | if (!strcmp(name, "vkGetFenceWin32HandleKHR")) |
| 4269 | { |
| 4270 | return (void*)entry_vkGetFenceWin32HandleKHR; |
| 4271 | } |
| 4272 | #endif |
| 4273 | #ifdef VK_KHR_external_fence_fd |
| 4274 | if (!strcmp(name, "vkImportFenceFdKHR")) |
| 4275 | { |
| 4276 | return (void*)entry_vkImportFenceFdKHR; |
| 4277 | } |
| 4278 | if (!strcmp(name, "vkGetFenceFdKHR")) |
| 4279 | { |
| 4280 | return (void*)entry_vkGetFenceFdKHR; |
| 4281 | } |
| 4282 | #endif |
| 4283 | #ifdef VK_KHR_get_surface_capabilities2 |
| 4284 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceCapabilities2KHR")) |
| 4285 | { |
| 4286 | return (void*)entry_vkGetPhysicalDeviceSurfaceCapabilities2KHR; |
| 4287 | } |
| 4288 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceFormats2KHR")) |
| 4289 | { |
| 4290 | return (void*)entry_vkGetPhysicalDeviceSurfaceFormats2KHR; |
| 4291 | } |
| 4292 | #endif |
| 4293 | #ifdef VK_KHR_get_display_properties2 |
| 4294 | if (!strcmp(name, "vkGetPhysicalDeviceDisplayProperties2KHR")) |
| 4295 | { |
| 4296 | return (void*)entry_vkGetPhysicalDeviceDisplayProperties2KHR; |
| 4297 | } |
| 4298 | if (!strcmp(name, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR")) |
| 4299 | { |
| 4300 | return (void*)entry_vkGetPhysicalDeviceDisplayPlaneProperties2KHR; |
| 4301 | } |
| 4302 | if (!strcmp(name, "vkGetDisplayModeProperties2KHR")) |
| 4303 | { |
| 4304 | return (void*)entry_vkGetDisplayModeProperties2KHR; |
| 4305 | } |
| 4306 | if (!strcmp(name, "vkGetDisplayPlaneCapabilities2KHR")) |
| 4307 | { |
| 4308 | return (void*)entry_vkGetDisplayPlaneCapabilities2KHR; |
| 4309 | } |
| 4310 | #endif |
| 4311 | #ifdef VK_KHR_get_memory_requirements2 |
| 4312 | if (!strcmp(name, "vkGetImageMemoryRequirements2KHR")) |
| 4313 | { |
| 4314 | return (void*)entry_vkGetImageMemoryRequirements2KHR; |
| 4315 | } |
| 4316 | if (!strcmp(name, "vkGetBufferMemoryRequirements2KHR")) |
| 4317 | { |
| 4318 | return (void*)entry_vkGetBufferMemoryRequirements2KHR; |
| 4319 | } |
| 4320 | if (!strcmp(name, "vkGetImageSparseMemoryRequirements2KHR")) |
| 4321 | { |
| 4322 | return (void*)entry_vkGetImageSparseMemoryRequirements2KHR; |
| 4323 | } |
| 4324 | #endif |
| 4325 | #ifdef VK_KHR_sampler_ycbcr_conversion |
| 4326 | if (!strcmp(name, "vkCreateSamplerYcbcrConversionKHR")) |
| 4327 | { |
| 4328 | return (void*)entry_vkCreateSamplerYcbcrConversionKHR; |
| 4329 | } |
| 4330 | if (!strcmp(name, "vkDestroySamplerYcbcrConversionKHR")) |
| 4331 | { |
| 4332 | return (void*)entry_vkDestroySamplerYcbcrConversionKHR; |
| 4333 | } |
| 4334 | #endif |
| 4335 | #ifdef VK_KHR_bind_memory2 |
| 4336 | if (!strcmp(name, "vkBindBufferMemory2KHR")) |
| 4337 | { |
| 4338 | return (void*)entry_vkBindBufferMemory2KHR; |
| 4339 | } |
| 4340 | if (!strcmp(name, "vkBindImageMemory2KHR")) |
| 4341 | { |
| 4342 | return (void*)entry_vkBindImageMemory2KHR; |
| 4343 | } |
| 4344 | #endif |
| 4345 | #ifdef VK_KHR_maintenance3 |
| 4346 | if (!strcmp(name, "vkGetDescriptorSetLayoutSupportKHR")) |
| 4347 | { |
| 4348 | return (void*)entry_vkGetDescriptorSetLayoutSupportKHR; |
| 4349 | } |
| 4350 | #endif |
| 4351 | #ifdef VK_KHR_draw_indirect_count |
| 4352 | if (!strcmp(name, "vkCmdDrawIndirectCountKHR")) |
| 4353 | { |
| 4354 | return (void*)entry_vkCmdDrawIndirectCountKHR; |
| 4355 | } |
| 4356 | if (!strcmp(name, "vkCmdDrawIndexedIndirectCountKHR")) |
| 4357 | { |
| 4358 | return (void*)entry_vkCmdDrawIndexedIndirectCountKHR; |
| 4359 | } |
| 4360 | #endif |
| 4361 | #ifdef VK_EXT_debug_report |
| 4362 | if (!strcmp(name, "vkCreateDebugReportCallbackEXT")) |
| 4363 | { |
| 4364 | return (void*)entry_vkCreateDebugReportCallbackEXT; |
| 4365 | } |
| 4366 | if (!strcmp(name, "vkDestroyDebugReportCallbackEXT")) |
| 4367 | { |
| 4368 | return (void*)entry_vkDestroyDebugReportCallbackEXT; |
| 4369 | } |
| 4370 | if (!strcmp(name, "vkDebugReportMessageEXT")) |
| 4371 | { |
| 4372 | return (void*)entry_vkDebugReportMessageEXT; |
| 4373 | } |
| 4374 | #endif |
| 4375 | #ifdef VK_EXT_debug_marker |
| 4376 | if (!strcmp(name, "vkDebugMarkerSetObjectTagEXT")) |
| 4377 | { |
| 4378 | return (void*)entry_vkDebugMarkerSetObjectTagEXT; |
| 4379 | } |
| 4380 | if (!strcmp(name, "vkDebugMarkerSetObjectNameEXT")) |
| 4381 | { |
| 4382 | return (void*)entry_vkDebugMarkerSetObjectNameEXT; |
| 4383 | } |
| 4384 | if (!strcmp(name, "vkCmdDebugMarkerBeginEXT")) |
| 4385 | { |
| 4386 | return (void*)entry_vkCmdDebugMarkerBeginEXT; |
| 4387 | } |
| 4388 | if (!strcmp(name, "vkCmdDebugMarkerEndEXT")) |
| 4389 | { |
| 4390 | return (void*)entry_vkCmdDebugMarkerEndEXT; |
| 4391 | } |
| 4392 | if (!strcmp(name, "vkCmdDebugMarkerInsertEXT")) |
| 4393 | { |
| 4394 | return (void*)entry_vkCmdDebugMarkerInsertEXT; |
| 4395 | } |
| 4396 | #endif |
| 4397 | #ifdef VK_AMD_draw_indirect_count |
| 4398 | if (!strcmp(name, "vkCmdDrawIndirectCountAMD")) |
| 4399 | { |
| 4400 | return (void*)entry_vkCmdDrawIndirectCountAMD; |
| 4401 | } |
| 4402 | if (!strcmp(name, "vkCmdDrawIndexedIndirectCountAMD")) |
| 4403 | { |
| 4404 | return (void*)entry_vkCmdDrawIndexedIndirectCountAMD; |
| 4405 | } |
| 4406 | #endif |
| 4407 | #ifdef VK_AMD_shader_info |
| 4408 | if (!strcmp(name, "vkGetShaderInfoAMD")) |
| 4409 | { |
| 4410 | return (void*)entry_vkGetShaderInfoAMD; |
| 4411 | } |
| 4412 | #endif |
| 4413 | #ifdef VK_NV_external_memory_capabilities |
| 4414 | if (!strcmp(name, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV")) |
| 4415 | { |
| 4416 | return (void*)entry_vkGetPhysicalDeviceExternalImageFormatPropertiesNV; |
| 4417 | } |
| 4418 | #endif |
| 4419 | #ifdef VK_NV_external_memory_win32 |
| 4420 | if (!strcmp(name, "vkGetMemoryWin32HandleNV")) |
| 4421 | { |
| 4422 | return (void*)entry_vkGetMemoryWin32HandleNV; |
| 4423 | } |
| 4424 | #endif |
| 4425 | #ifdef VK_NN_vi_surface |
| 4426 | if (!strcmp(name, "vkCreateViSurfaceNN")) |
| 4427 | { |
| 4428 | return (void*)entry_vkCreateViSurfaceNN; |
| 4429 | } |
| 4430 | #endif |
| 4431 | #ifdef VK_EXT_conditional_rendering |
| 4432 | if (!strcmp(name, "vkCmdBeginConditionalRenderingEXT")) |
| 4433 | { |
| 4434 | return (void*)entry_vkCmdBeginConditionalRenderingEXT; |
| 4435 | } |
| 4436 | if (!strcmp(name, "vkCmdEndConditionalRenderingEXT")) |
| 4437 | { |
| 4438 | return (void*)entry_vkCmdEndConditionalRenderingEXT; |
| 4439 | } |
| 4440 | #endif |
| 4441 | #ifdef VK_NVX_device_generated_commands |
| 4442 | if (!strcmp(name, "vkCmdProcessCommandsNVX")) |
| 4443 | { |
| 4444 | return (void*)entry_vkCmdProcessCommandsNVX; |
| 4445 | } |
| 4446 | if (!strcmp(name, "vkCmdReserveSpaceForCommandsNVX")) |
| 4447 | { |
| 4448 | return (void*)entry_vkCmdReserveSpaceForCommandsNVX; |
| 4449 | } |
| 4450 | if (!strcmp(name, "vkCreateIndirectCommandsLayoutNVX")) |
| 4451 | { |
| 4452 | return (void*)entry_vkCreateIndirectCommandsLayoutNVX; |
| 4453 | } |
| 4454 | if (!strcmp(name, "vkDestroyIndirectCommandsLayoutNVX")) |
| 4455 | { |
| 4456 | return (void*)entry_vkDestroyIndirectCommandsLayoutNVX; |
| 4457 | } |
| 4458 | if (!strcmp(name, "vkCreateObjectTableNVX")) |
| 4459 | { |
| 4460 | return (void*)entry_vkCreateObjectTableNVX; |
| 4461 | } |
| 4462 | if (!strcmp(name, "vkDestroyObjectTableNVX")) |
| 4463 | { |
| 4464 | return (void*)entry_vkDestroyObjectTableNVX; |
| 4465 | } |
| 4466 | if (!strcmp(name, "vkRegisterObjectsNVX")) |
| 4467 | { |
| 4468 | return (void*)entry_vkRegisterObjectsNVX; |
| 4469 | } |
| 4470 | if (!strcmp(name, "vkUnregisterObjectsNVX")) |
| 4471 | { |
| 4472 | return (void*)entry_vkUnregisterObjectsNVX; |
| 4473 | } |
| 4474 | if (!strcmp(name, "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX")) |
| 4475 | { |
| 4476 | return (void*)entry_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX; |
| 4477 | } |
| 4478 | #endif |
| 4479 | #ifdef VK_NV_clip_space_w_scaling |
| 4480 | if (!strcmp(name, "vkCmdSetViewportWScalingNV")) |
| 4481 | { |
| 4482 | return (void*)entry_vkCmdSetViewportWScalingNV; |
| 4483 | } |
| 4484 | #endif |
| 4485 | #ifdef VK_EXT_direct_mode_display |
| 4486 | if (!strcmp(name, "vkReleaseDisplayEXT")) |
| 4487 | { |
| 4488 | return (void*)entry_vkReleaseDisplayEXT; |
| 4489 | } |
| 4490 | #endif |
| 4491 | #ifdef VK_EXT_acquire_xlib_display |
| 4492 | if (!strcmp(name, "vkAcquireXlibDisplayEXT")) |
| 4493 | { |
| 4494 | return (void*)entry_vkAcquireXlibDisplayEXT; |
| 4495 | } |
| 4496 | if (!strcmp(name, "vkGetRandROutputDisplayEXT")) |
| 4497 | { |
| 4498 | return (void*)entry_vkGetRandROutputDisplayEXT; |
| 4499 | } |
| 4500 | #endif |
| 4501 | #ifdef VK_EXT_display_surface_counter |
| 4502 | if (!strcmp(name, "vkGetPhysicalDeviceSurfaceCapabilities2EXT")) |
| 4503 | { |
| 4504 | return (void*)entry_vkGetPhysicalDeviceSurfaceCapabilities2EXT; |
| 4505 | } |
| 4506 | #endif |
| 4507 | #ifdef VK_EXT_display_control |
| 4508 | if (!strcmp(name, "vkDisplayPowerControlEXT")) |
| 4509 | { |
| 4510 | return (void*)entry_vkDisplayPowerControlEXT; |
| 4511 | } |
| 4512 | if (!strcmp(name, "vkRegisterDeviceEventEXT")) |
| 4513 | { |
| 4514 | return (void*)entry_vkRegisterDeviceEventEXT; |
| 4515 | } |
| 4516 | if (!strcmp(name, "vkRegisterDisplayEventEXT")) |
| 4517 | { |
| 4518 | return (void*)entry_vkRegisterDisplayEventEXT; |
| 4519 | } |
| 4520 | if (!strcmp(name, "vkGetSwapchainCounterEXT")) |
| 4521 | { |
| 4522 | return (void*)entry_vkGetSwapchainCounterEXT; |
| 4523 | } |
| 4524 | #endif |
| 4525 | #ifdef VK_GOOGLE_display_timing |
| 4526 | if (!strcmp(name, "vkGetRefreshCycleDurationGOOGLE")) |
| 4527 | { |
| 4528 | return (void*)entry_vkGetRefreshCycleDurationGOOGLE; |
| 4529 | } |
| 4530 | if (!strcmp(name, "vkGetPastPresentationTimingGOOGLE")) |
| 4531 | { |
| 4532 | return (void*)entry_vkGetPastPresentationTimingGOOGLE; |
| 4533 | } |
| 4534 | #endif |
| 4535 | #ifdef VK_EXT_discard_rectangles |
| 4536 | if (!strcmp(name, "vkCmdSetDiscardRectangleEXT")) |
| 4537 | { |
| 4538 | return (void*)entry_vkCmdSetDiscardRectangleEXT; |
| 4539 | } |
| 4540 | #endif |
| 4541 | #ifdef VK_EXT_hdr_metadata |
| 4542 | if (!strcmp(name, "vkSetHdrMetadataEXT")) |
| 4543 | { |
| 4544 | return (void*)entry_vkSetHdrMetadataEXT; |
| 4545 | } |
| 4546 | #endif |
| 4547 | #ifdef VK_MVK_ios_surface |
| 4548 | if (!strcmp(name, "vkCreateIOSSurfaceMVK")) |
| 4549 | { |
| 4550 | return (void*)entry_vkCreateIOSSurfaceMVK; |
| 4551 | } |
| 4552 | #endif |
| 4553 | #ifdef VK_MVK_macos_surface |
| 4554 | if (!strcmp(name, "vkCreateMacOSSurfaceMVK")) |
| 4555 | { |
| 4556 | return (void*)entry_vkCreateMacOSSurfaceMVK; |
| 4557 | } |
| 4558 | #endif |
| 4559 | #ifdef VK_EXT_debug_utils |
| 4560 | if (!strcmp(name, "vkSetDebugUtilsObjectNameEXT")) |
| 4561 | { |
| 4562 | return (void*)entry_vkSetDebugUtilsObjectNameEXT; |
| 4563 | } |
| 4564 | if (!strcmp(name, "vkSetDebugUtilsObjectTagEXT")) |
| 4565 | { |
| 4566 | return (void*)entry_vkSetDebugUtilsObjectTagEXT; |
| 4567 | } |
| 4568 | if (!strcmp(name, "vkQueueBeginDebugUtilsLabelEXT")) |
| 4569 | { |
| 4570 | return (void*)entry_vkQueueBeginDebugUtilsLabelEXT; |
| 4571 | } |
| 4572 | if (!strcmp(name, "vkQueueEndDebugUtilsLabelEXT")) |
| 4573 | { |
| 4574 | return (void*)entry_vkQueueEndDebugUtilsLabelEXT; |
| 4575 | } |
| 4576 | if (!strcmp(name, "vkQueueInsertDebugUtilsLabelEXT")) |
| 4577 | { |
| 4578 | return (void*)entry_vkQueueInsertDebugUtilsLabelEXT; |
| 4579 | } |
| 4580 | if (!strcmp(name, "vkCmdBeginDebugUtilsLabelEXT")) |
| 4581 | { |
| 4582 | return (void*)entry_vkCmdBeginDebugUtilsLabelEXT; |
| 4583 | } |
| 4584 | if (!strcmp(name, "vkCmdEndDebugUtilsLabelEXT")) |
| 4585 | { |
| 4586 | return (void*)entry_vkCmdEndDebugUtilsLabelEXT; |
| 4587 | } |
| 4588 | if (!strcmp(name, "vkCmdInsertDebugUtilsLabelEXT")) |
| 4589 | { |
| 4590 | return (void*)entry_vkCmdInsertDebugUtilsLabelEXT; |
| 4591 | } |
| 4592 | if (!strcmp(name, "vkCreateDebugUtilsMessengerEXT")) |
| 4593 | { |
| 4594 | return (void*)entry_vkCreateDebugUtilsMessengerEXT; |
| 4595 | } |
| 4596 | if (!strcmp(name, "vkDestroyDebugUtilsMessengerEXT")) |
| 4597 | { |
| 4598 | return (void*)entry_vkDestroyDebugUtilsMessengerEXT; |
| 4599 | } |
| 4600 | if (!strcmp(name, "vkSubmitDebugUtilsMessageEXT")) |
| 4601 | { |
| 4602 | return (void*)entry_vkSubmitDebugUtilsMessageEXT; |
| 4603 | } |
| 4604 | #endif |
| 4605 | #ifdef VK_ANDROID_external_memory_android_hardware_buffer |
| 4606 | if (!strcmp(name, "vkGetAndroidHardwareBufferPropertiesANDROID")) |
| 4607 | { |
| 4608 | return (void*)entry_vkGetAndroidHardwareBufferPropertiesANDROID; |
| 4609 | } |
| 4610 | if (!strcmp(name, "vkGetMemoryAndroidHardwareBufferANDROID")) |
| 4611 | { |
| 4612 | return (void*)entry_vkGetMemoryAndroidHardwareBufferANDROID; |
| 4613 | } |
| 4614 | #endif |
| 4615 | #ifdef VK_EXT_sample_locations |
| 4616 | if (!strcmp(name, "vkCmdSetSampleLocationsEXT")) |
| 4617 | { |
| 4618 | return (void*)entry_vkCmdSetSampleLocationsEXT; |
| 4619 | } |
| 4620 | if (!strcmp(name, "vkGetPhysicalDeviceMultisamplePropertiesEXT")) |
| 4621 | { |
| 4622 | return (void*)entry_vkGetPhysicalDeviceMultisamplePropertiesEXT; |
| 4623 | } |
| 4624 | #endif |
| 4625 | #ifdef VK_EXT_validation_cache |
| 4626 | if (!strcmp(name, "vkCreateValidationCacheEXT")) |
| 4627 | { |
| 4628 | return (void*)entry_vkCreateValidationCacheEXT; |
| 4629 | } |
| 4630 | if (!strcmp(name, "vkDestroyValidationCacheEXT")) |
| 4631 | { |
| 4632 | return (void*)entry_vkDestroyValidationCacheEXT; |
| 4633 | } |
| 4634 | if (!strcmp(name, "vkMergeValidationCachesEXT")) |
| 4635 | { |
| 4636 | return (void*)entry_vkMergeValidationCachesEXT; |
| 4637 | } |
| 4638 | if (!strcmp(name, "vkGetValidationCacheDataEXT")) |
| 4639 | { |
| 4640 | return (void*)entry_vkGetValidationCacheDataEXT; |
| 4641 | } |
| 4642 | #endif |
| 4643 | #ifdef VK_EXT_external_memory_host |
| 4644 | if (!strcmp(name, "vkGetMemoryHostPointerPropertiesEXT")) |
| 4645 | { |
| 4646 | return (void*)entry_vkGetMemoryHostPointerPropertiesEXT; |
| 4647 | } |
| 4648 | #endif |
| 4649 | #ifdef VK_AMD_buffer_marker |
| 4650 | if (!strcmp(name, "vkCmdWriteBufferMarkerAMD")) |
| 4651 | { |
| 4652 | return (void*)entry_vkCmdWriteBufferMarkerAMD; |
| 4653 | } |
| 4654 | #endif |
| 4655 | #ifdef VK_NV_device_diagnostic_checkpoints |
| 4656 | if (!strcmp(name, "vkCmdSetCheckpointNV")) |
| 4657 | { |
| 4658 | return (void*)entry_vkCmdSetCheckpointNV; |
| 4659 | } |
| 4660 | if (!strcmp(name, "vkGetQueueCheckpointDataNV")) |
| 4661 | { |
| 4662 | return (void*)entry_vkGetQueueCheckpointDataNV; |
| 4663 | } |
| 4664 | #endif |
| 4665 | return nullptr; |
| 4666 | } |
| 4667 | |
| 4668 | } // namespace goldfish_vk |