00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __vkfnptrinline_h_
00016 #define __vkfnptrinline_h_
00017
00018 #include "vulkannv.h"
00019
00020 #if defined(__cplusplus) || defined(__STDC__)
00021 #define VKINLINE inline
00022 #else
00023 #define VKINLINE
00024 #endif
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 extern PFN_vkQueueSemaphoreWaitNV pfn_vkQueueSemaphoreWaitNV;
00030 static VKINLINE void vkQueueSemaphoreWaitNV(VkQueue queue, VkSemaphore semaphore)
00031 {
00032 pfn_vkQueueSemaphoreWaitNV(queue, semaphore);
00033 }
00034
00035 extern PFN_vkQueuePresentNV pfn_vkQueuePresentNV;
00036 static VKINLINE void vkQueuePresentNV(VkQueue queue, VkImage image)
00037 {
00038 pfn_vkQueuePresentNV(queue, image);
00039 }
00040
00041 extern PFN_vkQueuePresentNoWaitNV pfn_vkQueuePresentNoWaitNV;
00042 static VKINLINE void vkQueuePresentNoWaitNV(VkQueue queue, VkImage image)
00043 {
00044 pfn_vkQueuePresentNoWaitNV(queue, image);
00045 }
00046
00047 extern PFN_vkSignalPresentDoneNV pfn_vkSignalPresentDoneNV;
00048 static VKINLINE void vkSignalPresentDoneNV(VkDevice device, VkSemaphore semaphore, VkFence fence)
00049 {
00050 pfn_vkSignalPresentDoneNV(device, semaphore, fence);
00051 }
00052
00053 extern PFN_vkCreateInstance pfn_vkCreateInstance;
00054 static VKINLINE VkResult vkCreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkInstance *pInstance)
00055 {
00056 return pfn_vkCreateInstance(pCreateInfo, pAllocator, pInstance);
00057 }
00058
00059 extern PFN_vkDestroyInstance pfn_vkDestroyInstance;
00060 static VKINLINE void vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator)
00061 {
00062 pfn_vkDestroyInstance(instance, pAllocator);
00063 }
00064
00065 extern PFN_vkEnumeratePhysicalDevices pfn_vkEnumeratePhysicalDevices;
00066 static VKINLINE VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices)
00067 {
00068 return pfn_vkEnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
00069 }
00070
00071 extern PFN_vkGetPhysicalDeviceFeatures pfn_vkGetPhysicalDeviceFeatures;
00072 static VKINLINE void vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures *pFeatures)
00073 {
00074 pfn_vkGetPhysicalDeviceFeatures(physicalDevice, pFeatures);
00075 }
00076
00077 extern PFN_vkGetPhysicalDeviceFormatProperties pfn_vkGetPhysicalDeviceFormatProperties;
00078 static VKINLINE void vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties *pFormatProperties)
00079 {
00080 pfn_vkGetPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties);
00081 }
00082
00083 extern PFN_vkGetPhysicalDeviceImageFormatProperties pfn_vkGetPhysicalDeviceImageFormatProperties;
00084 static VKINLINE VkResult vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties *pImageFormatProperties)
00085 {
00086 return pfn_vkGetPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties);
00087 }
00088
00089 extern PFN_vkGetPhysicalDeviceProperties pfn_vkGetPhysicalDeviceProperties;
00090 static VKINLINE void vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties *pProperties)
00091 {
00092 pfn_vkGetPhysicalDeviceProperties(physicalDevice, pProperties);
00093 }
00094
00095 extern PFN_vkGetPhysicalDeviceQueueFamilyProperties pfn_vkGetPhysicalDeviceQueueFamilyProperties;
00096 static VKINLINE void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties *pQueueFamilyProperties)
00097 {
00098 pfn_vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
00099 }
00100
00101 extern PFN_vkGetPhysicalDeviceMemoryProperties pfn_vkGetPhysicalDeviceMemoryProperties;
00102 static VKINLINE void vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties *pMemoryProperties)
00103 {
00104 pfn_vkGetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties);
00105 }
00106
00107 extern PFN_vkGetInstanceProcAddr pfn_vkGetInstanceProcAddr;
00108 static VKINLINE PFN_vkVoidFunction vkGetInstanceProcAddr(VkInstance instance, const char *pName)
00109 {
00110 return pfn_vkGetInstanceProcAddr(instance, pName);
00111 }
00112
00113 extern PFN_vkGetDeviceProcAddr pfn_vkGetDeviceProcAddr;
00114 static VKINLINE PFN_vkVoidFunction vkGetDeviceProcAddr(VkDevice device, const char *pName)
00115 {
00116 return pfn_vkGetDeviceProcAddr(device, pName);
00117 }
00118
00119 extern PFN_vkCreateDevice pfn_vkCreateDevice;
00120 static VKINLINE VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDevice *pDevice)
00121 {
00122 return pfn_vkCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice);
00123 }
00124
00125 extern PFN_vkDestroyDevice pfn_vkDestroyDevice;
00126 static VKINLINE void vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator)
00127 {
00128 pfn_vkDestroyDevice(device, pAllocator);
00129 }
00130
00131 extern PFN_vkEnumerateInstanceExtensionProperties pfn_vkEnumerateInstanceExtensionProperties;
00132 static VKINLINE VkResult vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
00133 {
00134 return pfn_vkEnumerateInstanceExtensionProperties(pLayerName, pPropertyCount, pProperties);
00135 }
00136
00137 extern PFN_vkEnumerateDeviceExtensionProperties pfn_vkEnumerateDeviceExtensionProperties;
00138 static VKINLINE VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
00139 {
00140 return pfn_vkEnumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProperties);
00141 }
00142
00143 extern PFN_vkEnumerateInstanceLayerProperties pfn_vkEnumerateInstanceLayerProperties;
00144 static VKINLINE VkResult vkEnumerateInstanceLayerProperties(uint32_t *pPropertyCount, VkLayerProperties *pProperties)
00145 {
00146 return pfn_vkEnumerateInstanceLayerProperties(pPropertyCount, pProperties);
00147 }
00148
00149 extern PFN_vkEnumerateDeviceLayerProperties pfn_vkEnumerateDeviceLayerProperties;
00150 static VKINLINE VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkLayerProperties *pProperties)
00151 {
00152 return pfn_vkEnumerateDeviceLayerProperties(physicalDevice, pPropertyCount, pProperties);
00153 }
00154
00155 extern PFN_vkGetDeviceQueue pfn_vkGetDeviceQueue;
00156 static VKINLINE void vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue)
00157 {
00158 pfn_vkGetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
00159 }
00160
00161 extern PFN_vkQueueSubmit pfn_vkQueueSubmit;
00162 static VKINLINE VkResult vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo *pSubmits, VkFence fence)
00163 {
00164 return pfn_vkQueueSubmit(queue, submitCount, pSubmits, fence);
00165 }
00166
00167 extern PFN_vkQueueWaitIdle pfn_vkQueueWaitIdle;
00168 static VKINLINE VkResult vkQueueWaitIdle(VkQueue queue)
00169 {
00170 return pfn_vkQueueWaitIdle(queue);
00171 }
00172
00173 extern PFN_vkDeviceWaitIdle pfn_vkDeviceWaitIdle;
00174 static VKINLINE VkResult vkDeviceWaitIdle(VkDevice device)
00175 {
00176 return pfn_vkDeviceWaitIdle(device);
00177 }
00178
00179 extern PFN_vkAllocateMemory pfn_vkAllocateMemory;
00180 static VKINLINE VkResult vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMemory)
00181 {
00182 return pfn_vkAllocateMemory(device, pAllocateInfo, pAllocator, pMemory);
00183 }
00184
00185 extern PFN_vkFreeMemory pfn_vkFreeMemory;
00186 static VKINLINE void vkFreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks *pAllocator)
00187 {
00188 pfn_vkFreeMemory(device, memory, pAllocator);
00189 }
00190
00191 extern PFN_vkMapMemory pfn_vkMapMemory;
00192 static VKINLINE VkResult vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void* *ppData)
00193 {
00194 return pfn_vkMapMemory(device, memory, offset, size, flags, ppData);
00195 }
00196
00197 extern PFN_vkUnmapMemory pfn_vkUnmapMemory;
00198 static VKINLINE void vkUnmapMemory(VkDevice device, VkDeviceMemory memory)
00199 {
00200 pfn_vkUnmapMemory(device, memory);
00201 }
00202
00203 extern PFN_vkFlushMappedMemoryRanges pfn_vkFlushMappedMemoryRanges;
00204 static VKINLINE VkResult vkFlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
00205 {
00206 return pfn_vkFlushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
00207 }
00208
00209 extern PFN_vkInvalidateMappedMemoryRanges pfn_vkInvalidateMappedMemoryRanges;
00210 static VKINLINE VkResult vkInvalidateMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
00211 {
00212 return pfn_vkInvalidateMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
00213 }
00214
00215 extern PFN_vkGetDeviceMemoryCommitment pfn_vkGetDeviceMemoryCommitment;
00216 static VKINLINE void vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes)
00217 {
00218 pfn_vkGetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes);
00219 }
00220
00221 extern PFN_vkBindBufferMemory pfn_vkBindBufferMemory;
00222 static VKINLINE VkResult vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset)
00223 {
00224 return pfn_vkBindBufferMemory(device, buffer, memory, memoryOffset);
00225 }
00226
00227 extern PFN_vkBindImageMemory pfn_vkBindImageMemory;
00228 static VKINLINE VkResult vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset)
00229 {
00230 return pfn_vkBindImageMemory(device, image, memory, memoryOffset);
00231 }
00232
00233 extern PFN_vkGetBufferMemoryRequirements pfn_vkGetBufferMemoryRequirements;
00234 static VKINLINE void vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *pMemoryRequirements)
00235 {
00236 pfn_vkGetBufferMemoryRequirements(device, buffer, pMemoryRequirements);
00237 }
00238
00239 extern PFN_vkGetImageMemoryRequirements pfn_vkGetImageMemoryRequirements;
00240 static VKINLINE void vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements *pMemoryRequirements)
00241 {
00242 pfn_vkGetImageMemoryRequirements(device, image, pMemoryRequirements);
00243 }
00244
00245 extern PFN_vkGetImageSparseMemoryRequirements pfn_vkGetImageSparseMemoryRequirements;
00246 static VKINLINE void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements *pSparseMemoryRequirements)
00247 {
00248 pfn_vkGetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
00249 }
00250
00251 extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties pfn_vkGetPhysicalDeviceSparseImageFormatProperties;
00252 static VKINLINE void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t *pPropertyCount, VkSparseImageFormatProperties *pProperties)
00253 {
00254 pfn_vkGetPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties);
00255 }
00256
00257 extern PFN_vkQueueBindSparse pfn_vkQueueBindSparse;
00258 static VKINLINE VkResult vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo *pBindInfo, VkFence fence)
00259 {
00260 return pfn_vkQueueBindSparse(queue, bindInfoCount, pBindInfo, fence);
00261 }
00262
00263 extern PFN_vkCreateFence pfn_vkCreateFence;
00264 static VKINLINE VkResult vkCreateFence(VkDevice device, const VkFenceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFence *pFence)
00265 {
00266 return pfn_vkCreateFence(device, pCreateInfo, pAllocator, pFence);
00267 }
00268
00269 extern PFN_vkDestroyFence pfn_vkDestroyFence;
00270 static VKINLINE void vkDestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks *pAllocator)
00271 {
00272 pfn_vkDestroyFence(device, fence, pAllocator);
00273 }
00274
00275 extern PFN_vkResetFences pfn_vkResetFences;
00276 static VKINLINE VkResult vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences)
00277 {
00278 return pfn_vkResetFences(device, fenceCount, pFences);
00279 }
00280
00281 extern PFN_vkGetFenceStatus pfn_vkGetFenceStatus;
00282 static VKINLINE VkResult vkGetFenceStatus(VkDevice device, VkFence fence)
00283 {
00284 return pfn_vkGetFenceStatus(device, fence);
00285 }
00286
00287 extern PFN_vkWaitForFences pfn_vkWaitForFences;
00288 static VKINLINE VkResult vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences, VkBool32 waitAll, uint64_t timeout)
00289 {
00290 return pfn_vkWaitForFences(device, fenceCount, pFences, waitAll, timeout);
00291 }
00292
00293 extern PFN_vkCreateSemaphore pfn_vkCreateSemaphore;
00294 static VKINLINE VkResult vkCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore)
00295 {
00296 return pfn_vkCreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore);
00297 }
00298
00299 extern PFN_vkDestroySemaphore pfn_vkDestroySemaphore;
00300 static VKINLINE void vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks *pAllocator)
00301 {
00302 pfn_vkDestroySemaphore(device, semaphore, pAllocator);
00303 }
00304
00305 extern PFN_vkCreateEvent pfn_vkCreateEvent;
00306 static VKINLINE VkResult vkCreateEvent(VkDevice device, const VkEventCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkEvent *pEvent)
00307 {
00308 return pfn_vkCreateEvent(device, pCreateInfo, pAllocator, pEvent);
00309 }
00310
00311 extern PFN_vkDestroyEvent pfn_vkDestroyEvent;
00312 static VKINLINE void vkDestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks *pAllocator)
00313 {
00314 pfn_vkDestroyEvent(device, event, pAllocator);
00315 }
00316
00317 extern PFN_vkGetEventStatus pfn_vkGetEventStatus;
00318 static VKINLINE VkResult vkGetEventStatus(VkDevice device, VkEvent event)
00319 {
00320 return pfn_vkGetEventStatus(device, event);
00321 }
00322
00323 extern PFN_vkSetEvent pfn_vkSetEvent;
00324 static VKINLINE VkResult vkSetEvent(VkDevice device, VkEvent event)
00325 {
00326 return pfn_vkSetEvent(device, event);
00327 }
00328
00329 extern PFN_vkResetEvent pfn_vkResetEvent;
00330 static VKINLINE VkResult vkResetEvent(VkDevice device, VkEvent event)
00331 {
00332 return pfn_vkResetEvent(device, event);
00333 }
00334
00335 extern PFN_vkCreateQueryPool pfn_vkCreateQueryPool;
00336 static VKINLINE VkResult vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkQueryPool *pQueryPool)
00337 {
00338 return pfn_vkCreateQueryPool(device, pCreateInfo, pAllocator, pQueryPool);
00339 }
00340
00341 extern PFN_vkDestroyQueryPool pfn_vkDestroyQueryPool;
00342 static VKINLINE void vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks *pAllocator)
00343 {
00344 pfn_vkDestroyQueryPool(device, queryPool, pAllocator);
00345 }
00346
00347 extern PFN_vkGetQueryPoolResults pfn_vkGetQueryPoolResults;
00348 static VKINLINE VkResult vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, VkQueryResultFlags flags)
00349 {
00350 return pfn_vkGetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
00351 }
00352
00353 extern PFN_vkCreateBuffer pfn_vkCreateBuffer;
00354 static VKINLINE VkResult vkCreateBuffer(VkDevice device, const VkBufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBuffer *pBuffer)
00355 {
00356 return pfn_vkCreateBuffer(device, pCreateInfo, pAllocator, pBuffer);
00357 }
00358
00359 extern PFN_vkDestroyBuffer pfn_vkDestroyBuffer;
00360 static VKINLINE void vkDestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks *pAllocator)
00361 {
00362 pfn_vkDestroyBuffer(device, buffer, pAllocator);
00363 }
00364
00365 extern PFN_vkCreateBufferView pfn_vkCreateBufferView;
00366 static VKINLINE VkResult vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBufferView *pView)
00367 {
00368 return pfn_vkCreateBufferView(device, pCreateInfo, pAllocator, pView);
00369 }
00370
00371 extern PFN_vkDestroyBufferView pfn_vkDestroyBufferView;
00372 static VKINLINE void vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks *pAllocator)
00373 {
00374 pfn_vkDestroyBufferView(device, bufferView, pAllocator);
00375 }
00376
00377 extern PFN_vkCreateImage pfn_vkCreateImage;
00378 static VKINLINE VkResult vkCreateImage(VkDevice device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImage *pImage)
00379 {
00380 return pfn_vkCreateImage(device, pCreateInfo, pAllocator, pImage);
00381 }
00382
00383 extern PFN_vkDestroyImage pfn_vkDestroyImage;
00384 static VKINLINE void vkDestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks *pAllocator)
00385 {
00386 pfn_vkDestroyImage(device, image, pAllocator);
00387 }
00388
00389 extern PFN_vkGetImageSubresourceLayout pfn_vkGetImageSubresourceLayout;
00390 static VKINLINE void vkGetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource *pSubresource, VkSubresourceLayout *pLayout)
00391 {
00392 pfn_vkGetImageSubresourceLayout(device, image, pSubresource, pLayout);
00393 }
00394
00395 extern PFN_vkCreateImageView pfn_vkCreateImageView;
00396 static VKINLINE VkResult vkCreateImageView(VkDevice device, const VkImageViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImageView *pView)
00397 {
00398 return pfn_vkCreateImageView(device, pCreateInfo, pAllocator, pView);
00399 }
00400
00401 extern PFN_vkDestroyImageView pfn_vkDestroyImageView;
00402 static VKINLINE void vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks *pAllocator)
00403 {
00404 pfn_vkDestroyImageView(device, imageView, pAllocator);
00405 }
00406
00407 extern PFN_vkCreateShaderModule pfn_vkCreateShaderModule;
00408 static VKINLINE VkResult vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkShaderModule *pShaderModule)
00409 {
00410 return pfn_vkCreateShaderModule(device, pCreateInfo, pAllocator, pShaderModule);
00411 }
00412
00413 extern PFN_vkDestroyShaderModule pfn_vkDestroyShaderModule;
00414 static VKINLINE void vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks *pAllocator)
00415 {
00416 pfn_vkDestroyShaderModule(device, shaderModule, pAllocator);
00417 }
00418
00419 extern PFN_vkCreatePipelineCache pfn_vkCreatePipelineCache;
00420 static VKINLINE VkResult vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineCache *pPipelineCache)
00421 {
00422 return pfn_vkCreatePipelineCache(device, pCreateInfo, pAllocator, pPipelineCache);
00423 }
00424
00425 extern PFN_vkDestroyPipelineCache pfn_vkDestroyPipelineCache;
00426 static VKINLINE void vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks *pAllocator)
00427 {
00428 pfn_vkDestroyPipelineCache(device, pipelineCache, pAllocator);
00429 }
00430
00431 extern PFN_vkGetPipelineCacheData pfn_vkGetPipelineCacheData;
00432 static VKINLINE VkResult vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t *pDataSize, void *pData)
00433 {
00434 return pfn_vkGetPipelineCacheData(device, pipelineCache, pDataSize, pData);
00435 }
00436
00437 extern PFN_vkMergePipelineCaches pfn_vkMergePipelineCaches;
00438 static VKINLINE VkResult vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache *pSrcCaches)
00439 {
00440 return pfn_vkMergePipelineCaches(device, dstCache, srcCacheCount, pSrcCaches);
00441 }
00442
00443 extern PFN_vkCreateGraphicsPipelines pfn_vkCreateGraphicsPipelines;
00444 static VKINLINE VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
00445 {
00446 return pfn_vkCreateGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
00447 }
00448
00449 extern PFN_vkCreateComputePipelines pfn_vkCreateComputePipelines;
00450 static VKINLINE VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t count, const VkComputePipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
00451 {
00452 return pfn_vkCreateComputePipelines(device, pipelineCache, count, pCreateInfos, pAllocator, pPipelines);
00453 }
00454
00455 extern PFN_vkDestroyPipeline pfn_vkDestroyPipeline;
00456 static VKINLINE void vkDestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks *pAllocator)
00457 {
00458 pfn_vkDestroyPipeline(device, pipeline, pAllocator);
00459 }
00460
00461 extern PFN_vkCreatePipelineLayout pfn_vkCreatePipelineLayout;
00462 static VKINLINE VkResult vkCreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineLayout *pPipelineLayout)
00463 {
00464 return pfn_vkCreatePipelineLayout(device, pCreateInfo, pAllocator, pPipelineLayout);
00465 }
00466
00467 extern PFN_vkDestroyPipelineLayout pfn_vkDestroyPipelineLayout;
00468 static VKINLINE void vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks *pAllocator)
00469 {
00470 pfn_vkDestroyPipelineLayout(device, pipelineLayout, pAllocator);
00471 }
00472
00473 extern PFN_vkCreateSampler pfn_vkCreateSampler;
00474 static VKINLINE VkResult vkCreateSampler(VkDevice device, const VkSamplerCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSampler *pSampler)
00475 {
00476 return pfn_vkCreateSampler(device, pCreateInfo, pAllocator, pSampler);
00477 }
00478
00479 extern PFN_vkDestroySampler pfn_vkDestroySampler;
00480 static VKINLINE void vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks *pAllocator)
00481 {
00482 pfn_vkDestroySampler(device, sampler, pAllocator);
00483 }
00484
00485 extern PFN_vkCreateDescriptorSetLayout pfn_vkCreateDescriptorSetLayout;
00486 static VKINLINE VkResult vkCreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorSetLayout *pSetLayout)
00487 {
00488 return pfn_vkCreateDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout);
00489 }
00490
00491 extern PFN_vkDestroyDescriptorSetLayout pfn_vkDestroyDescriptorSetLayout;
00492 static VKINLINE void vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks *pAllocator)
00493 {
00494 pfn_vkDestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator);
00495 }
00496
00497 extern PFN_vkCreateDescriptorPool pfn_vkCreateDescriptorPool;
00498 static VKINLINE VkResult vkCreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorPool *pDescriptorPool)
00499 {
00500 return pfn_vkCreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool);
00501 }
00502
00503 extern PFN_vkDestroyDescriptorPool pfn_vkDestroyDescriptorPool;
00504 static VKINLINE void vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks *pAllocator)
00505 {
00506 pfn_vkDestroyDescriptorPool(device, descriptorPool, pAllocator);
00507 }
00508
00509 extern PFN_vkResetDescriptorPool pfn_vkResetDescriptorPool;
00510 static VKINLINE VkResult vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags)
00511 {
00512 return pfn_vkResetDescriptorPool(device, descriptorPool, flags);
00513 }
00514
00515 extern PFN_vkAllocateDescriptorSets pfn_vkAllocateDescriptorSets;
00516 static VKINLINE VkResult vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets)
00517 {
00518 return pfn_vkAllocateDescriptorSets(device, pAllocateInfo, pDescriptorSets);
00519 }
00520
00521 extern PFN_vkFreeDescriptorSets pfn_vkFreeDescriptorSets;
00522 static VKINLINE VkResult vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets)
00523 {
00524 return pfn_vkFreeDescriptorSets(device, descriptorPool, descriptorSetCount, pDescriptorSets);
00525 }
00526
00527 extern PFN_vkUpdateDescriptorSets pfn_vkUpdateDescriptorSets;
00528 static VKINLINE void vkUpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet *pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet *pDescriptorCopies)
00529 {
00530 pfn_vkUpdateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
00531 }
00532
00533 extern PFN_vkCreateFramebuffer pfn_vkCreateFramebuffer;
00534 static VKINLINE VkResult vkCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFramebuffer *pFramebuffer)
00535 {
00536 return pfn_vkCreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer);
00537 }
00538
00539 extern PFN_vkDestroyFramebuffer pfn_vkDestroyFramebuffer;
00540 static VKINLINE void vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks *pAllocator)
00541 {
00542 pfn_vkDestroyFramebuffer(device, framebuffer, pAllocator);
00543 }
00544
00545 extern PFN_vkCreateRenderPass pfn_vkCreateRenderPass;
00546 static VKINLINE VkResult vkCreateRenderPass(VkDevice device, const VkRenderPassCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
00547 {
00548 return pfn_vkCreateRenderPass(device, pCreateInfo, pAllocator, pRenderPass);
00549 }
00550
00551 extern PFN_vkDestroyRenderPass pfn_vkDestroyRenderPass;
00552 static VKINLINE void vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks *pAllocator)
00553 {
00554 pfn_vkDestroyRenderPass(device, renderPass, pAllocator);
00555 }
00556
00557 extern PFN_vkGetRenderAreaGranularity pfn_vkGetRenderAreaGranularity;
00558 static VKINLINE void vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D *pGranularity)
00559 {
00560 pfn_vkGetRenderAreaGranularity(device, renderPass, pGranularity);
00561 }
00562
00563 extern PFN_vkCreateCommandPool pfn_vkCreateCommandPool;
00564 static VKINLINE VkResult vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCommandPool *pCommandPool)
00565 {
00566 return pfn_vkCreateCommandPool(device, pCreateInfo, pAllocator, pCommandPool);
00567 }
00568
00569 extern PFN_vkDestroyCommandPool pfn_vkDestroyCommandPool;
00570 static VKINLINE void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks *pAllocator)
00571 {
00572 pfn_vkDestroyCommandPool(device, commandPool, pAllocator);
00573 }
00574
00575 extern PFN_vkResetCommandPool pfn_vkResetCommandPool;
00576 static VKINLINE VkResult vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags)
00577 {
00578 return pfn_vkResetCommandPool(device, commandPool, flags);
00579 }
00580
00581 extern PFN_vkAllocateCommandBuffers pfn_vkAllocateCommandBuffers;
00582 static VKINLINE VkResult vkAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, VkCommandBuffer *pCommandBuffers)
00583 {
00584 return pfn_vkAllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers);
00585 }
00586
00587 extern PFN_vkFreeCommandBuffers pfn_vkFreeCommandBuffers;
00588 static VKINLINE void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers)
00589 {
00590 pfn_vkFreeCommandBuffers(device, commandPool, commandBufferCount, pCommandBuffers);
00591 }
00592
00593 extern PFN_vkBeginCommandBuffer pfn_vkBeginCommandBuffer;
00594 static VKINLINE VkResult vkBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo *pBeginInfo)
00595 {
00596 return pfn_vkBeginCommandBuffer(commandBuffer, pBeginInfo);
00597 }
00598
00599 extern PFN_vkEndCommandBuffer pfn_vkEndCommandBuffer;
00600 static VKINLINE VkResult vkEndCommandBuffer(VkCommandBuffer commandBuffer)
00601 {
00602 return pfn_vkEndCommandBuffer(commandBuffer);
00603 }
00604
00605 extern PFN_vkResetCommandBuffer pfn_vkResetCommandBuffer;
00606 static VKINLINE VkResult vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags)
00607 {
00608 return pfn_vkResetCommandBuffer(commandBuffer, flags);
00609 }
00610
00611 extern PFN_vkCmdBindPipeline pfn_vkCmdBindPipeline;
00612 static VKINLINE void vkCmdBindPipeline(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline)
00613 {
00614 pfn_vkCmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline);
00615 }
00616
00617 extern PFN_vkCmdSetViewport pfn_vkCmdSetViewport;
00618 static VKINLINE void vkCmdSetViewport(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport *pViewports)
00619 {
00620 pfn_vkCmdSetViewport(commandBuffer, firstViewport, viewportCount, pViewports);
00621 }
00622
00623 extern PFN_vkCmdSetScissor pfn_vkCmdSetScissor;
00624 static VKINLINE void vkCmdSetScissor(VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D *pScissors)
00625 {
00626 pfn_vkCmdSetScissor(commandBuffer, firstScissor, scissorCount, pScissors);
00627 }
00628
00629 extern PFN_vkCmdSetLineWidth pfn_vkCmdSetLineWidth;
00630 static VKINLINE void vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth)
00631 {
00632 pfn_vkCmdSetLineWidth(commandBuffer, lineWidth);
00633 }
00634
00635 extern PFN_vkCmdSetDepthBias pfn_vkCmdSetDepthBias;
00636 static VKINLINE void vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor)
00637 {
00638 pfn_vkCmdSetDepthBias(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
00639 }
00640
00641 extern PFN_vkCmdSetBlendConstants pfn_vkCmdSetBlendConstants;
00642 static VKINLINE void vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, const float *blendConstants)
00643 {
00644 pfn_vkCmdSetBlendConstants(commandBuffer, blendConstants);
00645 }
00646
00647 extern PFN_vkCmdSetDepthBounds pfn_vkCmdSetDepthBounds;
00648 static VKINLINE void vkCmdSetDepthBounds(VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds)
00649 {
00650 pfn_vkCmdSetDepthBounds(commandBuffer, minDepthBounds, maxDepthBounds);
00651 }
00652
00653 extern PFN_vkCmdSetStencilCompareMask pfn_vkCmdSetStencilCompareMask;
00654 static VKINLINE void vkCmdSetStencilCompareMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask)
00655 {
00656 pfn_vkCmdSetStencilCompareMask(commandBuffer, faceMask, compareMask);
00657 }
00658
00659 extern PFN_vkCmdSetStencilWriteMask pfn_vkCmdSetStencilWriteMask;
00660 static VKINLINE void vkCmdSetStencilWriteMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask)
00661 {
00662 pfn_vkCmdSetStencilWriteMask(commandBuffer, faceMask, writeMask);
00663 }
00664
00665 extern PFN_vkCmdSetStencilReference pfn_vkCmdSetStencilReference;
00666 static VKINLINE void vkCmdSetStencilReference(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference)
00667 {
00668 pfn_vkCmdSetStencilReference(commandBuffer, faceMask, reference);
00669 }
00670
00671 extern PFN_vkCmdBindDescriptorSets pfn_vkCmdBindDescriptorSets;
00672 static VKINLINE void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t *pDynamicOffsets)
00673 {
00674 pfn_vkCmdBindDescriptorSets(commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
00675 }
00676
00677 extern PFN_vkCmdBindIndexBuffer pfn_vkCmdBindIndexBuffer;
00678 static VKINLINE void vkCmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType)
00679 {
00680 pfn_vkCmdBindIndexBuffer(commandBuffer, buffer, offset, indexType);
00681 }
00682
00683 extern PFN_vkCmdBindVertexBuffers pfn_vkCmdBindVertexBuffers;
00684 static VKINLINE void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer *pBuffers, const VkDeviceSize *pOffsets)
00685 {
00686 pfn_vkCmdBindVertexBuffers(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
00687 }
00688
00689 extern PFN_vkCmdDraw pfn_vkCmdDraw;
00690 static VKINLINE void vkCmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance)
00691 {
00692 pfn_vkCmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
00693 }
00694
00695 extern PFN_vkCmdDrawIndexed pfn_vkCmdDrawIndexed;
00696 static VKINLINE void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance)
00697 {
00698 pfn_vkCmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
00699 }
00700
00701 extern PFN_vkCmdDrawIndirect pfn_vkCmdDrawIndirect;
00702 static VKINLINE void vkCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
00703 {
00704 pfn_vkCmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride);
00705 }
00706
00707 extern PFN_vkCmdDrawIndexedIndirect pfn_vkCmdDrawIndexedIndirect;
00708 static VKINLINE void vkCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
00709 {
00710 pfn_vkCmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride);
00711 }
00712
00713 extern PFN_vkCmdDispatch pfn_vkCmdDispatch;
00714 static VKINLINE void vkCmdDispatch(VkCommandBuffer commandBuffer, uint32_t x, uint32_t y, uint32_t z)
00715 {
00716 pfn_vkCmdDispatch(commandBuffer, x, y, z);
00717 }
00718
00719 extern PFN_vkCmdDispatchIndirect pfn_vkCmdDispatchIndirect;
00720 static VKINLINE void vkCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset)
00721 {
00722 pfn_vkCmdDispatchIndirect(commandBuffer, buffer, offset);
00723 }
00724
00725 extern PFN_vkCmdCopyBuffer pfn_vkCmdCopyBuffer;
00726 static VKINLINE void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy *pRegions)
00727 {
00728 pfn_vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
00729 }
00730
00731 extern PFN_vkCmdCopyImage pfn_vkCmdCopyImage;
00732 static VKINLINE void vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy *pRegions)
00733 {
00734 pfn_vkCmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
00735 }
00736
00737 extern PFN_vkCmdBlitImage pfn_vkCmdBlitImage;
00738 static VKINLINE void vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter)
00739 {
00740 pfn_vkCmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
00741 }
00742
00743 extern PFN_vkCmdCopyBufferToImage pfn_vkCmdCopyBufferToImage;
00744 static VKINLINE void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy *pRegions)
00745 {
00746 pfn_vkCmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
00747 }
00748
00749 extern PFN_vkCmdCopyImageToBuffer pfn_vkCmdCopyImageToBuffer;
00750 static VKINLINE void vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy *pRegions)
00751 {
00752 pfn_vkCmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
00753 }
00754
00755 extern PFN_vkCmdUpdateBuffer pfn_vkCmdUpdateBuffer;
00756 static VKINLINE void vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData)
00757 {
00758 pfn_vkCmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData);
00759 }
00760
00761 extern PFN_vkCmdFillBuffer pfn_vkCmdFillBuffer;
00762 static VKINLINE void vkCmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data)
00763 {
00764 pfn_vkCmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data);
00765 }
00766
00767 extern PFN_vkCmdClearColorImage pfn_vkCmdClearColorImage;
00768 static VKINLINE void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue *pColor, uint32_t rangeCount, const VkImageSubresourceRange *pRanges)
00769 {
00770 pfn_vkCmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
00771 }
00772
00773 extern PFN_vkCmdClearDepthStencilImage pfn_vkCmdClearDepthStencilImage;
00774 static VKINLINE void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue *pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange *pRanges)
00775 {
00776 pfn_vkCmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
00777 }
00778
00779 extern PFN_vkCmdClearAttachments pfn_vkCmdClearAttachments;
00780 static VKINLINE void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment *pAttachments, uint32_t rectCount, const VkClearRect *pRects)
00781 {
00782 pfn_vkCmdClearAttachments(commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
00783 }
00784
00785 extern PFN_vkCmdResolveImage pfn_vkCmdResolveImage;
00786 static VKINLINE void vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve *pRegions)
00787 {
00788 pfn_vkCmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
00789 }
00790
00791 extern PFN_vkCmdSetEvent pfn_vkCmdSetEvent;
00792 static VKINLINE void vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
00793 {
00794 pfn_vkCmdSetEvent(commandBuffer, event, stageMask);
00795 }
00796
00797 extern PFN_vkCmdResetEvent pfn_vkCmdResetEvent;
00798 static VKINLINE void vkCmdResetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
00799 {
00800 pfn_vkCmdResetEvent(commandBuffer, event, stageMask);
00801 }
00802
00803 extern PFN_vkCmdWaitEvents pfn_vkCmdWaitEvents;
00804 static VKINLINE void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier *pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier *pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier *pImageMemoryBarriers)
00805 {
00806 pfn_vkCmdWaitEvents(commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
00807 }
00808
00809 extern PFN_vkCmdPipelineBarrier pfn_vkCmdPipelineBarrier;
00810 static VKINLINE void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier *pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier *pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier *pImageMemoryBarriers)
00811 {
00812 pfn_vkCmdPipelineBarrier(commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
00813 }
00814
00815 extern PFN_vkCmdBeginQuery pfn_vkCmdBeginQuery;
00816 static VKINLINE void vkCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags)
00817 {
00818 pfn_vkCmdBeginQuery(commandBuffer, queryPool, query, flags);
00819 }
00820
00821 extern PFN_vkCmdEndQuery pfn_vkCmdEndQuery;
00822 static VKINLINE void vkCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query)
00823 {
00824 pfn_vkCmdEndQuery(commandBuffer, queryPool, query);
00825 }
00826
00827 extern PFN_vkCmdResetQueryPool pfn_vkCmdResetQueryPool;
00828 static VKINLINE void vkCmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
00829 {
00830 pfn_vkCmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount);
00831 }
00832
00833 extern PFN_vkCmdWriteTimestamp pfn_vkCmdWriteTimestamp;
00834 static VKINLINE void vkCmdWriteTimestamp(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query)
00835 {
00836 pfn_vkCmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query);
00837 }
00838
00839 extern PFN_vkCmdCopyQueryPoolResults pfn_vkCmdCopyQueryPoolResults;
00840 static VKINLINE void vkCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags)
00841 {
00842 pfn_vkCmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
00843 }
00844
00845 extern PFN_vkCmdPushConstants pfn_vkCmdPushConstants;
00846 static VKINLINE void vkCmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void *pValues)
00847 {
00848 pfn_vkCmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues);
00849 }
00850
00851 extern PFN_vkCmdBeginRenderPass pfn_vkCmdBeginRenderPass;
00852 static VKINLINE void vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo *pRenderPassBegin, VkSubpassContents contents)
00853 {
00854 pfn_vkCmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents);
00855 }
00856
00857 extern PFN_vkCmdNextSubpass pfn_vkCmdNextSubpass;
00858 static VKINLINE void vkCmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents)
00859 {
00860 pfn_vkCmdNextSubpass(commandBuffer, contents);
00861 }
00862
00863 extern PFN_vkCmdEndRenderPass pfn_vkCmdEndRenderPass;
00864 static VKINLINE void vkCmdEndRenderPass(VkCommandBuffer commandBuffer)
00865 {
00866 pfn_vkCmdEndRenderPass(commandBuffer);
00867 }
00868
00869 extern PFN_vkCmdExecuteCommands pfn_vkCmdExecuteCommands;
00870 static VKINLINE void vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers)
00871 {
00872 pfn_vkCmdExecuteCommands(commandBuffer, commandBufferCount, pCommandBuffers);
00873 }
00874
00875 extern PFN_vkGetPhysicalDeviceSurfaceSupportKHR pfn_vkGetPhysicalDeviceSurfaceSupportKHR;
00876 static VKINLINE VkResult vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32 *pSupported)
00877 {
00878 return pfn_vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported);
00879 }
00880
00881 extern PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR pfn_vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
00882 static VKINLINE VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR *pSurfaceCapabilities)
00883 {
00884 return pfn_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities);
00885 }
00886
00887 extern PFN_vkGetPhysicalDeviceSurfaceFormatsKHR pfn_vkGetPhysicalDeviceSurfaceFormatsKHR;
00888 static VKINLINE VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats)
00889 {
00890 return pfn_vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
00891 }
00892
00893 extern PFN_vkGetPhysicalDeviceSurfacePresentModesKHR pfn_vkGetPhysicalDeviceSurfacePresentModesKHR;
00894 static VKINLINE VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pPresentModeCount, VkPresentModeKHR *pPresentModes)
00895 {
00896 return pfn_vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes);
00897 }
00898
00899 extern PFN_vkCreateSwapchainKHR pfn_vkCreateSwapchainKHR;
00900 static VKINLINE VkResult vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSwapchainKHR *pSwapchain)
00901 {
00902 return pfn_vkCreateSwapchainKHR(device, pCreateInfo, pAllocator, pSwapchain);
00903 }
00904
00905 extern PFN_vkDestroySwapchainKHR pfn_vkDestroySwapchainKHR;
00906 static VKINLINE void vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks *pAllocator)
00907 {
00908 pfn_vkDestroySwapchainKHR(device, swapchain, pAllocator);
00909 }
00910
00911 extern PFN_vkGetSwapchainImagesKHR pfn_vkGetSwapchainImagesKHR;
00912 static VKINLINE VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pSwapchainImageCount, VkImage *pSwapchainImages)
00913 {
00914 return pfn_vkGetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
00915 }
00916
00917 extern PFN_vkAcquireNextImageKHR pfn_vkAcquireNextImageKHR;
00918 static VKINLINE VkResult vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t *pImageIndex)
00919 {
00920 return pfn_vkAcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
00921 }
00922
00923 extern PFN_vkQueuePresentKHR pfn_vkQueuePresentKHR;
00924 static VKINLINE VkResult vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo)
00925 {
00926 return pfn_vkQueuePresentKHR(queue, pPresentInfo);
00927 }
00928
00929
00930
00931 void vkLoadProcs(PFN_vkGetProcAddressNV getProc);
00932
00933 #ifdef __cplusplus
00934 }
00935 #endif
00936 #endif // __vkfnptrinline_h_