Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 The Android Open Source Project |
| 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 | |
| 17 | // This file is generated. Do not edit manually! |
| 18 | // To regenerate: $ apic template ../api/vulkan.api entry.cpp.tmpl |
| 19 | // Requires apic from https://android.googlesource.com/platform/tools/gpu/. |
| 20 | |
| 21 | #include "loader.h" |
| 22 | using namespace vulkan; |
| 23 | |
| 24 | // clang-format off |
| 25 | |
| 26 | namespace { |
| 27 | inline const InstanceVtbl& GetVtbl(VkInstance instance) { |
| 28 | return **reinterpret_cast<InstanceVtbl**>(instance); |
| 29 | } |
| 30 | inline const InstanceVtbl& GetVtbl(VkPhysicalDevice physicalDevice) { |
| 31 | return **reinterpret_cast<InstanceVtbl**>(physicalDevice); |
| 32 | } |
| 33 | inline const DeviceVtbl& GetVtbl(VkDevice device) { |
| 34 | return **reinterpret_cast<DeviceVtbl**>(device); |
| 35 | } |
| 36 | inline const DeviceVtbl& GetVtbl(VkQueue queue) { |
| 37 | return **reinterpret_cast<DeviceVtbl**>(queue); |
| 38 | } |
| 39 | inline const DeviceVtbl& GetVtbl(VkCmdBuffer cmdBuffer) { |
| 40 | return **reinterpret_cast<DeviceVtbl**>(cmdBuffer); |
| 41 | } |
| 42 | } // namespace |
| 43 | |
| 44 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 45 | VkResult vkCreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkInstance* pInstance) { |
| 46 | return vulkan::CreateInstance(pCreateInfo, pAllocator, pInstance); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 50 | void vkDestroyInstance(VkInstance instance, const VkAllocCallbacks* pAllocator) { |
| 51 | GetVtbl(instance).DestroyInstance(instance, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 52 | } |
| 53 | |
| 54 | __attribute__((visibility("default"))) |
| 55 | VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) { |
| 56 | return GetVtbl(instance).EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); |
| 57 | } |
| 58 | |
| 59 | __attribute__((visibility("default"))) |
| 60 | PFN_vkVoidFunction vkGetDeviceProcAddr(VkDevice device, const char* pName) { |
| 61 | return vulkan::GetDeviceProcAddr(device, pName); |
| 62 | } |
| 63 | |
| 64 | __attribute__((visibility("default"))) |
| 65 | PFN_vkVoidFunction vkGetInstanceProcAddr(VkInstance instance, const char* pName) { |
| 66 | return vulkan::GetInstanceProcAddr(instance, pName); |
| 67 | } |
| 68 | |
| 69 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 70 | void vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties) { |
| 71 | GetVtbl(physicalDevice).GetPhysicalDeviceProperties(physicalDevice, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 75 | void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) { |
| 76 | GetVtbl(physicalDevice).GetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 77 | } |
| 78 | |
| 79 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 80 | void vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties) { |
| 81 | GetVtbl(physicalDevice).GetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 82 | } |
| 83 | |
| 84 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 85 | void vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) { |
| 86 | GetVtbl(physicalDevice).GetPhysicalDeviceFeatures(physicalDevice, pFeatures); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 87 | } |
| 88 | |
| 89 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 90 | void vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties) { |
| 91 | GetVtbl(physicalDevice).GetPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 95 | void vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) { |
| 96 | GetVtbl(physicalDevice).GetPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 97 | } |
| 98 | |
| 99 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 100 | VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkDevice* pDevice) { |
| 101 | return GetVtbl(physicalDevice).CreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 102 | } |
| 103 | |
| 104 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 105 | void vkDestroyDevice(VkDevice device, const VkAllocCallbacks* pAllocator) { |
| 106 | vulkan::DestroyDevice(device, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 107 | } |
| 108 | |
| 109 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 110 | VkResult vkEnumerateInstanceLayerProperties(uint32_t* pPropertyCount, VkLayerProperties* pProperties) { |
| 111 | return vulkan::EnumerateInstanceLayerProperties(pPropertyCount, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 115 | VkResult vkEnumerateInstanceExtensionProperties(const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties) { |
| 116 | return vulkan::EnumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 117 | } |
| 118 | |
| 119 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 120 | VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties) { |
| 121 | return GetVtbl(physicalDevice).EnumerateDeviceLayerProperties(physicalDevice, pPropertyCount, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 125 | VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties) { |
| 126 | return GetVtbl(physicalDevice).EnumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 127 | } |
| 128 | |
| 129 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 130 | void vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue) { |
| 131 | vulkan::GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 135 | VkResult vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence) { |
| 136 | return GetVtbl(queue).QueueSubmit(queue, submitCount, pSubmits, fence); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 137 | } |
| 138 | |
| 139 | __attribute__((visibility("default"))) |
| 140 | VkResult vkQueueWaitIdle(VkQueue queue) { |
| 141 | return GetVtbl(queue).QueueWaitIdle(queue); |
| 142 | } |
| 143 | |
| 144 | __attribute__((visibility("default"))) |
| 145 | VkResult vkDeviceWaitIdle(VkDevice device) { |
| 146 | return GetVtbl(device).DeviceWaitIdle(device); |
| 147 | } |
| 148 | |
| 149 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 150 | VkResult vkAllocMemory(VkDevice device, const VkMemoryAllocInfo* pAllocInfo, const VkAllocCallbacks* pAllocator, VkDeviceMemory* pMem) { |
| 151 | return GetVtbl(device).AllocMemory(device, pAllocInfo, pAllocator, pMem); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 152 | } |
| 153 | |
| 154 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 155 | void vkFreeMemory(VkDevice device, VkDeviceMemory mem, const VkAllocCallbacks* pAllocator) { |
| 156 | GetVtbl(device).FreeMemory(device, mem, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 157 | } |
| 158 | |
| 159 | __attribute__((visibility("default"))) |
| 160 | VkResult vkMapMemory(VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) { |
| 161 | return GetVtbl(device).MapMemory(device, mem, offset, size, flags, ppData); |
| 162 | } |
| 163 | |
| 164 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 165 | void vkUnmapMemory(VkDevice device, VkDeviceMemory mem) { |
| 166 | GetVtbl(device).UnmapMemory(device, mem); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 167 | } |
| 168 | |
| 169 | __attribute__((visibility("default"))) |
| 170 | VkResult vkFlushMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) { |
| 171 | return GetVtbl(device).FlushMappedMemoryRanges(device, memRangeCount, pMemRanges); |
| 172 | } |
| 173 | |
| 174 | __attribute__((visibility("default"))) |
| 175 | VkResult vkInvalidateMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange* pMemRanges) { |
| 176 | return GetVtbl(device).InvalidateMappedMemoryRanges(device, memRangeCount, pMemRanges); |
| 177 | } |
| 178 | |
| 179 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 180 | void vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) { |
| 181 | GetVtbl(device).GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 182 | } |
| 183 | |
| 184 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 185 | void vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) { |
| 186 | GetVtbl(device).GetBufferMemoryRequirements(device, buffer, pMemoryRequirements); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 187 | } |
| 188 | |
| 189 | __attribute__((visibility("default"))) |
| 190 | VkResult vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memOffset) { |
| 191 | return GetVtbl(device).BindBufferMemory(device, buffer, mem, memOffset); |
| 192 | } |
| 193 | |
| 194 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 195 | void vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) { |
| 196 | GetVtbl(device).GetImageMemoryRequirements(device, image, pMemoryRequirements); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 197 | } |
| 198 | |
| 199 | __attribute__((visibility("default"))) |
| 200 | VkResult vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory mem, VkDeviceSize memOffset) { |
| 201 | return GetVtbl(device).BindImageMemory(device, image, mem, memOffset); |
| 202 | } |
| 203 | |
| 204 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 205 | void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) { |
| 206 | GetVtbl(device).GetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 207 | } |
| 208 | |
| 209 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 210 | void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, uint32_t samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) { |
| 211 | GetVtbl(physicalDevice).GetPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 212 | } |
| 213 | |
| 214 | __attribute__((visibility("default"))) |
Jesse Hall | a642925 | 2015-11-29 18:59:42 -0800 | [diff] [blame] | 215 | VkResult vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence) { |
| 216 | return GetVtbl(queue).QueueBindSparse(queue, bindInfoCount, pBindInfo, fence); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 217 | } |
| 218 | |
| 219 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 220 | VkResult vkCreateFence(VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkFence* pFence) { |
| 221 | return GetVtbl(device).CreateFence(device, pCreateInfo, pAllocator, pFence); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 222 | } |
| 223 | |
| 224 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 225 | void vkDestroyFence(VkDevice device, VkFence fence, const VkAllocCallbacks* pAllocator) { |
| 226 | GetVtbl(device).DestroyFence(device, fence, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 227 | } |
| 228 | |
| 229 | __attribute__((visibility("default"))) |
| 230 | VkResult vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences) { |
| 231 | return GetVtbl(device).ResetFences(device, fenceCount, pFences); |
| 232 | } |
| 233 | |
| 234 | __attribute__((visibility("default"))) |
| 235 | VkResult vkGetFenceStatus(VkDevice device, VkFence fence) { |
| 236 | return GetVtbl(device).GetFenceStatus(device, fence); |
| 237 | } |
| 238 | |
| 239 | __attribute__((visibility("default"))) |
| 240 | VkResult vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout) { |
| 241 | return GetVtbl(device).WaitForFences(device, fenceCount, pFences, waitAll, timeout); |
| 242 | } |
| 243 | |
| 244 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 245 | VkResult vkCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkSemaphore* pSemaphore) { |
| 246 | return GetVtbl(device).CreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 247 | } |
| 248 | |
| 249 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 250 | void vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocCallbacks* pAllocator) { |
| 251 | GetVtbl(device).DestroySemaphore(device, semaphore, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 252 | } |
| 253 | |
| 254 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 255 | VkResult vkCreateEvent(VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkEvent* pEvent) { |
| 256 | return GetVtbl(device).CreateEvent(device, pCreateInfo, pAllocator, pEvent); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 257 | } |
| 258 | |
| 259 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 260 | void vkDestroyEvent(VkDevice device, VkEvent event, const VkAllocCallbacks* pAllocator) { |
| 261 | GetVtbl(device).DestroyEvent(device, event, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 262 | } |
| 263 | |
| 264 | __attribute__((visibility("default"))) |
| 265 | VkResult vkGetEventStatus(VkDevice device, VkEvent event) { |
| 266 | return GetVtbl(device).GetEventStatus(device, event); |
| 267 | } |
| 268 | |
| 269 | __attribute__((visibility("default"))) |
| 270 | VkResult vkSetEvent(VkDevice device, VkEvent event) { |
| 271 | return GetVtbl(device).SetEvent(device, event); |
| 272 | } |
| 273 | |
| 274 | __attribute__((visibility("default"))) |
| 275 | VkResult vkResetEvent(VkDevice device, VkEvent event) { |
| 276 | return GetVtbl(device).ResetEvent(device, event); |
| 277 | } |
| 278 | |
| 279 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 280 | VkResult vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkQueryPool* pQueryPool) { |
| 281 | return GetVtbl(device).CreateQueryPool(device, pCreateInfo, pAllocator, pQueryPool); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 282 | } |
| 283 | |
| 284 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 285 | void vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocCallbacks* pAllocator) { |
| 286 | GetVtbl(device).DestroyQueryPool(device, queryPool, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 287 | } |
| 288 | |
| 289 | __attribute__((visibility("default"))) |
Jesse Hall | a9bb62b | 2015-11-21 19:31:56 -0800 | [diff] [blame] | 290 | VkResult vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) { |
| 291 | return GetVtbl(device).GetQueryPoolResults(device, queryPool, startQuery, queryCount, dataSize, pData, stride, flags); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 292 | } |
| 293 | |
| 294 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 295 | VkResult vkCreateBuffer(VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkBuffer* pBuffer) { |
| 296 | return GetVtbl(device).CreateBuffer(device, pCreateInfo, pAllocator, pBuffer); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 297 | } |
| 298 | |
| 299 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 300 | void vkDestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocCallbacks* pAllocator) { |
| 301 | GetVtbl(device).DestroyBuffer(device, buffer, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 302 | } |
| 303 | |
| 304 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 305 | VkResult vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkBufferView* pView) { |
| 306 | return GetVtbl(device).CreateBufferView(device, pCreateInfo, pAllocator, pView); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 307 | } |
| 308 | |
| 309 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 310 | void vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocCallbacks* pAllocator) { |
| 311 | GetVtbl(device).DestroyBufferView(device, bufferView, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 312 | } |
| 313 | |
| 314 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 315 | VkResult vkCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkImage* pImage) { |
| 316 | return GetVtbl(device).CreateImage(device, pCreateInfo, pAllocator, pImage); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 317 | } |
| 318 | |
| 319 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 320 | void vkDestroyImage(VkDevice device, VkImage image, const VkAllocCallbacks* pAllocator) { |
| 321 | GetVtbl(device).DestroyImage(device, image, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 322 | } |
| 323 | |
| 324 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 325 | void vkGetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) { |
| 326 | GetVtbl(device).GetImageSubresourceLayout(device, image, pSubresource, pLayout); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 327 | } |
| 328 | |
| 329 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 330 | VkResult vkCreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkImageView* pView) { |
| 331 | return GetVtbl(device).CreateImageView(device, pCreateInfo, pAllocator, pView); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 332 | } |
| 333 | |
| 334 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 335 | void vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocCallbacks* pAllocator) { |
| 336 | GetVtbl(device).DestroyImageView(device, imageView, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 337 | } |
| 338 | |
| 339 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 340 | VkResult vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkShaderModule* pShaderModule) { |
| 341 | return GetVtbl(device).CreateShaderModule(device, pCreateInfo, pAllocator, pShaderModule); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 342 | } |
| 343 | |
| 344 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 345 | void vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocCallbacks* pAllocator) { |
| 346 | GetVtbl(device).DestroyShaderModule(device, shaderModule, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 347 | } |
| 348 | |
| 349 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 350 | VkResult vkCreateShader(VkDevice device, const VkShaderCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkShader* pShader) { |
| 351 | return GetVtbl(device).CreateShader(device, pCreateInfo, pAllocator, pShader); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 352 | } |
| 353 | |
| 354 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 355 | void vkDestroyShader(VkDevice device, VkShader shader, const VkAllocCallbacks* pAllocator) { |
| 356 | GetVtbl(device).DestroyShader(device, shader, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 357 | } |
| 358 | |
| 359 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 360 | VkResult vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkPipelineCache* pPipelineCache) { |
| 361 | return GetVtbl(device).CreatePipelineCache(device, pCreateInfo, pAllocator, pPipelineCache); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 362 | } |
| 363 | |
| 364 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 365 | void vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocCallbacks* pAllocator) { |
| 366 | GetVtbl(device).DestroyPipelineCache(device, pipelineCache, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 367 | } |
| 368 | |
| 369 | __attribute__((visibility("default"))) |
Jesse Hall | a9bb62b | 2015-11-21 19:31:56 -0800 | [diff] [blame] | 370 | VkResult vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) { |
| 371 | return GetVtbl(device).GetPipelineCacheData(device, pipelineCache, pDataSize, pData); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 372 | } |
| 373 | |
| 374 | __attribute__((visibility("default"))) |
| 375 | VkResult vkMergePipelineCaches(VkDevice device, VkPipelineCache destCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) { |
| 376 | return GetVtbl(device).MergePipelineCaches(device, destCache, srcCacheCount, pSrcCaches); |
| 377 | } |
| 378 | |
| 379 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 380 | VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocCallbacks* pAllocator, VkPipeline* pPipelines) { |
| 381 | return GetVtbl(device).CreateGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 382 | } |
| 383 | |
| 384 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 385 | VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocCallbacks* pAllocator, VkPipeline* pPipelines) { |
| 386 | return GetVtbl(device).CreateComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 387 | } |
| 388 | |
| 389 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 390 | void vkDestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocCallbacks* pAllocator) { |
| 391 | GetVtbl(device).DestroyPipeline(device, pipeline, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 392 | } |
| 393 | |
| 394 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 395 | VkResult vkCreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) { |
| 396 | return GetVtbl(device).CreatePipelineLayout(device, pCreateInfo, pAllocator, pPipelineLayout); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 397 | } |
| 398 | |
| 399 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 400 | void vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocCallbacks* pAllocator) { |
| 401 | GetVtbl(device).DestroyPipelineLayout(device, pipelineLayout, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 402 | } |
| 403 | |
| 404 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 405 | VkResult vkCreateSampler(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkSampler* pSampler) { |
| 406 | return GetVtbl(device).CreateSampler(device, pCreateInfo, pAllocator, pSampler); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 407 | } |
| 408 | |
| 409 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 410 | void vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocCallbacks* pAllocator) { |
| 411 | GetVtbl(device).DestroySampler(device, sampler, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 412 | } |
| 413 | |
| 414 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 415 | VkResult vkCreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) { |
| 416 | return GetVtbl(device).CreateDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 417 | } |
| 418 | |
| 419 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 420 | void vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocCallbacks* pAllocator) { |
| 421 | GetVtbl(device).DestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 422 | } |
| 423 | |
| 424 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 425 | VkResult vkCreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) { |
| 426 | return GetVtbl(device).CreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 427 | } |
| 428 | |
| 429 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 430 | void vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocCallbacks* pAllocator) { |
| 431 | GetVtbl(device).DestroyDescriptorPool(device, descriptorPool, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 432 | } |
| 433 | |
| 434 | __attribute__((visibility("default"))) |
Jesse Hall | fbf97b0 | 2015-11-20 14:17:03 -0800 | [diff] [blame] | 435 | VkResult vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) { |
| 436 | return GetVtbl(device).ResetDescriptorPool(device, descriptorPool, flags); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 437 | } |
| 438 | |
| 439 | __attribute__((visibility("default"))) |
Jesse Hall | fbf97b0 | 2015-11-20 14:17:03 -0800 | [diff] [blame] | 440 | VkResult vkAllocDescriptorSets(VkDevice device, const VkDescriptorSetAllocInfo* pAllocInfo, VkDescriptorSet* pDescriptorSets) { |
| 441 | return GetVtbl(device).AllocDescriptorSets(device, pAllocInfo, pDescriptorSets); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 442 | } |
| 443 | |
| 444 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 445 | VkResult vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets) { |
| 446 | return GetVtbl(device).FreeDescriptorSets(device, descriptorPool, descriptorSetCount, pDescriptorSets); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 447 | } |
| 448 | |
| 449 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 450 | void vkUpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies) { |
| 451 | GetVtbl(device).UpdateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 452 | } |
| 453 | |
| 454 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 455 | VkResult vkCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkFramebuffer* pFramebuffer) { |
| 456 | return GetVtbl(device).CreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 457 | } |
| 458 | |
| 459 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 460 | void vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocCallbacks* pAllocator) { |
| 461 | GetVtbl(device).DestroyFramebuffer(device, framebuffer, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 462 | } |
| 463 | |
| 464 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 465 | VkResult vkCreateRenderPass(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkRenderPass* pRenderPass) { |
| 466 | return GetVtbl(device).CreateRenderPass(device, pCreateInfo, pAllocator, pRenderPass); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 467 | } |
| 468 | |
| 469 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 470 | void vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocCallbacks* pAllocator) { |
| 471 | GetVtbl(device).DestroyRenderPass(device, renderPass, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 472 | } |
| 473 | |
| 474 | __attribute__((visibility("default"))) |
Jesse Hall | 606a54e | 2015-11-19 22:17:28 -0800 | [diff] [blame] | 475 | void vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) { |
| 476 | GetVtbl(device).GetRenderAreaGranularity(device, renderPass, pGranularity); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 477 | } |
| 478 | |
| 479 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 480 | VkResult vkCreateCommandPool(VkDevice device, const VkCmdPoolCreateInfo* pCreateInfo, const VkAllocCallbacks* pAllocator, VkCmdPool* pCmdPool) { |
| 481 | return GetVtbl(device).CreateCommandPool(device, pCreateInfo, pAllocator, pCmdPool); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 482 | } |
| 483 | |
| 484 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 485 | void vkDestroyCommandPool(VkDevice device, VkCmdPool cmdPool, const VkAllocCallbacks* pAllocator) { |
| 486 | GetVtbl(device).DestroyCommandPool(device, cmdPool, pAllocator); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 487 | } |
| 488 | |
| 489 | __attribute__((visibility("default"))) |
| 490 | VkResult vkResetCommandPool(VkDevice device, VkCmdPool cmdPool, VkCmdPoolResetFlags flags) { |
| 491 | return GetVtbl(device).ResetCommandPool(device, cmdPool, flags); |
| 492 | } |
| 493 | |
| 494 | __attribute__((visibility("default"))) |
Jesse Hall | fbf97b0 | 2015-11-20 14:17:03 -0800 | [diff] [blame] | 495 | VkResult vkAllocCommandBuffers(VkDevice device, const VkCmdBufferAllocInfo* pAllocInfo, VkCmdBuffer* pCmdBuffers) { |
| 496 | return GetVtbl(device).AllocCommandBuffers(device, pAllocInfo, pCmdBuffers); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 497 | } |
| 498 | |
| 499 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 500 | void vkFreeCommandBuffers(VkDevice device, VkCmdPool cmdPool, uint32_t commandBufferCount, const VkCmdBuffer* pCommandBuffers) { |
| 501 | GetVtbl(device).FreeCommandBuffers(device, cmdPool, commandBufferCount, pCommandBuffers); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 502 | } |
| 503 | |
| 504 | __attribute__((visibility("default"))) |
| 505 | VkResult vkBeginCommandBuffer(VkCmdBuffer cmdBuffer, const VkCmdBufferBeginInfo* pBeginInfo) { |
| 506 | return GetVtbl(cmdBuffer).BeginCommandBuffer(cmdBuffer, pBeginInfo); |
| 507 | } |
| 508 | |
| 509 | __attribute__((visibility("default"))) |
| 510 | VkResult vkEndCommandBuffer(VkCmdBuffer cmdBuffer) { |
| 511 | return GetVtbl(cmdBuffer).EndCommandBuffer(cmdBuffer); |
| 512 | } |
| 513 | |
| 514 | __attribute__((visibility("default"))) |
| 515 | VkResult vkResetCommandBuffer(VkCmdBuffer cmdBuffer, VkCmdBufferResetFlags flags) { |
| 516 | return GetVtbl(cmdBuffer).ResetCommandBuffer(cmdBuffer, flags); |
| 517 | } |
| 518 | |
| 519 | __attribute__((visibility("default"))) |
| 520 | void vkCmdBindPipeline(VkCmdBuffer cmdBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) { |
| 521 | GetVtbl(cmdBuffer).CmdBindPipeline(cmdBuffer, pipelineBindPoint, pipeline); |
| 522 | } |
| 523 | |
| 524 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 525 | void vkCmdSetViewport(VkCmdBuffer cmdBuffer, uint32_t viewportCount, const VkViewport* pViewports) { |
| 526 | GetVtbl(cmdBuffer).CmdSetViewport(cmdBuffer, viewportCount, pViewports); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 527 | } |
| 528 | |
| 529 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 530 | void vkCmdSetScissor(VkCmdBuffer cmdBuffer, uint32_t scissorCount, const VkRect2D* pScissors) { |
| 531 | GetVtbl(cmdBuffer).CmdSetScissor(cmdBuffer, scissorCount, pScissors); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 532 | } |
| 533 | |
| 534 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 535 | void vkCmdSetLineWidth(VkCmdBuffer cmdBuffer, float lineWidth) { |
| 536 | GetVtbl(cmdBuffer).CmdSetLineWidth(cmdBuffer, lineWidth); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 537 | } |
| 538 | |
| 539 | __attribute__((visibility("default"))) |
Jesse Hall | a9bb62b | 2015-11-21 19:31:56 -0800 | [diff] [blame] | 540 | void vkCmdSetDepthBias(VkCmdBuffer cmdBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) { |
| 541 | GetVtbl(cmdBuffer).CmdSetDepthBias(cmdBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 542 | } |
| 543 | |
| 544 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 545 | void vkCmdSetBlendConstants(VkCmdBuffer cmdBuffer, const float blendConstants[4]) { |
| 546 | GetVtbl(cmdBuffer).CmdSetBlendConstants(cmdBuffer, blendConstants); |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 547 | } |
| 548 | |
| 549 | __attribute__((visibility("default"))) |
| 550 | void vkCmdSetDepthBounds(VkCmdBuffer cmdBuffer, float minDepthBounds, float maxDepthBounds) { |
| 551 | GetVtbl(cmdBuffer).CmdSetDepthBounds(cmdBuffer, minDepthBounds, maxDepthBounds); |
| 552 | } |
| 553 | |
| 554 | __attribute__((visibility("default"))) |
| 555 | void vkCmdSetStencilCompareMask(VkCmdBuffer cmdBuffer, VkStencilFaceFlags faceMask, uint32_t stencilCompareMask) { |
| 556 | GetVtbl(cmdBuffer).CmdSetStencilCompareMask(cmdBuffer, faceMask, stencilCompareMask); |
| 557 | } |
| 558 | |
| 559 | __attribute__((visibility("default"))) |
| 560 | void vkCmdSetStencilWriteMask(VkCmdBuffer cmdBuffer, VkStencilFaceFlags faceMask, uint32_t stencilWriteMask) { |
| 561 | GetVtbl(cmdBuffer).CmdSetStencilWriteMask(cmdBuffer, faceMask, stencilWriteMask); |
| 562 | } |
| 563 | |
| 564 | __attribute__((visibility("default"))) |
| 565 | void vkCmdSetStencilReference(VkCmdBuffer cmdBuffer, VkStencilFaceFlags faceMask, uint32_t stencilReference) { |
| 566 | GetVtbl(cmdBuffer).CmdSetStencilReference(cmdBuffer, faceMask, stencilReference); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 567 | } |
| 568 | |
| 569 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 570 | void vkCmdBindDescriptorSets(VkCmdBuffer cmdBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets) { |
| 571 | GetVtbl(cmdBuffer).CmdBindDescriptorSets(cmdBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 572 | } |
| 573 | |
| 574 | __attribute__((visibility("default"))) |
| 575 | void vkCmdBindIndexBuffer(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) { |
| 576 | GetVtbl(cmdBuffer).CmdBindIndexBuffer(cmdBuffer, buffer, offset, indexType); |
| 577 | } |
| 578 | |
| 579 | __attribute__((visibility("default"))) |
| 580 | void vkCmdBindVertexBuffers(VkCmdBuffer cmdBuffer, uint32_t startBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) { |
| 581 | GetVtbl(cmdBuffer).CmdBindVertexBuffers(cmdBuffer, startBinding, bindingCount, pBuffers, pOffsets); |
| 582 | } |
| 583 | |
| 584 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 585 | void vkCmdDraw(VkCmdBuffer cmdBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) { |
| 586 | GetVtbl(cmdBuffer).CmdDraw(cmdBuffer, vertexCount, instanceCount, firstVertex, firstInstance); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 587 | } |
| 588 | |
| 589 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 590 | void vkCmdDrawIndexed(VkCmdBuffer cmdBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) { |
| 591 | GetVtbl(cmdBuffer).CmdDrawIndexed(cmdBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 592 | } |
| 593 | |
| 594 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 595 | void vkCmdDrawIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { |
| 596 | GetVtbl(cmdBuffer).CmdDrawIndirect(cmdBuffer, buffer, offset, drawCount, stride); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 597 | } |
| 598 | |
| 599 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 600 | void vkCmdDrawIndexedIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { |
| 601 | GetVtbl(cmdBuffer).CmdDrawIndexedIndirect(cmdBuffer, buffer, offset, drawCount, stride); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 602 | } |
| 603 | |
| 604 | __attribute__((visibility("default"))) |
| 605 | void vkCmdDispatch(VkCmdBuffer cmdBuffer, uint32_t x, uint32_t y, uint32_t z) { |
| 606 | GetVtbl(cmdBuffer).CmdDispatch(cmdBuffer, x, y, z); |
| 607 | } |
| 608 | |
| 609 | __attribute__((visibility("default"))) |
| 610 | void vkCmdDispatchIndirect(VkCmdBuffer cmdBuffer, VkBuffer buffer, VkDeviceSize offset) { |
| 611 | GetVtbl(cmdBuffer).CmdDispatchIndirect(cmdBuffer, buffer, offset); |
| 612 | } |
| 613 | |
| 614 | __attribute__((visibility("default"))) |
| 615 | void vkCmdCopyBuffer(VkCmdBuffer cmdBuffer, VkBuffer srcBuffer, VkBuffer destBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { |
| 616 | GetVtbl(cmdBuffer).CmdCopyBuffer(cmdBuffer, srcBuffer, destBuffer, regionCount, pRegions); |
| 617 | } |
| 618 | |
| 619 | __attribute__((visibility("default"))) |
| 620 | void vkCmdCopyImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageCopy* pRegions) { |
| 621 | GetVtbl(cmdBuffer).CmdCopyImage(cmdBuffer, srcImage, srcImageLayout, destImage, destImageLayout, regionCount, pRegions); |
| 622 | } |
| 623 | |
| 624 | __attribute__((visibility("default"))) |
Jesse Hall | 23ff73f | 2015-11-29 14:36:39 -0800 | [diff] [blame] | 625 | void vkCmdBlitImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter) { |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 626 | GetVtbl(cmdBuffer).CmdBlitImage(cmdBuffer, srcImage, srcImageLayout, destImage, destImageLayout, regionCount, pRegions, filter); |
| 627 | } |
| 628 | |
| 629 | __attribute__((visibility("default"))) |
| 630 | void vkCmdCopyBufferToImage(VkCmdBuffer cmdBuffer, VkBuffer srcBuffer, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { |
| 631 | GetVtbl(cmdBuffer).CmdCopyBufferToImage(cmdBuffer, srcBuffer, destImage, destImageLayout, regionCount, pRegions); |
| 632 | } |
| 633 | |
| 634 | __attribute__((visibility("default"))) |
| 635 | void vkCmdCopyImageToBuffer(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer destBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) { |
| 636 | GetVtbl(cmdBuffer).CmdCopyImageToBuffer(cmdBuffer, srcImage, srcImageLayout, destBuffer, regionCount, pRegions); |
| 637 | } |
| 638 | |
| 639 | __attribute__((visibility("default"))) |
| 640 | void vkCmdUpdateBuffer(VkCmdBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize dataSize, const uint32_t* pData) { |
| 641 | GetVtbl(cmdBuffer).CmdUpdateBuffer(cmdBuffer, destBuffer, destOffset, dataSize, pData); |
| 642 | } |
| 643 | |
| 644 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 645 | void vkCmdFillBuffer(VkCmdBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize size, uint32_t data) { |
| 646 | GetVtbl(cmdBuffer).CmdFillBuffer(cmdBuffer, destBuffer, destOffset, size, data); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 647 | } |
| 648 | |
| 649 | __attribute__((visibility("default"))) |
| 650 | void vkCmdClearColorImage(VkCmdBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) { |
| 651 | GetVtbl(cmdBuffer).CmdClearColorImage(cmdBuffer, image, imageLayout, pColor, rangeCount, pRanges); |
| 652 | } |
| 653 | |
| 654 | __attribute__((visibility("default"))) |
Jesse Hall | 5ae3abb | 2015-10-08 14:00:22 -0700 | [diff] [blame] | 655 | void vkCmdClearDepthStencilImage(VkCmdBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) { |
| 656 | GetVtbl(cmdBuffer).CmdClearDepthStencilImage(cmdBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 657 | } |
| 658 | |
| 659 | __attribute__((visibility("default"))) |
Jesse Hall | a15a4bf | 2015-11-19 22:48:02 -0800 | [diff] [blame] | 660 | void vkCmdClearAttachments(VkCmdBuffer cmdBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects) { |
Jesse Hall | ae38f73 | 2015-11-19 21:32:50 -0800 | [diff] [blame] | 661 | GetVtbl(cmdBuffer).CmdClearAttachments(cmdBuffer, attachmentCount, pAttachments, rectCount, pRects); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 662 | } |
| 663 | |
| 664 | __attribute__((visibility("default"))) |
| 665 | void vkCmdResolveImage(VkCmdBuffer cmdBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkImageResolve* pRegions) { |
| 666 | GetVtbl(cmdBuffer).CmdResolveImage(cmdBuffer, srcImage, srcImageLayout, destImage, destImageLayout, regionCount, pRegions); |
| 667 | } |
| 668 | |
| 669 | __attribute__((visibility("default"))) |
| 670 | void vkCmdSetEvent(VkCmdBuffer cmdBuffer, VkEvent event, VkPipelineStageFlags stageMask) { |
| 671 | GetVtbl(cmdBuffer).CmdSetEvent(cmdBuffer, event, stageMask); |
| 672 | } |
| 673 | |
| 674 | __attribute__((visibility("default"))) |
| 675 | void vkCmdResetEvent(VkCmdBuffer cmdBuffer, VkEvent event, VkPipelineStageFlags stageMask) { |
| 676 | GetVtbl(cmdBuffer).CmdResetEvent(cmdBuffer, event, stageMask); |
| 677 | } |
| 678 | |
| 679 | __attribute__((visibility("default"))) |
| 680 | void vkCmdWaitEvents(VkCmdBuffer cmdBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags destStageMask, uint32_t memBarrierCount, const void* const* ppMemBarriers) { |
| 681 | GetVtbl(cmdBuffer).CmdWaitEvents(cmdBuffer, eventCount, pEvents, srcStageMask, destStageMask, memBarrierCount, ppMemBarriers); |
| 682 | } |
| 683 | |
| 684 | __attribute__((visibility("default"))) |
Jesse Hall | dc6d36c | 2015-11-29 19:12:15 -0800 | [diff] [blame] | 685 | void vkCmdPipelineBarrier(VkCmdBuffer cmdBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags destStageMask, VkDependencyFlags dependencyFlags, uint32_t memBarrierCount, const void* const* ppMemBarriers) { |
| 686 | GetVtbl(cmdBuffer).CmdPipelineBarrier(cmdBuffer, srcStageMask, destStageMask, dependencyFlags, memBarrierCount, ppMemBarriers); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 687 | } |
| 688 | |
| 689 | __attribute__((visibility("default"))) |
| 690 | void vkCmdBeginQuery(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t slot, VkQueryControlFlags flags) { |
| 691 | GetVtbl(cmdBuffer).CmdBeginQuery(cmdBuffer, queryPool, slot, flags); |
| 692 | } |
| 693 | |
| 694 | __attribute__((visibility("default"))) |
| 695 | void vkCmdEndQuery(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t slot) { |
| 696 | GetVtbl(cmdBuffer).CmdEndQuery(cmdBuffer, queryPool, slot); |
| 697 | } |
| 698 | |
| 699 | __attribute__((visibility("default"))) |
| 700 | void vkCmdResetQueryPool(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount) { |
| 701 | GetVtbl(cmdBuffer).CmdResetQueryPool(cmdBuffer, queryPool, startQuery, queryCount); |
| 702 | } |
| 703 | |
| 704 | __attribute__((visibility("default"))) |
Jesse Hall | a3a7a1d | 2015-11-24 11:37:23 -0800 | [diff] [blame] | 705 | void vkCmdWriteTimestamp(VkCmdBuffer cmdBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t slot) { |
| 706 | GetVtbl(cmdBuffer).CmdWriteTimestamp(cmdBuffer, pipelineStage, queryPool, slot); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 707 | } |
| 708 | |
| 709 | __attribute__((visibility("default"))) |
Jesse Hall | a9bb62b | 2015-11-21 19:31:56 -0800 | [diff] [blame] | 710 | void vkCmdCopyQueryPoolResults(VkCmdBuffer cmdBuffer, VkQueryPool queryPool, uint32_t startQuery, uint32_t queryCount, VkBuffer destBuffer, VkDeviceSize destOffset, VkDeviceSize stride, VkQueryResultFlags flags) { |
| 711 | GetVtbl(cmdBuffer).CmdCopyQueryPoolResults(cmdBuffer, queryPool, startQuery, queryCount, destBuffer, destOffset, stride, flags); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 712 | } |
| 713 | |
| 714 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 715 | void vkCmdPushConstants(VkCmdBuffer cmdBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* values) { |
| 716 | GetVtbl(cmdBuffer).CmdPushConstants(cmdBuffer, layout, stageFlags, offset, size, values); |
Jesse Hall | 04f4f47 | 2015-08-16 19:51:04 -0700 | [diff] [blame] | 717 | } |
| 718 | |
| 719 | __attribute__((visibility("default"))) |
| 720 | void vkCmdBeginRenderPass(VkCmdBuffer cmdBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkRenderPassContents contents) { |
| 721 | GetVtbl(cmdBuffer).CmdBeginRenderPass(cmdBuffer, pRenderPassBegin, contents); |
| 722 | } |
| 723 | |
| 724 | __attribute__((visibility("default"))) |
| 725 | void vkCmdNextSubpass(VkCmdBuffer cmdBuffer, VkRenderPassContents contents) { |
| 726 | GetVtbl(cmdBuffer).CmdNextSubpass(cmdBuffer, contents); |
| 727 | } |
| 728 | |
| 729 | __attribute__((visibility("default"))) |
| 730 | void vkCmdEndRenderPass(VkCmdBuffer cmdBuffer) { |
| 731 | GetVtbl(cmdBuffer).CmdEndRenderPass(cmdBuffer); |
| 732 | } |
| 733 | |
| 734 | __attribute__((visibility("default"))) |
| 735 | void vkCmdExecuteCommands(VkCmdBuffer cmdBuffer, uint32_t cmdBuffersCount, const VkCmdBuffer* pCmdBuffers) { |
| 736 | GetVtbl(cmdBuffer).CmdExecuteCommands(cmdBuffer, cmdBuffersCount, pCmdBuffers); |
| 737 | } |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 738 | |
| 739 | __attribute__((visibility("default"))) |
Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 740 | void vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface) { |
| 741 | GetVtbl(instance).DestroySurfaceKHR(instance, surface); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 742 | } |
| 743 | |
| 744 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 745 | VkResult vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) { |
| 746 | return GetVtbl(physicalDevice).GetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 747 | } |
| 748 | |
| 749 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 750 | VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) { |
| 751 | return GetVtbl(physicalDevice).GetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 752 | } |
| 753 | |
| 754 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 755 | VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) { |
| 756 | return GetVtbl(physicalDevice).GetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats); |
Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 757 | } |
| 758 | |
| 759 | __attribute__((visibility("default"))) |
Jesse Hall | b00daad | 2015-11-29 19:46:20 -0800 | [diff] [blame^] | 760 | VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) { |
| 761 | return GetVtbl(physicalDevice).GetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 762 | } |
| 763 | |
| 764 | __attribute__((visibility("default"))) |
| 765 | VkResult vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, VkSwapchainKHR* pSwapchain) { |
| 766 | return GetVtbl(device).CreateSwapchainKHR(device, pCreateInfo, pSwapchain); |
| 767 | } |
| 768 | |
| 769 | __attribute__((visibility("default"))) |
Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 770 | void vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain) { |
| 771 | GetVtbl(device).DestroySwapchainKHR(device, swapchain); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 772 | } |
| 773 | |
| 774 | __attribute__((visibility("default"))) |
Jesse Hall | 03b6fe1 | 2015-11-24 12:44:21 -0800 | [diff] [blame] | 775 | VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages) { |
| 776 | return GetVtbl(device).GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 777 | } |
| 778 | |
| 779 | __attribute__((visibility("default"))) |
Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 780 | VkResult vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex) { |
| 781 | return GetVtbl(device).AcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex); |
Jesse Hall | b1352bc | 2015-09-04 16:12:33 -0700 | [diff] [blame] | 782 | } |
| 783 | |
| 784 | __attribute__((visibility("default"))) |
| 785 | VkResult vkQueuePresentKHR(VkQueue queue, VkPresentInfoKHR* pPresentInfo) { |
| 786 | return GetVtbl(queue).QueuePresentKHR(queue, pPresentInfo); |
| 787 | } |
Jesse Hall | 1356b0d | 2015-11-23 17:24:58 -0800 | [diff] [blame] | 788 | |
| 789 | __attribute__((visibility("default"))) |
| 790 | VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, struct ANativeWindow* window, VkSurfaceKHR* pSurface) { |
| 791 | return GetVtbl(instance).CreateAndroidSurfaceKHR(instance, window, pSurface); |
| 792 | } |