Home
last modified time | relevance | path

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

12

/hardware/google/gfxstream/host/tests/
DSwapChainStateVk_unittest.cpp105 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local
107 m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice()
109 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice()
110 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice()
112 k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
DVulkan_unittest.cpp183 uint32_t physicalDeviceCount; in testDeviceCreation() local
188 instance, &physicalDeviceCount, nullptr)); in testDeviceCreation()
190 physicalDevices.resize(physicalDeviceCount); in testDeviceCreation()
194 instance, &physicalDeviceCount, physicalDevices.data())); in testDeviceCreation()
196 std::vector<VkPhysicalDeviceProperties> physicalDeviceProps(physicalDeviceCount); in testDeviceCreation()
210 for (uint32_t i = 0; i < physicalDeviceCount; i++) { in testDeviceCreation()
DDisplayVk_unittest.cpp140 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local
141 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice()
143 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice()
144 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice()
145 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
DCompositorVk_unittest.cpp292 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local
293 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice()
295 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice()
296 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice()
297 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_device_group_creation.adoc58 if (props[0].physicalDeviceCount > 1) {
59 deviceGroupInfo.physicalDeviceCount = props[0].physicalDeviceCount;
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h208 VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* physicalDeviceCount, in vkEnumeratePhysicalDevices() argument
210 return mDgs->on_vkEnumeratePhysicalDevices(mBp, instance, physicalDeviceCount, in vkEnumeratePhysicalDevices()
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp462 physDev < mutablePhysicalDeviceGroupProperties->physicalDeviceCount; physDev++) { in gfxstream_vk_CreateDevice()
483 physDev < mutablePhysicalDeviceGroupProperties->physicalDeviceCount; physDev++) { in gfxstream_vk_CreateDevice()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_instance.c491 p->physicalDeviceCount = 1; in vk_common_EnumeratePhysicalDeviceGroups()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp356 uint32_t physicalDeviceCount = 0; in instance_data_map_physical_devices() local
358 &physicalDeviceCount, in instance_data_map_physical_devices()
361 …ice *physicalDevices = (VkPhysicalDevice *) malloc(sizeof(VkPhysicalDevice) * physicalDeviceCount); in instance_data_map_physical_devices()
363 &physicalDeviceCount, in instance_data_map_physical_devices()
366 for (uint32_t i = 0; i < physicalDeviceCount; i++) { in instance_data_map_physical_devices()
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/
Ddevice_select_layer.c619 for (unsigned j = 0; j < physical_device_groups[i].physicalDeviceCount; j++) { in device_select_EnumeratePhysicalDeviceGroups()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_funcs.hpp98 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
102 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices()
103 if ( ( result == VK_SUCCESS ) && physicalDeviceCount ) in enumeratePhysicalDevices()
105 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
106 …result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysic… in enumeratePhysicalDevices()
110 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices()
111 if ( physicalDeviceCount < physicalDevices.size() ) in enumeratePhysicalDevices()
113 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
125 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
129 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices()
[all …]
Dvulkansc_raii.hpp1534 uint32_t physicalDeviceCount; in PhysicalDevices() local
1538 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, nullptr ) … in PhysicalDevices()
1539 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && physicalDeviceCount ) in PhysicalDevices()
1541 physicalDevices.resize( physicalDeviceCount ); in PhysicalDevices()
1542 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, physicalDe… in PhysicalDevices()
1547 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in PhysicalDevices()
1548 this->reserve( physicalDeviceCount ); in PhysicalDevices()
Dvulkan_funcs.hpp98 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
102 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices()
103 if ( ( result == VK_SUCCESS ) && physicalDeviceCount ) in enumeratePhysicalDevices()
105 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
106 …result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysic… in enumeratePhysicalDevices()
110 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices()
111 if ( physicalDeviceCount < physicalDevices.size() ) in enumeratePhysicalDevices()
113 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices()
125 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local
129 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices()
[all …]
Dvulkansc_structs.hpp11808 …: pNext( pNext_ ), physicalDeviceCount( physicalDeviceCount_ ), pPhysicalDevices( pPhysicalDevices…
11819 …: pNext( pNext_ ), physicalDeviceCount( static_cast<uint32_t>( physicalDevices_.size() ) ), pPhysi… in DeviceGroupDeviceCreateInfo()
11842 physicalDeviceCount = physicalDeviceCount_; in setPhysicalDeviceCount()
11855 physicalDeviceCount = static_cast<uint32_t>( physicalDevices_.size() ); in setPhysicalDevices()
11881 return std::tie( sType, pNext, physicalDeviceCount, pPhysicalDevices ); in reflect()
11896 && ( physicalDeviceCount == rhs.physicalDeviceCount ) in operator ==()
11910 uint32_t physicalDeviceCount = {}; member
31070 …: pNext( pNext_ ), physicalDeviceCount( physicalDeviceCount_ ), physicalDevices( physicalDevices_ …
31108 return std::tie( sType, pNext, physicalDeviceCount, physicalDevices, subsetAllocation ); in reflect()
31123 && ( physicalDeviceCount == rhs.physicalDeviceCount ) in operator ==()
[all …]
Dvulkan_raii.hpp3166 uint32_t physicalDeviceCount; in PhysicalDevices() local
3170 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, nullptr ) … in PhysicalDevices()
3171 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && physicalDeviceCount ) in PhysicalDevices()
3173 physicalDevices.resize( physicalDeviceCount ); in PhysicalDevices()
3174 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, physicalDe… in PhysicalDevices()
3179 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in PhysicalDevices()
3180 this->reserve( physicalDeviceCount ); in PhysicalDevices()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp1082 uint32_t* physicalDeviceCount, in on_vkEnumeratePhysicalDevices() argument
1088 if (physicalDeviceCount) { in on_vkEnumeratePhysicalDevices()
1089 physicalDevicesSize = *physicalDeviceCount; in on_vkEnumeratePhysicalDevices()
1154 if (physicalDeviceCount) { in on_vkEnumeratePhysicalDevices()
1155 *physicalDeviceCount = validPhysicalDevices.size(); in on_vkEnumeratePhysicalDevices()
1158 if (physicalDeviceCount && physicalDevices) { in on_vkEnumeratePhysicalDevices()
1160 for (uint32_t i = 0; i < std::min(*physicalDeviceCount, physicalDevicesSize); ++i) { in on_vkEnumeratePhysicalDevices()
1197 if (physicalDevicesSize < *physicalDeviceCount) { in on_vkEnumeratePhysicalDevices()
7830 uint32_t* physicalDeviceCount, in on_vkEnumeratePhysicalDevices() argument
7832 return mImpl->on_vkEnumeratePhysicalDevices(pool, instance, physicalDeviceCount, in on_vkEnumeratePhysicalDevices()
DVkDecoderGlobalState.h127 uint32_t* physicalDeviceCount,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Ddevsandqueues.adoc1700 * pname:physicalDeviceCount is the number of physical devices in the
1705 The first pname:physicalDeviceCount elements of the array will be valid.
1711 If pname:physicalDeviceCount is `1`, then pname:subsetAllocation must:
2181 * pname:physicalDeviceCount is the number of elements in the
2197 or with pname:physicalDeviceCount equal to zero, is equivalent to a
2198 pname:physicalDeviceCount of one and pname:pPhysicalDevices pointing to the
2209 * [[VUID-VkDeviceGroupDeviceCreateInfo-physicalDeviceCount-00377]]
2210 If pname:physicalDeviceCount is not `0`, the pname:physicalDevice
Dinterfaces.adoc2005 This value will be in the range latexmath:[[0,max(1,physicalDeviceCount))],
2006 where physicalDeviceCount is the pname:physicalDeviceCount member of
/hardware/google/gfxstream/guest/vulkan_enc/
Dgoldfish_vk_marshaling_guest.cpp4868 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkPhysicalDeviceGroupProperties()
4883 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkPhysicalDeviceGroupProperties()
4897 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkDeviceGroupDeviceCreateInfo()
4898 if (forMarshaling->physicalDeviceCount) { in marshal_VkDeviceGroupDeviceCreateInfo()
4900 vkStream->alloc((void**)&cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo()
4902 forMarshaling->pPhysicalDevices, cgen_var_0, forMarshaling->physicalDeviceCount); in marshal_VkDeviceGroupDeviceCreateInfo()
4903 vkStream->write((uint64_t*)cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo()
4915 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkDeviceGroupDeviceCreateInfo()
4916 if (forUnmarshaling->physicalDeviceCount) { in unmarshal_VkDeviceGroupDeviceCreateInfo()
4918 vkStream->alloc((void**)&cgen_var_0, forUnmarshaling->physicalDeviceCount * 8); in unmarshal_VkDeviceGroupDeviceCreateInfo()
[all …]
Dgoldfish_vk_reserved_marshaling_guest.cpp3394 memcpy(*ptr, (uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in reservedmarshal_VkPhysicalDeviceGroupProperties()
3414 memcpy(*ptr, (uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in reservedmarshal_VkDeviceGroupDeviceCreateInfo()
3416 if (forMarshaling->physicalDeviceCount) { in reservedmarshal_VkDeviceGroupDeviceCreateInfo()
3419 for (uint32_t k = 0; k < forMarshaling->physicalDeviceCount; ++k) { in reservedmarshal_VkDeviceGroupDeviceCreateInfo()
3424 *ptr += 8 * forMarshaling->physicalDeviceCount; in reservedmarshal_VkDeviceGroupDeviceCreateInfo()
Dgoldfish_vk_counting_guest.cpp2629 if (toCount->physicalDeviceCount) { in count_VkDeviceGroupDeviceCreateInfo()
2630 *count += toCount->physicalDeviceCount * 8; in count_VkDeviceGroupDeviceCreateInfo()
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_marshaling.cpp5607 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkPhysicalDeviceGroupProperties()
5633 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkPhysicalDeviceGroupProperties()
5647 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkDeviceGroupDeviceCreateInfo()
5648 if (forMarshaling->physicalDeviceCount) { in marshal_VkDeviceGroupDeviceCreateInfo()
5650 vkStream->alloc((void**)&cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo()
5652 forMarshaling->pPhysicalDevices, cgen_var_0, forMarshaling->physicalDeviceCount); in marshal_VkDeviceGroupDeviceCreateInfo()
5653 vkStream->write((uint64_t*)cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo()
5677 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkDeviceGroupDeviceCreateInfo()
5679 forUnmarshaling->physicalDeviceCount * sizeof(const VkPhysicalDevice)); in unmarshal_VkDeviceGroupDeviceCreateInfo()
5680 if (forUnmarshaling->physicalDeviceCount) { in unmarshal_VkDeviceGroupDeviceCreateInfo()
[all …]
Dgoldfish_vk_reserved_marshaling.cpp4188 memcpy((uint32_t*)&forUnmarshaling->physicalDeviceCount, *ptr, sizeof(uint32_t)); in reservedunmarshal_VkPhysicalDeviceGroupProperties()
4223 memcpy((uint32_t*)&forUnmarshaling->physicalDeviceCount, *ptr, sizeof(uint32_t)); in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
4226 forUnmarshaling->physicalDeviceCount * sizeof(const VkPhysicalDevice)); in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
4227 if (forUnmarshaling->physicalDeviceCount) { in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
4229 *ptr += 8 * forUnmarshaling->physicalDeviceCount; in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
4231 for (uint32_t k = 0; k < forUnmarshaling->physicalDeviceCount; ++k) { in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_swapchain/
Dwsi.adoc526 * [[VUID-VkSwapchainCreateInfoKHR-physicalDeviceCount-01429]]
528 slink:VkDeviceGroupDeviceCreateInfo::pname:physicalDeviceCount equal to

12