Home
last modified time | relevance | path

Searched refs:pPhysicalDevices (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkInstance.cpp32 …tance::getPhysicalDevices(uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices) const in getPhysicalDevices()
34 if(!pPhysicalDevices) in getPhysicalDevices()
45 pPhysicalDevices[0] = physicalDevice; in getPhysicalDevices()
DVkInstance.hpp34 …VkResult getPhysicalDevices(uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices) co…
DlibVulkan.cpp589 …calDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices) in vkEnumeratePhysicalDevices() argument
592 instance, pPhysicalDeviceCount, pPhysicalDevices); in vkEnumeratePhysicalDevices()
594 return vk::Cast(instance)->getPhysicalDevices(pPhysicalDeviceCount, pPhysicalDevices); in vkEnumeratePhysicalDevices()
773 (groupDeviceCreateInfo->pPhysicalDevices[0] != physicalDevice)) in vkCreateDevice()
/third_party/mesa3d/include/vulkan/
Dvk_icd.h63 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
76 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvk_icd.h63 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
76 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvk_icd.h63 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
76 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
/third_party/vulkan-headers/include/vulkan/
Dvk_icd.h71 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
84 uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp361 VkPhysicalDevice *pPhysicalDevices) { in wrap_vkEnumeratePhysicalDevices() argument
364 …esult = inst->layer_disp.EnumeratePhysicalDevices(vk_inst, pPhysicalDeviceCount, pPhysicalDevices); in wrap_vkEnumeratePhysicalDevices()
368 if (pPhysicalDevices != NULL) { in wrap_vkEnumeratePhysicalDevices()
376 …ys_devs[i].loader_disp = *(reinterpret_cast<VkLayerInstanceDispatchTable **>(pPhysicalDevices[i])); in wrap_vkEnumeratePhysicalDevices()
381 phys_devs[i].obj = reinterpret_cast<void *>(pPhysicalDevices[i]); in wrap_vkEnumeratePhysicalDevices()
383 pPhysicalDevices[i] = reinterpret_cast<VkPhysicalDevice>(&phys_devs[i]); in wrap_vkEnumeratePhysicalDevices()
Dtest_layer.cpp263 VkPhysicalDevice* pPhysicalDevices) { in test_vkEnumeratePhysicalDevices() argument
313 if (nullptr == pPhysicalDevices) { in test_vkEnumeratePhysicalDevices()
322 pPhysicalDevices[dev] = layer.complete_physical_devices[dev]; in test_vkEnumeratePhysicalDevices()
329 …instance_dispatch_table.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); in test_vkEnumeratePhysicalDevices()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c421 VkPhysicalDevice *pPhysicalDevices) in get_default_device() argument
439 cpu_count += fill_drm_device_info(info, &pci_infos[i], pPhysicalDevices[i]) ? 1 : 0; in get_default_device()
469 VkPhysicalDevice *pPhysicalDevices) in device_select_EnumeratePhysicalDevices() argument
476 VK_OUTARRAY_MAKE_TYPED(VkPhysicalDevice, out, pPhysicalDevices, pPhysicalDeviceCount); in device_select_EnumeratePhysicalDevices()
/third_party/vulkan-loader/tests/framework/icd/
Dtest_icd.cpp206 VkPhysicalDevice* pPhysicalDevices) { in test_vkEnumeratePhysicalDevices() argument
207 if (pPhysicalDevices == nullptr) { in test_vkEnumeratePhysicalDevices()
214 pPhysicalDevices[i] = icd.physical_devices[i].vk_physical_device.handle; in test_vkEnumeratePhysicalDevices()
1415 … VkPhysicalDevice* pPhysicalDevices) { in vk_icdEnumerateAdapterPhysicalDevices() argument
1421 … VkResult res = test_vkEnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); in vk_icdEnumerateAdapterPhysicalDevices()
1423 if (nullptr != pPhysicalDevices) { in vk_icdEnumerateAdapterPhysicalDevices()
1424 std::reverse(pPhysicalDevices, pPhysicalDevices + *pPhysicalDeviceCount); in vk_icdEnumerateAdapterPhysicalDevices()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_device_group_creation.txt61 deviceGroupInfo.pPhysicalDevices = props[0].physicalDevices;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp98 deviceGroupInfo.pPhysicalDevices = devGroupProperties[m_deviceGroupIdx].physicalDevices; in createDeviceSupportingQueues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp246 …atures = getPhysicalDeviceFeatures(instanceDriver, deviceGroupInfo.pPhysicalDevices[physDeviceIdx… in createDeviceGroup()
279 …t.getPlatformInterface(), instance, instanceDriver, deviceGroupInfo.pPhysicalDevices[physDeviceIdx… in createDeviceGroup()
281 …= getPhysicalDeviceMemoryProperties(instanceDriver, deviceGroupInfo.pPhysicalDevices[physDeviceIdx… in createDeviceGroup()
/third_party/vulkan-loader/tests/
Dloader_regression_tests.cpp1397 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1465 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1533 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1584 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1648 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1699 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1789 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1882 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
1967 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
2051 group_info.pPhysicalDevices = &group.physicalDevices[0]; in TEST()
[all …]
/third_party/vulkan-loader/loader/generated/
Dvk_loader_extensions.h97 VkPhysicalDevice* pPhysicalDevices);
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Ddevsandqueues.txt40 * pname:pPhysicalDevices is either `NULL` or a pointer to an array of
43 If pname:pPhysicalDevices is `NULL`, then the number of physical devices
46 user to the number of elements in the pname:pPhysicalDevices array, and on
48 written to pname:pPhysicalDevices.
1633 pname:pPhysicalDevices array.
1634 * pname:pPhysicalDevices is a pointer to an array of physical device
1637 The elements of the pname:pPhysicalDevices array are an ordered list of the
1641 The order of the physical devices in the pname:pPhysicalDevices array
1649 pname:physicalDeviceCount of one and pname:pPhysicalDevices pointing to the
1655 * [[VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-00375]]
[all …]
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkInstanceDriverImpl.inl10 …ces (VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const
12 return m_vk.enumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
DvkConcreteInstanceInterface.inl5 … (VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const;
DvkVirtualInstanceInterface.inl5 …VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const = 0;
/third_party/vulkan-loader/loader/
Dloader.c4637 if (0 < cur_struct->physicalDeviceCount && NULL != cur_struct->pPhysicalDevices) { in loader_create_device_chain()
4653 … cur_tramp = (struct loader_physical_device_tramp *)cur_struct->pPhysicalDevices[phys_dev]; in loader_create_device_chain()
4656 temp_struct->pPhysicalDevices = phys_dev_array; in loader_create_device_chain()
4819 if (0 < cur_struct->physicalDeviceCount && NULL != cur_struct->pPhysicalDevices) { in loader_create_device_chain()
5491 if (0 < cur_struct->physicalDeviceCount && NULL != cur_struct->pPhysicalDevices) { in terminator_CreateDevice()
5507 … cur_term = (struct loader_physical_device_term *)cur_struct->pPhysicalDevices[phys_dev]; in terminator_CreateDevice()
5510 temp_struct->pPhysicalDevices = phys_dev_array; in terminator_CreateDevice()
6175 … VkPhysicalDevice *pPhysicalDevices) { in terminator_EnumeratePhysicalDevices() argument
6187 if (NULL != pPhysicalDevices) { in terminator_EnumeratePhysicalDevices()
6197 pPhysicalDevices[i] = (VkPhysicalDevice)inst->phys_devs_term[i]; in terminator_EnumeratePhysicalDevices()
Dtrampoline.c719 … VkPhysicalDevice *pPhysicalDevices) { in vkEnumeratePhysicalDevices() argument
741 …->layer_inst_disp.EnumeratePhysicalDevices(inst->instance, pPhysicalDeviceCount, pPhysicalDevices); in vkEnumeratePhysicalDevices()
743 if (NULL != pPhysicalDevices && (VK_SUCCESS == res || VK_INCOMPLETE == res)) { in vkEnumeratePhysicalDevices()
745 … VkResult update_res = setup_loader_tramp_phys_devs(inst, *pPhysicalDeviceCount, pPhysicalDevices); in vkEnumeratePhysicalDevices()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c421 VkPhysicalDevice *pPhysicalDevices) in panvk_EnumeratePhysicalDevices() argument
425 pPhysicalDevices, pPhysicalDeviceCount); in panvk_EnumeratePhysicalDevices()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c518 VkPhysicalDevice* pPhysicalDevices) in lvp_EnumeratePhysicalDevices() argument
527 if (!pPhysicalDevices) { in lvp_EnumeratePhysicalDevices()
530 pPhysicalDevices[0] = lvp_physical_device_to_handle(&instance->physicalDevice); in lvp_EnumeratePhysicalDevices()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_device.h10286 if (val->pPhysicalDevices) { in vn_sizeof_VkDeviceGroupDeviceCreateInfo_self()
10289 size += vn_sizeof_VkPhysicalDevice(&val->pPhysicalDevices[i]); in vn_sizeof_VkDeviceGroupDeviceCreateInfo_self()
10320 if (val->pPhysicalDevices) { in vn_encode_VkDeviceGroupDeviceCreateInfo_self()
10323 vn_encode_VkPhysicalDevice(enc, &val->pPhysicalDevices[i]); in vn_encode_VkDeviceGroupDeviceCreateInfo_self()
18659 …calDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) in vn_sizeof_vkEnumeratePhysicalDevices() argument
18669 if (pPhysicalDevices) { in vn_sizeof_vkEnumeratePhysicalDevices()
18672 cmd_size += vn_sizeof_VkPhysicalDevice(&pPhysicalDevices[i]); in vn_sizeof_vkEnumeratePhysicalDevices()
18680 …cmd_flags, VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) in vn_encode_vkEnumeratePhysicalDevices() argument
18690 if (pPhysicalDevices) { in vn_encode_vkEnumeratePhysicalDevices()
18693 vn_encode_VkPhysicalDevice(enc, &pPhysicalDevices[i]); in vn_encode_vkEnumeratePhysicalDevices()
[all …]

123