/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktExternalMemoryUtil.cpp | 1018 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local 1020 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType() 1021 return memoryTypeIndex; in chooseMemoryType() 1032 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseHostVisibleMemoryType() local 1034 if (((bits & (1u << memoryTypeIndex)) != 0) && in chooseHostVisibleMemoryType() 1035 …((properties.memoryTypes[memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)… in chooseHostVisibleMemoryType() 1036 return memoryTypeIndex; in chooseHostVisibleMemoryType() 1061 deUint32 memoryTypeIndex, in allocateExportableMemory() argument 1084 memoryTypeIndex in allocateExportableMemory() 1092 deUint32 memoryTypeIndex, in allocateExportableMemory() argument [all …]
|
D | vktExternalMemoryUtil.hpp | 296 deUint32 memoryTypeIndex, 304 deUint32 memoryTypeIndex, 326 deUint32 memoryTypeIndex, 334 deUint32 memoryTypeIndex, 342 deUint32 memoryTypeIndex,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/ |
D | vktExternalMemoryUtil.cpp | 1018 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local 1020 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType() 1021 return memoryTypeIndex; in chooseMemoryType() 1032 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseHostVisibleMemoryType() local 1034 if (((bits & (1u << memoryTypeIndex)) != 0) && in chooseHostVisibleMemoryType() 1035 …((properties.memoryTypes[memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)… in chooseHostVisibleMemoryType() 1036 return memoryTypeIndex; in chooseHostVisibleMemoryType() 1061 deUint32 memoryTypeIndex, in allocateExportableMemory() argument 1084 memoryTypeIndex in allocateExportableMemory() 1092 deUint32 memoryTypeIndex, in allocateExportableMemory() argument [all …]
|
D | vktExternalMemoryUtil.hpp | 296 deUint32 memoryTypeIndex, 304 deUint32 memoryTypeIndex, 326 deUint32 memoryTypeIndex, 334 deUint32 memoryTypeIndex, 342 deUint32 memoryTypeIndex,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_mem_alloc_wrapper.cpp | 76 uint32_t memoryTypeIndex, in CreatePool() argument 82 poolCreateInfo.memoryTypeIndex = memoryTypeIndex; in CreatePool() 143 uint32_t memoryTypeIndex, in GetMemoryTypeProperties() argument 146 vmaGetMemoryTypeProperties(allocator, memoryTypeIndex, pFlags); in GetMemoryTypeProperties()
|
D | vk_mem_alloc_wrapper.h | 31 uint32_t memoryTypeIndex, in VK_DEFINE_HANDLE() 56 uint32_t memoryTypeIndex, in VK_DEFINE_HANDLE()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/ |
D | MemoryServiceDmaBuf.cpp | 178 int memoryTypeIndex = mDevice->GetResourceMemoryAllocator()->FindBestTypeIndex( in GetMemoryImportParams() local 180 DAWN_INVALID_IF(memoryTypeIndex == -1, in GetMemoryImportParams() 184 static_cast<uint32_t>(memoryTypeIndex)}; in GetMemoryImportParams() 209 memoryAllocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
|
D | MemoryServiceZirconHandle.cpp | 98 opaqueFDDescriptor->memoryTypeIndex}; in GetMemoryImportParams() 124 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
|
D | MemoryServiceOpaqueFD.cpp | 98 opaqueFDDescriptor->memoryTypeIndex}; in GetMemoryImportParams() 123 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
|
D | MemoryService.h | 32 uint32_t memoryTypeIndex; member
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDeviceMemory.hpp | 31 uint32_t memoryTypeIndex = 0; member 84 uint32_t getMemoryTypeIndex() const { return memoryTypeIndex; } in getMemoryTypeIndex() 122 const uint32_t memoryTypeIndex; member in vk::DeviceMemory
|
D | VkDeviceMemory.cpp | 137 , memoryTypeIndex(pAllocateInfo->memoryTypeIndex) in DeviceMemory()
|
/third_party/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 93 uint32_t memoryTypeIndex = 0; in createBackendTexture() local 102 memoryTypeIndex = i; in createBackendTexture() 114 allocInfo.memoryTypeIndex = memoryTypeIndex; in createBackendTexture()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 55 .memoryTypeIndex = mem_type_index, in vn_device_memory_pool_grow_alloc() 254 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 278 .memoryTypeIndex = alloc_info->memoryTypeIndex, in vn_device_memory_import_dma_buf() 322 .memoryTypeIndex = alloc_info->memoryTypeIndex, in vn_device_memory_alloc_guest_vram() 416 mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex].propertyFlags; in vn_AllocateMemory() 470 dev, mem, pAllocateInfo->memoryTypeIndex); in vn_AllocateMemory()
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | VulkanImageWrappingTestsOpaqueFD.cpp | 86 uint32_t* memoryTypeIndex) { in AllocateMemory() argument 104 allocateInfo.memoryTypeIndex = static_cast<uint32_t>(bestType); in AllocateMemory() 107 *memoryTypeIndex = allocateInfo.memoryTypeIndex; in AllocateMemory() 143 uint32_t* memoryTypeIndex, in CreateBindExportImage() argument 149 AllocateMemory(deviceVk, *handle, allocation, allocationSize, memoryTypeIndex); in CreateBindExportImage() 163 uint32_t memoryTypeIndex, in WrapVulkanImage() argument 169 memoryTypeIndex, waitFDs, descriptor.releasedOldLayout, in WrapVulkanImage() 177 uint32_t memoryTypeIndex, in WrapVulkanImage() argument 188 descriptor.memoryTypeIndex = memoryTypeIndex; in WrapVulkanImage()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 45 SingleTypeAllocator(Device* device, size_t memoryTypeIndex, VkDeviceSize memoryHeapSize) in SingleTypeAllocator() argument 47 mMemoryTypeIndex(memoryTypeIndex), in SingleTypeAllocator() 85 allocateInfo.memoryTypeIndex = mMemoryTypeIndex; in AllocateResourceHeap()
|
/third_party/flutter/skia/tests/ |
D | VkYcbcrSamplerTest.cpp | 227 uint32_t memoryTypeIndex = 0; in createI420Image() local 235 memoryTypeIndex = i; in createI420Image() 248 allocInfo.memoryTypeIndex = memoryTypeIndex; in createI420Image()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 443 …cationSize (const DeviceInterface& vk, VkDevice device, VkDeviceSize max, deUint32 memoryTypeIndex) in findLargeAllocationSize() argument 455 memoryTypeIndex, in findLargeAllocationSize() 677 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping() local 681 … section (log, "MemoryType" + de::toString(memoryTypeIndex), "MemoryType" + de::toString(memory… in testMemoryMapping() 682 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() 699 allocationSize = findLargeAllocationSize(vkd, device, max, memoryTypeIndex); in testMemoryMapping() 738 if ((req.memoryTypeBits & (1u << memoryTypeIndex)) == 0) in testMemoryMapping() 787 …Move<VkDeviceMemory> memory (allocMemory(vkd, device, allocationSize, memoryTypeIndex, image,… in testMemoryMapping() 1013 deUint32 memoryTypeIndex, 1050 deUint32 memoryTypeIndex, in MemoryObject() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 443 …cationSize (const DeviceInterface& vk, VkDevice device, VkDeviceSize max, deUint32 memoryTypeIndex) in findLargeAllocationSize() argument 455 memoryTypeIndex, in findLargeAllocationSize() 677 …for (deUint32 memoryTypeIndex = 0; memoryTypeIndex < memoryProperties.memoryTypeCount; memoryTypeI… in testMemoryMapping() local 681 … section (log, "MemoryType" + de::toString(memoryTypeIndex), "MemoryType" + de::toString(memory… in testMemoryMapping() 682 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() 699 allocationSize = findLargeAllocationSize(vkd, device, max, memoryTypeIndex); in testMemoryMapping() 738 if ((req.memoryTypeBits & (1u << memoryTypeIndex)) == 0) in testMemoryMapping() 787 …Move<VkDeviceMemory> memory (allocMemory(vkd, device, allocationSize, memoryTypeIndex, image,… in testMemoryMapping() 1013 deUint32 memoryTypeIndex, 1050 deUint32 memoryTypeIndex, in MemoryObject() argument [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 388 uint32_t memoryTypeIndex = FindMemoryType(mMemoryProperties, memoryRequirements.memoryTypeBits, in createImage2DOpaqueFd() local 390 ASSERT(memoryTypeIndex != UINT32_MAX); in createImage2DOpaqueFd() 403 /* .memoryTypeIndex = */ memoryTypeIndex, in createImage2DOpaqueFd()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 560 uint32_t memoryTypeIndex = FindMemoryType(mMemoryProperties, memoryRequirements.memoryTypeBits, in createImage2DExternal() local 562 ASSERT(memoryTypeIndex != UINT32_MAX); in createImage2DExternal() 579 /* .memoryTypeIndex = */ memoryTypeIndex, in createImage2DExternal() 964 uint32_t memoryTypeIndex = FindMemoryType(mMemoryProperties, memoryRequirements.memoryTypeBits, in readPixels() local 966 ASSERT(memoryTypeIndex != UINT32_MAX); in readPixels() 979 /* .memoryTypeIndex = */ memoryTypeIndex, in readPixels()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 158 …bool isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID, deUint32 secondd… 214 bool DeviceGroupTestInstance::isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID,… in isPeerFetchAllowed() argument 221 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 222 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 553 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 625 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 697 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 768 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 848 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 856 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 158 …bool isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID, deUint32 secondd… 214 bool DeviceGroupTestInstance::isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID,… in isPeerFetchAllowed() argument 221 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 222 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 553 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 625 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 697 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 768 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 848 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 856 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Buffer.cpp | 32 …allocInfo.memoryTypeIndex = 0; // TODO: getMemoryTypeIndex(memRequirements.memoryTypeBits, vk::Me… in Buffer()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 207 if (isHostVisibleMemory(m_memProps, info.memoryTypeIndex)) in allocate() 249 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate() 278 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateExtended()
|