Home
last modified time | relevance | path

Searched refs:physicalDevices (Results 1 – 25 of 49) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp368 …const vector<VkPhysicalDevice> physicalDevices = enumeratePhysicalDevices(instHelper.vki, instHe… in querySurfaceSupportTest() local
373 for (size_t deviceNdx = 0; deviceNdx < physicalDevices.size(); ++deviceNdx) in querySurfaceSupportTest()
375 const VkPhysicalDevice physicalDevice = physicalDevices[deviceNdx]; in querySurfaceSupportTest()
402 …const vector<VkPhysicalDevice> physicalDevices = enumeratePhysicalDevices(instHelper.vki, instHe… in queryPresentationSupportTest() local
405 for (size_t deviceNdx = 0; deviceNdx < physicalDevices.size(); ++deviceNdx) in queryPresentationSupportTest()
407 const VkPhysicalDevice physicalDevice = physicalDevices[deviceNdx]; in queryPresentationSupportTest()
497 …const vector<VkPhysicalDevice> physicalDevices = enumeratePhysicalDevices(instHelper.vki, instHe… in querySurfaceCapabilitiesTest() local
499 for (size_t deviceNdx = 0; deviceNdx < physicalDevices.size(); ++deviceNdx) in querySurfaceCapabilitiesTest()
501 if (isSupportedByAnyQueue(instHelper.vki, physicalDevices[deviceNdx], *surface)) in querySurfaceCapabilitiesTest()
504 physicalDevices[deviceNdx], in querySurfaceCapabilitiesTest()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/vulkan/
Dvulkan_icd.cpp246 const std::vector<VkPhysicalDevice> &physicalDevices, in ChoosePhysicalDevice() argument
251 ASSERT(!physicalDevices.empty()); in ChoosePhysicalDevice()
255 for (const VkPhysicalDevice &physicalDevice : physicalDevices) in ChoosePhysicalDevice()
267 for (const VkPhysicalDevice &physicalDevice : physicalDevices) in ChoosePhysicalDevice()
295 *physicalDeviceOut = physicalDevices[0]; in ChoosePhysicalDevice()
Dvulkan_icd.h59 const std::vector<VkPhysicalDevice> &physicalDevices,
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp46 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in EnumeratePhysicalDevices() local
47 result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in EnumeratePhysicalDevices()
48 return physicalDevices; in EnumeratePhysicalDevices()
192 std::vector<VkPhysicalDevice> physicalDevices = EnumeratePhysicalDevices(mInstance); in initialize() local
193 ASSERT(physicalDevices.size() > 0); in initialize()
195 mPhysicalDevice = physicalDevices[0]; in initialize()
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_vulkan.cpp150 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in GetSystemInfoVulkanWithICD() local
151 if (pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()) != in GetSystemInfoVulkanWithICD()
163 pfnGetPhysicalDeviceProperties(physicalDevices[i], &properties); in GetSystemInfoVulkanWithICD()
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_android.cpp160 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in GetSystemInfo() local
161 if (pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()) != in GetSystemInfo()
173 pfnGetPhysicalDeviceProperties(physicalDevices[i], &properties); in GetSystemInfo()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp138 std::vector<VkPhysicalDevice> physicalDevices(count); in GetPhysicalDevices() local
139 result = vkFunctions.EnumeratePhysicalDevices(instance, &count, physicalDevices.data()); in GetPhysicalDevices()
144 return physicalDevices; in GetPhysicalDevices()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DVulkanTester.cpp331 std::vector<vk::PhysicalDevice> physicalDevices = instance.enumeratePhysicalDevices(); in initialize() local
332 assert(!physicalDevices.empty()); in initialize()
333 physicalDevice = physicalDevices[0]; in initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp132 std::vector<VkPhysicalDevice> physicalDevices(count); in GatherPhysicalDevices() local
134 vkFunctions.EnumeratePhysicalDevices(instance, &count, physicalDevices.data()), in GatherPhysicalDevices()
137 return std::move(physicalDevices); in GatherPhysicalDevices()
DBackendVk.cpp429 const std::vector<VkPhysicalDevice>& physicalDevices = in DiscoverAdapters() local
431 for (uint32_t i = 0; i < physicalDevices.size(); ++i) { in DiscoverAdapters()
433 instance, mVulkanInstances[icd].Get(), physicalDevices[i]); in DiscoverAdapters()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DDevice.cpp54 std::vector<VkPhysicalDevice> physicalDevices; in CreateComputeDevice() local
55 result = GetPhysicalDevices(driver, instance, physicalDevices); in CreateComputeDevice()
62 for(auto physicalDevice : physicalDevices) in CreateComputeDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp92 m_physicalDevices.push_back(devGroupProperties[m_deviceGroupIdx].physicalDevices[physDeviceID]); in createDeviceSupportingQueues()
98 deviceGroupInfo.pPhysicalDevices = devGroupProperties[m_deviceGroupIdx].physicalDevices; in createDeviceSupportingQueues()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp43 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in EnumeratePhysicalDevices() local
44 result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in EnumeratePhysicalDevices()
45 return physicalDevices; in EnumeratePhysicalDevices()
258 std::vector<VkPhysicalDevice> physicalDevices = EnumeratePhysicalDevices(mInstance); in initialize() local
260 ASSERT(physicalDevices.size() > 0); in initialize()
263 ChoosePhysicalDevice(vkGetPhysicalDeviceProperties, physicalDevices, icd, &mPhysicalDevice, in initialize()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkInstance.cpp66 pPhysicalDeviceGroupProperties[0].physicalDevices[0] = physicalDevice; in getPhysicalDeviceGroups()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp428 void ChoosePhysicalDevice(const std::vector<VkPhysicalDevice> &physicalDevices, in ChoosePhysicalDevice() argument
433 ASSERT(!physicalDevices.empty()); in ChoosePhysicalDevice()
436 for (const VkPhysicalDevice &physicalDevice : physicalDevices) in ChoosePhysicalDevice()
452 *physicalDeviceOut = physicalDevices[0]; in ChoosePhysicalDevice()
769 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in initialize() local
771 physicalDevices.data())); in initialize()
772 ChoosePhysicalDevice(physicalDevices, mEnableMockICD, &mPhysicalDevice, in initialize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp549 … const vector<VkPhysicalDevice> physicalDevices = enumeratePhysicalDevices(vki, *instance.object); in Resources() local
551 if (physicalDevices.size() <= (size_t)params.deviceIndex) in Resources()
554 physicalDevice = physicalDevices[params.deviceIndex]; in Resources()
638 vector<VkPhysicalDevice> physicalDevices; member
656 physicalDevices.resize(physicalDeviceCount); in Resources()
659physicalDevices[physicalDeviceIdx] = devGroupProperties[params.deviceGroupIndex].physicalDevices[p… in Resources()
663 …Properties> queueProps = getPhysicalDeviceQueueFamilyProperties(vki, physicalDevices[params.device… in Resources()
707 res.physicalDevices.data() //physicalDevices in create()
724 …mmandLine.isValidationEnabled(), env.vkp, env.instance, res.vki, res.physicalDevices[params.device… in create()
DvktApiDeviceInitializationTests.cpp1970 vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in createInstanceDeviceIntentionalAllocFail() local
1972 result = vki.enumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in createInstanceDeviceIntentionalAllocFail()
1987 …vki.getPhysicalDeviceQueueFamilyProperties(physicalDevices[chosenDevice], &queueFamilyCount, DE_NU… in createInstanceDeviceIntentionalAllocFail()
1994 …vki.getPhysicalDeviceQueueFamilyProperties(physicalDevices[chosenDevice], &queueFamilyCount, queue… in createInstanceDeviceIntentionalAllocFail()
2032 …ontext.getTestContext().getCommandLine().isValidationEnabled(), vki, physicalDevices[chosenDevice]… in createInstanceDeviceIntentionalAllocFail()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp242 devGroupProperties[devGroupIdx].physicalDevices //physicalDevices in createDeviceGroup()
248 …ueueFamilyProperties(instanceDriver, devGroupProperties[devGroupIdx].physicalDevices[physDeviceIdx… in createDeviceGroup()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp262 m_physicalDevices.push_back(properties[kGroupIndex].physicalDevices[idx]); in init()
289 properties[kGroupIndex].physicalDevices //physicalDevices in init()
299 VkPhysicalDevice physicalDevice = properties[kGroupIndex].physicalDevices[kDevIndex]; in init()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp354 …VkPhysicalDevice *physicalDevices = (VkPhysicalDevice *) malloc(sizeof(VkPhysicalDevice) * physica… in instance_data_map_physical_devices() local
357 physicalDevices); in instance_data_map_physical_devices()
361 map_object(HKEY(physicalDevices[i]), instance_data); in instance_data_map_physical_devices()
363 unmap_object(HKEY(physicalDevices[i])); in instance_data_map_physical_devices()
366 free(physicalDevices); in instance_data_map_physical_devices()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c515 VkPhysicalDevice physical_device = physical_device_groups[i].physicalDevices[j]; in device_select_EnumeratePhysicalDeviceGroups()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c980 memset(p->physicalDevices, 0, sizeof(p->physicalDevices)); in v3dv_EnumeratePhysicalDeviceGroups()
981 p->physicalDevices[0] = in v3dv_EnumeratePhysicalDeviceGroups()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_physical_device.c1206 group->physicalDevices[j] = (VkPhysicalDevice)temp_obj; in vn_instance_enumerate_physical_device_groups_locked()
1228 (struct vn_physical_device_base *)group->physicalDevices[j]; in vn_instance_enumerate_physical_device_groups_locked()
1234 group->physicalDevices[group_physical_dev_count++] = in vn_instance_enumerate_physical_device_groups_locked()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c364 memset(p->physicalDevices, 0, sizeof(p->physicalDevices)); in lvp_EnumeratePhysicalDeviceGroups()
365 p->physicalDevices[0] = lvp_physical_device_to_handle(&instance->physicalDevice); in lvp_EnumeratePhysicalDeviceGroups()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp1379 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in initialize() local
1381 physicalDevices.data())); in initialize()
1382 ChoosePhysicalDevice(vkGetPhysicalDeviceProperties, physicalDevices, mEnabledICD, in initialize()

12