Home
last modified time | relevance | path

Searched refs:memoryTypeNdx (Results 1 – 5 of 5) sorted by relevance

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp80 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in selectMatchingMemoryType() local
82 if ((allowedMemTypeBits & (1u << memoryTypeNdx)) != 0 && in selectMatchingMemoryType()
83 requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in selectMatchingMemoryType()
84 return memoryTypeNdx; in selectMatchingMemoryType()
90 …sHostVisibleMemory (const VkPhysicalDeviceMemoryProperties& deviceMemProps, deUint32 memoryTypeNdx) in isHostVisibleMemory() argument
92 DE_ASSERT(memoryTypeNdx < deviceMemProps.memoryTypeCount); in isHostVisibleMemory()
93 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory()
192 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(m_memProps, memReqs.memoryTypeBits, req… in allocate() local
198 memoryTypeNdx, // deUint32 memoryTypeIndex; in allocate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp160 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in findMatchingMemoryType() local
162 if ((objectMemoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in findMatchingMemoryType()
163 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType()
165 return memoryTypeNdx; in findMatchingMemoryType()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp341 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomAllocFreeTestInstance() local
345 memoryTypeNdx, in RandomAllocFreeTestInstance()
346 memoryProperties.memoryTypes[memoryTypeNdx] in RandomAllocFreeTestInstance()
DvktMemoryMappingTests.cpp925 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance() local
927 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
928 …yProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryTypeNdx, memoryProper… in RandomMemoryMappingInstance()
DvktMemoryPipelineBarrierTests.cpp6637 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx in MemoryTestInstance() local
6639 …yTypeSection (log, "MemoryType" + de::toString(memoryTypeNdx), "Memory type " + de::toString(memor… in MemoryTestInstance()
6641 …log << TestLog::Message << "Properties: " << m_memoryProperties.memoryTypes[memoryTypeNdx].propert… in MemoryTestInstance()
6642 …log << TestLog::Message << "Heap: " << m_memoryProperties.memoryTypes[memoryTypeNdx].heapIndex << … in MemoryTestInstance()