Home
last modified time | relevance | path

Searched refs:heapIndex (Results 1 – 25 of 45) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp314 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
317 (protectedHeapMask & (1u << heapIndex)) == 0) in generateSwapchainParameterCases()
319 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
321 protectedHeapMask |= 1u << heapIndex; in generateSwapchainParameterCases()
352 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
355 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
425 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
428 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
/external/swiftshader/src/Vulkan/
DVkPromotedExtensions.cpp76 …PI_CALL vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localD… in vkGetDeviceGroupPeerMemoryFeaturesKHR() argument
78 …vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMe… in vkGetDeviceGroupPeerMemoryFeaturesKHR()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp383 uint32_t heapIndex = 0; in make_vk_backend_texture() local
394 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4429 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
7418 for(uint32_t heapIndex = 0; heapIndex < GetMemoryHeapCount(); ++heapIndex) in VmaAllocator_T() local
7420 const VkDeviceSize limit = pCreateInfo->pHeapSizeLimit[heapIndex]; in VmaAllocator_T()
7423 m_HeapSizeLimit[heapIndex] = limit; in VmaAllocator_T()
7424 if(limit < m_MemProps.memoryHeaps[heapIndex].size) in VmaAllocator_T()
7426 m_MemProps.memoryHeaps[heapIndex].size = limit; in VmaAllocator_T()
7538 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(memTypeIndex); in CalcPreferredBlockSize() local
7539 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize()
8263 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(pAllocateInfo->memoryTypeIndex); in AllocateVulkanMemory() local
8266 if(m_HeapSizeLimit[heapIndex] != VK_WHOLE_SIZE) in AllocateVulkanMemory()
[all …]
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4429 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
7418 for(uint32_t heapIndex = 0; heapIndex < GetMemoryHeapCount(); ++heapIndex) in VmaAllocator_T() local
7420 const VkDeviceSize limit = pCreateInfo->pHeapSizeLimit[heapIndex]; in VmaAllocator_T()
7423 m_HeapSizeLimit[heapIndex] = limit; in VmaAllocator_T()
7424 if(limit < m_MemProps.memoryHeaps[heapIndex].size) in VmaAllocator_T()
7426 m_MemProps.memoryHeaps[heapIndex].size = limit; in VmaAllocator_T()
7538 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(memTypeIndex); in CalcPreferredBlockSize() local
7539 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize()
8263 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(pAllocateInfo->memoryTypeIndex); in AllocateVulkanMemory() local
8266 if(m_HeapSizeLimit[heapIndex] != VK_WHOLE_SIZE) in AllocateVulkanMemory()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp181 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
182 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferSparseResidency.cpp224 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
225 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp238 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
239 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesImageSparseBinding.cpp220 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
221 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferTests.cpp95 deUint32 heapIndex; //!< memory heap index member
256 …sparseAllocation->heapIndex = getHeapIndexForMemoryType(instanceInterface, physicalDevice, memor… in build()
907 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), sparseAllocation->heapIndex, firstDeviceID, secon… in iterate()
1196 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), m_sparseAllocation->heapIndex, firstDeviceID, sec… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp241 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
242 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp300 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
301 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesImageSparseResidency.cpp305 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
306 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesTestsUtil.cpp787 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp295 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate()
303 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate()
531 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
533 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
DvktMemoryMappingTests.cpp578 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping()
1306 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
1309 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance() local
1311 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex]; in RandomMemoryMappingInstance()
1313 if (!memoryTypes[heapIndex].empty()) in RandomMemoryMappingInstance()
1315 …const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLim… in RandomMemoryMappingInstance()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp263 uint32_t heapIndex = 0; in make_vk_backend_texture() local
274 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/mesa3d/src/intel/vulkan/
Danv_device.c191 .heapIndex = heap, in anv_physical_device_init_heaps()
204 .heapIndex = heap, in anv_physical_device_init_heaps()
211 .heapIndex = heap, in anv_physical_device_init_heaps()
1049 .heapIndex = physical_device->memory.types[i].heapIndex, in anv_GetPhysicalDeviceMemoryProperties()
1865 assert(mem->type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
1866 if (pdevice->memory.heaps[mem->type->heapIndex].supports_48bit_addresses) in anv_AllocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp360 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
581 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
DvktApiFeatureInfo.cpp1373 if (memProps->memoryTypes[memoryNdx].heapIndex >= memProps->memoryHeapCount) in deviceMemoryProperties()
1375 …eviceMemoryProperties - heapIndex " << memProps->memoryTypes[memoryNdx].heapIndex << " larger than… 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()
1499 for (deUint32 heapIndex = 0; heapIndex < memProps.memoryHeapCount; heapIndex++) in deviceGroupPeerMemoryFeatures() local
1507 …vk.getDeviceGroupPeerMemoryFeatures(deviceGroup.get(), heapIndex, localDeviceIndex, remoteDeviceIn… in deviceGroupPeerMemoryFeatures()
1527 << TestLog::Message << "heapIndex = " << heapIndex << TestLog::EndMessage in deviceGroupPeerMemoryFeatures()
/external/skia/tests/
DVkHardwareBufferTest.cpp724 uint32_t heapIndex = 0; in importHardwareBuffer() local
735 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp736 uint32_t heapIndex = 0; in importHardwareBuffer() local
747 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp207 …ryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].heapIndex, firstdeviceID, … in isPeerFetchAllowed()
208 …ryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].heapIndex, seconddeviceID,… in isPeerFetchAllowed()
1116 …emoryFeatures(*m_deviceGroup, deviceMemProps.memoryTypes[memoryTypeNdx].heapIndex, firstDeviceID, … in iterate()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c154 .heapIndex = vram_index, in radv_physical_device_init_mem_types()
163 .heapIndex = gart_index, in radv_physical_device_init_mem_types()
172 .heapIndex = visible_vram_index, in radv_physical_device_init_mem_types()
182 .heapIndex = gart_index, in radv_physical_device_init_mem_types()
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl620 void DeviceDriver::getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, deUint32 … argument
622 …m_vk.getDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPee…

12