/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiGetMemoryCommitment.cpp | 101 const deUint32 memoryTypeIndex = getMemoryTypeIndex(propertyFlag, pMemoryProperties); in iterate() local 119 if (memoryTypeIndex == static_cast<deUint32>(-1)) in iterate() 381 …for (deUint32 memoryTypeIndex = 0u; memoryTypeIndex < VK_MAX_MEMORY_TYPES; ++memoryTypeIndex) //fo… in iterate() local 383 …if((pMemoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & propertyFlag) == propertyFlag) … in iterate() 392 memoryTypeIndex // deUint32 memoryTypeIndex in iterate() 414 for (deUint32 memoryTypeIndex = 0u; memoryTypeIndex < VK_MAX_MEMORY_TYPES; ++memoryTypeIndex) in getMemoryTypeIndex() local 416 if((pMemoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndex() 417 return memoryTypeIndex; in getMemoryTypeIndex()
|
D | vktApiObjectManagementTests.cpp | 718 deUint32 memoryTypeIndex; member 722 , memoryTypeIndex (memoryTypeIndex_) in Parameters() 724 DE_ASSERT(memoryTypeIndex < VK_MAX_MEMORY_TYPES); in Parameters() 751 params.memoryTypeIndex in create()
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktExternalMemoryUtil.cpp | 59 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local 61 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType() 62 return memoryTypeIndex; in chooseMemoryType() 912 …for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= requirements.memoryTypeBits; memoryT… in allocateExportableMemory() local 914 if (((requirements.memoryTypeBits & (1u << memoryTypeIndex)) != 0) in allocateExportableMemory() 915 …&& (((properties.memoryTypes[memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_HOST_VISIBLE_… in allocateExportableMemory() 936 memoryTypeIndex in allocateExportableMemory() 939 exportedMemoryTypeIndex = memoryTypeIndex; in allocateExportableMemory() 953 deUint32 memoryTypeIndex, in importMemory() argument 981 (memoryTypeIndex == ~0U) ? chooseMemoryType(requirements.memoryTypeBits) : memoryTypeIndex in importMemory() [all …]
|
D | vktExternalMemoryUtil.hpp | 282 deUint32 memoryTypeIndex, 290 deUint32 memoryTypeIndex, 298 deUint32 memoryTypeIndex,
|
/external/swiftshader/src/Vulkan/ |
D | VkDeviceMemory.hpp | 36 uint32_t getMemoryTypeIndex() const { return memoryTypeIndex; } in getMemoryTypeIndex() 41 uint32_t memoryTypeIndex = 0; member in vk::DeviceMemory
|
D | VkDeviceMemory.cpp | 23 size(pCreateInfo->allocationSize), memoryTypeIndex(pCreateInfo->memoryTypeIndex) in DeviceMemory()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 207 if (isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)) in allocate() 229 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate() 258 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateDedicated()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 155 …bool isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID, deUint32 secondd… 200 bool DeviceGroupTestInstance::isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID,… in isPeerFetchAllowed() argument 207 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 208 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 521 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 593 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 665 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 736 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 816 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 572 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping() local 576 …n section (log, "MemoryType" + de::toString(memoryTypeIndex), "MemoryType" + de::toString(memory… in testMemoryMapping() 577 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() 615 if ((req.memoryTypeBits & (1u << memoryTypeIndex)) == 0) in testMemoryMapping() 662 …<VkDeviceMemory> memory (allocMemory(vkd, device, allocationSize, memoryTypeIndex, image, buffe… in testMemoryMapping() 874 deUint32 memoryTypeIndex, 911 deUint32 memoryTypeIndex, in MemoryObject() argument 917 , m_memoryTypeIndex (memoryTypeIndex) in MemoryObject()
|
D | vktMemoryExternalMemoryHostTests.cpp | 79 Move<VkDeviceMemory> allocateMemoryFromHostPointer (deUint32 memoryTypeIndex); 226 …emory> ExternalMemoryHostBaseTestInstance::allocateMemoryFromHostPointer (deUint32 memoryTypeIndex) in allocateMemoryFromHostPointer() argument 238 memoryAllocateInfo.memoryTypeIndex = memoryTypeIndex; in allocateMemoryFromHostPointer()
|
D | vktMemoryRequirementsTests.cpp | 1746 …for (deUint32 memoryTypeIndex = 0; (0x1u << memoryTypeIndex) <= requirements.memoryRequirements.me… in testMultiplaneImages() local 1748 …if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set… in testMultiplaneImages() 1750 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
|
D | vktMemoryPipelineBarrierTests.cpp | 536 deUint32 memoryTypeIndex) in allocMemory() argument 544 memoryTypeIndex in allocMemory() 559 deUint32 memoryTypeIndex; in bindBufferMemory() local 561 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindBufferMemory() 563 if ((memoryRequirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in bindBufferMemory() 564 && (memoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & properties) == properties) in bindBufferMemory() 573 memoryTypeIndex in bindBufferMemory() 609 deUint32 memoryTypeIndex; in bindImageMemory() local 611 for (memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeIndex++) in bindImageMemory() 613 if ((memoryRequirements.memoryTypeBits & (0x1u << memoryTypeIndex)) in bindImageMemory() [all …]
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 268 .memoryTypeIndex = select_memory_type(wsi, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in wsi_create_native_image() 365 .memoryTypeIndex = select_memory_type(wsi, 0, reqs.memoryTypeBits), in wsi_create_prime_image() 415 .memoryTypeIndex = select_memory_type(wsi, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in wsi_create_prime_image()
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 1279 uint32_t memoryTypeIndex, 1605 uint32_t memoryTypeIndex; member 3810 uint32_t memoryTypeIndex, in InitDedicatedAllocation() 3823 m_DedicatedAllocation.m_MemoryTypeIndex = memoryTypeIndex; in InitDedicatedAllocation() 4148 uint32_t memoryTypeIndex, 6440 createInfo.memoryTypeIndex, in VmaPool_T() 6460 uint32_t memoryTypeIndex, in VmaBlockVector() argument 6468 m_MemoryTypeIndex(memoryTypeIndex), in VmaBlockVector() 6889 allocInfo.memoryTypeIndex = m_MemoryTypeIndex; in CreateBlock() 7664 allocInfo.memoryTypeIndex = memTypeIndex; in AllocateDedicatedMemory() [all …]
|
/external/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 1279 uint32_t memoryTypeIndex, 1605 uint32_t memoryTypeIndex; member 3810 uint32_t memoryTypeIndex, in InitDedicatedAllocation() 3823 m_DedicatedAllocation.m_MemoryTypeIndex = memoryTypeIndex; in InitDedicatedAllocation() 4148 uint32_t memoryTypeIndex, 6440 createInfo.memoryTypeIndex, in VmaPool_T() 6460 uint32_t memoryTypeIndex, in VmaBlockVector() argument 6468 m_MemoryTypeIndex(memoryTypeIndex), in VmaBlockVector() 6889 allocInfo.memoryTypeIndex = m_MemoryTypeIndex; in CreateBlock() 7664 allocInfo.memoryTypeIndex = memTypeIndex; in AllocateDedicatedMemory() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationWin32KeyedMutexTests.cpp | 245 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local 247 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType() 248 return memoryTypeIndex; in chooseMemoryType()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 172 .memoryTypeIndex = memory_type_index, in radv_image_from_gralloc()
|
/external/skqp/src/compute/hs/vk/bench/ |
D | main.c | 780 .memoryTypeIndex = vk_find_mem_type_idx(&phy_device_mem_props, in main() 790 .memoryTypeIndex = vk_find_mem_type_idx(&phy_device_mem_props, in main()
|
/external/skia/src/compute/hs/vk/bench/ |
D | main.c | 780 .memoryTypeIndex = vk_find_mem_type_idx(&phy_device_mem_props, in main() 790 .memoryTypeIndex = vk_find_mem_type_idx(&phy_device_mem_props, in main()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_dump.c | 92 .memoryTypeIndex = 0, in dump_image_init()
|
D | anv_device.c | 1768 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.type_count); in anv_AllocateMemory() 1769 mem->type = &pdevice->memory.types[pAllocateInfo->memoryTypeIndex]; in anv_AllocateMemory()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 831 memory_allocate_info.memoryTypeIndex = 0; // fake type -- shouldn't matter for the test in VkBufferTest() 1563 memory_allocate_info.memoryTypeIndex = 0; in TEST_F() 2621 alloc_info.memoryTypeIndex = 0; in TEST_F() 2694 alloc_info.memoryTypeIndex = 0; in TEST_F() 2874 mem_alloc.memoryTypeIndex = 0; in TEST_F() 2878 mem_alloc.memoryTypeIndex = 1; in TEST_F() 3260 mem_alloc.memoryTypeIndex = 0; in TEST_F() 3275 mem_alloc.memoryTypeIndex = i; in TEST_F() 3592 sparse_mem_alloc.memoryTypeIndex = 0; in TEST_F() 3627 sparse_mem_alloc.memoryTypeIndex = 0; in TEST_F() [all …]
|
D | vktestbinding.cpp | 190 info->memoryTypeIndex = i; in set_memory_type()
|
D | vktestbinding.h | 742 info.memoryTypeIndex = memory_type_index; in alloc_info()
|
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 168 &mem_alloc.memoryTypeIndex); in AllocMemoryChunk()
|