Searched refs:physical_device_count (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/vulkan/device-select-layer/ |
D | device_select_layer.c | 420 uint32_t physical_device_count, in get_default_device() argument 434 …struct device_pci_info *pci_infos = (struct device_pci_info *)calloc(physical_device_count, sizeof… in get_default_device() 438 for (unsigned i = 0; i < physical_device_count; ++i) { in get_default_device() 443 … default_idx = device_select_find_explicit_default(pci_infos, physical_device_count, selection); in get_default_device() 445 …default_idx = device_select_find_dri_prime_tag_default(pci_infos, physical_device_count, dri_prime… in get_default_device() 447 default_idx = device_select_find_wayland_pci_default(pci_infos, physical_device_count); in get_default_device() 449 default_idx = device_select_find_xcb_pci_default(pci_infos, physical_device_count); in get_default_device() 452 default_idx = device_select_find_boot_vga_default(pci_infos, physical_device_count); in get_default_device() 454 default_idx = device_select_find_boot_vga_vid_did(pci_infos, physical_device_count); in get_default_device() 457 default_idx = device_select_find_non_cpu(pci_infos, physical_device_count); in get_default_device() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_device.c | 204 instance->physical_device_count = -1; in panvk_CreateInstance() 240 for (int i = 0; i < instance->physical_device_count; ++i) { in panvk_DestroyInstance() 390 instance->physical_device_count = 0; in panvk_enumerate_devices() 405 instance->physical_device_count, in panvk_enumerate_devices() 408 ++instance->physical_device_count; in panvk_enumerate_devices() 429 if (instance->physical_device_count < 0) { in panvk_EnumeratePhysicalDevices() 435 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in panvk_EnumeratePhysicalDevices() 456 if (instance->physical_device_count < 0) { in panvk_EnumeratePhysicalDeviceGroups() 462 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in panvk_EnumeratePhysicalDeviceGroups()
|
D | panvk_private.h | 215 int physical_device_count; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_kgsl.c | 226 instance->physical_device_count = 0; in tu_enumerate_devices() 263 instance->physical_device_count = 1; in tu_enumerate_devices()
|
D | tu_drm.c | 780 instance->physical_device_count = 0; in tu_enumerate_devices() 800 instance->physical_devices + instance->physical_device_count, in tu_enumerate_devices() 803 ++instance->physical_device_count; in tu_enumerate_devices()
|
D | tu_device.h | 133 int physical_device_count; member
|
D | tu_device.c | 435 instance->physical_device_count = -1; in tu_CreateInstance() 473 for (int i = 0; i < instance->physical_device_count; ++i) { in tu_DestroyInstance() 497 if (instance->physical_device_count < 0) { in tu_EnumeratePhysicalDevices() 503 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in tu_EnumeratePhysicalDevices() 525 if (instance->physical_device_count < 0) { in tu_EnumeratePhysicalDeviceGroups() 531 for (uint32_t i = 0; i < instance->physical_device_count; ++i) { in tu_EnumeratePhysicalDeviceGroups()
|
/third_party/vulkan-loader/tests/ |
D | loader_regression_tests.cpp | 563 uint32_t physical_device_count = 1000; // not zero starting value in TEST() local 566 …OR_INITIALIZATION_FAILED, inst->vkEnumeratePhysicalDevices(inst, &physical_device_count, nullptr)); in TEST() 567 …OR_INITIALIZATION_FAILED, inst->vkEnumeratePhysicalDevices(inst, &physical_device_count, &physical… in TEST()
|