Home
last modified time | relevance | path

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

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1018 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 …]
DvktExternalMemoryUtil.hpp296 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/
DvktExternalMemoryUtil.cpp1018 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 …]
DvktExternalMemoryUtil.hpp296 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/
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()
/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()
/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/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp227 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/
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/vk-gl-cts/external/vulkancts/modules_no_buildgn/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/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp388 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/
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/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp158 …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/
DvktDeviceGroupRendering.cpp158 …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/
DBuffer.cpp32 …allocInfo.memoryTypeIndex = 0; // TODO: getMemoryTypeIndex(memRequirements.memoryTypeBits, vk::Me… in Buffer()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp207 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()

12345