/third_party/vulkan-loader/loader/ |
D | terminator.c | 42 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceProperties() local 43 if (NULL != icd_term->dispatch.GetPhysicalDeviceProperties) { in terminator_GetPhysicalDeviceProperties() 44 icd_term->dispatch.GetPhysicalDeviceProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceProperties() 52 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceQueueFamilyProperties() local 53 if (NULL != icd_term->dispatch.GetPhysicalDeviceQueueFamilyProperties) { in terminator_GetPhysicalDeviceQueueFamilyProperties() 54 …icd_term->dispatch.GetPhysicalDeviceQueueFamilyProperties(phys_dev_term->phys_dev, pQueueFamilyPro… in terminator_GetPhysicalDeviceQueueFamilyProperties() 61 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceMemoryProperties() local 62 if (NULL != icd_term->dispatch.GetPhysicalDeviceMemoryProperties) { in terminator_GetPhysicalDeviceMemoryProperties() 63 icd_term->dispatch.GetPhysicalDeviceMemoryProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceMemoryProperties() 70 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceFeatures() local [all …]
|
D | wsi.c | 200 …for (struct loader_icd_term *icd_term = loader_inst->icd_terms; icd_term != NULL; icd_term = icd_t… in terminator_DestroySurfaceKHR() local 201 if (icd_term->scanned_icd->interface_version >= ICD_VER_SUPPORTS_ICD_SURFACE_KHR) { in terminator_DestroySurfaceKHR() 202 if (NULL != icd_term->dispatch.DestroySurfaceKHR && in terminator_DestroySurfaceKHR() 204 …icd_term->dispatch.DestroySurfaceKHR(icd_term->instance, icd_surface->real_icd_surfaces[i], pAlloc… in terminator_DestroySurfaceKHR() 244 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceSurfaceSupportKHR() local 245 struct loader_instance *loader_inst = (struct loader_instance *)icd_term->this_instance; in terminator_GetPhysicalDeviceSurfaceSupportKHR() 259 if (NULL == icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR) { in terminator_GetPhysicalDeviceSurfaceSupportKHR() 270 return icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR( in terminator_GetPhysicalDeviceSurfaceSupportKHR() 274 …return icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR(phys_dev_term->phys_dev, queueFamilyI… in terminator_GetPhysicalDeviceSurfaceSupportKHR() 299 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR() local [all …]
|
D | extension_manual.c | 65 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() local 67 if (!icd_term->dispatch.GetPhysicalDeviceExternalImageFormatPropertiesNV) { in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 72 if (!icd_term->dispatch.GetPhysicalDeviceImageFormatProperties) { in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 80 return icd_term->dispatch.GetPhysicalDeviceImageFormatProperties( in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 84 return icd_term->dispatch.GetPhysicalDeviceExternalImageFormatPropertiesNV( in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 107 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT() local 118 if (NULL != icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilities2EXT) { in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT() 120 …return icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilities2EXT(phys_dev_term->phys_dev, unwrap… in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT() 124 loader_log(icd_term->this_instance, VULKAN_LOADER_INFO_BIT, 0, in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT() 127 icd_term->scanned_icd->lib_name); in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT() [all …]
|
D | unknown_function_handling.c | 52 …for (struct loader_icd_term *icd_term = inst->icd_terms; icd_term != NULL; icd_term = icd_term->ne… in loader_init_dispatch_dev_ext_entry() local 53 struct loader_device *ldev = icd_term->logical_device_list; in loader_init_dispatch_dev_ext_entry() 73 struct loader_icd_term *icd_term; in loader_check_icds_for_dev_ext_address() local 74 icd_term = inst->icd_terms; in loader_check_icds_for_dev_ext_address() 75 while (NULL != icd_term) { in loader_check_icds_for_dev_ext_address() 76 if (icd_term->scanned_icd->GetInstanceProcAddr(icd_term->instance, funcName)) in loader_check_icds_for_dev_ext_address() 79 icd_term = icd_term->next; in loader_check_icds_for_dev_ext_address() 187 struct loader_icd_term *icd_term; in loader_check_icds_for_phys_dev_ext_address() local 188 icd_term = inst->icd_terms; in loader_check_icds_for_phys_dev_ext_address() 189 while (NULL != icd_term) { in loader_check_icds_for_phys_dev_ext_address() [all …]
|
D | debug_utils.c | 176 const struct loader_icd_term *icd_term; in terminator_CreateDebugUtilsMessengerEXT() local 191 for (icd_term = inst->icd_terms; icd_term; icd_term = icd_term->next) { in terminator_CreateDebugUtilsMessengerEXT() 192 if (!icd_term->dispatch.CreateDebugUtilsMessengerEXT) { in terminator_CreateDebugUtilsMessengerEXT() 196 …res = icd_term->dispatch.CreateDebugUtilsMessengerEXT(icd_term->instance, pCreateInfo, pAllocator,… in terminator_CreateDebugUtilsMessengerEXT() 230 for (icd_term = inst->icd_terms; icd_term; icd_term = icd_term->next) { in terminator_CreateDebugUtilsMessengerEXT() 231 if (NULL == icd_term->dispatch.DestroyDebugUtilsMessengerEXT) { in terminator_CreateDebugUtilsMessengerEXT() 236 …icd_term->dispatch.DestroyDebugUtilsMessengerEXT(icd_term->instance, icd_info[storage_idx], pAlloc… in terminator_CreateDebugUtilsMessengerEXT() 252 const struct loader_icd_term *icd_term; in terminator_DestroyDebugUtilsMessengerEXT() local 257 for (icd_term = inst->icd_terms; icd_term; icd_term = icd_term->next) { in terminator_DestroyDebugUtilsMessengerEXT() 258 if (NULL == icd_term->dispatch.DestroyDebugUtilsMessengerEXT) { in terminator_DestroyDebugUtilsMessengerEXT() [all …]
|
D | loader.c | 193 struct loader_icd_term *icd_term = loader_get_icd_and_device(device, &dev, NULL); in vkSetDeviceDispatch() local 195 if (NULL == icd_term) { in vkSetDeviceDispatch() 1169 … for (struct loader_icd_term *icd_term = inst->icd_terms; icd_term; icd_term = icd_term->next) { in loader_get_icd_and_device() local 1170 for (struct loader_device *dev = icd_term->logical_device_list; dev; dev = dev->next) in loader_get_icd_and_device() 1180 return icd_term; in loader_get_icd_and_device() 1215 void loader_add_logical_device(const struct loader_instance *inst, struct loader_icd_term *icd_term… in loader_add_logical_device() argument 1216 dev->next = icd_term->logical_device_list; in loader_add_logical_device() 1217 icd_term->logical_device_list = dev; in loader_add_logical_device() 1220 … loader_remove_logical_device(const struct loader_instance *inst, struct loader_icd_term *icd_term, in loader_remove_logical_device() argument 1224 if (!icd_term || !found_dev) return; in loader_remove_logical_device() [all …]
|
D | loader_linux.c | 255 struct loader_icd_term *icd_term = icd_devices[icd_idx].icd_term; in linux_read_sorted_physical_devices() local 260 sorted_device_info[index].icd_term = icd_term; in linux_read_sorted_physical_devices() 263 …icd_term->dispatch.GetPhysicalDeviceProperties(sorted_device_info[index].physical_device, &dev_pro… in linux_read_sorted_physical_devices() 273 …icd_term->dispatch.EnumerateDeviceExtensionProperties(sorted_device_info[index].physical_device, N… in linux_read_sorted_physical_devices() 282 …icd_term->dispatch.EnumerateDeviceExtensionProperties(sorted_device_info[index].physical_device, N… in linux_read_sorted_physical_devices() 301 GetPhysDevProps2 = icd_term->dispatch.GetPhysicalDeviceProperties2; in linux_read_sorted_physical_devices() 303 …GetPhysDevProps2 = (PFN_vkGetPhysicalDeviceProperties2)icd_term->dispatch.GetPhysicalDevicePropert… in linux_read_sorted_physical_devices() 332 sorted_device_term[dev]->this_icd_term = sorted_device_info[dev].icd_term; in linux_read_sorted_physical_devices() 357 struct loader_icd_term *icd_term = sorted_group_term[group].this_icd_term; in linux_sort_physical_device_groups() local 365 …icd_term->dispatch.GetPhysicalDeviceProperties(sorted_group_term[group].internal_device_info[gpu].… in linux_sort_physical_device_groups() [all …]
|
D | loader_windows.c | 792 struct loader_icd_term *icd_term = NULL; in windows_read_sorted_physical_devices() local 841 icd_term = inst->icd_terms; in windows_read_sorted_physical_devices() 842 for (uint32_t icd_idx = 0; NULL != icd_term; icd_term = icd_term->next, icd_idx++) { in windows_read_sorted_physical_devices() 844 if (icd_term->scanned_icd->EnumerateAdapterPhysicalDevices == NULL) { in windows_read_sorted_physical_devices() 850 …icd_term->scanned_icd->EnumerateAdapterPhysicalDevices(icd_term->instance, description.AdapterLuid… in windows_read_sorted_physical_devices() 874 } while ((vkres = icd_term->scanned_icd->EnumerateAdapterPhysicalDevices( in windows_read_sorted_physical_devices() 875 icd_term->instance, description.AdapterLuid, &count, in windows_read_sorted_physical_devices() 892 sorted_array[*sorted_devices_count].icd_term = icd_term; in windows_read_sorted_physical_devices()
|
D | loader.h | 121 void loader_icd_destroy(struct loader_instance *ptr_inst, struct loader_icd_term *icd_term, 135 void loader_add_logical_device(const struct loader_instance *inst, struct loader_icd_term *icd_term, 137 … loader_remove_logical_device(const struct loader_instance *inst, struct loader_icd_term *icd_term,
|
D | unknown_ext_chain.c | 48 …struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; … 49 …struct loader_instance *inst = (struct loader_instance *)icd_term->this_instance; … 50 …if (NULL == icd_term->phys_dev_ext[num]) { … 54 …icd_term->phys_dev_ext[num](phys_dev_term->phys_dev); …
|
D | loader_common.h | 399 struct loader_icd_term *icd_term; member 461 struct loader_icd_term *icd_term; member
|
D | trampoline.c | 641 struct loader_icd_term *icd_term = NULL; in vkCreateInstance() local 643 icd_term = ptr_instance->icd_terms; in vkCreateInstance() 644 ptr_instance->icd_terms = icd_term->next; in vkCreateInstance() 645 loader_icd_destroy(ptr_instance, icd_term, pAllocator); in vkCreateInstance()
|
/third_party/vulkan-loader/loader/generated/ |
D | vk_loader_extensions.c | 40 struct loader_icd_term *icd_term = loader_get_icd_and_device(dev, &found_dev, NULL); in vkDevExtError() local 42 if (icd_term) in vkDevExtError() 43 loader_log(icd_term->this_instance, VULKAN_LOADER_ERROR_BIT, 0, in vkDevExtError() 49 VKAPI_ATTR bool VKAPI_CALL loader_icd_init_entries(struct loader_icd_term *icd_term, VkInstance ins… in loader_icd_init_entries() argument 54 icd_term->dispatch.func = (PFN_vk##func)fp_gipa(inst, "vk" #func); \ in loader_icd_init_entries() 55 if (!icd_term->dispatch.func && required) { \ in loader_icd_init_entries() 2489 struct loader_icd_term *icd_term = phys_dev_term->this_icd_term; in terminator_GetPhysicalDeviceVideoCapabilitiesKHR() local 2490 if (NULL == icd_term->dispatch.GetPhysicalDeviceVideoCapabilitiesKHR) { in terminator_GetPhysicalDeviceVideoCapabilitiesKHR() 2491 loader_log(icd_term->this_instance, VULKAN_LOADER_ERROR_BIT, 0, in terminator_GetPhysicalDeviceVideoCapabilitiesKHR() 2495 …return icd_term->dispatch.GetPhysicalDeviceVideoCapabilitiesKHR(phys_dev_term->phys_dev, pVideoPro… in terminator_GetPhysicalDeviceVideoCapabilitiesKHR() [all …]
|
D | vk_loader_extensions.h | 57 VKAPI_ATTR bool VKAPI_CALL loader_icd_init_entries(struct loader_icd_term *icd_term, VkInstance ins…
|