Home
last modified time | relevance | path

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

12

/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()
149 … std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes);
164 …, std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes) in ImageAllocator() argument
183 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in ImageAllocator()
270 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.cpp383 …if((pMemoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & propertyFlag) == propertyFlag) … in iterate()
416 if((pMemoryProperties.memoryTypes[memoryTypeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndex()
472 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
DvktApiBufferTests.cpp359 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
580 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
DvktApiFeatureInfo.cpp1373 if (memProps->memoryTypes[memoryNdx].heapIndex >= memProps->memoryHeapCount) in deviceMemoryProperties()
1375 …log << TestLog::Message << "deviceMemoryProperties - heapIndex " << memProps->memoryTypes[memoryNd… in deviceMemoryProperties()
1382 …if ((memProps->memoryTypes[memoryNdx].propertyFlags & *requiredFlagsIterator) == *requiredFlagsIte… in deviceMemoryProperties()
1385 …BEGIN(validPropertyFlags), DE_ARRAY_END(validPropertyFlags), memProps->memoryTypes[memoryNdx].prop… in deviceMemoryProperties()
1391 << memProps->memoryTypes[memoryNdx].propertyFlags << " not valid" << TestLog::EndMessage; in deviceMemoryProperties()
1395 if (memProps->memoryTypes[memoryNdx].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in deviceMemoryProperties()
1397 …if ((memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVI… in deviceMemoryProperties()
1405 …if (memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVIC… in deviceMemoryProperties()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp577 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping()
1056 const vector<MemoryType>& memoryTypes, in MemoryHeap() argument
1061 , m_memoryTypes (memoryTypes) in MemoryHeap()
1166 vector<pair<MemoryType, VkDeviceSize> > memoryTypes; in allocateRandom() local
1211 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom()
1242 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom()
1248 …peMaxSizePair = rng.choose<pair<MemoryType, VkDeviceSize> >(memoryTypes.begin(), memoryTypes.end()… in allocateRandom()
1301 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance() local
1305 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance()
1306memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
[all …]
DvktMemoryAllocationTests.cpp254 …if ((m_memoryProperties.memoryTypes[m_memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate()
294 const VkMemoryType memoryType = m_memoryProperties.memoryTypes[m_memoryTypeIndex]; in iterate()
528 m_memoryProperties.memoryTypes[memoryTypeNdx] in iterate()
DvktMemoryRequirementsTests.cpp399 …const VkMemoryPropertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNd… in verifyMemoryRequirements()
835 …const VkMemoryPropertyFlags memoryPropertyFlags = deviceMemoryProperties.memoryTypes[*memoryTypeNd… in verifyMemoryRequirements()
1750 …const VkMemoryPropertyFlags propertyFlags (memoryProperties.memoryTypes[memoryTypeIndex].propertyF… in testMultiplaneImages()
DvktMemoryExternalMemoryHostTests.cpp246 …m_log << tcu::TestLog::Message << getMemoryPropertyFlagsStr(m_memoryProps.memoryTypes[index].prope… in logMemoryTypeIndexPropertyFlags()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp84 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory()
345 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes()
DvkNullDriver.cpp980 props->memoryTypes[0].heapIndex = 0u; in getPhysicalDeviceMemoryProperties()
981 props->memoryTypes[0].propertyFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT in getPhysicalDeviceMemoryProperties()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp314 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
316 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases()
352 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
353 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
425 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases()
426 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp390 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture()
394 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/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/mesa3d/src/amd/vulkan/
Dradv_android.c156 …bool is_local = !!(device->physical_device->memory_properties.memoryTypes[i].propertyFlags & VK_ME… in radv_image_from_gralloc()
Dradv_device.c152 device->memory_properties.memoryTypes[type_count++] = (VkMemoryType) { in radv_physical_device_init_mem_types()
159 device->memory_properties.memoryTypes[type_count++] = (VkMemoryType) { in radv_physical_device_init_mem_types()
168 device->memory_properties.memoryTypes[type_count++] = (VkMemoryType) { in radv_physical_device_init_mem_types()
177 device->memory_properties.memoryTypes[type_count++] = (VkMemoryType) { in radv_physical_device_init_mem_types()
/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/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp772 memoryRequirement.matchesHeap(deviceMemoryProperties.memoryTypes[memoryTypeNdx].propertyFlags)) in findMatchingMemoryType()
787 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp194 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & memoryPropertyFlag) == memoryPropertyFl… in getMemoryIndex()
207 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
208 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed()
1116 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps.memoryTypes[memoryTypeNdx].heap… in iterate()
/external/skia/tests/
DVkHardwareBufferTest.cpp731 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in importHardwareBuffer()
735 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp743 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in importHardwareBuffer()
747 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4429 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
7561 … (m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) in AllocateMemoryOfType()
8024 …((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) … in Defragment()
8068 …if((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) in Defragment()
8097 …if((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) in Defragment()
8615 *pFlags = allocator->m_MemProps.memoryTypes[memoryTypeIndex].propertyFlags; in vmaGetMemoryTypeProperties()
8696 … VkMemoryPropertyFlags flags = allocator->m_MemProps.memoryTypes[typeIndex].propertyFlags; in vmaBuildStatsString()
8817 allocator->m_MemProps.memoryTypes[memTypeIndex].propertyFlags; in vmaFindMemoryTypeIndex()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4429 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
7561 … (m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) in AllocateMemoryOfType()
8024 …((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) … in Defragment()
8068 …if((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) in Defragment()
8097 …if((m_MemProps.memoryTypes[memTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) in Defragment()
8615 *pFlags = allocator->m_MemProps.memoryTypes[memoryTypeIndex].propertyFlags; in vmaGetMemoryTypeProperties()
8696 … VkMemoryPropertyFlags flags = allocator->m_MemProps.memoryTypes[typeIndex].propertyFlags; in vmaBuildStatsString()
8817 allocator->m_MemProps.memoryTypes[memTypeIndex].propertyFlags; in vmaFindMemoryTypeIndex()
/external/skqp/src/compute/hs/vk/bench/
Dmain.c346 phy_device_mem_props->memoryTypes[index].propertyFlags & required_mem_props; in vk_find_mem_type_idx()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c168 const VkMemoryType type = wsi->memory_props.memoryTypes[i]; in select_memory_type()
/external/skia/src/compute/hs/vk/bench/
Dmain.c346 phy_device_mem_props->memoryTypes[index].propertyFlags & required_mem_props; in vk_find_mem_type_idx()

12