2021-08-12 19:24:54 +08:00
|
|
|
/**
|
|
|
|
* volk
|
|
|
|
*
|
2023-06-06 13:19:51 +08:00
|
|
|
* Copyright (C) 2018-2023, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
2021-08-12 19:24:54 +08:00
|
|
|
* Report bugs and download new versions at https://github.com/zeux/volk
|
|
|
|
*
|
|
|
|
* This library is distributed under the MIT License. See notice at the end of this file.
|
|
|
|
*/
|
|
|
|
/* clang-format off */
|
|
|
|
#ifndef VOLK_H_
|
|
|
|
#define VOLK_H_
|
|
|
|
|
|
|
|
#if defined(VULKAN_H_) && !defined(VK_NO_PROTOTYPES)
|
|
|
|
# error To use volk, you need to define VK_NO_PROTOTYPES before including vulkan.h
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* VOLK_GENERATE_VERSION_DEFINE */
|
2024-02-06 03:39:02 +08:00
|
|
|
#define VOLK_HEADER_VERSION 275
|
2021-08-12 19:24:54 +08:00
|
|
|
/* VOLK_GENERATE_VERSION_DEFINE */
|
|
|
|
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
|
|
# define VK_NO_PROTOTYPES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef VULKAN_H_
|
2023-06-06 13:19:51 +08:00
|
|
|
# ifdef VOLK_VULKAN_H_PATH
|
|
|
|
# include VOLK_VULKAN_H_PATH
|
2021-08-12 19:24:54 +08:00
|
|
|
# elif defined(VK_USE_PLATFORM_WIN32_KHR)
|
|
|
|
# include <vulkan/vk_platform.h>
|
|
|
|
# include <vulkan/vulkan_core.h>
|
|
|
|
|
|
|
|
/* When VK_USE_PLATFORM_WIN32_KHR is defined, instead of including vulkan.h directly, we include individual parts of the SDK
|
|
|
|
* This is necessary to avoid including <windows.h> which is very heavy - it takes 200ms to parse without WIN32_LEAN_AND_MEAN
|
|
|
|
* and 100ms to parse with it. vulkan_win32.h only needs a few symbols that are easy to redefine ourselves.
|
|
|
|
*/
|
|
|
|
typedef unsigned long DWORD;
|
|
|
|
typedef const wchar_t* LPCWSTR;
|
|
|
|
typedef void* HANDLE;
|
|
|
|
typedef struct HINSTANCE__* HINSTANCE;
|
|
|
|
typedef struct HWND__* HWND;
|
|
|
|
typedef struct HMONITOR__* HMONITOR;
|
|
|
|
typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
|
|
|
|
|
|
|
|
# include <vulkan/vulkan_win32.h>
|
|
|
|
|
|
|
|
# ifdef VK_ENABLE_BETA_EXTENSIONS
|
|
|
|
# include <vulkan/vulkan_beta.h>
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# include <vulkan/vulkan.h>
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2021-09-22 18:40:17 +08:00
|
|
|
/* Disable several extensions on earlier SDKs because later SDKs introduce a backwards incompatible change to function signatures */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if VK_HEADER_VERSION < 140
|
|
|
|
# undef VK_NVX_image_view_handle
|
|
|
|
#endif
|
2021-09-22 18:40:17 +08:00
|
|
|
#if VK_HEADER_VERSION < 184
|
|
|
|
# undef VK_HUAWEI_subpass_shading
|
|
|
|
#endif
|
2021-08-12 19:24:54 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct VolkDeviceTable;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize library by loading Vulkan loader; call this function before creating the Vulkan instance.
|
|
|
|
*
|
|
|
|
* Returns VK_SUCCESS on success and VK_ERROR_INITIALIZATION_FAILED otherwise.
|
|
|
|
*/
|
|
|
|
VkResult volkInitialize(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialize library by providing a custom handler to load global symbols.
|
|
|
|
*
|
|
|
|
* This function can be used instead of volkInitialize.
|
|
|
|
* The handler function pointer will be asked to load global Vulkan symbols which require no instance
|
|
|
|
* (such as vkCreateInstance, vkEnumerateInstance* and vkEnumerateInstanceVersion if available).
|
|
|
|
*/
|
|
|
|
void volkInitializeCustom(PFN_vkGetInstanceProcAddr handler);
|
|
|
|
|
2024-02-06 03:39:02 +08:00
|
|
|
/**
|
|
|
|
* Finalize library by unloading Vulkan loader and resetting global symbols to NULL.
|
|
|
|
*
|
|
|
|
* This function does not need to be called on process exit (as loader will be unloaded automatically) or if volkInitialize failed.
|
|
|
|
* In general this function is optional to call but may be useful in rare cases eg if volk needs to be reinitialized multiple times.
|
|
|
|
*/
|
|
|
|
void volkFinalize(void);
|
|
|
|
|
2021-08-12 19:24:54 +08:00
|
|
|
/**
|
|
|
|
* Get Vulkan instance version supported by the Vulkan loader, or 0 if Vulkan isn't supported
|
|
|
|
*
|
|
|
|
* Returns 0 if volkInitialize wasn't called or failed.
|
|
|
|
*/
|
|
|
|
uint32_t volkGetInstanceVersion(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load global function pointers using application-created VkInstance; call this function after creating the Vulkan instance.
|
|
|
|
*/
|
|
|
|
void volkLoadInstance(VkInstance instance);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load global function pointers using application-created VkInstance; call this function after creating the Vulkan instance.
|
|
|
|
* Skips loading device-based function pointers, requires usage of volkLoadDevice afterwards.
|
|
|
|
*/
|
|
|
|
void volkLoadInstanceOnly(VkInstance instance);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load global function pointers using application-created VkDevice; call this function after creating the Vulkan device.
|
|
|
|
*
|
|
|
|
* Note: this is not suitable for applications that want to use multiple VkDevice objects concurrently.
|
|
|
|
*/
|
|
|
|
void volkLoadDevice(VkDevice device);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return last VkInstance for which global function pointers have been loaded via volkLoadInstance(),
|
|
|
|
* or VK_NULL_HANDLE if volkLoadInstance() has not been called.
|
|
|
|
*/
|
|
|
|
VkInstance volkGetLoadedInstance(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return last VkDevice for which global function pointers have been loaded via volkLoadDevice(),
|
|
|
|
* or VK_NULL_HANDLE if volkLoadDevice() has not been called.
|
|
|
|
*/
|
|
|
|
VkDevice volkGetLoadedDevice(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load function pointers using application-created VkDevice into a table.
|
|
|
|
* Application should use function pointers from that table instead of using global function pointers.
|
|
|
|
*/
|
|
|
|
void volkLoadDeviceTable(struct VolkDeviceTable* table, VkDevice device);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Device-specific function pointer table
|
|
|
|
*/
|
|
|
|
struct VolkDeviceTable
|
|
|
|
{
|
|
|
|
/* VOLK_GENERATE_DEVICE_TABLE */
|
|
|
|
#if defined(VK_VERSION_1_0)
|
|
|
|
PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
|
|
|
|
PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
|
|
|
|
PFN_vkAllocateMemory vkAllocateMemory;
|
|
|
|
PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
|
|
|
|
PFN_vkBindBufferMemory vkBindBufferMemory;
|
|
|
|
PFN_vkBindImageMemory vkBindImageMemory;
|
|
|
|
PFN_vkCmdBeginQuery vkCmdBeginQuery;
|
|
|
|
PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass;
|
|
|
|
PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets;
|
|
|
|
PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer;
|
|
|
|
PFN_vkCmdBindPipeline vkCmdBindPipeline;
|
|
|
|
PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers;
|
|
|
|
PFN_vkCmdBlitImage vkCmdBlitImage;
|
|
|
|
PFN_vkCmdClearAttachments vkCmdClearAttachments;
|
|
|
|
PFN_vkCmdClearColorImage vkCmdClearColorImage;
|
|
|
|
PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage;
|
|
|
|
PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
|
|
|
|
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
|
|
|
|
PFN_vkCmdCopyImage vkCmdCopyImage;
|
|
|
|
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
|
|
|
|
PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults;
|
|
|
|
PFN_vkCmdDispatch vkCmdDispatch;
|
|
|
|
PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect;
|
|
|
|
PFN_vkCmdDraw vkCmdDraw;
|
|
|
|
PFN_vkCmdDrawIndexed vkCmdDrawIndexed;
|
|
|
|
PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect;
|
|
|
|
PFN_vkCmdDrawIndirect vkCmdDrawIndirect;
|
|
|
|
PFN_vkCmdEndQuery vkCmdEndQuery;
|
|
|
|
PFN_vkCmdEndRenderPass vkCmdEndRenderPass;
|
|
|
|
PFN_vkCmdExecuteCommands vkCmdExecuteCommands;
|
|
|
|
PFN_vkCmdFillBuffer vkCmdFillBuffer;
|
|
|
|
PFN_vkCmdNextSubpass vkCmdNextSubpass;
|
|
|
|
PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
|
|
|
|
PFN_vkCmdPushConstants vkCmdPushConstants;
|
|
|
|
PFN_vkCmdResetEvent vkCmdResetEvent;
|
|
|
|
PFN_vkCmdResetQueryPool vkCmdResetQueryPool;
|
|
|
|
PFN_vkCmdResolveImage vkCmdResolveImage;
|
|
|
|
PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants;
|
|
|
|
PFN_vkCmdSetDepthBias vkCmdSetDepthBias;
|
|
|
|
PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds;
|
|
|
|
PFN_vkCmdSetEvent vkCmdSetEvent;
|
|
|
|
PFN_vkCmdSetLineWidth vkCmdSetLineWidth;
|
|
|
|
PFN_vkCmdSetScissor vkCmdSetScissor;
|
|
|
|
PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask;
|
|
|
|
PFN_vkCmdSetStencilReference vkCmdSetStencilReference;
|
|
|
|
PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask;
|
|
|
|
PFN_vkCmdSetViewport vkCmdSetViewport;
|
|
|
|
PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer;
|
|
|
|
PFN_vkCmdWaitEvents vkCmdWaitEvents;
|
|
|
|
PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp;
|
|
|
|
PFN_vkCreateBuffer vkCreateBuffer;
|
|
|
|
PFN_vkCreateBufferView vkCreateBufferView;
|
|
|
|
PFN_vkCreateCommandPool vkCreateCommandPool;
|
|
|
|
PFN_vkCreateComputePipelines vkCreateComputePipelines;
|
|
|
|
PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
|
|
|
|
PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout;
|
|
|
|
PFN_vkCreateEvent vkCreateEvent;
|
|
|
|
PFN_vkCreateFence vkCreateFence;
|
|
|
|
PFN_vkCreateFramebuffer vkCreateFramebuffer;
|
|
|
|
PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines;
|
|
|
|
PFN_vkCreateImage vkCreateImage;
|
|
|
|
PFN_vkCreateImageView vkCreateImageView;
|
|
|
|
PFN_vkCreatePipelineCache vkCreatePipelineCache;
|
|
|
|
PFN_vkCreatePipelineLayout vkCreatePipelineLayout;
|
|
|
|
PFN_vkCreateQueryPool vkCreateQueryPool;
|
|
|
|
PFN_vkCreateRenderPass vkCreateRenderPass;
|
|
|
|
PFN_vkCreateSampler vkCreateSampler;
|
|
|
|
PFN_vkCreateSemaphore vkCreateSemaphore;
|
|
|
|
PFN_vkCreateShaderModule vkCreateShaderModule;
|
|
|
|
PFN_vkDestroyBuffer vkDestroyBuffer;
|
|
|
|
PFN_vkDestroyBufferView vkDestroyBufferView;
|
|
|
|
PFN_vkDestroyCommandPool vkDestroyCommandPool;
|
|
|
|
PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
|
|
|
|
PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout;
|
|
|
|
PFN_vkDestroyDevice vkDestroyDevice;
|
|
|
|
PFN_vkDestroyEvent vkDestroyEvent;
|
|
|
|
PFN_vkDestroyFence vkDestroyFence;
|
|
|
|
PFN_vkDestroyFramebuffer vkDestroyFramebuffer;
|
|
|
|
PFN_vkDestroyImage vkDestroyImage;
|
|
|
|
PFN_vkDestroyImageView vkDestroyImageView;
|
|
|
|
PFN_vkDestroyPipeline vkDestroyPipeline;
|
|
|
|
PFN_vkDestroyPipelineCache vkDestroyPipelineCache;
|
|
|
|
PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout;
|
|
|
|
PFN_vkDestroyQueryPool vkDestroyQueryPool;
|
|
|
|
PFN_vkDestroyRenderPass vkDestroyRenderPass;
|
|
|
|
PFN_vkDestroySampler vkDestroySampler;
|
|
|
|
PFN_vkDestroySemaphore vkDestroySemaphore;
|
|
|
|
PFN_vkDestroyShaderModule vkDestroyShaderModule;
|
|
|
|
PFN_vkDeviceWaitIdle vkDeviceWaitIdle;
|
|
|
|
PFN_vkEndCommandBuffer vkEndCommandBuffer;
|
|
|
|
PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
|
|
|
|
PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
|
|
|
|
PFN_vkFreeDescriptorSets vkFreeDescriptorSets;
|
|
|
|
PFN_vkFreeMemory vkFreeMemory;
|
|
|
|
PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
|
|
|
|
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment;
|
|
|
|
PFN_vkGetDeviceQueue vkGetDeviceQueue;
|
|
|
|
PFN_vkGetEventStatus vkGetEventStatus;
|
|
|
|
PFN_vkGetFenceStatus vkGetFenceStatus;
|
|
|
|
PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
|
|
|
|
PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements;
|
|
|
|
PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
|
|
|
|
PFN_vkGetPipelineCacheData vkGetPipelineCacheData;
|
|
|
|
PFN_vkGetQueryPoolResults vkGetQueryPoolResults;
|
|
|
|
PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity;
|
|
|
|
PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
|
|
|
|
PFN_vkMapMemory vkMapMemory;
|
|
|
|
PFN_vkMergePipelineCaches vkMergePipelineCaches;
|
|
|
|
PFN_vkQueueBindSparse vkQueueBindSparse;
|
|
|
|
PFN_vkQueueSubmit vkQueueSubmit;
|
|
|
|
PFN_vkQueueWaitIdle vkQueueWaitIdle;
|
|
|
|
PFN_vkResetCommandBuffer vkResetCommandBuffer;
|
|
|
|
PFN_vkResetCommandPool vkResetCommandPool;
|
|
|
|
PFN_vkResetDescriptorPool vkResetDescriptorPool;
|
|
|
|
PFN_vkResetEvent vkResetEvent;
|
|
|
|
PFN_vkResetFences vkResetFences;
|
|
|
|
PFN_vkSetEvent vkSetEvent;
|
|
|
|
PFN_vkUnmapMemory vkUnmapMemory;
|
|
|
|
PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets;
|
|
|
|
PFN_vkWaitForFences vkWaitForFences;
|
|
|
|
#endif /* defined(VK_VERSION_1_0) */
|
|
|
|
#if defined(VK_VERSION_1_1)
|
|
|
|
PFN_vkBindBufferMemory2 vkBindBufferMemory2;
|
|
|
|
PFN_vkBindImageMemory2 vkBindImageMemory2;
|
|
|
|
PFN_vkCmdDispatchBase vkCmdDispatchBase;
|
|
|
|
PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask;
|
|
|
|
PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate;
|
|
|
|
PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion;
|
|
|
|
PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate;
|
|
|
|
PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion;
|
|
|
|
PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2;
|
|
|
|
PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport;
|
|
|
|
PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures;
|
|
|
|
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2;
|
|
|
|
PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2;
|
|
|
|
PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2;
|
|
|
|
PFN_vkTrimCommandPool vkTrimCommandPool;
|
|
|
|
PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate;
|
|
|
|
#endif /* defined(VK_VERSION_1_1) */
|
|
|
|
#if defined(VK_VERSION_1_2)
|
|
|
|
PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2;
|
|
|
|
PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount;
|
|
|
|
PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount;
|
|
|
|
PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2;
|
|
|
|
PFN_vkCmdNextSubpass2 vkCmdNextSubpass2;
|
|
|
|
PFN_vkCreateRenderPass2 vkCreateRenderPass2;
|
|
|
|
PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress;
|
|
|
|
PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress;
|
|
|
|
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress;
|
|
|
|
PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue;
|
|
|
|
PFN_vkResetQueryPool vkResetQueryPool;
|
|
|
|
PFN_vkSignalSemaphore vkSignalSemaphore;
|
|
|
|
PFN_vkWaitSemaphores vkWaitSemaphores;
|
|
|
|
#endif /* defined(VK_VERSION_1_2) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_VERSION_1_3)
|
|
|
|
PFN_vkCmdBeginRendering vkCmdBeginRendering;
|
|
|
|
PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2;
|
|
|
|
PFN_vkCmdBlitImage2 vkCmdBlitImage2;
|
|
|
|
PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2;
|
|
|
|
PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2;
|
|
|
|
PFN_vkCmdCopyImage2 vkCmdCopyImage2;
|
|
|
|
PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2;
|
|
|
|
PFN_vkCmdEndRendering vkCmdEndRendering;
|
|
|
|
PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2;
|
|
|
|
PFN_vkCmdResetEvent2 vkCmdResetEvent2;
|
|
|
|
PFN_vkCmdResolveImage2 vkCmdResolveImage2;
|
|
|
|
PFN_vkCmdSetCullMode vkCmdSetCullMode;
|
|
|
|
PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable;
|
|
|
|
PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable;
|
|
|
|
PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp;
|
|
|
|
PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable;
|
|
|
|
PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable;
|
|
|
|
PFN_vkCmdSetEvent2 vkCmdSetEvent2;
|
|
|
|
PFN_vkCmdSetFrontFace vkCmdSetFrontFace;
|
|
|
|
PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable;
|
|
|
|
PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology;
|
|
|
|
PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable;
|
|
|
|
PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount;
|
|
|
|
PFN_vkCmdSetStencilOp vkCmdSetStencilOp;
|
|
|
|
PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable;
|
|
|
|
PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount;
|
|
|
|
PFN_vkCmdWaitEvents2 vkCmdWaitEvents2;
|
|
|
|
PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2;
|
|
|
|
PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot;
|
|
|
|
PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot;
|
|
|
|
PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements;
|
|
|
|
PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements;
|
|
|
|
PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements;
|
|
|
|
PFN_vkGetPrivateData vkGetPrivateData;
|
|
|
|
PFN_vkQueueSubmit2 vkQueueSubmit2;
|
|
|
|
PFN_vkSetPrivateData vkSetPrivateData;
|
|
|
|
#endif /* defined(VK_VERSION_1_3) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_AMDX_shader_enqueue)
|
|
|
|
PFN_vkCmdDispatchGraphAMDX vkCmdDispatchGraphAMDX;
|
|
|
|
PFN_vkCmdDispatchGraphIndirectAMDX vkCmdDispatchGraphIndirectAMDX;
|
|
|
|
PFN_vkCmdDispatchGraphIndirectCountAMDX vkCmdDispatchGraphIndirectCountAMDX;
|
|
|
|
PFN_vkCmdInitializeGraphScratchMemoryAMDX vkCmdInitializeGraphScratchMemoryAMDX;
|
|
|
|
PFN_vkCreateExecutionGraphPipelinesAMDX vkCreateExecutionGraphPipelinesAMDX;
|
|
|
|
PFN_vkGetExecutionGraphPipelineNodeIndexAMDX vkGetExecutionGraphPipelineNodeIndexAMDX;
|
|
|
|
PFN_vkGetExecutionGraphPipelineScratchSizeAMDX vkGetExecutionGraphPipelineScratchSizeAMDX;
|
|
|
|
#endif /* defined(VK_AMDX_shader_enqueue) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_AMD_buffer_marker)
|
|
|
|
PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD;
|
|
|
|
#endif /* defined(VK_AMD_buffer_marker) */
|
|
|
|
#if defined(VK_AMD_display_native_hdr)
|
|
|
|
PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD;
|
|
|
|
#endif /* defined(VK_AMD_display_native_hdr) */
|
|
|
|
#if defined(VK_AMD_draw_indirect_count)
|
|
|
|
PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD;
|
|
|
|
PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD;
|
|
|
|
#endif /* defined(VK_AMD_draw_indirect_count) */
|
|
|
|
#if defined(VK_AMD_shader_info)
|
|
|
|
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD;
|
|
|
|
#endif /* defined(VK_AMD_shader_info) */
|
|
|
|
#if defined(VK_ANDROID_external_memory_android_hardware_buffer)
|
|
|
|
PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
|
|
|
|
PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
|
|
|
|
#endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_attachment_feedback_loop_dynamic_state)
|
|
|
|
PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT vkCmdSetAttachmentFeedbackLoopEnableEXT;
|
|
|
|
#endif /* defined(VK_EXT_attachment_feedback_loop_dynamic_state) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_buffer_device_address)
|
|
|
|
PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT;
|
|
|
|
#endif /* defined(VK_EXT_buffer_device_address) */
|
|
|
|
#if defined(VK_EXT_calibrated_timestamps)
|
|
|
|
PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT;
|
|
|
|
#endif /* defined(VK_EXT_calibrated_timestamps) */
|
|
|
|
#if defined(VK_EXT_color_write_enable)
|
|
|
|
PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT;
|
|
|
|
#endif /* defined(VK_EXT_color_write_enable) */
|
|
|
|
#if defined(VK_EXT_conditional_rendering)
|
|
|
|
PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT;
|
|
|
|
PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT;
|
|
|
|
#endif /* defined(VK_EXT_conditional_rendering) */
|
|
|
|
#if defined(VK_EXT_debug_marker)
|
|
|
|
PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT;
|
|
|
|
PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT;
|
|
|
|
PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT;
|
|
|
|
PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT;
|
|
|
|
PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT;
|
|
|
|
#endif /* defined(VK_EXT_debug_marker) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_EXT_depth_bias_control)
|
|
|
|
PFN_vkCmdSetDepthBias2EXT vkCmdSetDepthBias2EXT;
|
|
|
|
#endif /* defined(VK_EXT_depth_bias_control) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_descriptor_buffer)
|
|
|
|
PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT vkCmdBindDescriptorBufferEmbeddedSamplersEXT;
|
|
|
|
PFN_vkCmdBindDescriptorBuffersEXT vkCmdBindDescriptorBuffersEXT;
|
|
|
|
PFN_vkCmdSetDescriptorBufferOffsetsEXT vkCmdSetDescriptorBufferOffsetsEXT;
|
|
|
|
PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT vkGetBufferOpaqueCaptureDescriptorDataEXT;
|
|
|
|
PFN_vkGetDescriptorEXT vkGetDescriptorEXT;
|
|
|
|
PFN_vkGetDescriptorSetLayoutBindingOffsetEXT vkGetDescriptorSetLayoutBindingOffsetEXT;
|
|
|
|
PFN_vkGetDescriptorSetLayoutSizeEXT vkGetDescriptorSetLayoutSizeEXT;
|
|
|
|
PFN_vkGetImageOpaqueCaptureDescriptorDataEXT vkGetImageOpaqueCaptureDescriptorDataEXT;
|
|
|
|
PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT vkGetImageViewOpaqueCaptureDescriptorDataEXT;
|
|
|
|
PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT vkGetSamplerOpaqueCaptureDescriptorDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_descriptor_buffer) */
|
|
|
|
#if defined(VK_EXT_descriptor_buffer) && (defined(VK_KHR_acceleration_structure) || defined(VK_NV_ray_tracing))
|
|
|
|
PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_descriptor_buffer) && (defined(VK_KHR_acceleration_structure) || defined(VK_NV_ray_tracing)) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_device_fault)
|
|
|
|
PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT;
|
|
|
|
#endif /* defined(VK_EXT_device_fault) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_discard_rectangles)
|
|
|
|
PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT;
|
|
|
|
#endif /* defined(VK_EXT_discard_rectangles) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_discard_rectangles) && VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION >= 2
|
|
|
|
PFN_vkCmdSetDiscardRectangleEnableEXT vkCmdSetDiscardRectangleEnableEXT;
|
|
|
|
PFN_vkCmdSetDiscardRectangleModeEXT vkCmdSetDiscardRectangleModeEXT;
|
|
|
|
#endif /* defined(VK_EXT_discard_rectangles) && VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION >= 2 */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_display_control)
|
|
|
|
PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT;
|
|
|
|
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT;
|
|
|
|
PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT;
|
|
|
|
PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT;
|
|
|
|
#endif /* defined(VK_EXT_display_control) */
|
|
|
|
#if defined(VK_EXT_external_memory_host)
|
|
|
|
PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_external_memory_host) */
|
|
|
|
#if defined(VK_EXT_full_screen_exclusive)
|
|
|
|
PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT;
|
|
|
|
PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT;
|
|
|
|
#endif /* defined(VK_EXT_full_screen_exclusive) */
|
|
|
|
#if defined(VK_EXT_hdr_metadata)
|
|
|
|
PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT;
|
|
|
|
#endif /* defined(VK_EXT_hdr_metadata) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_EXT_host_image_copy)
|
|
|
|
PFN_vkCopyImageToImageEXT vkCopyImageToImageEXT;
|
|
|
|
PFN_vkCopyImageToMemoryEXT vkCopyImageToMemoryEXT;
|
|
|
|
PFN_vkCopyMemoryToImageEXT vkCopyMemoryToImageEXT;
|
|
|
|
PFN_vkTransitionImageLayoutEXT vkTransitionImageLayoutEXT;
|
|
|
|
#endif /* defined(VK_EXT_host_image_copy) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_host_query_reset)
|
|
|
|
PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT;
|
|
|
|
#endif /* defined(VK_EXT_host_query_reset) */
|
|
|
|
#if defined(VK_EXT_image_drm_format_modifier)
|
|
|
|
PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_image_drm_format_modifier) */
|
|
|
|
#if defined(VK_EXT_line_rasterization)
|
|
|
|
PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT;
|
|
|
|
#endif /* defined(VK_EXT_line_rasterization) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_mesh_shader)
|
|
|
|
PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT;
|
|
|
|
PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT;
|
|
|
|
PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT;
|
|
|
|
#endif /* defined(VK_EXT_mesh_shader) */
|
|
|
|
#if defined(VK_EXT_metal_objects)
|
|
|
|
PFN_vkExportMetalObjectsEXT vkExportMetalObjectsEXT;
|
|
|
|
#endif /* defined(VK_EXT_metal_objects) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_multi_draw)
|
|
|
|
PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT;
|
|
|
|
PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT;
|
|
|
|
#endif /* defined(VK_EXT_multi_draw) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_opacity_micromap)
|
|
|
|
PFN_vkBuildMicromapsEXT vkBuildMicromapsEXT;
|
|
|
|
PFN_vkCmdBuildMicromapsEXT vkCmdBuildMicromapsEXT;
|
|
|
|
PFN_vkCmdCopyMemoryToMicromapEXT vkCmdCopyMemoryToMicromapEXT;
|
|
|
|
PFN_vkCmdCopyMicromapEXT vkCmdCopyMicromapEXT;
|
|
|
|
PFN_vkCmdCopyMicromapToMemoryEXT vkCmdCopyMicromapToMemoryEXT;
|
|
|
|
PFN_vkCmdWriteMicromapsPropertiesEXT vkCmdWriteMicromapsPropertiesEXT;
|
|
|
|
PFN_vkCopyMemoryToMicromapEXT vkCopyMemoryToMicromapEXT;
|
|
|
|
PFN_vkCopyMicromapEXT vkCopyMicromapEXT;
|
|
|
|
PFN_vkCopyMicromapToMemoryEXT vkCopyMicromapToMemoryEXT;
|
|
|
|
PFN_vkCreateMicromapEXT vkCreateMicromapEXT;
|
|
|
|
PFN_vkDestroyMicromapEXT vkDestroyMicromapEXT;
|
|
|
|
PFN_vkGetDeviceMicromapCompatibilityEXT vkGetDeviceMicromapCompatibilityEXT;
|
|
|
|
PFN_vkGetMicromapBuildSizesEXT vkGetMicromapBuildSizesEXT;
|
|
|
|
PFN_vkWriteMicromapsPropertiesEXT vkWriteMicromapsPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_opacity_micromap) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_EXT_pageable_device_local_memory)
|
|
|
|
PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT;
|
|
|
|
#endif /* defined(VK_EXT_pageable_device_local_memory) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_pipeline_properties)
|
|
|
|
PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_pipeline_properties) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_private_data)
|
|
|
|
PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT;
|
|
|
|
PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT;
|
|
|
|
PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT;
|
|
|
|
PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_private_data) */
|
|
|
|
#if defined(VK_EXT_sample_locations)
|
|
|
|
PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT;
|
|
|
|
#endif /* defined(VK_EXT_sample_locations) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_shader_module_identifier)
|
|
|
|
PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT;
|
|
|
|
PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT;
|
|
|
|
#endif /* defined(VK_EXT_shader_module_identifier) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_shader_object)
|
|
|
|
PFN_vkCmdBindShadersEXT vkCmdBindShadersEXT;
|
|
|
|
PFN_vkCreateShadersEXT vkCreateShadersEXT;
|
|
|
|
PFN_vkDestroyShaderEXT vkDestroyShaderEXT;
|
|
|
|
PFN_vkGetShaderBinaryDataEXT vkGetShaderBinaryDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_shader_object) */
|
|
|
|
#if defined(VK_EXT_swapchain_maintenance1)
|
|
|
|
PFN_vkReleaseSwapchainImagesEXT vkReleaseSwapchainImagesEXT;
|
|
|
|
#endif /* defined(VK_EXT_swapchain_maintenance1) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_transform_feedback)
|
|
|
|
PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT;
|
|
|
|
PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT;
|
|
|
|
PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT;
|
|
|
|
PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT;
|
|
|
|
PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT;
|
|
|
|
PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT;
|
|
|
|
#endif /* defined(VK_EXT_transform_feedback) */
|
|
|
|
#if defined(VK_EXT_validation_cache)
|
|
|
|
PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT;
|
|
|
|
PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT;
|
|
|
|
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT;
|
|
|
|
PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT;
|
|
|
|
#endif /* defined(VK_EXT_validation_cache) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_FUCHSIA_buffer_collection)
|
|
|
|
PFN_vkCreateBufferCollectionFUCHSIA vkCreateBufferCollectionFUCHSIA;
|
|
|
|
PFN_vkDestroyBufferCollectionFUCHSIA vkDestroyBufferCollectionFUCHSIA;
|
|
|
|
PFN_vkGetBufferCollectionPropertiesFUCHSIA vkGetBufferCollectionPropertiesFUCHSIA;
|
|
|
|
PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA vkSetBufferCollectionBufferConstraintsFUCHSIA;
|
|
|
|
PFN_vkSetBufferCollectionImageConstraintsFUCHSIA vkSetBufferCollectionImageConstraintsFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_buffer_collection) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_FUCHSIA_external_memory)
|
|
|
|
PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA;
|
|
|
|
PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_external_memory) */
|
|
|
|
#if defined(VK_FUCHSIA_external_semaphore)
|
|
|
|
PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA;
|
|
|
|
PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_external_semaphore) */
|
|
|
|
#if defined(VK_GOOGLE_display_timing)
|
|
|
|
PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE;
|
|
|
|
PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE;
|
|
|
|
#endif /* defined(VK_GOOGLE_display_timing) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_HUAWEI_cluster_culling_shader)
|
|
|
|
PFN_vkCmdDrawClusterHUAWEI vkCmdDrawClusterHUAWEI;
|
|
|
|
PFN_vkCmdDrawClusterIndirectHUAWEI vkCmdDrawClusterIndirectHUAWEI;
|
|
|
|
#endif /* defined(VK_HUAWEI_cluster_culling_shader) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_HUAWEI_invocation_mask)
|
|
|
|
PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI;
|
|
|
|
#endif /* defined(VK_HUAWEI_invocation_mask) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_HUAWEI_subpass_shading)
|
|
|
|
PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI;
|
2021-09-22 18:40:17 +08:00
|
|
|
PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
|
2021-08-12 19:24:54 +08:00
|
|
|
#endif /* defined(VK_HUAWEI_subpass_shading) */
|
|
|
|
#if defined(VK_INTEL_performance_query)
|
|
|
|
PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL;
|
|
|
|
PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL;
|
|
|
|
PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL;
|
|
|
|
PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL;
|
|
|
|
PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL;
|
|
|
|
PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL;
|
|
|
|
PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL;
|
|
|
|
PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL;
|
|
|
|
PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL;
|
|
|
|
#endif /* defined(VK_INTEL_performance_query) */
|
|
|
|
#if defined(VK_KHR_acceleration_structure)
|
|
|
|
PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR;
|
|
|
|
PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR;
|
|
|
|
PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR;
|
|
|
|
PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR;
|
|
|
|
PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR;
|
|
|
|
PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR;
|
|
|
|
PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR;
|
|
|
|
PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR;
|
|
|
|
PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR;
|
|
|
|
PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR;
|
|
|
|
PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR;
|
|
|
|
PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR;
|
|
|
|
PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR;
|
|
|
|
PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR;
|
|
|
|
PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR;
|
|
|
|
PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_acceleration_structure) */
|
|
|
|
#if defined(VK_KHR_bind_memory2)
|
|
|
|
PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR;
|
|
|
|
PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR;
|
|
|
|
#endif /* defined(VK_KHR_bind_memory2) */
|
|
|
|
#if defined(VK_KHR_buffer_device_address)
|
|
|
|
PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR;
|
|
|
|
PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR;
|
|
|
|
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR;
|
|
|
|
#endif /* defined(VK_KHR_buffer_device_address) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_KHR_calibrated_timestamps)
|
|
|
|
PFN_vkGetCalibratedTimestampsKHR vkGetCalibratedTimestampsKHR;
|
|
|
|
#endif /* defined(VK_KHR_calibrated_timestamps) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_copy_commands2)
|
|
|
|
PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR;
|
|
|
|
PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR;
|
|
|
|
PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR;
|
|
|
|
PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR;
|
|
|
|
PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR;
|
|
|
|
PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR;
|
|
|
|
#endif /* defined(VK_KHR_copy_commands2) */
|
|
|
|
#if defined(VK_KHR_create_renderpass2)
|
|
|
|
PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR;
|
|
|
|
PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR;
|
|
|
|
PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR;
|
|
|
|
PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR;
|
|
|
|
#endif /* defined(VK_KHR_create_renderpass2) */
|
|
|
|
#if defined(VK_KHR_deferred_host_operations)
|
|
|
|
PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR;
|
|
|
|
PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR;
|
|
|
|
PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR;
|
|
|
|
PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR;
|
|
|
|
PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR;
|
|
|
|
#endif /* defined(VK_KHR_deferred_host_operations) */
|
|
|
|
#if defined(VK_KHR_descriptor_update_template)
|
|
|
|
PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR;
|
|
|
|
PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR;
|
|
|
|
PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR;
|
|
|
|
#endif /* defined(VK_KHR_descriptor_update_template) */
|
|
|
|
#if defined(VK_KHR_device_group)
|
|
|
|
PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR;
|
|
|
|
PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR;
|
|
|
|
PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR;
|
|
|
|
#endif /* defined(VK_KHR_device_group) */
|
|
|
|
#if defined(VK_KHR_display_swapchain)
|
|
|
|
PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR;
|
|
|
|
#endif /* defined(VK_KHR_display_swapchain) */
|
|
|
|
#if defined(VK_KHR_draw_indirect_count)
|
|
|
|
PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR;
|
|
|
|
PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR;
|
|
|
|
#endif /* defined(VK_KHR_draw_indirect_count) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_KHR_dynamic_rendering)
|
|
|
|
PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR;
|
|
|
|
PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR;
|
|
|
|
#endif /* defined(VK_KHR_dynamic_rendering) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_external_fence_fd)
|
|
|
|
PFN_vkGetFenceFdKHR vkGetFenceFdKHR;
|
|
|
|
PFN_vkImportFenceFdKHR vkImportFenceFdKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_fence_fd) */
|
|
|
|
#if defined(VK_KHR_external_fence_win32)
|
|
|
|
PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR;
|
|
|
|
PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_fence_win32) */
|
|
|
|
#if defined(VK_KHR_external_memory_fd)
|
|
|
|
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR;
|
|
|
|
PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_memory_fd) */
|
|
|
|
#if defined(VK_KHR_external_memory_win32)
|
|
|
|
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
|
|
|
|
PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_memory_win32) */
|
|
|
|
#if defined(VK_KHR_external_semaphore_fd)
|
|
|
|
PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
|
|
|
|
PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_semaphore_fd) */
|
|
|
|
#if defined(VK_KHR_external_semaphore_win32)
|
|
|
|
PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR;
|
|
|
|
PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_semaphore_win32) */
|
|
|
|
#if defined(VK_KHR_fragment_shading_rate)
|
|
|
|
PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR;
|
|
|
|
#endif /* defined(VK_KHR_fragment_shading_rate) */
|
|
|
|
#if defined(VK_KHR_get_memory_requirements2)
|
|
|
|
PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR;
|
|
|
|
PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR;
|
|
|
|
PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR;
|
|
|
|
#endif /* defined(VK_KHR_get_memory_requirements2) */
|
|
|
|
#if defined(VK_KHR_maintenance1)
|
|
|
|
PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance1) */
|
|
|
|
#if defined(VK_KHR_maintenance3)
|
|
|
|
PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance3) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_KHR_maintenance4)
|
|
|
|
PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR;
|
|
|
|
PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR;
|
|
|
|
PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance4) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_KHR_maintenance5)
|
|
|
|
PFN_vkCmdBindIndexBuffer2KHR vkCmdBindIndexBuffer2KHR;
|
|
|
|
PFN_vkGetDeviceImageSubresourceLayoutKHR vkGetDeviceImageSubresourceLayoutKHR;
|
|
|
|
PFN_vkGetImageSubresourceLayout2KHR vkGetImageSubresourceLayout2KHR;
|
|
|
|
PFN_vkGetRenderingAreaGranularityKHR vkGetRenderingAreaGranularityKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance5) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_KHR_maintenance6)
|
|
|
|
PFN_vkCmdBindDescriptorSets2KHR vkCmdBindDescriptorSets2KHR;
|
|
|
|
PFN_vkCmdPushConstants2KHR vkCmdPushConstants2KHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) */
|
|
|
|
#if defined(VK_KHR_maintenance6) && defined(VK_KHR_push_descriptor)
|
|
|
|
PFN_vkCmdPushDescriptorSet2KHR vkCmdPushDescriptorSet2KHR;
|
|
|
|
PFN_vkCmdPushDescriptorSetWithTemplate2KHR vkCmdPushDescriptorSetWithTemplate2KHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) && defined(VK_KHR_push_descriptor) */
|
|
|
|
#if defined(VK_KHR_maintenance6) && defined(VK_EXT_descriptor_buffer)
|
|
|
|
PFN_vkCmdBindDescriptorBufferEmbeddedSamplers2EXT vkCmdBindDescriptorBufferEmbeddedSamplers2EXT;
|
|
|
|
PFN_vkCmdSetDescriptorBufferOffsets2EXT vkCmdSetDescriptorBufferOffsets2EXT;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) && defined(VK_EXT_descriptor_buffer) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_KHR_map_memory2)
|
|
|
|
PFN_vkMapMemory2KHR vkMapMemory2KHR;
|
|
|
|
PFN_vkUnmapMemory2KHR vkUnmapMemory2KHR;
|
|
|
|
#endif /* defined(VK_KHR_map_memory2) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_performance_query)
|
|
|
|
PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR;
|
|
|
|
PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR;
|
|
|
|
#endif /* defined(VK_KHR_performance_query) */
|
|
|
|
#if defined(VK_KHR_pipeline_executable_properties)
|
|
|
|
PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR;
|
|
|
|
PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR;
|
|
|
|
PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR;
|
|
|
|
#endif /* defined(VK_KHR_pipeline_executable_properties) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_KHR_present_wait)
|
|
|
|
PFN_vkWaitForPresentKHR vkWaitForPresentKHR;
|
|
|
|
#endif /* defined(VK_KHR_present_wait) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_push_descriptor)
|
|
|
|
PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR;
|
|
|
|
#endif /* defined(VK_KHR_push_descriptor) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
|
|
|
|
PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR;
|
|
|
|
#endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_ray_tracing_pipeline)
|
|
|
|
PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR;
|
|
|
|
PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR;
|
|
|
|
PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR;
|
|
|
|
PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR;
|
|
|
|
PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
|
|
|
|
PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR;
|
|
|
|
PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR;
|
|
|
|
#endif /* defined(VK_KHR_ray_tracing_pipeline) */
|
|
|
|
#if defined(VK_KHR_sampler_ycbcr_conversion)
|
|
|
|
PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR;
|
|
|
|
PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR;
|
|
|
|
#endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
|
|
|
|
#if defined(VK_KHR_shared_presentable_image)
|
|
|
|
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR;
|
|
|
|
#endif /* defined(VK_KHR_shared_presentable_image) */
|
|
|
|
#if defined(VK_KHR_swapchain)
|
|
|
|
PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR;
|
|
|
|
PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR;
|
|
|
|
PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR;
|
|
|
|
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR;
|
|
|
|
PFN_vkQueuePresentKHR vkQueuePresentKHR;
|
|
|
|
#endif /* defined(VK_KHR_swapchain) */
|
|
|
|
#if defined(VK_KHR_synchronization2)
|
|
|
|
PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR;
|
|
|
|
PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR;
|
|
|
|
PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR;
|
|
|
|
PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR;
|
|
|
|
PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR;
|
|
|
|
PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) */
|
|
|
|
#if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
|
|
|
|
PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
|
|
|
|
#if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
|
|
|
|
PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
|
|
|
|
#if defined(VK_KHR_timeline_semaphore)
|
|
|
|
PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR;
|
|
|
|
PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR;
|
|
|
|
PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR;
|
|
|
|
#endif /* defined(VK_KHR_timeline_semaphore) */
|
|
|
|
#if defined(VK_KHR_video_decode_queue)
|
|
|
|
PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR;
|
|
|
|
#endif /* defined(VK_KHR_video_decode_queue) */
|
|
|
|
#if defined(VK_KHR_video_encode_queue)
|
|
|
|
PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR;
|
2023-09-01 17:11:12 +08:00
|
|
|
PFN_vkGetEncodedVideoSessionParametersKHR vkGetEncodedVideoSessionParametersKHR;
|
2021-08-12 19:24:54 +08:00
|
|
|
#endif /* defined(VK_KHR_video_encode_queue) */
|
|
|
|
#if defined(VK_KHR_video_queue)
|
|
|
|
PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR;
|
|
|
|
PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR;
|
|
|
|
PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR;
|
|
|
|
PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR;
|
|
|
|
PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR;
|
|
|
|
PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR;
|
|
|
|
PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR;
|
|
|
|
PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR;
|
|
|
|
PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR;
|
|
|
|
PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR;
|
|
|
|
#endif /* defined(VK_KHR_video_queue) */
|
|
|
|
#if defined(VK_NVX_binary_import)
|
|
|
|
PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX;
|
|
|
|
PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX;
|
|
|
|
PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX;
|
|
|
|
PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX;
|
|
|
|
PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX;
|
|
|
|
#endif /* defined(VK_NVX_binary_import) */
|
|
|
|
#if defined(VK_NVX_image_view_handle)
|
|
|
|
PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX;
|
|
|
|
PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX;
|
|
|
|
#endif /* defined(VK_NVX_image_view_handle) */
|
|
|
|
#if defined(VK_NV_clip_space_w_scaling)
|
|
|
|
PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV;
|
|
|
|
#endif /* defined(VK_NV_clip_space_w_scaling) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_copy_memory_indirect)
|
|
|
|
PFN_vkCmdCopyMemoryIndirectNV vkCmdCopyMemoryIndirectNV;
|
|
|
|
PFN_vkCmdCopyMemoryToImageIndirectNV vkCmdCopyMemoryToImageIndirectNV;
|
|
|
|
#endif /* defined(VK_NV_copy_memory_indirect) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_NV_cuda_kernel_launch)
|
|
|
|
PFN_vkCmdCudaLaunchKernelNV vkCmdCudaLaunchKernelNV;
|
|
|
|
PFN_vkCreateCudaFunctionNV vkCreateCudaFunctionNV;
|
|
|
|
PFN_vkCreateCudaModuleNV vkCreateCudaModuleNV;
|
|
|
|
PFN_vkDestroyCudaFunctionNV vkDestroyCudaFunctionNV;
|
|
|
|
PFN_vkDestroyCudaModuleNV vkDestroyCudaModuleNV;
|
|
|
|
PFN_vkGetCudaModuleCacheNV vkGetCudaModuleCacheNV;
|
|
|
|
#endif /* defined(VK_NV_cuda_kernel_launch) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_device_diagnostic_checkpoints)
|
|
|
|
PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV;
|
|
|
|
PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV;
|
|
|
|
#endif /* defined(VK_NV_device_diagnostic_checkpoints) */
|
|
|
|
#if defined(VK_NV_device_generated_commands)
|
|
|
|
PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV;
|
|
|
|
PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV;
|
|
|
|
PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV;
|
|
|
|
PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV;
|
|
|
|
PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV;
|
|
|
|
PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV;
|
|
|
|
#endif /* defined(VK_NV_device_generated_commands) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_NV_device_generated_commands_compute)
|
|
|
|
PFN_vkCmdUpdatePipelineIndirectBufferNV vkCmdUpdatePipelineIndirectBufferNV;
|
|
|
|
PFN_vkGetPipelineIndirectDeviceAddressNV vkGetPipelineIndirectDeviceAddressNV;
|
|
|
|
PFN_vkGetPipelineIndirectMemoryRequirementsNV vkGetPipelineIndirectMemoryRequirementsNV;
|
|
|
|
#endif /* defined(VK_NV_device_generated_commands_compute) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_NV_external_memory_rdma)
|
|
|
|
PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV;
|
|
|
|
#endif /* defined(VK_NV_external_memory_rdma) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_external_memory_win32)
|
|
|
|
PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV;
|
|
|
|
#endif /* defined(VK_NV_external_memory_win32) */
|
|
|
|
#if defined(VK_NV_fragment_shading_rate_enums)
|
|
|
|
PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV;
|
|
|
|
#endif /* defined(VK_NV_fragment_shading_rate_enums) */
|
2024-01-12 07:27:30 +08:00
|
|
|
#if defined(VK_NV_low_latency2)
|
|
|
|
PFN_vkGetLatencyTimingsNV vkGetLatencyTimingsNV;
|
|
|
|
PFN_vkLatencySleepNV vkLatencySleepNV;
|
|
|
|
PFN_vkQueueNotifyOutOfBandNV vkQueueNotifyOutOfBandNV;
|
|
|
|
PFN_vkSetLatencyMarkerNV vkSetLatencyMarkerNV;
|
|
|
|
PFN_vkSetLatencySleepModeNV vkSetLatencySleepModeNV;
|
|
|
|
#endif /* defined(VK_NV_low_latency2) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_memory_decompression)
|
|
|
|
PFN_vkCmdDecompressMemoryIndirectCountNV vkCmdDecompressMemoryIndirectCountNV;
|
|
|
|
PFN_vkCmdDecompressMemoryNV vkCmdDecompressMemoryNV;
|
|
|
|
#endif /* defined(VK_NV_memory_decompression) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_mesh_shader)
|
|
|
|
PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV;
|
|
|
|
PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV;
|
|
|
|
PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV;
|
|
|
|
#endif /* defined(VK_NV_mesh_shader) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_NV_optical_flow)
|
|
|
|
PFN_vkBindOpticalFlowSessionImageNV vkBindOpticalFlowSessionImageNV;
|
|
|
|
PFN_vkCmdOpticalFlowExecuteNV vkCmdOpticalFlowExecuteNV;
|
|
|
|
PFN_vkCreateOpticalFlowSessionNV vkCreateOpticalFlowSessionNV;
|
|
|
|
PFN_vkDestroyOpticalFlowSessionNV vkDestroyOpticalFlowSessionNV;
|
|
|
|
#endif /* defined(VK_NV_optical_flow) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_ray_tracing)
|
|
|
|
PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV;
|
|
|
|
PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV;
|
|
|
|
PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV;
|
|
|
|
PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV;
|
|
|
|
PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV;
|
|
|
|
PFN_vkCompileDeferredNV vkCompileDeferredNV;
|
|
|
|
PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV;
|
|
|
|
PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV;
|
|
|
|
PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV;
|
|
|
|
PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV;
|
|
|
|
PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV;
|
|
|
|
PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV;
|
|
|
|
#endif /* defined(VK_NV_ray_tracing) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_scissor_exclusive) && VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION >= 2
|
|
|
|
PFN_vkCmdSetExclusiveScissorEnableNV vkCmdSetExclusiveScissorEnableNV;
|
|
|
|
#endif /* defined(VK_NV_scissor_exclusive) && VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION >= 2 */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_scissor_exclusive)
|
|
|
|
PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV;
|
|
|
|
#endif /* defined(VK_NV_scissor_exclusive) */
|
|
|
|
#if defined(VK_NV_shading_rate_image)
|
|
|
|
PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV;
|
|
|
|
PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV;
|
|
|
|
PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV;
|
|
|
|
#endif /* defined(VK_NV_shading_rate_image) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_QCOM_tile_properties)
|
|
|
|
PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM;
|
|
|
|
PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM;
|
|
|
|
#endif /* defined(VK_QCOM_tile_properties) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_QNX_external_memory_screen_buffer)
|
|
|
|
PFN_vkGetScreenBufferPropertiesQNX vkGetScreenBufferPropertiesQNX;
|
|
|
|
#endif /* defined(VK_QNX_external_memory_screen_buffer) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_VALVE_descriptor_set_host_mapping)
|
|
|
|
PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE;
|
|
|
|
PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE;
|
|
|
|
#endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if (defined(VK_EXT_extended_dynamic_state)) || (defined(VK_EXT_shader_object))
|
|
|
|
PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT;
|
|
|
|
PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT;
|
|
|
|
PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT;
|
|
|
|
PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT;
|
|
|
|
PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT;
|
|
|
|
PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT;
|
|
|
|
PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT;
|
|
|
|
PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT;
|
|
|
|
PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT;
|
|
|
|
PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT;
|
|
|
|
PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT;
|
|
|
|
PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state)) || (defined(VK_EXT_shader_object)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state2)) || (defined(VK_EXT_shader_object))
|
|
|
|
PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT;
|
|
|
|
PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT;
|
|
|
|
PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT;
|
|
|
|
PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT;
|
|
|
|
PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state2)) || (defined(VK_EXT_shader_object)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3)) || (defined(VK_EXT_shader_object))
|
|
|
|
PFN_vkCmdSetAlphaToCoverageEnableEXT vkCmdSetAlphaToCoverageEnableEXT;
|
|
|
|
PFN_vkCmdSetAlphaToOneEnableEXT vkCmdSetAlphaToOneEnableEXT;
|
|
|
|
PFN_vkCmdSetColorBlendAdvancedEXT vkCmdSetColorBlendAdvancedEXT;
|
|
|
|
PFN_vkCmdSetColorBlendEnableEXT vkCmdSetColorBlendEnableEXT;
|
|
|
|
PFN_vkCmdSetColorBlendEquationEXT vkCmdSetColorBlendEquationEXT;
|
|
|
|
PFN_vkCmdSetColorWriteMaskEXT vkCmdSetColorWriteMaskEXT;
|
|
|
|
PFN_vkCmdSetConservativeRasterizationModeEXT vkCmdSetConservativeRasterizationModeEXT;
|
|
|
|
PFN_vkCmdSetDepthClampEnableEXT vkCmdSetDepthClampEnableEXT;
|
|
|
|
PFN_vkCmdSetDepthClipEnableEXT vkCmdSetDepthClipEnableEXT;
|
|
|
|
PFN_vkCmdSetDepthClipNegativeOneToOneEXT vkCmdSetDepthClipNegativeOneToOneEXT;
|
|
|
|
PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT vkCmdSetExtraPrimitiveOverestimationSizeEXT;
|
|
|
|
PFN_vkCmdSetLineRasterizationModeEXT vkCmdSetLineRasterizationModeEXT;
|
|
|
|
PFN_vkCmdSetLineStippleEnableEXT vkCmdSetLineStippleEnableEXT;
|
|
|
|
PFN_vkCmdSetLogicOpEnableEXT vkCmdSetLogicOpEnableEXT;
|
|
|
|
PFN_vkCmdSetPolygonModeEXT vkCmdSetPolygonModeEXT;
|
|
|
|
PFN_vkCmdSetProvokingVertexModeEXT vkCmdSetProvokingVertexModeEXT;
|
|
|
|
PFN_vkCmdSetRasterizationSamplesEXT vkCmdSetRasterizationSamplesEXT;
|
|
|
|
PFN_vkCmdSetRasterizationStreamEXT vkCmdSetRasterizationStreamEXT;
|
|
|
|
PFN_vkCmdSetSampleLocationsEnableEXT vkCmdSetSampleLocationsEnableEXT;
|
|
|
|
PFN_vkCmdSetSampleMaskEXT vkCmdSetSampleMaskEXT;
|
|
|
|
PFN_vkCmdSetTessellationDomainOriginEXT vkCmdSetTessellationDomainOriginEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3)) || (defined(VK_EXT_shader_object)) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling))
|
|
|
|
PFN_vkCmdSetViewportWScalingEnableNV vkCmdSetViewportWScalingEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle))
|
|
|
|
PFN_vkCmdSetViewportSwizzleNV vkCmdSetViewportSwizzleNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color))
|
|
|
|
PFN_vkCmdSetCoverageToColorEnableNV vkCmdSetCoverageToColorEnableNV;
|
|
|
|
PFN_vkCmdSetCoverageToColorLocationNV vkCmdSetCoverageToColorLocationNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples))
|
|
|
|
PFN_vkCmdSetCoverageModulationModeNV vkCmdSetCoverageModulationModeNV;
|
|
|
|
PFN_vkCmdSetCoverageModulationTableEnableNV vkCmdSetCoverageModulationTableEnableNV;
|
|
|
|
PFN_vkCmdSetCoverageModulationTableNV vkCmdSetCoverageModulationTableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image))
|
|
|
|
PFN_vkCmdSetShadingRateImageEnableNV vkCmdSetShadingRateImageEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test))
|
|
|
|
PFN_vkCmdSetRepresentativeFragmentTestEnableNV vkCmdSetRepresentativeFragmentTestEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode))
|
|
|
|
PFN_vkCmdSetCoverageReductionModeNV vkCmdSetCoverageReductionModeNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode)) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
|
|
|
|
PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT;
|
|
|
|
#endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if (defined(VK_EXT_host_image_copy)) || (defined(VK_EXT_image_compression_control))
|
|
|
|
PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT;
|
|
|
|
#endif /* (defined(VK_EXT_host_image_copy)) || (defined(VK_EXT_image_compression_control)) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if (defined(VK_EXT_shader_object)) || (defined(VK_EXT_vertex_input_dynamic_state))
|
|
|
|
PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT;
|
|
|
|
#endif /* (defined(VK_EXT_shader_object)) || (defined(VK_EXT_vertex_input_dynamic_state)) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template))
|
|
|
|
PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR;
|
|
|
|
#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */
|
|
|
|
#if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
|
|
|
|
PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR;
|
|
|
|
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR;
|
|
|
|
#endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
|
|
|
|
#if (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
|
|
|
|
PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR;
|
|
|
|
#endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
|
|
|
|
/* VOLK_GENERATE_DEVICE_TABLE */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* VOLK_GENERATE_PROTOTYPES_H */
|
|
|
|
#if defined(VK_VERSION_1_0)
|
|
|
|
extern PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
|
|
|
|
extern PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
|
|
|
|
extern PFN_vkAllocateMemory vkAllocateMemory;
|
|
|
|
extern PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
|
|
|
|
extern PFN_vkBindBufferMemory vkBindBufferMemory;
|
|
|
|
extern PFN_vkBindImageMemory vkBindImageMemory;
|
|
|
|
extern PFN_vkCmdBeginQuery vkCmdBeginQuery;
|
|
|
|
extern PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass;
|
|
|
|
extern PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets;
|
|
|
|
extern PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer;
|
|
|
|
extern PFN_vkCmdBindPipeline vkCmdBindPipeline;
|
|
|
|
extern PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers;
|
|
|
|
extern PFN_vkCmdBlitImage vkCmdBlitImage;
|
|
|
|
extern PFN_vkCmdClearAttachments vkCmdClearAttachments;
|
|
|
|
extern PFN_vkCmdClearColorImage vkCmdClearColorImage;
|
|
|
|
extern PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage;
|
|
|
|
extern PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
|
|
|
|
extern PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
|
|
|
|
extern PFN_vkCmdCopyImage vkCmdCopyImage;
|
|
|
|
extern PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
|
|
|
|
extern PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults;
|
|
|
|
extern PFN_vkCmdDispatch vkCmdDispatch;
|
|
|
|
extern PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect;
|
|
|
|
extern PFN_vkCmdDraw vkCmdDraw;
|
|
|
|
extern PFN_vkCmdDrawIndexed vkCmdDrawIndexed;
|
|
|
|
extern PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect;
|
|
|
|
extern PFN_vkCmdDrawIndirect vkCmdDrawIndirect;
|
|
|
|
extern PFN_vkCmdEndQuery vkCmdEndQuery;
|
|
|
|
extern PFN_vkCmdEndRenderPass vkCmdEndRenderPass;
|
|
|
|
extern PFN_vkCmdExecuteCommands vkCmdExecuteCommands;
|
|
|
|
extern PFN_vkCmdFillBuffer vkCmdFillBuffer;
|
|
|
|
extern PFN_vkCmdNextSubpass vkCmdNextSubpass;
|
|
|
|
extern PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
|
|
|
|
extern PFN_vkCmdPushConstants vkCmdPushConstants;
|
|
|
|
extern PFN_vkCmdResetEvent vkCmdResetEvent;
|
|
|
|
extern PFN_vkCmdResetQueryPool vkCmdResetQueryPool;
|
|
|
|
extern PFN_vkCmdResolveImage vkCmdResolveImage;
|
|
|
|
extern PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants;
|
|
|
|
extern PFN_vkCmdSetDepthBias vkCmdSetDepthBias;
|
|
|
|
extern PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds;
|
|
|
|
extern PFN_vkCmdSetEvent vkCmdSetEvent;
|
|
|
|
extern PFN_vkCmdSetLineWidth vkCmdSetLineWidth;
|
|
|
|
extern PFN_vkCmdSetScissor vkCmdSetScissor;
|
|
|
|
extern PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask;
|
|
|
|
extern PFN_vkCmdSetStencilReference vkCmdSetStencilReference;
|
|
|
|
extern PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask;
|
|
|
|
extern PFN_vkCmdSetViewport vkCmdSetViewport;
|
|
|
|
extern PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer;
|
|
|
|
extern PFN_vkCmdWaitEvents vkCmdWaitEvents;
|
|
|
|
extern PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp;
|
|
|
|
extern PFN_vkCreateBuffer vkCreateBuffer;
|
|
|
|
extern PFN_vkCreateBufferView vkCreateBufferView;
|
|
|
|
extern PFN_vkCreateCommandPool vkCreateCommandPool;
|
|
|
|
extern PFN_vkCreateComputePipelines vkCreateComputePipelines;
|
|
|
|
extern PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
|
|
|
|
extern PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout;
|
|
|
|
extern PFN_vkCreateDevice vkCreateDevice;
|
|
|
|
extern PFN_vkCreateEvent vkCreateEvent;
|
|
|
|
extern PFN_vkCreateFence vkCreateFence;
|
|
|
|
extern PFN_vkCreateFramebuffer vkCreateFramebuffer;
|
|
|
|
extern PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines;
|
|
|
|
extern PFN_vkCreateImage vkCreateImage;
|
|
|
|
extern PFN_vkCreateImageView vkCreateImageView;
|
|
|
|
extern PFN_vkCreateInstance vkCreateInstance;
|
|
|
|
extern PFN_vkCreatePipelineCache vkCreatePipelineCache;
|
|
|
|
extern PFN_vkCreatePipelineLayout vkCreatePipelineLayout;
|
|
|
|
extern PFN_vkCreateQueryPool vkCreateQueryPool;
|
|
|
|
extern PFN_vkCreateRenderPass vkCreateRenderPass;
|
|
|
|
extern PFN_vkCreateSampler vkCreateSampler;
|
|
|
|
extern PFN_vkCreateSemaphore vkCreateSemaphore;
|
|
|
|
extern PFN_vkCreateShaderModule vkCreateShaderModule;
|
|
|
|
extern PFN_vkDestroyBuffer vkDestroyBuffer;
|
|
|
|
extern PFN_vkDestroyBufferView vkDestroyBufferView;
|
|
|
|
extern PFN_vkDestroyCommandPool vkDestroyCommandPool;
|
|
|
|
extern PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
|
|
|
|
extern PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout;
|
|
|
|
extern PFN_vkDestroyDevice vkDestroyDevice;
|
|
|
|
extern PFN_vkDestroyEvent vkDestroyEvent;
|
|
|
|
extern PFN_vkDestroyFence vkDestroyFence;
|
|
|
|
extern PFN_vkDestroyFramebuffer vkDestroyFramebuffer;
|
|
|
|
extern PFN_vkDestroyImage vkDestroyImage;
|
|
|
|
extern PFN_vkDestroyImageView vkDestroyImageView;
|
|
|
|
extern PFN_vkDestroyInstance vkDestroyInstance;
|
|
|
|
extern PFN_vkDestroyPipeline vkDestroyPipeline;
|
|
|
|
extern PFN_vkDestroyPipelineCache vkDestroyPipelineCache;
|
|
|
|
extern PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout;
|
|
|
|
extern PFN_vkDestroyQueryPool vkDestroyQueryPool;
|
|
|
|
extern PFN_vkDestroyRenderPass vkDestroyRenderPass;
|
|
|
|
extern PFN_vkDestroySampler vkDestroySampler;
|
|
|
|
extern PFN_vkDestroySemaphore vkDestroySemaphore;
|
|
|
|
extern PFN_vkDestroyShaderModule vkDestroyShaderModule;
|
|
|
|
extern PFN_vkDeviceWaitIdle vkDeviceWaitIdle;
|
|
|
|
extern PFN_vkEndCommandBuffer vkEndCommandBuffer;
|
|
|
|
extern PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties;
|
|
|
|
extern PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties;
|
|
|
|
extern PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties;
|
|
|
|
extern PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties;
|
|
|
|
extern PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices;
|
|
|
|
extern PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
|
|
|
|
extern PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
|
|
|
|
extern PFN_vkFreeDescriptorSets vkFreeDescriptorSets;
|
|
|
|
extern PFN_vkFreeMemory vkFreeMemory;
|
|
|
|
extern PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
|
|
|
|
extern PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment;
|
|
|
|
extern PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr;
|
|
|
|
extern PFN_vkGetDeviceQueue vkGetDeviceQueue;
|
|
|
|
extern PFN_vkGetEventStatus vkGetEventStatus;
|
|
|
|
extern PFN_vkGetFenceStatus vkGetFenceStatus;
|
|
|
|
extern PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
|
|
|
|
extern PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements;
|
|
|
|
extern PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
|
|
|
|
extern PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties;
|
|
|
|
extern PFN_vkGetPipelineCacheData vkGetPipelineCacheData;
|
|
|
|
extern PFN_vkGetQueryPoolResults vkGetQueryPoolResults;
|
|
|
|
extern PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity;
|
|
|
|
extern PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
|
|
|
|
extern PFN_vkMapMemory vkMapMemory;
|
|
|
|
extern PFN_vkMergePipelineCaches vkMergePipelineCaches;
|
|
|
|
extern PFN_vkQueueBindSparse vkQueueBindSparse;
|
|
|
|
extern PFN_vkQueueSubmit vkQueueSubmit;
|
|
|
|
extern PFN_vkQueueWaitIdle vkQueueWaitIdle;
|
|
|
|
extern PFN_vkResetCommandBuffer vkResetCommandBuffer;
|
|
|
|
extern PFN_vkResetCommandPool vkResetCommandPool;
|
|
|
|
extern PFN_vkResetDescriptorPool vkResetDescriptorPool;
|
|
|
|
extern PFN_vkResetEvent vkResetEvent;
|
|
|
|
extern PFN_vkResetFences vkResetFences;
|
|
|
|
extern PFN_vkSetEvent vkSetEvent;
|
|
|
|
extern PFN_vkUnmapMemory vkUnmapMemory;
|
|
|
|
extern PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets;
|
|
|
|
extern PFN_vkWaitForFences vkWaitForFences;
|
|
|
|
#endif /* defined(VK_VERSION_1_0) */
|
|
|
|
#if defined(VK_VERSION_1_1)
|
|
|
|
extern PFN_vkBindBufferMemory2 vkBindBufferMemory2;
|
|
|
|
extern PFN_vkBindImageMemory2 vkBindImageMemory2;
|
|
|
|
extern PFN_vkCmdDispatchBase vkCmdDispatchBase;
|
|
|
|
extern PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask;
|
|
|
|
extern PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate;
|
|
|
|
extern PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion;
|
|
|
|
extern PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate;
|
|
|
|
extern PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion;
|
|
|
|
extern PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion;
|
|
|
|
extern PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups;
|
|
|
|
extern PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2;
|
|
|
|
extern PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport;
|
|
|
|
extern PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures;
|
|
|
|
extern PFN_vkGetDeviceQueue2 vkGetDeviceQueue2;
|
|
|
|
extern PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2;
|
|
|
|
extern PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2;
|
|
|
|
extern PFN_vkTrimCommandPool vkTrimCommandPool;
|
|
|
|
extern PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate;
|
|
|
|
#endif /* defined(VK_VERSION_1_1) */
|
|
|
|
#if defined(VK_VERSION_1_2)
|
|
|
|
extern PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2;
|
|
|
|
extern PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount;
|
|
|
|
extern PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount;
|
|
|
|
extern PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2;
|
|
|
|
extern PFN_vkCmdNextSubpass2 vkCmdNextSubpass2;
|
|
|
|
extern PFN_vkCreateRenderPass2 vkCreateRenderPass2;
|
|
|
|
extern PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress;
|
|
|
|
extern PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress;
|
|
|
|
extern PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress;
|
|
|
|
extern PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue;
|
|
|
|
extern PFN_vkResetQueryPool vkResetQueryPool;
|
|
|
|
extern PFN_vkSignalSemaphore vkSignalSemaphore;
|
|
|
|
extern PFN_vkWaitSemaphores vkWaitSemaphores;
|
|
|
|
#endif /* defined(VK_VERSION_1_2) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_VERSION_1_3)
|
|
|
|
extern PFN_vkCmdBeginRendering vkCmdBeginRendering;
|
|
|
|
extern PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2;
|
|
|
|
extern PFN_vkCmdBlitImage2 vkCmdBlitImage2;
|
|
|
|
extern PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2;
|
|
|
|
extern PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2;
|
|
|
|
extern PFN_vkCmdCopyImage2 vkCmdCopyImage2;
|
|
|
|
extern PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2;
|
|
|
|
extern PFN_vkCmdEndRendering vkCmdEndRendering;
|
|
|
|
extern PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2;
|
|
|
|
extern PFN_vkCmdResetEvent2 vkCmdResetEvent2;
|
|
|
|
extern PFN_vkCmdResolveImage2 vkCmdResolveImage2;
|
|
|
|
extern PFN_vkCmdSetCullMode vkCmdSetCullMode;
|
|
|
|
extern PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable;
|
|
|
|
extern PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable;
|
|
|
|
extern PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp;
|
|
|
|
extern PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable;
|
|
|
|
extern PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable;
|
|
|
|
extern PFN_vkCmdSetEvent2 vkCmdSetEvent2;
|
|
|
|
extern PFN_vkCmdSetFrontFace vkCmdSetFrontFace;
|
|
|
|
extern PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable;
|
|
|
|
extern PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology;
|
|
|
|
extern PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable;
|
|
|
|
extern PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount;
|
|
|
|
extern PFN_vkCmdSetStencilOp vkCmdSetStencilOp;
|
|
|
|
extern PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable;
|
|
|
|
extern PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount;
|
|
|
|
extern PFN_vkCmdWaitEvents2 vkCmdWaitEvents2;
|
|
|
|
extern PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2;
|
|
|
|
extern PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot;
|
|
|
|
extern PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot;
|
|
|
|
extern PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements;
|
|
|
|
extern PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements;
|
|
|
|
extern PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements;
|
|
|
|
extern PFN_vkGetPhysicalDeviceToolProperties vkGetPhysicalDeviceToolProperties;
|
|
|
|
extern PFN_vkGetPrivateData vkGetPrivateData;
|
|
|
|
extern PFN_vkQueueSubmit2 vkQueueSubmit2;
|
|
|
|
extern PFN_vkSetPrivateData vkSetPrivateData;
|
|
|
|
#endif /* defined(VK_VERSION_1_3) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_AMDX_shader_enqueue)
|
|
|
|
extern PFN_vkCmdDispatchGraphAMDX vkCmdDispatchGraphAMDX;
|
|
|
|
extern PFN_vkCmdDispatchGraphIndirectAMDX vkCmdDispatchGraphIndirectAMDX;
|
|
|
|
extern PFN_vkCmdDispatchGraphIndirectCountAMDX vkCmdDispatchGraphIndirectCountAMDX;
|
|
|
|
extern PFN_vkCmdInitializeGraphScratchMemoryAMDX vkCmdInitializeGraphScratchMemoryAMDX;
|
|
|
|
extern PFN_vkCreateExecutionGraphPipelinesAMDX vkCreateExecutionGraphPipelinesAMDX;
|
|
|
|
extern PFN_vkGetExecutionGraphPipelineNodeIndexAMDX vkGetExecutionGraphPipelineNodeIndexAMDX;
|
|
|
|
extern PFN_vkGetExecutionGraphPipelineScratchSizeAMDX vkGetExecutionGraphPipelineScratchSizeAMDX;
|
|
|
|
#endif /* defined(VK_AMDX_shader_enqueue) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_AMD_buffer_marker)
|
|
|
|
extern PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD;
|
|
|
|
#endif /* defined(VK_AMD_buffer_marker) */
|
|
|
|
#if defined(VK_AMD_display_native_hdr)
|
|
|
|
extern PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD;
|
|
|
|
#endif /* defined(VK_AMD_display_native_hdr) */
|
|
|
|
#if defined(VK_AMD_draw_indirect_count)
|
|
|
|
extern PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD;
|
|
|
|
extern PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD;
|
|
|
|
#endif /* defined(VK_AMD_draw_indirect_count) */
|
|
|
|
#if defined(VK_AMD_shader_info)
|
|
|
|
extern PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD;
|
|
|
|
#endif /* defined(VK_AMD_shader_info) */
|
|
|
|
#if defined(VK_ANDROID_external_memory_android_hardware_buffer)
|
|
|
|
extern PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
|
|
|
|
extern PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
|
|
|
|
#endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
|
|
|
|
#if defined(VK_EXT_acquire_drm_display)
|
|
|
|
extern PFN_vkAcquireDrmDisplayEXT vkAcquireDrmDisplayEXT;
|
|
|
|
extern PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT;
|
|
|
|
#endif /* defined(VK_EXT_acquire_drm_display) */
|
|
|
|
#if defined(VK_EXT_acquire_xlib_display)
|
|
|
|
extern PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT;
|
|
|
|
extern PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT;
|
|
|
|
#endif /* defined(VK_EXT_acquire_xlib_display) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_attachment_feedback_loop_dynamic_state)
|
|
|
|
extern PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT vkCmdSetAttachmentFeedbackLoopEnableEXT;
|
|
|
|
#endif /* defined(VK_EXT_attachment_feedback_loop_dynamic_state) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_buffer_device_address)
|
|
|
|
extern PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT;
|
|
|
|
#endif /* defined(VK_EXT_buffer_device_address) */
|
|
|
|
#if defined(VK_EXT_calibrated_timestamps)
|
|
|
|
extern PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT;
|
|
|
|
extern PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT vkGetPhysicalDeviceCalibrateableTimeDomainsEXT;
|
|
|
|
#endif /* defined(VK_EXT_calibrated_timestamps) */
|
|
|
|
#if defined(VK_EXT_color_write_enable)
|
|
|
|
extern PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT;
|
|
|
|
#endif /* defined(VK_EXT_color_write_enable) */
|
|
|
|
#if defined(VK_EXT_conditional_rendering)
|
|
|
|
extern PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT;
|
|
|
|
extern PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT;
|
|
|
|
#endif /* defined(VK_EXT_conditional_rendering) */
|
|
|
|
#if defined(VK_EXT_debug_marker)
|
|
|
|
extern PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT;
|
|
|
|
extern PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT;
|
|
|
|
extern PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT;
|
|
|
|
extern PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT;
|
|
|
|
extern PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT;
|
|
|
|
#endif /* defined(VK_EXT_debug_marker) */
|
|
|
|
#if defined(VK_EXT_debug_report)
|
|
|
|
extern PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT;
|
|
|
|
extern PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT;
|
|
|
|
extern PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT;
|
|
|
|
#endif /* defined(VK_EXT_debug_report) */
|
|
|
|
#if defined(VK_EXT_debug_utils)
|
|
|
|
extern PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT;
|
|
|
|
extern PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT;
|
|
|
|
extern PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT;
|
|
|
|
extern PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT;
|
|
|
|
extern PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT;
|
|
|
|
extern PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT;
|
|
|
|
#endif /* defined(VK_EXT_debug_utils) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_EXT_depth_bias_control)
|
|
|
|
extern PFN_vkCmdSetDepthBias2EXT vkCmdSetDepthBias2EXT;
|
|
|
|
#endif /* defined(VK_EXT_depth_bias_control) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_descriptor_buffer)
|
|
|
|
extern PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT vkCmdBindDescriptorBufferEmbeddedSamplersEXT;
|
|
|
|
extern PFN_vkCmdBindDescriptorBuffersEXT vkCmdBindDescriptorBuffersEXT;
|
|
|
|
extern PFN_vkCmdSetDescriptorBufferOffsetsEXT vkCmdSetDescriptorBufferOffsetsEXT;
|
|
|
|
extern PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT vkGetBufferOpaqueCaptureDescriptorDataEXT;
|
|
|
|
extern PFN_vkGetDescriptorEXT vkGetDescriptorEXT;
|
|
|
|
extern PFN_vkGetDescriptorSetLayoutBindingOffsetEXT vkGetDescriptorSetLayoutBindingOffsetEXT;
|
|
|
|
extern PFN_vkGetDescriptorSetLayoutSizeEXT vkGetDescriptorSetLayoutSizeEXT;
|
|
|
|
extern PFN_vkGetImageOpaqueCaptureDescriptorDataEXT vkGetImageOpaqueCaptureDescriptorDataEXT;
|
|
|
|
extern PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT vkGetImageViewOpaqueCaptureDescriptorDataEXT;
|
|
|
|
extern PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT vkGetSamplerOpaqueCaptureDescriptorDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_descriptor_buffer) */
|
|
|
|
#if defined(VK_EXT_descriptor_buffer) && (defined(VK_KHR_acceleration_structure) || defined(VK_NV_ray_tracing))
|
|
|
|
extern PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_descriptor_buffer) && (defined(VK_KHR_acceleration_structure) || defined(VK_NV_ray_tracing)) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_device_fault)
|
|
|
|
extern PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT;
|
|
|
|
#endif /* defined(VK_EXT_device_fault) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_direct_mode_display)
|
|
|
|
extern PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT;
|
|
|
|
#endif /* defined(VK_EXT_direct_mode_display) */
|
|
|
|
#if defined(VK_EXT_directfb_surface)
|
|
|
|
extern PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT;
|
|
|
|
extern PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT;
|
|
|
|
#endif /* defined(VK_EXT_directfb_surface) */
|
|
|
|
#if defined(VK_EXT_discard_rectangles)
|
|
|
|
extern PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT;
|
|
|
|
#endif /* defined(VK_EXT_discard_rectangles) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_discard_rectangles) && VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION >= 2
|
|
|
|
extern PFN_vkCmdSetDiscardRectangleEnableEXT vkCmdSetDiscardRectangleEnableEXT;
|
|
|
|
extern PFN_vkCmdSetDiscardRectangleModeEXT vkCmdSetDiscardRectangleModeEXT;
|
|
|
|
#endif /* defined(VK_EXT_discard_rectangles) && VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION >= 2 */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_display_control)
|
|
|
|
extern PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT;
|
|
|
|
extern PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT;
|
|
|
|
extern PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT;
|
|
|
|
extern PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT;
|
|
|
|
#endif /* defined(VK_EXT_display_control) */
|
|
|
|
#if defined(VK_EXT_display_surface_counter)
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT;
|
|
|
|
#endif /* defined(VK_EXT_display_surface_counter) */
|
|
|
|
#if defined(VK_EXT_external_memory_host)
|
|
|
|
extern PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_external_memory_host) */
|
|
|
|
#if defined(VK_EXT_full_screen_exclusive)
|
|
|
|
extern PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT vkGetPhysicalDeviceSurfacePresentModes2EXT;
|
|
|
|
extern PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT;
|
|
|
|
#endif /* defined(VK_EXT_full_screen_exclusive) */
|
|
|
|
#if defined(VK_EXT_hdr_metadata)
|
|
|
|
extern PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT;
|
|
|
|
#endif /* defined(VK_EXT_hdr_metadata) */
|
|
|
|
#if defined(VK_EXT_headless_surface)
|
|
|
|
extern PFN_vkCreateHeadlessSurfaceEXT vkCreateHeadlessSurfaceEXT;
|
|
|
|
#endif /* defined(VK_EXT_headless_surface) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_EXT_host_image_copy)
|
|
|
|
extern PFN_vkCopyImageToImageEXT vkCopyImageToImageEXT;
|
|
|
|
extern PFN_vkCopyImageToMemoryEXT vkCopyImageToMemoryEXT;
|
|
|
|
extern PFN_vkCopyMemoryToImageEXT vkCopyMemoryToImageEXT;
|
|
|
|
extern PFN_vkTransitionImageLayoutEXT vkTransitionImageLayoutEXT;
|
|
|
|
#endif /* defined(VK_EXT_host_image_copy) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_host_query_reset)
|
|
|
|
extern PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT;
|
|
|
|
#endif /* defined(VK_EXT_host_query_reset) */
|
|
|
|
#if defined(VK_EXT_image_drm_format_modifier)
|
|
|
|
extern PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_image_drm_format_modifier) */
|
|
|
|
#if defined(VK_EXT_line_rasterization)
|
|
|
|
extern PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT;
|
|
|
|
#endif /* defined(VK_EXT_line_rasterization) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_mesh_shader)
|
|
|
|
extern PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT;
|
|
|
|
extern PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT;
|
|
|
|
extern PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT;
|
|
|
|
#endif /* defined(VK_EXT_mesh_shader) */
|
|
|
|
#if defined(VK_EXT_metal_objects)
|
|
|
|
extern PFN_vkExportMetalObjectsEXT vkExportMetalObjectsEXT;
|
|
|
|
#endif /* defined(VK_EXT_metal_objects) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_metal_surface)
|
|
|
|
extern PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT;
|
|
|
|
#endif /* defined(VK_EXT_metal_surface) */
|
|
|
|
#if defined(VK_EXT_multi_draw)
|
|
|
|
extern PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT;
|
|
|
|
extern PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT;
|
|
|
|
#endif /* defined(VK_EXT_multi_draw) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_opacity_micromap)
|
|
|
|
extern PFN_vkBuildMicromapsEXT vkBuildMicromapsEXT;
|
|
|
|
extern PFN_vkCmdBuildMicromapsEXT vkCmdBuildMicromapsEXT;
|
|
|
|
extern PFN_vkCmdCopyMemoryToMicromapEXT vkCmdCopyMemoryToMicromapEXT;
|
|
|
|
extern PFN_vkCmdCopyMicromapEXT vkCmdCopyMicromapEXT;
|
|
|
|
extern PFN_vkCmdCopyMicromapToMemoryEXT vkCmdCopyMicromapToMemoryEXT;
|
|
|
|
extern PFN_vkCmdWriteMicromapsPropertiesEXT vkCmdWriteMicromapsPropertiesEXT;
|
|
|
|
extern PFN_vkCopyMemoryToMicromapEXT vkCopyMemoryToMicromapEXT;
|
|
|
|
extern PFN_vkCopyMicromapEXT vkCopyMicromapEXT;
|
|
|
|
extern PFN_vkCopyMicromapToMemoryEXT vkCopyMicromapToMemoryEXT;
|
|
|
|
extern PFN_vkCreateMicromapEXT vkCreateMicromapEXT;
|
|
|
|
extern PFN_vkDestroyMicromapEXT vkDestroyMicromapEXT;
|
|
|
|
extern PFN_vkGetDeviceMicromapCompatibilityEXT vkGetDeviceMicromapCompatibilityEXT;
|
|
|
|
extern PFN_vkGetMicromapBuildSizesEXT vkGetMicromapBuildSizesEXT;
|
|
|
|
extern PFN_vkWriteMicromapsPropertiesEXT vkWriteMicromapsPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_opacity_micromap) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_EXT_pageable_device_local_memory)
|
|
|
|
extern PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT;
|
|
|
|
#endif /* defined(VK_EXT_pageable_device_local_memory) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_pipeline_properties)
|
|
|
|
extern PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_pipeline_properties) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_private_data)
|
|
|
|
extern PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT;
|
|
|
|
extern PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT;
|
|
|
|
extern PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT;
|
|
|
|
extern PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_private_data) */
|
|
|
|
#if defined(VK_EXT_sample_locations)
|
|
|
|
extern PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT;
|
|
|
|
extern PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_sample_locations) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_EXT_shader_module_identifier)
|
|
|
|
extern PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT;
|
|
|
|
extern PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT;
|
|
|
|
#endif /* defined(VK_EXT_shader_module_identifier) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_EXT_shader_object)
|
|
|
|
extern PFN_vkCmdBindShadersEXT vkCmdBindShadersEXT;
|
|
|
|
extern PFN_vkCreateShadersEXT vkCreateShadersEXT;
|
|
|
|
extern PFN_vkDestroyShaderEXT vkDestroyShaderEXT;
|
|
|
|
extern PFN_vkGetShaderBinaryDataEXT vkGetShaderBinaryDataEXT;
|
|
|
|
#endif /* defined(VK_EXT_shader_object) */
|
|
|
|
#if defined(VK_EXT_swapchain_maintenance1)
|
|
|
|
extern PFN_vkReleaseSwapchainImagesEXT vkReleaseSwapchainImagesEXT;
|
|
|
|
#endif /* defined(VK_EXT_swapchain_maintenance1) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_EXT_tooling_info)
|
|
|
|
extern PFN_vkGetPhysicalDeviceToolPropertiesEXT vkGetPhysicalDeviceToolPropertiesEXT;
|
|
|
|
#endif /* defined(VK_EXT_tooling_info) */
|
|
|
|
#if defined(VK_EXT_transform_feedback)
|
|
|
|
extern PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT;
|
|
|
|
extern PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT;
|
|
|
|
extern PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT;
|
|
|
|
extern PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT;
|
|
|
|
extern PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT;
|
|
|
|
extern PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT;
|
|
|
|
#endif /* defined(VK_EXT_transform_feedback) */
|
|
|
|
#if defined(VK_EXT_validation_cache)
|
|
|
|
extern PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT;
|
|
|
|
extern PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT;
|
|
|
|
extern PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT;
|
|
|
|
extern PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT;
|
|
|
|
#endif /* defined(VK_EXT_validation_cache) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_FUCHSIA_buffer_collection)
|
|
|
|
extern PFN_vkCreateBufferCollectionFUCHSIA vkCreateBufferCollectionFUCHSIA;
|
|
|
|
extern PFN_vkDestroyBufferCollectionFUCHSIA vkDestroyBufferCollectionFUCHSIA;
|
|
|
|
extern PFN_vkGetBufferCollectionPropertiesFUCHSIA vkGetBufferCollectionPropertiesFUCHSIA;
|
|
|
|
extern PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA vkSetBufferCollectionBufferConstraintsFUCHSIA;
|
|
|
|
extern PFN_vkSetBufferCollectionImageConstraintsFUCHSIA vkSetBufferCollectionImageConstraintsFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_buffer_collection) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_FUCHSIA_external_memory)
|
|
|
|
extern PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA;
|
|
|
|
extern PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_external_memory) */
|
|
|
|
#if defined(VK_FUCHSIA_external_semaphore)
|
|
|
|
extern PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA;
|
|
|
|
extern PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_external_semaphore) */
|
|
|
|
#if defined(VK_FUCHSIA_imagepipe_surface)
|
|
|
|
extern PFN_vkCreateImagePipeSurfaceFUCHSIA vkCreateImagePipeSurfaceFUCHSIA;
|
|
|
|
#endif /* defined(VK_FUCHSIA_imagepipe_surface) */
|
|
|
|
#if defined(VK_GGP_stream_descriptor_surface)
|
|
|
|
extern PFN_vkCreateStreamDescriptorSurfaceGGP vkCreateStreamDescriptorSurfaceGGP;
|
|
|
|
#endif /* defined(VK_GGP_stream_descriptor_surface) */
|
|
|
|
#if defined(VK_GOOGLE_display_timing)
|
|
|
|
extern PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE;
|
|
|
|
extern PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE;
|
|
|
|
#endif /* defined(VK_GOOGLE_display_timing) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_HUAWEI_cluster_culling_shader)
|
|
|
|
extern PFN_vkCmdDrawClusterHUAWEI vkCmdDrawClusterHUAWEI;
|
|
|
|
extern PFN_vkCmdDrawClusterIndirectHUAWEI vkCmdDrawClusterIndirectHUAWEI;
|
|
|
|
#endif /* defined(VK_HUAWEI_cluster_culling_shader) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_HUAWEI_invocation_mask)
|
|
|
|
extern PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI;
|
|
|
|
#endif /* defined(VK_HUAWEI_invocation_mask) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_HUAWEI_subpass_shading)
|
|
|
|
extern PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI;
|
2021-09-22 18:40:17 +08:00
|
|
|
extern PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
|
2021-08-12 19:24:54 +08:00
|
|
|
#endif /* defined(VK_HUAWEI_subpass_shading) */
|
|
|
|
#if defined(VK_INTEL_performance_query)
|
|
|
|
extern PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL;
|
|
|
|
extern PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL;
|
|
|
|
extern PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL;
|
|
|
|
extern PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL;
|
|
|
|
extern PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL;
|
|
|
|
extern PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL;
|
|
|
|
extern PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL;
|
|
|
|
extern PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL;
|
|
|
|
extern PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL;
|
|
|
|
#endif /* defined(VK_INTEL_performance_query) */
|
|
|
|
#if defined(VK_KHR_acceleration_structure)
|
|
|
|
extern PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR;
|
|
|
|
extern PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR;
|
|
|
|
extern PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR;
|
|
|
|
extern PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR;
|
|
|
|
extern PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR;
|
|
|
|
extern PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR;
|
|
|
|
extern PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR;
|
|
|
|
extern PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR;
|
|
|
|
extern PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR;
|
|
|
|
extern PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR;
|
|
|
|
extern PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR;
|
|
|
|
extern PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR;
|
|
|
|
extern PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR;
|
|
|
|
extern PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR;
|
|
|
|
extern PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR;
|
|
|
|
extern PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_acceleration_structure) */
|
|
|
|
#if defined(VK_KHR_android_surface)
|
|
|
|
extern PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR;
|
|
|
|
#endif /* defined(VK_KHR_android_surface) */
|
|
|
|
#if defined(VK_KHR_bind_memory2)
|
|
|
|
extern PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR;
|
|
|
|
extern PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR;
|
|
|
|
#endif /* defined(VK_KHR_bind_memory2) */
|
|
|
|
#if defined(VK_KHR_buffer_device_address)
|
|
|
|
extern PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR;
|
|
|
|
extern PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR;
|
|
|
|
extern PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR;
|
|
|
|
#endif /* defined(VK_KHR_buffer_device_address) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_KHR_calibrated_timestamps)
|
|
|
|
extern PFN_vkGetCalibratedTimestampsKHR vkGetCalibratedTimestampsKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR vkGetPhysicalDeviceCalibrateableTimeDomainsKHR;
|
|
|
|
#endif /* defined(VK_KHR_calibrated_timestamps) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_KHR_cooperative_matrix)
|
|
|
|
extern PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_cooperative_matrix) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_copy_commands2)
|
|
|
|
extern PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR;
|
|
|
|
extern PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR;
|
|
|
|
extern PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR;
|
|
|
|
extern PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR;
|
|
|
|
extern PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR;
|
|
|
|
extern PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR;
|
|
|
|
#endif /* defined(VK_KHR_copy_commands2) */
|
|
|
|
#if defined(VK_KHR_create_renderpass2)
|
|
|
|
extern PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR;
|
|
|
|
extern PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR;
|
|
|
|
extern PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR;
|
|
|
|
extern PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR;
|
|
|
|
#endif /* defined(VK_KHR_create_renderpass2) */
|
|
|
|
#if defined(VK_KHR_deferred_host_operations)
|
|
|
|
extern PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR;
|
|
|
|
extern PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR;
|
|
|
|
extern PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR;
|
|
|
|
extern PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR;
|
|
|
|
extern PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR;
|
|
|
|
#endif /* defined(VK_KHR_deferred_host_operations) */
|
|
|
|
#if defined(VK_KHR_descriptor_update_template)
|
|
|
|
extern PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR;
|
|
|
|
extern PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR;
|
|
|
|
extern PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR;
|
|
|
|
#endif /* defined(VK_KHR_descriptor_update_template) */
|
|
|
|
#if defined(VK_KHR_device_group)
|
|
|
|
extern PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR;
|
|
|
|
extern PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR;
|
|
|
|
extern PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR;
|
|
|
|
#endif /* defined(VK_KHR_device_group) */
|
|
|
|
#if defined(VK_KHR_device_group_creation)
|
|
|
|
extern PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR;
|
|
|
|
#endif /* defined(VK_KHR_device_group_creation) */
|
|
|
|
#if defined(VK_KHR_display)
|
|
|
|
extern PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR;
|
|
|
|
extern PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR;
|
|
|
|
extern PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR;
|
|
|
|
extern PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR;
|
|
|
|
extern PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_display) */
|
|
|
|
#if defined(VK_KHR_display_swapchain)
|
|
|
|
extern PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR;
|
|
|
|
#endif /* defined(VK_KHR_display_swapchain) */
|
|
|
|
#if defined(VK_KHR_draw_indirect_count)
|
|
|
|
extern PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR;
|
|
|
|
extern PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR;
|
|
|
|
#endif /* defined(VK_KHR_draw_indirect_count) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_KHR_dynamic_rendering)
|
|
|
|
extern PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR;
|
|
|
|
extern PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR;
|
|
|
|
#endif /* defined(VK_KHR_dynamic_rendering) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_external_fence_capabilities)
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_fence_capabilities) */
|
|
|
|
#if defined(VK_KHR_external_fence_fd)
|
|
|
|
extern PFN_vkGetFenceFdKHR vkGetFenceFdKHR;
|
|
|
|
extern PFN_vkImportFenceFdKHR vkImportFenceFdKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_fence_fd) */
|
|
|
|
#if defined(VK_KHR_external_fence_win32)
|
|
|
|
extern PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR;
|
|
|
|
extern PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_fence_win32) */
|
|
|
|
#if defined(VK_KHR_external_memory_capabilities)
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_memory_capabilities) */
|
|
|
|
#if defined(VK_KHR_external_memory_fd)
|
|
|
|
extern PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR;
|
|
|
|
extern PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_memory_fd) */
|
|
|
|
#if defined(VK_KHR_external_memory_win32)
|
|
|
|
extern PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
|
|
|
|
extern PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_memory_win32) */
|
|
|
|
#if defined(VK_KHR_external_semaphore_capabilities)
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_semaphore_capabilities) */
|
|
|
|
#if defined(VK_KHR_external_semaphore_fd)
|
|
|
|
extern PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
|
|
|
|
extern PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_semaphore_fd) */
|
|
|
|
#if defined(VK_KHR_external_semaphore_win32)
|
|
|
|
extern PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR;
|
|
|
|
extern PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR;
|
|
|
|
#endif /* defined(VK_KHR_external_semaphore_win32) */
|
|
|
|
#if defined(VK_KHR_fragment_shading_rate)
|
|
|
|
extern PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR;
|
|
|
|
#endif /* defined(VK_KHR_fragment_shading_rate) */
|
|
|
|
#if defined(VK_KHR_get_display_properties2)
|
|
|
|
extern PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR;
|
|
|
|
extern PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR vkGetPhysicalDeviceDisplayPlaneProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceDisplayProperties2KHR vkGetPhysicalDeviceDisplayProperties2KHR;
|
|
|
|
#endif /* defined(VK_KHR_get_display_properties2) */
|
|
|
|
#if defined(VK_KHR_get_memory_requirements2)
|
|
|
|
extern PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR;
|
|
|
|
extern PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR;
|
|
|
|
extern PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR;
|
|
|
|
#endif /* defined(VK_KHR_get_memory_requirements2) */
|
|
|
|
#if defined(VK_KHR_get_physical_device_properties2)
|
|
|
|
extern PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR;
|
|
|
|
#endif /* defined(VK_KHR_get_physical_device_properties2) */
|
|
|
|
#if defined(VK_KHR_get_surface_capabilities2)
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR;
|
|
|
|
#endif /* defined(VK_KHR_get_surface_capabilities2) */
|
|
|
|
#if defined(VK_KHR_maintenance1)
|
|
|
|
extern PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance1) */
|
|
|
|
#if defined(VK_KHR_maintenance3)
|
|
|
|
extern PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance3) */
|
2022-02-24 18:16:12 +08:00
|
|
|
#if defined(VK_KHR_maintenance4)
|
|
|
|
extern PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR;
|
|
|
|
extern PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR;
|
|
|
|
extern PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance4) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_KHR_maintenance5)
|
|
|
|
extern PFN_vkCmdBindIndexBuffer2KHR vkCmdBindIndexBuffer2KHR;
|
|
|
|
extern PFN_vkGetDeviceImageSubresourceLayoutKHR vkGetDeviceImageSubresourceLayoutKHR;
|
|
|
|
extern PFN_vkGetImageSubresourceLayout2KHR vkGetImageSubresourceLayout2KHR;
|
|
|
|
extern PFN_vkGetRenderingAreaGranularityKHR vkGetRenderingAreaGranularityKHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance5) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_KHR_maintenance6)
|
|
|
|
extern PFN_vkCmdBindDescriptorSets2KHR vkCmdBindDescriptorSets2KHR;
|
|
|
|
extern PFN_vkCmdPushConstants2KHR vkCmdPushConstants2KHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) */
|
|
|
|
#if defined(VK_KHR_maintenance6) && defined(VK_KHR_push_descriptor)
|
|
|
|
extern PFN_vkCmdPushDescriptorSet2KHR vkCmdPushDescriptorSet2KHR;
|
|
|
|
extern PFN_vkCmdPushDescriptorSetWithTemplate2KHR vkCmdPushDescriptorSetWithTemplate2KHR;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) && defined(VK_KHR_push_descriptor) */
|
|
|
|
#if defined(VK_KHR_maintenance6) && defined(VK_EXT_descriptor_buffer)
|
|
|
|
extern PFN_vkCmdBindDescriptorBufferEmbeddedSamplers2EXT vkCmdBindDescriptorBufferEmbeddedSamplers2EXT;
|
|
|
|
extern PFN_vkCmdSetDescriptorBufferOffsets2EXT vkCmdSetDescriptorBufferOffsets2EXT;
|
|
|
|
#endif /* defined(VK_KHR_maintenance6) && defined(VK_EXT_descriptor_buffer) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_KHR_map_memory2)
|
|
|
|
extern PFN_vkMapMemory2KHR vkMapMemory2KHR;
|
|
|
|
extern PFN_vkUnmapMemory2KHR vkUnmapMemory2KHR;
|
|
|
|
#endif /* defined(VK_KHR_map_memory2) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_performance_query)
|
|
|
|
extern PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR;
|
|
|
|
extern PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR;
|
|
|
|
extern PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR;
|
|
|
|
#endif /* defined(VK_KHR_performance_query) */
|
|
|
|
#if defined(VK_KHR_pipeline_executable_properties)
|
|
|
|
extern PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR;
|
|
|
|
extern PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR;
|
|
|
|
extern PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR;
|
|
|
|
#endif /* defined(VK_KHR_pipeline_executable_properties) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_KHR_present_wait)
|
|
|
|
extern PFN_vkWaitForPresentKHR vkWaitForPresentKHR;
|
|
|
|
#endif /* defined(VK_KHR_present_wait) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_push_descriptor)
|
|
|
|
extern PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR;
|
|
|
|
#endif /* defined(VK_KHR_push_descriptor) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
|
|
|
|
extern PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR;
|
|
|
|
#endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_KHR_ray_tracing_pipeline)
|
|
|
|
extern PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR;
|
|
|
|
extern PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR;
|
|
|
|
extern PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR;
|
|
|
|
extern PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR;
|
|
|
|
extern PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
|
|
|
|
extern PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR;
|
|
|
|
extern PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR;
|
|
|
|
#endif /* defined(VK_KHR_ray_tracing_pipeline) */
|
|
|
|
#if defined(VK_KHR_sampler_ycbcr_conversion)
|
|
|
|
extern PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR;
|
|
|
|
extern PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR;
|
|
|
|
#endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
|
|
|
|
#if defined(VK_KHR_shared_presentable_image)
|
|
|
|
extern PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR;
|
|
|
|
#endif /* defined(VK_KHR_shared_presentable_image) */
|
|
|
|
#if defined(VK_KHR_surface)
|
|
|
|
extern PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_surface) */
|
|
|
|
#if defined(VK_KHR_swapchain)
|
|
|
|
extern PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR;
|
|
|
|
extern PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR;
|
|
|
|
extern PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR;
|
|
|
|
extern PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR;
|
|
|
|
extern PFN_vkQueuePresentKHR vkQueuePresentKHR;
|
|
|
|
#endif /* defined(VK_KHR_swapchain) */
|
|
|
|
#if defined(VK_KHR_synchronization2)
|
|
|
|
extern PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR;
|
|
|
|
extern PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR;
|
|
|
|
extern PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR;
|
|
|
|
extern PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR;
|
|
|
|
extern PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR;
|
|
|
|
extern PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) */
|
|
|
|
#if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
|
|
|
|
extern PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
|
|
|
|
#if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
|
|
|
|
extern PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV;
|
|
|
|
#endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
|
|
|
|
#if defined(VK_KHR_timeline_semaphore)
|
|
|
|
extern PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR;
|
|
|
|
extern PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR;
|
|
|
|
extern PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR;
|
|
|
|
#endif /* defined(VK_KHR_timeline_semaphore) */
|
|
|
|
#if defined(VK_KHR_video_decode_queue)
|
|
|
|
extern PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR;
|
|
|
|
#endif /* defined(VK_KHR_video_decode_queue) */
|
|
|
|
#if defined(VK_KHR_video_encode_queue)
|
|
|
|
extern PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR;
|
2023-09-01 17:11:12 +08:00
|
|
|
extern PFN_vkGetEncodedVideoSessionParametersKHR vkGetEncodedVideoSessionParametersKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR;
|
2021-08-12 19:24:54 +08:00
|
|
|
#endif /* defined(VK_KHR_video_encode_queue) */
|
|
|
|
#if defined(VK_KHR_video_queue)
|
|
|
|
extern PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR;
|
|
|
|
extern PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR;
|
|
|
|
extern PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR;
|
|
|
|
extern PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR;
|
|
|
|
extern PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR;
|
|
|
|
extern PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR;
|
|
|
|
extern PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR;
|
|
|
|
extern PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR vkGetPhysicalDeviceVideoCapabilitiesKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR vkGetPhysicalDeviceVideoFormatPropertiesKHR;
|
|
|
|
extern PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR;
|
|
|
|
extern PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR;
|
|
|
|
#endif /* defined(VK_KHR_video_queue) */
|
|
|
|
#if defined(VK_KHR_wayland_surface)
|
|
|
|
extern PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_wayland_surface) */
|
|
|
|
#if defined(VK_KHR_win32_surface)
|
|
|
|
extern PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_win32_surface) */
|
|
|
|
#if defined(VK_KHR_xcb_surface)
|
|
|
|
extern PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_xcb_surface) */
|
|
|
|
#if defined(VK_KHR_xlib_surface)
|
|
|
|
extern PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR;
|
|
|
|
extern PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR;
|
|
|
|
#endif /* defined(VK_KHR_xlib_surface) */
|
|
|
|
#if defined(VK_MVK_ios_surface)
|
|
|
|
extern PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK;
|
|
|
|
#endif /* defined(VK_MVK_ios_surface) */
|
|
|
|
#if defined(VK_MVK_macos_surface)
|
|
|
|
extern PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK;
|
|
|
|
#endif /* defined(VK_MVK_macos_surface) */
|
|
|
|
#if defined(VK_NN_vi_surface)
|
|
|
|
extern PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN;
|
|
|
|
#endif /* defined(VK_NN_vi_surface) */
|
|
|
|
#if defined(VK_NVX_binary_import)
|
|
|
|
extern PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX;
|
|
|
|
extern PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX;
|
|
|
|
extern PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX;
|
|
|
|
extern PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX;
|
|
|
|
extern PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX;
|
|
|
|
#endif /* defined(VK_NVX_binary_import) */
|
|
|
|
#if defined(VK_NVX_image_view_handle)
|
|
|
|
extern PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX;
|
|
|
|
extern PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX;
|
|
|
|
#endif /* defined(VK_NVX_image_view_handle) */
|
|
|
|
#if defined(VK_NV_acquire_winrt_display)
|
|
|
|
extern PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV;
|
|
|
|
extern PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV;
|
|
|
|
#endif /* defined(VK_NV_acquire_winrt_display) */
|
|
|
|
#if defined(VK_NV_clip_space_w_scaling)
|
|
|
|
extern PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV;
|
|
|
|
#endif /* defined(VK_NV_clip_space_w_scaling) */
|
|
|
|
#if defined(VK_NV_cooperative_matrix)
|
|
|
|
extern PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV vkGetPhysicalDeviceCooperativeMatrixPropertiesNV;
|
|
|
|
#endif /* defined(VK_NV_cooperative_matrix) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_copy_memory_indirect)
|
|
|
|
extern PFN_vkCmdCopyMemoryIndirectNV vkCmdCopyMemoryIndirectNV;
|
|
|
|
extern PFN_vkCmdCopyMemoryToImageIndirectNV vkCmdCopyMemoryToImageIndirectNV;
|
|
|
|
#endif /* defined(VK_NV_copy_memory_indirect) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_coverage_reduction_mode)
|
|
|
|
extern PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV;
|
|
|
|
#endif /* defined(VK_NV_coverage_reduction_mode) */
|
2024-02-06 03:39:02 +08:00
|
|
|
#if defined(VK_NV_cuda_kernel_launch)
|
|
|
|
extern PFN_vkCmdCudaLaunchKernelNV vkCmdCudaLaunchKernelNV;
|
|
|
|
extern PFN_vkCreateCudaFunctionNV vkCreateCudaFunctionNV;
|
|
|
|
extern PFN_vkCreateCudaModuleNV vkCreateCudaModuleNV;
|
|
|
|
extern PFN_vkDestroyCudaFunctionNV vkDestroyCudaFunctionNV;
|
|
|
|
extern PFN_vkDestroyCudaModuleNV vkDestroyCudaModuleNV;
|
|
|
|
extern PFN_vkGetCudaModuleCacheNV vkGetCudaModuleCacheNV;
|
|
|
|
#endif /* defined(VK_NV_cuda_kernel_launch) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_device_diagnostic_checkpoints)
|
|
|
|
extern PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV;
|
|
|
|
extern PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV;
|
|
|
|
#endif /* defined(VK_NV_device_diagnostic_checkpoints) */
|
|
|
|
#if defined(VK_NV_device_generated_commands)
|
|
|
|
extern PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV;
|
|
|
|
extern PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV;
|
|
|
|
extern PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV;
|
|
|
|
extern PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV;
|
|
|
|
extern PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV;
|
|
|
|
extern PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV;
|
|
|
|
#endif /* defined(VK_NV_device_generated_commands) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_NV_device_generated_commands_compute)
|
|
|
|
extern PFN_vkCmdUpdatePipelineIndirectBufferNV vkCmdUpdatePipelineIndirectBufferNV;
|
|
|
|
extern PFN_vkGetPipelineIndirectDeviceAddressNV vkGetPipelineIndirectDeviceAddressNV;
|
|
|
|
extern PFN_vkGetPipelineIndirectMemoryRequirementsNV vkGetPipelineIndirectMemoryRequirementsNV;
|
|
|
|
#endif /* defined(VK_NV_device_generated_commands_compute) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_external_memory_capabilities)
|
|
|
|
extern PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV;
|
|
|
|
#endif /* defined(VK_NV_external_memory_capabilities) */
|
2021-09-22 18:40:17 +08:00
|
|
|
#if defined(VK_NV_external_memory_rdma)
|
|
|
|
extern PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV;
|
|
|
|
#endif /* defined(VK_NV_external_memory_rdma) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_external_memory_win32)
|
|
|
|
extern PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV;
|
|
|
|
#endif /* defined(VK_NV_external_memory_win32) */
|
|
|
|
#if defined(VK_NV_fragment_shading_rate_enums)
|
|
|
|
extern PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV;
|
|
|
|
#endif /* defined(VK_NV_fragment_shading_rate_enums) */
|
2024-01-12 07:27:30 +08:00
|
|
|
#if defined(VK_NV_low_latency2)
|
|
|
|
extern PFN_vkGetLatencyTimingsNV vkGetLatencyTimingsNV;
|
|
|
|
extern PFN_vkLatencySleepNV vkLatencySleepNV;
|
|
|
|
extern PFN_vkQueueNotifyOutOfBandNV vkQueueNotifyOutOfBandNV;
|
|
|
|
extern PFN_vkSetLatencyMarkerNV vkSetLatencyMarkerNV;
|
|
|
|
extern PFN_vkSetLatencySleepModeNV vkSetLatencySleepModeNV;
|
|
|
|
#endif /* defined(VK_NV_low_latency2) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_memory_decompression)
|
|
|
|
extern PFN_vkCmdDecompressMemoryIndirectCountNV vkCmdDecompressMemoryIndirectCountNV;
|
|
|
|
extern PFN_vkCmdDecompressMemoryNV vkCmdDecompressMemoryNV;
|
|
|
|
#endif /* defined(VK_NV_memory_decompression) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_mesh_shader)
|
|
|
|
extern PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV;
|
|
|
|
extern PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV;
|
|
|
|
extern PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV;
|
|
|
|
#endif /* defined(VK_NV_mesh_shader) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_NV_optical_flow)
|
|
|
|
extern PFN_vkBindOpticalFlowSessionImageNV vkBindOpticalFlowSessionImageNV;
|
|
|
|
extern PFN_vkCmdOpticalFlowExecuteNV vkCmdOpticalFlowExecuteNV;
|
|
|
|
extern PFN_vkCreateOpticalFlowSessionNV vkCreateOpticalFlowSessionNV;
|
|
|
|
extern PFN_vkDestroyOpticalFlowSessionNV vkDestroyOpticalFlowSessionNV;
|
|
|
|
extern PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV vkGetPhysicalDeviceOpticalFlowImageFormatsNV;
|
|
|
|
#endif /* defined(VK_NV_optical_flow) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_ray_tracing)
|
|
|
|
extern PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV;
|
|
|
|
extern PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV;
|
|
|
|
extern PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV;
|
|
|
|
extern PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV;
|
|
|
|
extern PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV;
|
|
|
|
extern PFN_vkCompileDeferredNV vkCompileDeferredNV;
|
|
|
|
extern PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV;
|
|
|
|
extern PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV;
|
|
|
|
extern PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV;
|
|
|
|
extern PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV;
|
|
|
|
extern PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV;
|
|
|
|
extern PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV;
|
|
|
|
#endif /* defined(VK_NV_ray_tracing) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if defined(VK_NV_scissor_exclusive) && VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION >= 2
|
|
|
|
extern PFN_vkCmdSetExclusiveScissorEnableNV vkCmdSetExclusiveScissorEnableNV;
|
|
|
|
#endif /* defined(VK_NV_scissor_exclusive) && VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION >= 2 */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_NV_scissor_exclusive)
|
|
|
|
extern PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV;
|
|
|
|
#endif /* defined(VK_NV_scissor_exclusive) */
|
|
|
|
#if defined(VK_NV_shading_rate_image)
|
|
|
|
extern PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV;
|
|
|
|
extern PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV;
|
|
|
|
extern PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV;
|
|
|
|
#endif /* defined(VK_NV_shading_rate_image) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_QCOM_tile_properties)
|
|
|
|
extern PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM;
|
|
|
|
extern PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM;
|
|
|
|
#endif /* defined(VK_QCOM_tile_properties) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if defined(VK_QNX_external_memory_screen_buffer)
|
|
|
|
extern PFN_vkGetScreenBufferPropertiesQNX vkGetScreenBufferPropertiesQNX;
|
|
|
|
#endif /* defined(VK_QNX_external_memory_screen_buffer) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if defined(VK_QNX_screen_surface)
|
|
|
|
extern PFN_vkCreateScreenSurfaceQNX vkCreateScreenSurfaceQNX;
|
|
|
|
extern PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX vkGetPhysicalDeviceScreenPresentationSupportQNX;
|
|
|
|
#endif /* defined(VK_QNX_screen_surface) */
|
2022-10-31 20:47:11 +08:00
|
|
|
#if defined(VK_VALVE_descriptor_set_host_mapping)
|
|
|
|
extern PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE;
|
|
|
|
extern PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE;
|
|
|
|
#endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if (defined(VK_EXT_extended_dynamic_state)) || (defined(VK_EXT_shader_object))
|
|
|
|
extern PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT;
|
|
|
|
extern PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT;
|
|
|
|
extern PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT;
|
|
|
|
extern PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT;
|
|
|
|
extern PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT;
|
|
|
|
extern PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT;
|
|
|
|
extern PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT;
|
|
|
|
extern PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT;
|
|
|
|
extern PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT;
|
|
|
|
extern PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT;
|
|
|
|
extern PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT;
|
|
|
|
extern PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state)) || (defined(VK_EXT_shader_object)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state2)) || (defined(VK_EXT_shader_object))
|
|
|
|
extern PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT;
|
|
|
|
extern PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT;
|
|
|
|
extern PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT;
|
|
|
|
extern PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT;
|
|
|
|
extern PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state2)) || (defined(VK_EXT_shader_object)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3)) || (defined(VK_EXT_shader_object))
|
|
|
|
extern PFN_vkCmdSetAlphaToCoverageEnableEXT vkCmdSetAlphaToCoverageEnableEXT;
|
|
|
|
extern PFN_vkCmdSetAlphaToOneEnableEXT vkCmdSetAlphaToOneEnableEXT;
|
|
|
|
extern PFN_vkCmdSetColorBlendAdvancedEXT vkCmdSetColorBlendAdvancedEXT;
|
|
|
|
extern PFN_vkCmdSetColorBlendEnableEXT vkCmdSetColorBlendEnableEXT;
|
|
|
|
extern PFN_vkCmdSetColorBlendEquationEXT vkCmdSetColorBlendEquationEXT;
|
|
|
|
extern PFN_vkCmdSetColorWriteMaskEXT vkCmdSetColorWriteMaskEXT;
|
|
|
|
extern PFN_vkCmdSetConservativeRasterizationModeEXT vkCmdSetConservativeRasterizationModeEXT;
|
|
|
|
extern PFN_vkCmdSetDepthClampEnableEXT vkCmdSetDepthClampEnableEXT;
|
|
|
|
extern PFN_vkCmdSetDepthClipEnableEXT vkCmdSetDepthClipEnableEXT;
|
|
|
|
extern PFN_vkCmdSetDepthClipNegativeOneToOneEXT vkCmdSetDepthClipNegativeOneToOneEXT;
|
|
|
|
extern PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT vkCmdSetExtraPrimitiveOverestimationSizeEXT;
|
|
|
|
extern PFN_vkCmdSetLineRasterizationModeEXT vkCmdSetLineRasterizationModeEXT;
|
|
|
|
extern PFN_vkCmdSetLineStippleEnableEXT vkCmdSetLineStippleEnableEXT;
|
|
|
|
extern PFN_vkCmdSetLogicOpEnableEXT vkCmdSetLogicOpEnableEXT;
|
|
|
|
extern PFN_vkCmdSetPolygonModeEXT vkCmdSetPolygonModeEXT;
|
|
|
|
extern PFN_vkCmdSetProvokingVertexModeEXT vkCmdSetProvokingVertexModeEXT;
|
|
|
|
extern PFN_vkCmdSetRasterizationSamplesEXT vkCmdSetRasterizationSamplesEXT;
|
|
|
|
extern PFN_vkCmdSetRasterizationStreamEXT vkCmdSetRasterizationStreamEXT;
|
|
|
|
extern PFN_vkCmdSetSampleLocationsEnableEXT vkCmdSetSampleLocationsEnableEXT;
|
|
|
|
extern PFN_vkCmdSetSampleMaskEXT vkCmdSetSampleMaskEXT;
|
|
|
|
extern PFN_vkCmdSetTessellationDomainOriginEXT vkCmdSetTessellationDomainOriginEXT;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3)) || (defined(VK_EXT_shader_object)) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling))
|
|
|
|
extern PFN_vkCmdSetViewportWScalingEnableNV vkCmdSetViewportWScalingEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_clip_space_w_scaling)) || (defined(VK_EXT_shader_object) && defined(VK_NV_clip_space_w_scaling)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle))
|
|
|
|
extern PFN_vkCmdSetViewportSwizzleNV vkCmdSetViewportSwizzleNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_viewport_swizzle)) || (defined(VK_EXT_shader_object) && defined(VK_NV_viewport_swizzle)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color))
|
|
|
|
extern PFN_vkCmdSetCoverageToColorEnableNV vkCmdSetCoverageToColorEnableNV;
|
|
|
|
extern PFN_vkCmdSetCoverageToColorLocationNV vkCmdSetCoverageToColorLocationNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_fragment_coverage_to_color)) || (defined(VK_EXT_shader_object) && defined(VK_NV_fragment_coverage_to_color)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples))
|
|
|
|
extern PFN_vkCmdSetCoverageModulationModeNV vkCmdSetCoverageModulationModeNV;
|
|
|
|
extern PFN_vkCmdSetCoverageModulationTableEnableNV vkCmdSetCoverageModulationTableEnableNV;
|
|
|
|
extern PFN_vkCmdSetCoverageModulationTableNV vkCmdSetCoverageModulationTableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_framebuffer_mixed_samples)) || (defined(VK_EXT_shader_object) && defined(VK_NV_framebuffer_mixed_samples)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image))
|
|
|
|
extern PFN_vkCmdSetShadingRateImageEnableNV vkCmdSetShadingRateImageEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_shading_rate_image)) || (defined(VK_EXT_shader_object) && defined(VK_NV_shading_rate_image)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test))
|
|
|
|
extern PFN_vkCmdSetRepresentativeFragmentTestEnableNV vkCmdSetRepresentativeFragmentTestEnableNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_representative_fragment_test)) || (defined(VK_EXT_shader_object) && defined(VK_NV_representative_fragment_test)) */
|
|
|
|
#if (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode))
|
|
|
|
extern PFN_vkCmdSetCoverageReductionModeNV vkCmdSetCoverageReductionModeNV;
|
|
|
|
#endif /* (defined(VK_EXT_extended_dynamic_state3) && defined(VK_NV_coverage_reduction_mode)) || (defined(VK_EXT_shader_object) && defined(VK_NV_coverage_reduction_mode)) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
|
|
|
|
extern PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT;
|
|
|
|
#endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
|
2023-09-01 17:11:12 +08:00
|
|
|
#if (defined(VK_EXT_host_image_copy)) || (defined(VK_EXT_image_compression_control))
|
|
|
|
extern PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT;
|
|
|
|
#endif /* (defined(VK_EXT_host_image_copy)) || (defined(VK_EXT_image_compression_control)) */
|
2023-06-06 13:19:51 +08:00
|
|
|
#if (defined(VK_EXT_shader_object)) || (defined(VK_EXT_vertex_input_dynamic_state))
|
|
|
|
extern PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT;
|
|
|
|
#endif /* (defined(VK_EXT_shader_object)) || (defined(VK_EXT_vertex_input_dynamic_state)) */
|
2021-08-12 19:24:54 +08:00
|
|
|
#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template))
|
|
|
|
extern PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR;
|
|
|
|
#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */
|
|
|
|
#if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
|
|
|
|
extern PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR;
|
|
|
|
extern PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR;
|
|
|
|
extern PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR;
|
|
|
|
#endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
|
|
|
|
#if (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
|
|
|
|
extern PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR;
|
|
|
|
#endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
|
|
|
|
/* VOLK_GENERATE_PROTOTYPES_H */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef VOLK_IMPLEMENTATION
|
|
|
|
#undef VOLK_IMPLEMENTATION
|
2024-02-06 03:39:02 +08:00
|
|
|
/* Prevent tools like dependency checkers from detecting a cyclic dependency */
|
2021-08-12 19:24:54 +08:00
|
|
|
#define VOLK_SOURCE "volk.c"
|
|
|
|
#include VOLK_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2023-06-06 13:19:51 +08:00
|
|
|
* Copyright (c) 2018-2023 Arseny Kapoulkine
|
2021-08-12 19:24:54 +08:00
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
* in the Software without restriction, including without limitation the rights
|
|
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
|
|
* copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
* SOFTWARE.
|
|
|
|
*/
|
|
|
|
/* clang-format on */
|