Home
last modified time | relevance | path

Searched refs:memoryTypes (Results 1 – 25 of 68) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp72 BufferAllocator (deRandom& random, deBool dedicated, std::vector<int>& memoryTypes);
86 BufferAllocator::BufferAllocator (deRandom& random, deBool dedicated, std::vector<int>& memoryTypes) in BufferAllocator() argument
95 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in BufferAllocator()
146 … std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes);
161 …, std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes) in ImageAllocator() argument
180 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in ImageAllocator()
262 std::vector<int> memoryTypes; in iterate() local
545 if (legalMemoryTypes[j].matchesHeap(memProperties.memoryTypes[i].propertyFlags)) in iterate()
547 memoryTypes.push_back(j); in iterate()
572 for (unsigned int i = 0; i < memoryTypes.size(); i++) in iterate()
[all …]
DvktApiGetMemoryCommitment.cpp63 if ((pMemoryProperties.memoryTypes[typeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndices()
478 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
DvktApiBufferMarkerTests.cpp1040 const bool memoryTypes[] = { true, false }; in createBufferMarkerTestsInGroup() local
1044 for (size_t memNdx = 0; memNdx < DE_LENGTH_OF_ARRAY(memoryTypes); ++memNdx) in createBufferMarkerTestsInGroup()
1048 base.useHostPtr = memoryTypes[memNdx]; in createBufferMarkerTestsInGroup()
DvktApiBufferTests.cpp232 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
453 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp621 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping()
1134 const vector<MemoryType>& memoryTypes, in MemoryHeap() argument
1139 , m_memoryTypes (memoryTypes) in MemoryHeap()
1244 vector<pair<MemoryType, VkDeviceSize> > memoryTypes; in allocateRandom() local
1291 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom()
1324 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom()
1330 …peMaxSizePair = rng.choose<pair<MemoryType, VkDeviceSize> >(memoryTypes.begin(), memoryTypes.end()… in allocateRandom()
1383 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance() local
1387 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
1388memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
[all …]
DvktMemoryAllocationTests.cpp319 …if ((m_memoryProperties.memoryTypes[m_memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate()
343 const VkMemoryType memoryType = m_memoryProperties.memoryTypes[m_memoryTypeIndex]; in iterate()
614 m_memoryProperties.memoryTypes[memoryTypeNdx] in iterate()
DvktMemoryRequirementsTests.cpp382 …const VkMemoryPropertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNd… in verifyMemoryRequirements()
777 …const VkMemoryPropertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNd… in verifyMemoryRequirements()
1666 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp307 properties.memoryTypes[i].propertyFlags) && in createDevice()
309 properties.memoryTypes[i].propertyFlags) && in createDevice()
311 properties.memoryHeaps[properties.memoryTypes[i].heapIndex].size)) { in createDevice()
322 properties.memoryTypes[i].propertyFlags) && in createDevice()
324 properties.memoryHeaps[properties.memoryTypes[i].heapIndex].size)) { in createDevice()
/external/swiftshader/tests/VulkanUnitTests/
DDevice.cpp346 if((flags & properties.memoryTypes[type].propertyFlags) == 0) in AllocateMemory()
351 if(size > properties.memoryHeaps[properties.memoryTypes[type].heapIndex].size) in AllocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp325 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
328 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases()
365 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
367 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
440 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
442 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp89 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory()
365 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes()
/external/swiftshader/tests/VulkanWrapper/
DUtil.cpp28 if((deviceMemoryProperties.memoryTypes[i].propertyFlags & properties) == properties) in getMemoryTypeIndex()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp426 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture()
430 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp188 if ((memory_properties_.memoryTypes[i].propertyFlags & properties) == properties && in set_memory_type()
189 (memory_properties_.memoryTypes[i].propertyFlags & forbid) == 0) { in set_memory_type()
460 … if (mem_props == (mem_props & dev_mem_props.memoryTypes[mem_type_index].propertyFlags)) break; in get_resource_alloc_info()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp270 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture()
274 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp69 if ((memoryProperties.memoryTypes[memoryIndex].propertyFlags & in FindCompatibleMemory()
72 *memoryPropertyFlagsOut = memoryProperties.memoryTypes[memoryIndex].propertyFlags; in FindCompatibleMemory()
363 const VkMemoryType &memoryType = mMemoryProperties.memoryTypes[typeIndex]; in hasLazilyAllocatedMemory()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp196 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & memoryPropertyFlag) == memoryPropertyFl… in getMemoryIndex()
209 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
210 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
1141 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps.memoryTypes[memoryTypeNdx].heap… in iterate()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp442 pProperties->memoryTypeBits = phyDeviceMemProps.memoryTypes[0].propertyFlags; in GetAndroidHardwareBufferProperties()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp950 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType()
965 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
/external/skia/tests/
DVkHardwareBufferTest.cpp736 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in importHardwareBuffer()
740 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp744 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in importHardwareBuffer()
748 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DVmaReplay.cpp1297 StrRangeToUint(csvSplit.GetRange(4), m_MemProps.memoryTypes[value].heapIndex)) in Parse()
1302 … StrRangeToUint(csvSplit.GetRange(4), m_MemProps.memoryTypes[value].propertyFlags)) in Parse()
1470 currMemProps.memoryTypes[i].heapIndex == m_MemProps.memoryTypes[i].heapIndex && in CompareMemProps()
1471 currMemProps.memoryTypes[i].propertyFlags == m_MemProps.memoryTypes[i].propertyFlags; in CompareMemProps()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c516 mem->memoryTypes[0].propertyFlags = in physical_device_init()
520 mem->memoryTypes[0].heapIndex = 0; in physical_device_init()
1655 mem->type = &pdevice->memory.memoryTypes[pAllocateInfo->memoryTypeIndex]; in v3dv_AllocateMemory()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c69 const VkMemoryType type = wsi->memory_props.memoryTypes[i]; in select_memory_type()

123