/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 81 …sHostVisibleMemory (const VkPhysicalDeviceMemoryProperties& deviceMemProps, deUint32 memoryTypeNdx) in isHostVisibleMemory() argument 83 DE_ASSERT(memoryTypeNdx < deviceMemProps.memoryTypeCount); in isHostVisibleMemory() 84 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory() 215 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(m_memProps, memReqs.memoryTypeBits, req… in allocate() local 221 memoryTypeNdx, // deUint32 memoryTypeIndex; in allocate() 245 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(memoryProperties, memReqs.memoryTyp… in allocateDedicated() local 251 memoryTypeNdx, // deUint32 memoryTypeIndex in allocateDedicated() 343 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in getCompatibleMemoryTypes() local 345 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes() 346 compatibleTypes |= (1u << memoryTypeNdx); in getCompatibleMemoryTypes()
|
D | vkImageUtil.cpp | 3071 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in allocateAndBindSparseImage() local 3073 if ((memoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in allocateAndBindSparseImage() 3074 …MemoryRequirement::Any.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags… in allocateAndBindSparseImage() 3076 memoryType = memoryTypeNdx; in allocateAndBindSparseImage()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 191 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in getMemoryIndex() local 193 if ((memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in getMemoryIndex() 194 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & memoryPropertyFlag) == memoryPropertyFl… in getMemoryIndex() 195 return memoryTypeNdx; in getMemoryIndex() 418 deUint32 memoryTypeNdx = 0; in iterate() local 517 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 521 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 524 if (m_usePeerFetch && !isPeerFetchAllowed(memoryTypeNdx, firstDeviceID, secondDeviceID)) in iterate() 589 memoryTypeNdx = getMemoryIndex(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT); in iterate() 593 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 769 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in findMatchingMemoryType() local 771 if ((objectMemoryRequirements.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in findMatchingMemoryType() 772 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType() 774 return memoryTypeNdx; in findMatchingMemoryType()
|
D | vktSparseResourcesBufferTests.cpp | 223 …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/ |
D | vktMemoryRequirementsTests.cpp | 391 …for (IndexIterator memoryTypeNdx = usedMemoryTypeIndices.begin(); memoryTypeNdx != usedMemoryTypeI… in verifyMemoryRequirements() local 393 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements() 399 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements() 827 …for (IndexIterator memoryTypeNdx = usedMemoryTypeIndices.begin(); memoryTypeNdx != usedMemoryTypeI… in verifyMemoryRequirements() local 829 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements() 835 …opertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNdx].propertyFlags; in verifyMemoryRequirements()
|
D | vktMemoryMappingTests.cpp | 1174 for (size_t memoryTypeNdx = 0; memoryTypeNdx < m_memoryTypes.size(); memoryTypeNdx++) in allocateRandom() local 1176 const MemoryType type = m_memoryTypes[memoryTypeNdx]; in allocateRandom() 1303 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < memoryProperties.memoryTypeCount; memoryTypeNdx++) in RandomMemoryMappingInstance() local 1305 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance() 1306 …yProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryTypeNdx, memoryProper… in RandomMemoryMappingInstance()
|
D | vktMemoryAllocationTests.cpp | 523 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx… in iterate() local 527 memoryTypeNdx, in iterate() 528 m_memoryProperties.memoryTypes[memoryTypeNdx] in iterate()
|
D | vktMemoryPipelineBarrierTests.cpp | 9383 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx… in MemoryTestInstance() local 9385 …yTypeSection (log, "MemoryType" + de::toString(memoryTypeNdx), "Memory type " + de::toString(memor… in MemoryTestInstance() 9387 …log << TestLog::Message << "Properties: " << m_memoryProperties.memoryTypes[memoryTypeNdx].propert… in MemoryTestInstance() 9388 …log << TestLog::Message << "Heap: " << m_memoryProperties.memoryTypes[memoryTypeNdx].heapIndex << … in MemoryTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 2808 deUint32 memoryTypeNdx = 0; in iterate() local 2810 for ( memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in iterate() 2812 if ((memReqs.memoryTypeBits & (1u << memoryTypeNdx)) != 0 && in iterate() 2813 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) ==… in iterate() 2816 if (memoryTypeNdx == deviceMemProps.memoryTypeCount) in iterate() 2832 memoryTypeNdx, // memoryTypeIndex in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 771 const deUint32 memoryTypeNdx = getMemoryTypeNdx (context, caseDef); in getMaxDeviceHeapSize() local 773 return memoryProperties.memoryHeaps[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].size; in getMaxDeviceHeapSize()
|