Home
last modified time | relevance | path

Searched refs:memoryTypeIndex (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp905 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local
907 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType()
908 return memoryTypeIndex; in chooseMemoryType()
919 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseHostVisibleMemoryType() local
921 if (((bits & (1u << memoryTypeIndex)) != 0) && in chooseHostVisibleMemoryType()
922 …((properties.memoryTypes[memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)… in chooseHostVisibleMemoryType()
923 return memoryTypeIndex; in chooseHostVisibleMemoryType()
948 deUint32 memoryTypeIndex, in allocateExportableMemory() argument
971 memoryTypeIndex in allocateExportableMemory()
979 deUint32 memoryTypeIndex, in allocateExportableMemory() argument
[all …]
DvktExternalMemoryUtil.hpp289 deUint32 memoryTypeIndex,
297 deUint32 memoryTypeIndex,
319 deUint32 memoryTypeIndex,
327 deUint32 memoryTypeIndex,
335 deUint32 memoryTypeIndex,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp76 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()
Dvk_mem_alloc_wrapper.h31 uint32_t memoryTypeIndex, in VK_DEFINE_HANDLE()
56 uint32_t memoryTypeIndex, in VK_DEFINE_HANDLE()
Dvk_utils.cpp92 uint32_t memoryTypeIndex = 0; in FindAndAllocateCompatibleMemory() local
95 memoryPropertyFlagsOut, &memoryTypeIndex)); in FindAndAllocateCompatibleMemory()
100 allocInfo.memoryTypeIndex = memoryTypeIndex; in FindAndAllocateCompatibleMemory()
619 uint32_t memoryTypeIndex = 0; in init() local
624 &memoryTypeIndex, &mBuffer, &mAllocation)); in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp178 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()
DMemoryServiceZirconHandle.cpp98 opaqueFDDescriptor->memoryTypeIndex}; in GetMemoryImportParams()
124 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
DMemoryServiceOpaqueFD.cpp98 opaqueFDDescriptor->memoryTypeIndex}; in GetMemoryImportParams()
123 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
DMemoryService.h32 uint32_t memoryTypeIndex; member
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemory.hpp31 uint32_t memoryTypeIndex = 0; member
84 uint32_t getMemoryTypeIndex() const { return memoryTypeIndex; } in getMemoryTypeIndex()
122 const uint32_t memoryTypeIndex; member in vk::DeviceMemory
DVkDeviceMemory.cpp137 , memoryTypeIndex(pAllocateInfo->memoryTypeIndex) in DeviceMemory()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp93 uint32_t memoryTypeIndex = 0; in createBackendTexture() local
102 memoryTypeIndex = i; in createBackendTexture()
114 allocInfo.memoryTypeIndex = memoryTypeIndex; in createBackendTexture()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c55 .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()
Dvn_android.c671 .memoryTypeIndex = ffs(mem_type_bits) - 1, in vn_android_image_from_anb()
1147 uint32_t mem_type_index = alloc_info->memoryTypeIndex; in vn_android_device_import_ahb()
1250 .memoryTypeIndex = mem_type_index, in vn_android_device_import_ahb()
1293 assert(alloc_info->memoryTypeIndex < mem_props->memoryTypeCount); in vn_android_device_allocate_ahb()
1298 if (mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags & in vn_android_device_allocate_ahb()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanImageWrappingTestsOpaqueFD.cpp86 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/
DResourceMemoryAllocatorVk.cpp45 SingleTypeAllocator(Device* device, size_t memoryTypeIndex, VkDeviceSize memoryHeapSize) in SingleTypeAllocator() argument
47 mMemoryTypeIndex(memoryTypeIndex), in SingleTypeAllocator()
85 allocateInfo.memoryTypeIndex = mMemoryTypeIndex; in AllocateResourceHeap()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp443 …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/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp560 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/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DBuffer.cpp32 …allocInfo.memoryTypeIndex = 0; // TODO: getMemoryTypeIndex(memRequirements.memoryTypeBits, vk::Me… in Buffer()
DImage.cpp38 …allocateInfo.memoryTypeIndex = Util::getMemoryTypeIndex(physicalDevice, memoryRequirements.memoryT… in Image()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp442 for (deUint32 memoryTypeIndex = 0; (1u << memoryTypeIndex) <= bits; memoryTypeIndex++) in chooseMemoryType() local
444 if ((bits & (1u << memoryTypeIndex)) != 0) in chooseMemoryType()
445 return memoryTypeIndex; in chooseMemoryType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp157 …bool isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID, deUint32 secondd…
202 bool DeviceGroupTestInstance::isPeerFetchAllowed (deUint32 memoryTypeIndex, deUint32 firstdeviceID,… in isPeerFetchAllowed() argument
209 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
210 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
498 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
570 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
642 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
713 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
793 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp213 if (isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)) in allocate()
249 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate()
278 DE_ASSERT(isHostVisibleMemory(memoryProperties, allocInfo.memoryTypeIndex)); in allocateExtended()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkmemory.c75 mem->alloc_info.memoryTypeIndex = memory_type_index; in _vk_mem_init()
172 parent->device, parent->alloc_info.memoryTypeIndex, &params, size, in _vk_mem_share()
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DVulkanBackend.h92 uint32_t memoryTypeIndex; // Must match VkMemoryAllocateInfo from image creation member

1234