RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
vk_layer.h File Reference
#include "vulkan.h"
#include "vk_layer_dispatch_table.h"
Include dependency graph for vk_layer.h:

Go to the source code of this file.

Classes

struct  VkNegotiateLayerInterface
 
struct  VkLayerInstanceLink_
 
struct  VkLayerDeviceInfo_
 
struct  VkLayerInstanceCreateInfo
 
struct  VkLayerDeviceLink_
 
struct  VkLayerDeviceCreateInfo
 
struct  VkChainHeader
 
struct  VkEnumerateInstanceExtensionPropertiesChain
 
struct  VkEnumerateInstanceLayerPropertiesChain
 
struct  VkEnumerateInstanceVersionChain
 

Macros

#define VK_LAYER_EXPORT
 
#define MAX_NUM_UNKNOWN_EXTS   250
 
#define CURRENT_LOADER_LAYER_INTERFACE_VERSION   2
 
#define MIN_SUPPORTED_LOADER_LAYER_INTERFACE_VERSION   1
 
#define VK_CURRENT_CHAIN_VERSION   1
 

Typedefs

typedef enum VkNegotiateLayerStructType VkNegotiateLayerStructType
 
typedef struct VkNegotiateLayerInterface VkNegotiateLayerInterface
 
typedef VkResult(VKAPI_PTRPFN_vkNegotiateLoaderLayerInterfaceVersion) (VkNegotiateLayerInterface *pVersionStruct)
 
typedef VkResult(VKAPI_PTRPFN_PhysDevExt) (VkPhysicalDevice phys_device)
 
typedef enum VkLayerFunction_ VkLayerFunction
 
typedef struct VkLayerInstanceLink_ VkLayerInstanceLink
 
typedef struct VkLayerDeviceInfo_ VkLayerDeviceInfo
 
typedef VkResult(VKAPI_PTRPFN_vkSetInstanceLoaderData) (VkInstance instance, void *object)
 
typedef VkResult(VKAPI_PTRPFN_vkSetDeviceLoaderData) (VkDevice device, void *object)
 
typedef struct VkLayerDeviceLink_ VkLayerDeviceLink
 
typedef enum VkChainType VkChainType
 
typedef struct VkChainHeader VkChainHeader
 
typedef struct VkEnumerateInstanceExtensionPropertiesChain VkEnumerateInstanceExtensionPropertiesChain
 
typedef struct VkEnumerateInstanceLayerPropertiesChain VkEnumerateInstanceLayerPropertiesChain
 
typedef struct VkEnumerateInstanceVersionChain VkEnumerateInstanceVersionChain
 

Enumerations

enum  VkNegotiateLayerStructType { LAYER_NEGOTIATE_UNINTIALIZED = 0, LAYER_NEGOTIATE_INTERFACE_STRUCT = 1 }
 
enum  VkLayerFunction_ { VK_LAYER_LINK_INFO = 0, VK_LOADER_DATA_CALLBACK = 1 }
 
enum  VkChainType { VK_CHAIN_TYPE_UNKNOWN = 0, VK_CHAIN_TYPE_ENUMERATE_INSTANCE_EXTENSION_PROPERTIES = 1, VK_CHAIN_TYPE_ENUMERATE_INSTANCE_LAYER_PROPERTIES = 2, VK_CHAIN_TYPE_ENUMERATE_INSTANCE_VERSION = 3 }
 

Functions

VKAPI_ATTR VkResult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion (VkNegotiateLayerInterface *pVersionStruct)
 

Macro Definition Documentation

◆ CURRENT_LOADER_LAYER_INTERFACE_VERSION

#define CURRENT_LOADER_LAYER_INTERFACE_VERSION   2

◆ MAX_NUM_UNKNOWN_EXTS

#define MAX_NUM_UNKNOWN_EXTS   250

◆ MIN_SUPPORTED_LOADER_LAYER_INTERFACE_VERSION

#define MIN_SUPPORTED_LOADER_LAYER_INTERFACE_VERSION   1

◆ VK_CURRENT_CHAIN_VERSION

#define VK_CURRENT_CHAIN_VERSION   1

◆ VK_LAYER_EXPORT

#define VK_LAYER_EXPORT

Typedef Documentation

◆ PFN_PhysDevExt

typedef VkResult(VKAPI_PTR * PFN_PhysDevExt) (VkPhysicalDevice phys_device)

◆ PFN_vkNegotiateLoaderLayerInterfaceVersion

typedef VkResult(VKAPI_PTR * PFN_vkNegotiateLoaderLayerInterfaceVersion) (VkNegotiateLayerInterface *pVersionStruct)

◆ PFN_vkSetDeviceLoaderData

typedef VkResult(VKAPI_PTR * PFN_vkSetDeviceLoaderData) (VkDevice device, void *object)

◆ PFN_vkSetInstanceLoaderData

typedef VkResult(VKAPI_PTR * PFN_vkSetInstanceLoaderData) (VkInstance instance, void *object)

◆ VkChainHeader

typedef struct VkChainHeader VkChainHeader

◆ VkChainType

typedef enum VkChainType VkChainType

◆ VkEnumerateInstanceExtensionPropertiesChain

◆ VkEnumerateInstanceLayerPropertiesChain

◆ VkEnumerateInstanceVersionChain

◆ VkLayerDeviceInfo

◆ VkLayerDeviceLink

◆ VkLayerFunction

◆ VkLayerInstanceLink

◆ VkNegotiateLayerInterface

◆ VkNegotiateLayerStructType

Enumeration Type Documentation

◆ VkChainType

Enumerator
VK_CHAIN_TYPE_UNKNOWN 
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_EXTENSION_PROPERTIES 
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_LAYER_PROPERTIES 
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_VERSION 

◆ VkLayerFunction_

Enumerator
VK_LAYER_LINK_INFO 
VK_LOADER_DATA_CALLBACK 

◆ VkNegotiateLayerStructType

Enumerator
LAYER_NEGOTIATE_UNINTIALIZED 
LAYER_NEGOTIATE_INTERFACE_STRUCT 

Function Documentation

◆ vkNegotiateLoaderLayerInterfaceVersion()

VKAPI_ATTR VkResult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion ( VkNegotiateLayerInterface pVersionStruct)