Home
last modified time | relevance | path

Searched refs:physicalDeviceCount (Results 1 – 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_vulkan.cpp144 uint32_t physicalDeviceCount = 0; in GetSystemInfoVulkanWithICD() local
146 pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, nullptr) != VK_SUCCESS) in GetSystemInfoVulkanWithICD()
150 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in GetSystemInfoVulkanWithICD()
151 if (pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()) != in GetSystemInfoVulkanWithICD()
158 info->gpus.resize(physicalDeviceCount); in GetSystemInfoVulkanWithICD()
160 for (uint32_t i = 0; i < physicalDeviceCount; i++) in GetSystemInfoVulkanWithICD()
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_android.cpp154 uint32_t physicalDeviceCount = 0; in GetSystemInfo() local
156 pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, nullptr) != VK_SUCCESS) in GetSystemInfo()
160 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in GetSystemInfo()
161 if (pfnEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()) != in GetSystemInfo()
168 info->gpus.resize(physicalDeviceCount); in GetSystemInfo()
170 for (uint32_t i = 0; i < physicalDeviceCount; i++) in GetSystemInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp87 m_numPhysicalDevices = devGroupProperties[m_deviceGroupIdx].physicalDeviceCount; in createDeviceSupportingQueues()
97 deviceGroupInfo.physicalDeviceCount = devGroupProperties[m_deviceGroupIdx].physicalDeviceCount; in createDeviceSupportingQueues()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp43 uint32_t physicalDeviceCount; in EnumeratePhysicalDevices() local
44 VkResult result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, nullptr); in EnumeratePhysicalDevices()
46 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in EnumeratePhysicalDevices()
47 result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in EnumeratePhysicalDevices()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkInstance.cpp65 pPhysicalDeviceGroupProperties[0].physicalDeviceCount = 1; in getPhysicalDeviceGroups()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c207 instance->physicalDeviceCount = -1; in v3dv_CreateInstance()
289 if (instance->physicalDeviceCount > 0) { in v3dv_DestroyInstance()
291 assert(instance->physicalDeviceCount == 1); in v3dv_DestroyInstance()
852 instance->physicalDeviceCount = 0; in enumerate_devices()
921 instance->physicalDeviceCount = 1; in enumerate_devices()
929 if (instance->physicalDeviceCount < 0) { in instance_ensure_physical_device()
951 if (instance->physicalDeviceCount == 0) in v3dv_EnumeratePhysicalDevices()
954 assert(instance->physicalDeviceCount == 1); in v3dv_EnumeratePhysicalDevices()
976 assert(instance->physicalDeviceCount == 1); in v3dv_EnumeratePhysicalDeviceGroups()
979 p->physicalDeviceCount = 1; in v3dv_EnumeratePhysicalDeviceGroups()
Dv3dv_private.h185 int physicalDeviceCount; member
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp40 uint32_t physicalDeviceCount; in EnumeratePhysicalDevices() local
41 VkResult result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, nullptr); in EnumeratePhysicalDevices()
43 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in EnumeratePhysicalDevices()
44 result = vkEnumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in EnumeratePhysicalDevices()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp764 uint32_t physicalDeviceCount = 0; in initialize() local
765 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, nullptr)); in initialize()
766 ANGLE_VK_CHECK(displayVk, physicalDeviceCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
769 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in initialize()
770 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, in initialize()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c238 instance->physicalDeviceCount = -1; in lvp_CreateInstance()
256 if (instance->physicalDeviceCount > 0) in lvp_DestroyInstance()
299 if (instance->physicalDeviceCount != -1) in lvp_enumerate_physical_devices()
316 instance->physicalDeviceCount = 0; in lvp_enumerate_physical_devices()
318 instance->physicalDeviceCount = 1; in lvp_enumerate_physical_devices()
337 *pPhysicalDeviceCount = instance->physicalDeviceCount; in lvp_EnumeratePhysicalDevices()
363 p->physicalDeviceCount = 1; in lvp_EnumeratePhysicalDeviceGroups()
Dlvp_private.h143 int physicalDeviceCount; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp1876 deUint32 physicalDeviceCount = 0; in createInstanceDeviceIntentionalAllocFail() local
1955 result = vki.enumeratePhysicalDevices(instance, &physicalDeviceCount, DE_NULL); in createInstanceDeviceIntentionalAllocFail()
1970 vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in createInstanceDeviceIntentionalAllocFail()
1972 result = vki.enumeratePhysicalDevices(instance, &physicalDeviceCount, physicalDevices.data()); in createInstanceDeviceIntentionalAllocFail()
DvktApiObjectManagementTests.cpp639 deUint32 physicalDeviceCount; member
646 , physicalDeviceCount (0) in Resources()
655 physicalDeviceCount = devGroupProperties[params.deviceGroupIndex].physicalDeviceCount; in Resources()
656 physicalDevices.resize(physicalDeviceCount); in Resources()
658 … for (deUint32 physicalDeviceIdx = 0; physicalDeviceIdx < physicalDeviceCount; physicalDeviceIdx++) in Resources()
706 res.physicalDeviceCount, //physicalDeviceCount in create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp228 m_numPhysDevices = devGroupProperties[devGroupIdx].physicalDeviceCount; in createDeviceGroup()
241 devGroupProperties[devGroupIdx].physicalDeviceCount, //physicalDeviceCount in createDeviceGroup()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp922 deviceGroupProps[devGroupIdx].physicalDeviceCount, //physicalDeviceCount in queryDevGroupSurfacePresentCapabilitiesTest()
1032 deviceGroupProps[devGroupIdx].physicalDeviceCount, //physicalDeviceCount in queryDevGroupSurfacePresentModesTest()
1075 …for (size_t physDevIdx = 0; physDevIdx < deviceGroupProps[devGroupIdx].physicalDeviceCount; physDe… in queryDevGroupSurfacePresentModesTest()
DvktWsiSwapchainTests.cpp1676 deUint32 physicalDevicesInGroupCount = deviceGroupProps[devGroupIdx].physicalDeviceCount; in deviceGroupRenderTest()
1903 deUint32 physicalDevicesInGroupCount = deviceGroupProps[devGroupIdx].physicalDeviceCount; in deviceGroupRenderTest2()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp1374 uint32_t physicalDeviceCount = 0; in initialize() local
1375 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, nullptr)); in initialize()
1376 ANGLE_VK_CHECK(displayVk, physicalDeviceCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
1379 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in initialize()
1380 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, in initialize()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp349 uint32_t physicalDeviceCount = 0; in instance_data_map_physical_devices() local
351 &physicalDeviceCount, in instance_data_map_physical_devices()
354 …ice *physicalDevices = (VkPhysicalDevice *) malloc(sizeof(VkPhysicalDevice) * physicalDeviceCount); in instance_data_map_physical_devices()
356 &physicalDeviceCount, in instance_data_map_physical_devices()
359 for (uint32_t i = 0; i < physicalDeviceCount; i++) { in instance_data_map_physical_devices()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c514 for (unsigned j = 0; j < physical_device_groups[i].physicalDeviceCount; j++) { in device_select_EnumeratePhysicalDeviceGroups()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_physical_device.c1226 for (uint32_t j = 0; j < group->physicalDeviceCount; j++) { in vn_instance_enumerate_physical_device_groups_locked()
1238 group->physicalDeviceCount = group_physical_dev_count; in vn_instance_enumerate_physical_device_groups_locked()
1239 if (!group->physicalDeviceCount) in vn_instance_enumerate_physical_device_groups_locked()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp259 m_physicalDeviceCount = properties[kGroupIndex].physicalDeviceCount; in init()
288 properties[kGroupIndex].physicalDeviceCount, //physicalDeviceCount in init()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_device.c440 p->physicalDeviceCount = 1; in panvk_EnumeratePhysicalDeviceGroups()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_funcs.hpp111 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
115 …result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, null… in enumeratePhysicalDevices()
116 if ( ( result == Result::eSuccess ) && physicalDeviceCount ) in enumeratePhysicalDevices()
118 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
120 …m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysicalDevice *>( physicalDevices.data() ) )… in enumeratePhysicalDevices()
125 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices()
126 if ( physicalDeviceCount < physicalDevices.size() ) in enumeratePhysicalDevices()
128 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
145 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
149 …result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, null… in enumeratePhysicalDevices()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp111 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
115 …result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, null… in enumeratePhysicalDevices()
116 if ( ( result == Result::eSuccess ) && physicalDeviceCount ) in enumeratePhysicalDevices()
118 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
120 …m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysicalDevice *>( physicalDevices.data() ) )… in enumeratePhysicalDevices()
121 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices()
124 if ( ( result == Result::eSuccess ) && ( physicalDeviceCount < physicalDevices.size() ) ) in enumeratePhysicalDevices()
126 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
142 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
146 …result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, null… in enumeratePhysicalDevices()
[all …]
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_device.h5396 size += vn_sizeof_uint32_t(&val->physicalDeviceCount); in vn_sizeof_VkDeviceGroupDeviceCreateInfo_self()
5398 size += vn_sizeof_array_size(val->physicalDeviceCount); in vn_sizeof_VkDeviceGroupDeviceCreateInfo_self()
5399 for (uint32_t i = 0; i < val->physicalDeviceCount; i++) in vn_sizeof_VkDeviceGroupDeviceCreateInfo_self()
5430 vn_encode_uint32_t(enc, &val->physicalDeviceCount); in vn_encode_VkDeviceGroupDeviceCreateInfo_self()
5432 vn_encode_array_size(enc, val->physicalDeviceCount); in vn_encode_VkDeviceGroupDeviceCreateInfo_self()
5433 for (uint32_t i = 0; i < val->physicalDeviceCount; i++) in vn_encode_VkDeviceGroupDeviceCreateInfo_self()
10567 size += vn_sizeof_uint32_t(&val->physicalDeviceCount); in vn_sizeof_VkPhysicalDeviceGroupProperties_self()
10599 vn_decode_uint32_t(dec, &val->physicalDeviceCount); in vn_decode_VkPhysicalDeviceGroupProperties_self()

12