29 #if defined(__GNUC__) && __GNUC__ >= 4 30 #define VK_LAYER_EXPORT __attribute__((visibility("default"))) 31 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) 32 #define VK_LAYER_EXPORT __attribute__((visibility("default"))) 34 #define VK_LAYER_EXPORT 38 #include "vk_layer_dispatch_table.h" 40 #define MAX_NUM_UNKNOWN_EXTS 250 48 #define CURRENT_LOADER_LAYER_INTERFACE_VERSION 2 49 #define MIN_SUPPORTED_LOADER_LAYER_INTERFACE_VERSION 1 51 #define VK_CURRENT_CHAIN_VERSION 1 162 #if defined(__cplusplus) 164 return pfnNextLayer(
pNextLink, pLayerName, pPropertyCount, pProperties);
174 #if defined(__cplusplus) 176 return pfnNextLayer(
pNextLink, pPropertyCount, pProperties);
186 #if defined(__cplusplus) 188 return pfnNextLayer(
pNextLink, pApiVersion);
VkResult(VKAPI_PTR * PFN_vkSetInstanceLoaderData)(VkInstance instance, void *object)
Definition: vk_layer.h:106
PFN_vkVoidFunction(VKAPI_PTR * PFN_vkGetDeviceProcAddr)(VkDevice device, const char *pName)
Definition: vulkan_core.h:2731
uint32_t version
Definition: vk_layer.h:152
const void * pNext
Definition: vk_layer.h:113
enum VkLayerFunction_ VkLayerFunction
void * pNext
Definition: vk_layer.h:62
VKAPI_ATTR VkResult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct)
PFN_vkGetInstanceProcAddr pfnGetInstanceProcAddr
Definition: vk_layer.h:64
PFN_vkSetInstanceLoaderData pfnSetInstanceLoaderData
Definition: vk_layer.h:117
VkResult(VKAPI_PTR * PFN_vkNegotiateLoaderLayerInterfaceVersion)(VkNegotiateLayerInterface *pVersionStruct)
Definition: vk_layer.h:70
Definition: vk_layer.h:84
Definition: vk_layer.h:111
Definition: vulkan_core.h:1928
uint32_t size
Definition: vk_layer.h:153
#define VKAPI_PTR
Definition: vk_platform.h:68
PFN_GetPhysicalDeviceProcAddr pfnNextGetPhysicalDeviceProcAddr
Definition: vk_layer.h:91
VkLayerFunction_
Definition: vk_layer.h:83
const void * pNext
Definition: vk_layer.h:129
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceExtensionPropertiesChain *
VkResult(VKAPI_PTR * PFN_vkSetDeviceLoaderData)(VkDevice device, void *object)
Definition: vk_layer.h:108
PFN_vkVoidFunction(VKAPI_PTR * PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName)
Definition: vk_icd.h:52
Definition: vk_layer.h:85
Definition: vk_layer.h:150
Definition: vk_layer.h:55
struct VkLayerInstanceLink_ VkLayerInstanceLink
struct VkEnumerateInstanceVersionChain VkEnumerateInstanceVersionChain
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr
Definition: vk_layer.h:90
struct VkLayerDeviceLink_ * pNext
Definition: vk_layer.h:122
struct VkEnumerateInstanceExtensionPropertiesChain VkEnumerateInstanceExtensionPropertiesChain
Definition: vk_layer.h:147
Definition: vk_layer.h:144
Definition: vk_layer.h:60
PFN_vkGetDeviceProcAddr pfnGetDeviceProcAddr
Definition: vk_layer.h:65
struct VkEnumerateInstanceLayerPropertiesChain VkEnumerateInstanceLayerPropertiesChain
VkChainType
Definition: vk_layer.h:143
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceVersionChain *
uint32_t *const struct VkEnumerateInstanceVersionChain * pNextLink
Definition: vk_layer.h:184
Definition: vk_layer.h:121
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr
Definition: vk_layer.h:103
#define VKAPI_CALL
Definition: vk_platform.h:67
VkStructureType sType
Definition: vk_layer.h:128
Definition: vk_layer.h:101
Definition: vk_layer.h:145
void * device_info
Definition: vk_layer.h:102
VkLayerDeviceLink * pLayerInfo
Definition: vk_layer.h:132
Definition: vk_layer.h:169
VkResult
Definition: vulkan_core.h:124
uint32_t loaderLayerInterfaceVersion
Definition: vk_layer.h:63
Definition: vk_layer.h:146
Definition: vk_layer.h:88
VkChainHeader header
Definition: vk_layer.h:157
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr
Definition: vk_layer.h:123
Definition: vk_layer.h:156
Definition: vk_layer.h:127
VkNegotiateLayerStructType sType
Definition: vk_layer.h:61
VkStructureType sType
Definition: vk_layer.h:112
PFN_vkGetDeviceProcAddr pfnNextGetDeviceProcAddr
Definition: vk_layer.h:124
VkStructureType
Definition: vulkan_core.h:162
PFN_vkSetDeviceLoaderData pfnSetDeviceLoaderData
Definition: vk_layer.h:133
VkChainHeader header
Definition: vk_layer.h:170
struct VkChainHeader VkChainHeader
VkNegotiateLayerStructType
Definition: vk_layer.h:54
Definition: vk_layer.h:56
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceLayerPropertiesChain *
VkChainHeader header
Definition: vk_layer.h:182
const char uint32_t VkExtensionProperties *const struct VkEnumerateInstanceExtensionPropertiesChain * pNextLink
Definition: vk_layer.h:160
uint32_t VkLayerProperties *const struct VkEnumerateInstanceLayerPropertiesChain * pNextLink
Definition: vk_layer.h:172
Definition: vk_layer.h:181
#define VKAPI_ATTR
Definition: vk_platform.h:66
struct VkLayerInstanceLink_ * pNext
Definition: vk_layer.h:89
Definition: vulkan_core.h:1933
VkChainType type
Definition: vk_layer.h:151
struct VkLayerDeviceLink_ VkLayerDeviceLink
struct nk_device device
Definition: nk_common.c:44
VkResult(VKAPI_PTR * PFN_PhysDevExt)(VkPhysicalDevice phys_device)
Definition: vk_layer.h:73
unsigned int uint32_t
Definition: stdint.h:126
VkLayerInstanceLink * pLayerInfo
Definition: vk_layer.h:116
struct VkLayerDeviceInfo_ VkLayerDeviceInfo
GLuint object
Definition: glsym_es2.h:109
PFN_GetPhysicalDeviceProcAddr pfnGetPhysicalDeviceProcAddr
Definition: vk_layer.h:66
PFN_vkVoidFunction(VKAPI_PTR * PFN_vkGetInstanceProcAddr)(VkInstance instance, const char *pName)
Definition: vulkan_core.h:2730
struct VkNegotiateLayerInterface VkNegotiateLayerInterface