Lines Matching refs:loader_inst

41 void wsi_create_instance(struct loader_instance *loader_inst, const VkInstanceCreateInfo *pCreateInfo) {
44 loader_inst->wsi_surface_enabled = true;
49 loader_inst->wsi_win32_surface_enabled = true;
55 loader_inst->wsi_wayland_surface_enabled = true;
61 loader_inst->wsi_xcb_surface_enabled = true;
67 loader_inst->wsi_xlib_surface_enabled = true;
73 loader_inst->wsi_directfb_surface_enabled = true;
79 loader_inst->wsi_android_surface_enabled = true;
85 loader_inst->wsi_ohos_surface_enabled = true;
91 loader_inst->wsi_macos_surface_enabled = true;
97 loader_inst->wsi_ios_surface_enabled = true;
103 loader_inst->wsi_ggp_surface_enabled = true;
109 loader_inst->wsi_imagepipe_surface_enabled = true;
114 loader_inst->wsi_headless_surface_enabled = true;
119 loader_inst->wsi_metal_surface_enabled = true;
125 loader_inst->wsi_screen_surface_enabled = true;
131 loader_inst->wsi_vi_surface_enabled = true;
136 loader_inst->wsi_display_enabled = true;
140 loader_inst->wsi_display_props2_enabled = true;
180 struct loader_instance *loader_inst = loader_get_instance(instance);
181 if (NULL == loader_inst) {
186 loader_inst->disp->layer_inst_disp.DestroySurfaceKHR(loader_inst->instance, surface, pAllocator);
194 struct loader_instance *loader_inst = loader_get_instance(instance);
200 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
214 loader_instance_heap_free(loader_inst, icd_surface->real_icd_surfaces);
217 loader_instance_heap_free(loader_inst, (void *)(uintptr_t)surface);
245 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
246 if (!loader_inst->wsi_surface_enabled) {
247 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
253 loader_log(loader_inst, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT, 0,
262 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
300 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
301 if (!loader_inst->wsi_surface_enabled) {
302 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
308 loader_log(loader_inst, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT, 0,
316 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
356 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
357 if (!loader_inst->wsi_surface_enabled) {
358 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
364 loader_log(loader_inst, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT, 0,
372 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
414 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
415 if (!loader_inst->wsi_surface_enabled) {
416 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
422 loader_log(loader_inst, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT, 0,
430 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
589 struct loader_instance *loader_inst = loader_get_instance(instance);
590 if (NULL == loader_inst) {
595 return loader_inst->disp->layer_inst_disp.CreateWin32SurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
608 struct loader_instance *loader_inst = loader_get_instance(instance);
609 if (!loader_inst->wsi_win32_surface_enabled) {
610 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
617 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->win_surf.base), sizeof(pIcdSurface->win_surf));
628 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
647 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
653 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
655 loader_instance_heap_free(loader_inst, pIcdSurface);
684 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
685 if (!loader_inst->wsi_win32_surface_enabled) {
686 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
693 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
709 struct loader_instance *loader_inst = loader_get_instance(instance);
710 if (NULL == loader_inst) {
715 return loader_inst->disp->layer_inst_disp.CreateWaylandSurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
727 struct loader_instance *loader_inst = loader_get_instance(instance);
728 if (!loader_inst->wsi_wayland_surface_enabled) {
729 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
736 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->wayland_surf.base), sizeof(pIcdSurface->wayland_surf));
747 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
766 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
772 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
774 loader_instance_heap_free(loader_inst, pIcdSurface);
805 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
806 if (!loader_inst->wsi_wayland_surface_enabled) {
807 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
814 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
832 struct loader_instance *loader_inst = loader_get_instance(instance);
833 if (NULL == loader_inst) {
838 return loader_inst->disp->layer_inst_disp.CreateXcbSurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
849 struct loader_instance *loader_inst = loader_get_instance(instance);
850 if (!loader_inst->wsi_xcb_surface_enabled) {
851 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
858 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->xcb_surf.base), sizeof(pIcdSurface->xcb_surf));
869 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
888 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
894 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
896 loader_instance_heap_free(loader_inst, pIcdSurface);
929 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
930 if (!loader_inst->wsi_xcb_surface_enabled) {
931 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
938 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
957 struct loader_instance *loader_inst = loader_get_instance(instance);
958 if (NULL == loader_inst) {
963 return loader_inst->disp->layer_inst_disp.CreateXlibSurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
974 struct loader_instance *loader_inst = loader_get_instance(instance);
975 if (!loader_inst->wsi_xlib_surface_enabled) {
976 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
983 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->xlib_surf.base), sizeof(pIcdSurface->xlib_surf));
994 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1013 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1019 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1021 loader_instance_heap_free(loader_inst, pIcdSurface);
1052 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1053 if (!loader_inst->wsi_xlib_surface_enabled) {
1054 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1061 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1079 struct loader_instance *loader_inst = loader_get_instance(instance);
1080 if (NULL == loader_inst) {
1085 return loader_inst->disp->layer_inst_disp.CreateDirectFBSurfaceEXT(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1098 struct loader_instance *loader_inst = loader_get_instance(instance);
1099 if (!loader_inst->wsi_directfb_surface_enabled) {
1100 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1108 AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->directfb_surf.base), sizeof(pIcdSurface->directfb_surf));
1119 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1138 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1144 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1146 loader_instance_heap_free(loader_inst, pIcdSurface);
1177 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1178 if (!loader_inst->wsi_directfb_surface_enabled) {
1180 loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1187 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1206 struct loader_instance *loader_inst = loader_get_instance(instance);
1207 if (NULL == loader_inst) {
1212 return loader_inst->disp->layer_inst_disp.CreateAndroidSurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1220 struct loader_instance *loader_inst = loader_get_instance(instance);
1221 if (!loader_inst->wsi_display_enabled) {
1222 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1229 loader_instance_heap_alloc(loader_inst, sizeof(VkIcdSurfaceAndroid), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
1254 struct loader_instance *loader_inst = loader_get_instance(instance);
1255 if (NULL == loader_inst) {
1260 return loader_inst->disp->layer_inst_disp.CreateSurfaceOHOS(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1268 struct loader_instance *loader_inst = loader_get_instance(instance);
1269 if (!loader_inst->wsi_ohos_surface_enabled) {
1270 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1277 loader_instance_heap_alloc(loader_inst, sizeof(VkIcdSurfaceOHOS), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
1299 struct loader_instance *loader_inst = loader_get_instance(instance);
1300 if (NULL == loader_inst) {
1305 return loader_inst->disp->layer_inst_disp.CreateHeadlessSurfaceEXT(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1402 struct loader_instance *loader_inst = loader_get_instance(instance);
1403 if (NULL == loader_inst) {
1408 return loader_inst->disp->layer_inst_disp.CreateMacOSSurfaceMVK(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1419 struct loader_instance *loader_inst = loader_get_instance(instance);
1420 if (!loader_inst->wsi_macos_surface_enabled) {
1421 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1428 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->macos_surf.base), sizeof(pIcdSurface->macos_surf));
1438 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1457 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1463 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1465 loader_instance_heap_free(loader_inst, pIcdSurface);
1482 struct loader_instance *loader_inst = loader_get_instance(instance);
1483 if (NULL == loader_inst) {
1488 return loader_inst->disp->layer_inst_disp.CreateIOSSurfaceMVK(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1497 struct loader_instance *loader_inst = loader_get_instance(instance);
1498 if (!loader_inst->wsi_ios_surface_enabled) {
1499 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1506 loader_instance_heap_alloc(loader_inst, sizeof(VkIcdSurfaceIOS), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
1529 struct loader_instance *loader_inst = loader_get_instance(instance);
1530 if (NULL == loader_inst) {
1536 return loader_inst->disp->layer_inst_disp.CreateStreamDescriptorSurfaceGGP(loader_inst->instance, pCreateInfo, pAllocator,
1549 struct loader_instance *loader_inst = loader_get_instance(instance);
1550 if (!loader_inst->wsi_ggp_surface_enabled) {
1551 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1558 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->ggp_surf.base), sizeof(pIcdSurface->ggp_surf));
1568 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1587 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1593 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1595 loader_instance_heap_free(loader_inst, pIcdSurface);
1608 struct loader_instance *loader_inst = loader_get_instance(instance);
1609 if (NULL == loader_inst) {
1614 return loader_inst->disp->layer_inst_disp.CreateMetalSurfaceEXT(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1624 struct loader_instance *loader_inst = loader_get_instance(instance);
1625 if (!loader_inst->wsi_metal_surface_enabled) {
1626 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1631 icd_surface = AllocateIcdSurfaceStruct(loader_inst, sizeof(icd_surface->metal_surf.base), sizeof(icd_surface->metal_surf));
1642 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, ++i) {
1659 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, ++i) {
1664 loader_instance_heap_free(loader_inst, icd_surface->real_icd_surfaces);
1666 loader_instance_heap_free(loader_inst, icd_surface);
1680 struct loader_instance *loader_inst = loader_get_instance(instance);
1681 if (NULL == loader_inst) {
1686 return loader_inst->disp->layer_inst_disp.CreateScreenSurfaceQNX(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1698 struct loader_instance *loader_inst = loader_get_instance(instance);
1699 if (!loader_inst->wsi_screen_surface_enabled) {
1700 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1707 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->screen_surf.base), sizeof(pIcdSurface->screen_surf));
1718 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1737 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1743 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1745 loader_instance_heap_free(loader_inst, pIcdSurface);
1776 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1777 if (!loader_inst->wsi_screen_surface_enabled) {
1778 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1785 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1801 struct loader_instance *loader_inst = loader_get_instance(instance);
1802 if (NULL == loader_inst) {
1807 return loader_inst->disp->layer_inst_disp.CreateViSurfaceNN(loader_inst->instance, pCreateInfo, pAllocator, pSurface);
1818 struct loader_instance *loader_inst = loader_get_instance(instance);
1819 if (!loader_inst->wsi_vi_surface_enabled) {
1820 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1827 pIcdSurface = AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->vi_surf.base), sizeof(pIcdSurface->vi_surf));
1837 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1856 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
1862 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
1864 loader_instance_heap_free(loader_inst, pIcdSurface);
1895 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1896 if (!loader_inst->wsi_display_enabled) {
1897 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1903 loader_log(loader_inst, VULKAN_LOADER_WARN_BIT, 0,
1936 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1937 if (!loader_inst->wsi_display_enabled) {
1938 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1944 loader_log(loader_inst, VULKAN_LOADER_WARN_BIT, 0,
1977 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
1978 if (!loader_inst->wsi_display_enabled) {
1979 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
1985 loader_log(loader_inst, VULKAN_LOADER_WARN_BIT, 0,
2019 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
2020 if (!loader_inst->wsi_display_enabled) {
2021 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2027 loader_log(loader_inst, VULKAN_LOADER_WARN_BIT, 0,
2062 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
2063 if (!loader_inst->wsi_display_enabled) {
2064 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2071 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2101 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
2102 if (!loader_inst->wsi_display_enabled) {
2103 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2110 loader_log(loader_inst, VULKAN_LOADER_WARN_BIT, 0,
2125 struct loader_instance *loader_inst = loader_get_instance(instance);
2126 if (NULL == loader_inst) {
2131 return loader_inst->disp->layer_inst_disp.CreateDisplayPlaneSurfaceKHR(loader_inst->instance, pCreateInfo, pAllocator,
2575 struct loader_instance *loader_inst = loader_get_instance(instance);
2576 if (NULL == loader_inst) {
2581 return loader_inst->disp->layer_inst_disp.CreateImagePipeSurfaceFUCHSIA(loader_inst->instance, pCreateInfo, pAllocator,
2597 struct loader_instance *loader_inst = loader_get_instance(instance);
2598 if (!loader_inst->wsi_imagepipe_surface_enabled) {
2599 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2608 AllocateIcdSurfaceStruct(loader_inst, sizeof(pIcdSurface->imagepipe_surf.base), sizeof(pIcdSurface->imagepipe_surf));
2617 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
2636 for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_term->next, i++) {
2642 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces);
2644 loader_instance_heap_free(loader_inst, pIcdSurface);
2671 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
2673 if (!loader_inst->wsi_surface_enabled) {
2674 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2763 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance;
2765 if (!loader_inst->wsi_surface_enabled) {
2766 loader_log(loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
2837 bool wsi_swapchain_instance_gpa(struct loader_instance *loader_inst, const char *name, void **addr) {
2842 *addr = loader_inst->wsi_surface_enabled ? (void *)vkDestroySurfaceKHR : NULL;
2846 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfaceSupportKHR : NULL;
2850 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfaceCapabilitiesKHR : NULL;
2854 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfaceFormatsKHR : NULL;
2858 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfacePresentModesKHR : NULL;
2863 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetDeviceGroupPresentCapabilitiesKHR : NULL;
2868 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetDeviceGroupSurfacePresentModesKHR : NULL;
2873 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDevicePresentRectanglesKHR : NULL;
2879 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfaceCapabilities2KHR : NULL;
2884 *addr = loader_inst->wsi_surface_enabled ? (void *)vkGetPhysicalDeviceSurfaceFormats2KHR : NULL;
2923 *addr = loader_inst->wsi_win32_surface_enabled ? (void *)vkCreateWin32SurfaceKHR : NULL;
2927 *addr = loader_inst->wsi_win32_surface_enabled ? (void *)vkGetPhysicalDeviceWin32PresentationSupportKHR : NULL;
2935 *addr = loader_inst->wsi_wayland_surface_enabled ? (void *)vkCreateWaylandSurfaceKHR : NULL;
2939 *addr = loader_inst->wsi_wayland_surface_enabled ? (void *)vkGetPhysicalDeviceWaylandPresentationSupportKHR : NULL;
2947 *addr = loader_inst->wsi_xcb_surface_enabled ? (void *)vkCreateXcbSurfaceKHR : NULL;
2951 *addr = loader_inst->wsi_xcb_surface_enabled ? (void *)vkGetPhysicalDeviceXcbPresentationSupportKHR : NULL;
2959 *addr = loader_inst->wsi_xlib_surface_enabled ? (void *)vkCreateXlibSurfaceKHR : NULL;
2963 *addr = loader_inst->wsi_xlib_surface_enabled ? (void *)vkGetPhysicalDeviceXlibPresentationSupportKHR : NULL;
2971 *addr = loader_inst->wsi_directfb_surface_enabled ? (void *)vkCreateDirectFBSurfaceEXT : NULL;
2975 *addr = loader_inst->wsi_directfb_surface_enabled ? (void *)vkGetPhysicalDeviceDirectFBPresentationSupportEXT : NULL;
2983 *addr = loader_inst->wsi_android_surface_enabled ? (void *)vkCreateAndroidSurfaceKHR : NULL;
2991 *addr = loader_inst->wsi_ohos_surface_enabled ? (void *)vkCreateSurfaceOHOS : NULL;
3000 *addr = loader_inst->wsi_macos_surface_enabled ? (void *)vkCreateMacOSSurfaceMVK : NULL;
3008 *addr = loader_inst->wsi_ios_surface_enabled ? (void *)vkCreateIOSSurfaceMVK : NULL;
3016 *addr = loader_inst->wsi_ggp_surface_enabled ? (void *)vkCreateStreamDescriptorSurfaceGGP : NULL;
3024 *addr = loader_inst->wsi_imagepipe_surface_enabled ? (void *)vkCreateImagePipeSurfaceFUCHSIA : NULL;
3032 *addr = loader_inst->wsi_headless_surface_enabled ? (void *)vkCreateHeadlessSurfaceEXT : NULL;
3039 *addr = loader_inst->wsi_metal_surface_enabled ? (void *)vkCreateMetalSurfaceEXT : NULL;
3048 *addr = loader_inst->wsi_screen_surface_enabled ? (void *)vkCreateScreenSurfaceQNX : NULL;
3052 *addr = loader_inst->wsi_screen_surface_enabled ? (void *)vkGetPhysicalDeviceScreenPresentationSupportQNX : NULL;
3061 *addr = loader_inst->wsi_vi_surface_enabled ? (void *)vkCreateViSurfaceNN : NULL;
3068 *addr = loader_inst->wsi_display_enabled ? (void *)vkGetPhysicalDeviceDisplayPropertiesKHR : NULL;
3072 *addr = loader_inst->wsi_display_enabled ? (void *)vkGetPhysicalDeviceDisplayPlanePropertiesKHR : NULL;
3076 *addr = loader_inst->wsi_display_enabled ? (void *)vkGetDisplayPlaneSupportedDisplaysKHR : NULL;
3080 *addr = loader_inst->wsi_display_enabled ? (void *)vkGetDisplayModePropertiesKHR : NULL;
3084 *addr = loader_inst->wsi_display_enabled ? (void *)vkCreateDisplayModeKHR : NULL;
3088 *addr = loader_inst->wsi_display_enabled ? (void *)vkGetDisplayPlaneCapabilitiesKHR : NULL;
3092 *addr = loader_inst->wsi_display_enabled ? (void *)vkCreateDisplayPlaneSurfaceKHR : NULL;
3104 *addr = loader_inst->wsi_display_props2_enabled ? (void *)vkGetPhysicalDeviceDisplayProperties2KHR : NULL;
3108 *addr = loader_inst->wsi_display_props2_enabled ? (void *)vkGetPhysicalDeviceDisplayPlaneProperties2KHR : NULL;
3112 *addr = loader_inst->wsi_display_props2_enabled ? (void *)vkGetDisplayModeProperties2KHR : NULL;
3116 *addr = loader_inst->wsi_display_props2_enabled ? (void *)vkGetDisplayPlaneCapabilities2KHR : NULL;