/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | StagingDescriptorAllocatorD3D12.cpp | 51 const uint32_t heapIndex = mAvailableHeaps.back(); in AllocateCPUDescriptors() local 52 NonShaderVisibleBuffer& buffer = mPool[heapIndex]; in AllocateCPUDescriptors() 67 return CPUDescriptorHeapAllocation{baseCPUDescriptor, heapIndex}; in AllocateCPUDescriptors() 101 const uint32_t heapIndex = allocation->GetHeapIndex(); in Deallocate() local 103 ASSERT(heapIndex < mPool.size()); in Deallocate() 109 std::vector<Index>& freeBlockIndices = mPool[heapIndex].freeBlockIndices; in Deallocate() 111 mAvailableHeaps.emplace_back(heapIndex); in Deallocate() 115 mPool[heapIndex].heap->GetCPUDescriptorHandleForHeapStart(); in Deallocate()
|
D | CPUDescriptorHeapAllocationD3D12.cpp | 22 uint32_t heapIndex) in CPUDescriptorHeapAllocation() argument 23 : mBaseDescriptor(baseDescriptor), mHeapIndex(heapIndex) { in CPUDescriptorHeapAllocation()
|
D | CPUDescriptorHeapAllocationD3D12.h | 28 CPUDescriptorHeapAllocation(D3D12_CPU_DESCRIPTOR_HANDLE baseDescriptor, uint32_t heapIndex);
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | MemoryAllocator.cpp | 88 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in Allocate() 89 VkDeviceSize candidateHeapSize = info.memoryHeaps[info.memoryTypes[i].heapIndex].size; in Allocate()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 119 mDevice, i, info.memoryHeaps[info.memoryTypes[i].heapIndex].size)); in ResourceMemoryAllocator() 275 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in FindBestTypeIndex() 276 VkDeviceSize candidateHeapSize = info.memoryHeaps[info.memoryTypes[i].heapIndex].size; in FindBestTypeIndex()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 325 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local 330 (protectedHeapMask & (1u << heapIndex)) == 0) in generateSwapchainParameterCases() 332 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases() 334 protectedHeapMask |= 1u << heapIndex; in generateSwapchainParameterCases() 365 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local 370 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases() 440 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local 445 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 7626 for(uint32_t heapIndex = 0; heapIndex < VK_MAX_MEMORY_HEAPS; ++heapIndex) in VmaCurrentBudgetData() local 7628 m_BlockBytes[heapIndex] = 0; in VmaCurrentBudgetData() 7629 m_AllocationBytes[heapIndex] = 0; in VmaCurrentBudgetData() 7631 m_VulkanUsage[heapIndex] = 0; in VmaCurrentBudgetData() 7632 m_VulkanBudget[heapIndex] = 0; in VmaCurrentBudgetData() 7633 m_BlockBytesAtBudgetFetch[heapIndex] = 0; in VmaCurrentBudgetData() 7642 void AddAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in AddAllocation() 7644 m_AllocationBytes[heapIndex] += allocationSize; in AddAllocation() 7650 void RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in RemoveAllocation() 7652 VMA_ASSERT(m_AllocationBytes[heapIndex] >= allocationSize); // DELME in RemoveAllocation() [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_physical_device.c | 154 … pMemoryProperties->memoryTypes[i].heapIndex = props2.memoryProperties.memoryTypes[i].heapIndex; in vk_common_GetPhysicalDeviceMemoryProperties()
|
/third_party/flutter/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 415 uint32_t heapIndex = 0; in make_vk_backend_texture() local 426 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferSparseBinding.cpp | 184 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 185 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesBufferSparseResidency.cpp | 225 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 226 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 239 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 240 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
D | vktSparseResourcesImageSparseBinding.cpp | 236 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 237 …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() 895 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), sparseAllocation->heapIndex, firstDeviceID, secon… in iterate() 1186 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), m_sparseAllocation->heapIndex, firstDeviceID, sec… in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 244 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 245 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkPromotedExtensions.cpp | 78 …PI_CALL vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localD… in vkGetDeviceGroupPeerMemoryFeaturesKHR() argument 80 …vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMe… in vkGetDeviceGroupPeerMemoryFeaturesKHR()
|
D | VkDevice.cpp | 475 …oryObjectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex) in emitDeviceMemoryReport() argument 488 heapIndex, // heapIndex in emitDeviceMemoryReport()
|
D | VkDevice.hpp | 177 …jectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex = 0);
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device.c | 386 uint32_t heapIndex, in vn_GetDeviceGroupPeerMemoryFeatures() argument 395 dev->instance, device, heapIndex, localDeviceIndex, remoteDeviceIndex, in vn_GetDeviceGroupPeerMemoryFeatures()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryAllocationTests.cpp | 344 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate() 372 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate() 617 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate() 619 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
|
D | vktMemoryMappingTests.cpp | 683 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping() 1449 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance() 1452 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance() local 1454 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex]; in RandomMemoryMappingInstance() 1456 if (!memoryTypes[heapIndex].empty()) in RandomMemoryMappingInstance() 1458 …const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLim… in RandomMemoryMappingInstance()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 478 .heapIndex = 0, in anv_physical_device_init_heaps() 484 .heapIndex = 1, in anv_physical_device_init_heaps() 490 .heapIndex = 0, in anv_physical_device_init_heaps() 509 .heapIndex = 0, in anv_physical_device_init_heaps() 529 .heapIndex = 0, in anv_physical_device_init_heaps() 535 .heapIndex = 0, in anv_physical_device_init_heaps() 2553 .heapIndex = physical_device->memory.types[i].heapIndex, in anv_GetPhysicalDeviceMemoryProperties() 2654 uint32_t heapIndex, in anv_GetDeviceGroupPeerMemoryFeatures() argument 3630 assert(mem_type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory() 3632 &pdevice->memory.heaps[mem_type->heapIndex]; in anv_AllocateMemory() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.h | 366 uint32_t heapIndex = mMemoryProperties.memoryTypes[memoryType].heapIndex; 367 return mMemoryProperties.memoryHeaps[heapIndex].size;
|
/third_party/flutter/skia/tests/ |
D | VkHardwareBufferTest.cpp | 725 uint32_t heapIndex = 0; in importHardwareBuffer() local 736 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
|
/third_party/skia/tests/ |
D | VkHardwareBufferTest.cpp | 729 uint32_t heapIndex = 0; in importHardwareBuffer() local 740 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
|