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