/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 72 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 …]
|
D | vktApiGetMemoryCommitment.cpp | 63 if ((pMemoryProperties.memoryTypes[typeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndices() 478 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
|
D | vktApiBufferMarkerTests.cpp | 1040 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()
|
D | vktApiBufferTests.cpp | 232 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() 453 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 621 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() 1388 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance() [all …]
|
D | vktMemoryAllocationTests.cpp | 319 …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()
|
D | vktMemoryRequirementsTests.cpp | 382 …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/ |
D | VulkanRuntime.cpp | 307 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/ |
D | Device.cpp | 346 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/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 325 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/ |
D | vkMemUtil.cpp | 89 …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/ |
D | Util.cpp | 28 if((deviceMemoryProperties.memoryTypes[i].propertyFlags & properties) == properties) in getMemoryTypeIndex()
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 426 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/ |
D | VkYcbcrSamplerHelper.cpp | 101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
|
/external/vulkan-validation-layers/tests/ |
D | vktestbinding.cpp | 188 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/ |
D | GrAHardwareBufferImageGenerator.cpp | 270 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/ |
D | vk_utils.cpp | 69 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/ |
D | vktDeviceGroupRendering.cpp | 196 …(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/ |
D | VkDeviceMemoryExternalAndroid.cpp | 442 pProperties->memoryTypeBits = phyDeviceMemProps.memoryTypes[0].propertyFlags; in GetAndroidHardwareBufferProperties()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 950 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType() 965 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
|
/external/skia/tests/ |
D | VkHardwareBufferTest.cpp | 736 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in importHardwareBuffer() 740 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 744 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/ |
D | VmaReplay.cpp | 1297 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/ |
D | v3dv_device.c | 516 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/ |
D | wsi_common_drm.c | 69 const VkMemoryType type = wsi->memory_props.memoryTypes[i]; in select_memory_type()
|