/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 314 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/ |
D | VkPromotedExtensions.cpp | 76 …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/ |
D | GrAHardwareBufferUtils.cpp | 383 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/ |
D | vk_mem_alloc.h | 4429 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/ |
D | vk_mem_alloc.h | 4429 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/ |
D | vktSparseResourcesBufferSparseBinding.cpp | 181 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 182 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesBufferSparseResidency.cpp | 224 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 225 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 238 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 239 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesImageSparseBinding.cpp | 220 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 221 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesBufferTests.cpp | 95 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()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 241 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 242 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 300 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 301 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesImageSparseResidency.cpp | 305 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 306 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesTestsUtil.cpp | 787 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryAllocationTests.cpp | 295 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()
|
D | vktMemoryMappingTests.cpp | 578 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/ |
D | GrAHardwareBufferImageGenerator.cpp | 263 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/ |
D | anv_device.c | 191 .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/ |
D | vktApiBufferTests.cpp | 360 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest() 581 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
|
D | vktApiFeatureInfo.cpp | 1373 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/ |
D | VkHardwareBufferTest.cpp | 724 uint32_t heapIndex = 0; in importHardwareBuffer() local 735 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 736 uint32_t heapIndex = 0; in importHardwareBuffer() local 747 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 207 …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/ |
D | radv_device.c | 154 .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/ |
D | vkDeviceDriverImpl.inl | 620 void DeviceDriver::getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, deUint32 … argument 622 …m_vk.getDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPee…
|