Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp86 …sHostVisibleMemory (const VkPhysicalDeviceMemoryProperties& deviceMemProps, deUint32 memoryTypeNdx) in isHostVisibleMemory() argument
88 DE_ASSERT(memoryTypeNdx < deviceMemProps.memoryTypeCount); in isHostVisibleMemory()
89 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory()
221 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(m_memProps, memReqs.memoryTypeBits, req… in allocate() local
227 memoryTypeNdx, // deUint32 memoryTypeIndex; in allocate()
265 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(memoryProperties, memReqs.memoryTyp… in allocateExtended() local
271 memoryTypeNdx, // deUint32 memoryTypeIndex in allocateExtended()
363 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in getCompatibleMemoryTypes() local
365 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes()
366 compatibleTypes |= (1u << memoryTypeNdx); in getCompatibleMemoryTypes()
DvkImageUtil.cpp4910 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in allocateAndBindSparseImage() local
4912 if ((memoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in allocateAndBindSparseImage()
4913 …MemoryRequirement::Any.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags… in allocateAndBindSparseImage()
4915 memoryType = memoryTypeNdx; in allocateAndBindSparseImage()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp193 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in getMemoryIndex() local
195 if ((memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in getMemoryIndex()
196 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & memoryPropertyFlag) == memoryPropertyFl… in getMemoryIndex()
197 return memoryTypeNdx; in getMemoryIndex()
395 deUint32 memoryTypeNdx = 0; in iterate() local
494 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
498 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
501 if (m_usePeerFetch && !isPeerFetchAllowed(memoryTypeNdx, firstDeviceID, secondDeviceID)) in iterate()
566 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate()
570 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp947 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in findMatchingMemoryType() local
949 if ((objectMemoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in findMatchingMemoryType()
950 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType()
952 return memoryTypeNdx; in findMatchingMemoryType()
DvktSparseResourcesBufferTests.cpp223 …const deUint32 memoryTypeNdx = findMatchingMemoryType(instanceInterface, physicalDevice, mem… in build() local
229 memoryTypeNdx, // deUint32 memoryTypeIndex; in build()
255 sparseAllocation->memoryType = memoryTypeNdx; in build()
256 …ocation->heapIndex = getHeapIndexForMemoryType(instanceInterface, physicalDevice, memoryTypeNdx); in build()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp374 …for (IndexIterator memoryTypeNdx = usedMemoryTypeIndices.begin(); memoryTypeNdx != usedMemoryTypeI… in verifyMemoryRequirements() local
376 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements()
382 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements()
769 …for (IndexIterator memoryTypeNdx = usedMemoryTypeIndices.begin(); memoryTypeNdx != usedMemoryTypeI… in verifyMemoryRequirements() local
771 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements()
777 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements()
DvktMemoryMappingTests.cpp1252 for (size_t memoryTypeNdx = 0; memoryTypeNdx < m_memoryTypes.size(); memoryTypeNdx++) in allocateRandom() local
1254 const MemoryType type = m_memoryTypes[memoryTypeNdx]; in allocateRandom()
1385 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance() local
1387 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
1388 …yProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryTypeNdx, memoryProper… in RandomMemoryMappingInstance()
DvktMemoryAllocationTests.cpp609 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx in iterate() local
613 memoryTypeNdx, in iterate()
614 m_memoryProperties.memoryTypes[memoryTypeNdx] in iterate()
DvktMemoryPipelineBarrierTests.cpp9418 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx in MemoryTestInstance() local
9420 …yTypeSection (log, "MemoryType" + de::toString(memoryTypeNdx), "Memory type " + de::toString(memor… in MemoryTestInstance()
9422 …log << TestLog::Message << "Properties: " << m_memoryProperties.memoryTypes[memoryTypeNdx].propert… in MemoryTestInstance()
9423 …log << TestLog::Message << "Heap: " << m_memoryProperties.memoryTypes[memoryTypeNdx].heapIndex << … in MemoryTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp1255 for (int memoryTypeNdx = 0; memoryTypeNdx < DE_LENGTH_OF_ARRAY(kMemoryTypes); ++memoryTypeNdx) in addAtomicOperationTests() local
1258 …if (kMemoryTypes[memoryTypeNdx].type == AtomicMemoryType::SHARED && shaderTypes[shaderTypeNdx].typ… in addAtomicOperationTests()
1262 …x].name) + "_" + std::string(shaderTypes[shaderTypeNdx].name) + kMemoryTypes[memoryTypeNdx].suffix; in addAtomicOperationTests()
1264 …str(), AtomicShaderType(shaderTypes[shaderTypeNdx].type, kMemoryTypes[memoryTypeNdx].type), dataSi… in addAtomicOperationTests()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp2815 deUint32 memoryTypeNdx = 0; in iterate() local
2817 for ( memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in iterate()
2819 if ((memReqs.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in iterate()
2820 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) ==… in iterate()
2823 if (memoryTypeNdx == deviceMemProps.memoryTypeCount) in iterate()
2839 memoryTypeNdx, // memoryTypeIndex in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp768 const deUint32 memoryTypeNdx = getMemoryTypeNdx (context, caseDef); in getMaxDeviceHeapSize() local
770 return memoryProperties.memoryHeaps[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].size; in getMaxDeviceHeapSize()