Lines Matching refs:instance
58 VKAPI_ATTR void disabledDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR, const VkAllocationCallbacks*) {
59 driver::Logger(instance).Err(instance, "VK_KHR_surface not enabled. Exported vkDestroySurfaceKHR not executed.");
106 VKAPI_ATTR VkResult disabledCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR*, const VkAllocationCallbacks*, VkSurfaceKHR*) {
107 driver::Logger(instance).Err(instance, "VK_KHR_android_surface not enabled. Exported vkCreateAndroidSurfaceKHR not executed.");
116 VkInstance instance,
119 auto& data = GetData(instance);
123 INIT_PROC(true, instance, DestroyInstance);
124 INIT_PROC(true, instance, EnumeratePhysicalDevices);
125 INIT_PROC(true, instance, GetInstanceProcAddr);
126 INIT_PROC(true, instance, GetPhysicalDeviceProperties);
127 INIT_PROC(true, instance, GetPhysicalDeviceQueueFamilyProperties);
128 INIT_PROC(true, instance, GetPhysicalDeviceMemoryProperties);
129 INIT_PROC(true, instance, GetPhysicalDeviceFeatures);
130 INIT_PROC(true, instance, GetPhysicalDeviceFormatProperties);
131 INIT_PROC(true, instance, GetPhysicalDeviceImageFormatProperties);
132 INIT_PROC(true, instance, CreateDevice);
133 INIT_PROC(true, instance, EnumerateDeviceExtensionProperties);
134 INIT_PROC(true, instance, GetPhysicalDeviceSparseImageFormatProperties);
135 INIT_PROC_EXT(KHR_surface, true, instance, DestroySurfaceKHR);
136 INIT_PROC_EXT(KHR_surface, true, instance, GetPhysicalDeviceSurfaceSupportKHR);
137 INIT_PROC_EXT(KHR_surface, true, instance, GetPhysicalDeviceSurfaceCapabilitiesKHR);
138 INIT_PROC_EXT(KHR_surface, true, instance, GetPhysicalDeviceSurfaceFormatsKHR);
139 INIT_PROC_EXT(KHR_surface, true, instance, GetPhysicalDeviceSurfacePresentModesKHR);
140 INIT_PROC_EXT(KHR_android_surface, true, instance, CreateAndroidSurfaceKHR);
290 VKAPI_ATTR VkResult EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
292 VKAPI_ATTR PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* pName);
419 VKAPI_ATTR void DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator);
429 VKAPI_ATTR VkResult CreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
431 VKAPI_ATTR VkResult EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) {
432 return GetData(instance).dispatch.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
503 VKAPI_ATTR PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* pName) {
505 if (instance == VK_NULL_HANDLE) {
660 vulkan::driver::Logger(instance).Err(
661 instance, "invalid vkGetInstanceProcAddr(%p, \"%s\") call",
662 instance, pName);
668 return GetData(instance).dispatch.GetInstanceProcAddr(instance, pName);
1175 VKAPI_ATTR void DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) {
1176 GetData(instance).dispatch.DestroySurfaceKHR(instance, surface, pAllocator);
1215 VKAPI_ATTR VkResult CreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1216 return GetData(instance).dispatch.CreateAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
1235 VKAPI_ATTR void vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) {
1236 vulkan::api::DestroyInstance(instance, pAllocator);
1240 VKAPI_ATTR VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) {
1241 return vulkan::api::EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
1250 VKAPI_ATTR PFN_vkVoidFunction vkGetInstanceProcAddr(VkInstance instance, const char* pName) {
1251 return vulkan::api::GetInstanceProcAddr(instance, pName);
1915 VKAPI_ATTR void vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) {
1916 vulkan::api::DestroySurfaceKHR(instance, surface, pAllocator);
1965 VKAPI_ATTR VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
1966 return vulkan::api::CreateAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);