Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DStagingDescriptorAllocatorD3D12.cpp51 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()
DCPUDescriptorHeapAllocationD3D12.cpp22 uint32_t heapIndex) in CPUDescriptorHeapAllocation() argument
23 : mBaseDescriptor(baseDescriptor), mHeapIndex(heapIndex) { in CPUDescriptorHeapAllocation()
DCPUDescriptorHeapAllocationD3D12.h28 CPUDescriptorHeapAllocation(D3D12_CPU_DESCRIPTOR_HANDLE baseDescriptor, uint32_t heapIndex);
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DMemoryAllocator.cpp88 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/
DResourceMemoryAllocatorVk.cpp119 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/
DvktProtectedMemWsiSwapchainTests.cpp325 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/
Dvk_mem_alloc.h7626 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/
Dvk_physical_device.c154 … pMemoryProperties->memoryTypes[i].heapIndex = props2.memoryProperties.memoryTypes[i].heapIndex; in vk_common_GetPhysicalDeviceMemoryProperties()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferUtils.cpp415 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/
DvktSparseResourcesBufferSparseBinding.cpp184 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
185 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferSparseResidency.cpp225 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
226 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp239 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
240 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesImageSparseBinding.cpp236 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
237 …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()
895 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), sparseAllocation->heapIndex, firstDeviceID, secon… in iterate()
1186 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), m_sparseAllocation->heapIndex, firstDeviceID, sec… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp244 …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/
DVkPromotedExtensions.cpp78 …PI_CALL vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localD… in vkGetDeviceGroupPeerMemoryFeaturesKHR() argument
80 …vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMe… in vkGetDeviceGroupPeerMemoryFeaturesKHR()
DVkDevice.cpp475 …oryObjectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex) in emitDeviceMemoryReport() argument
488 heapIndex, // heapIndex in emitDeviceMemoryReport()
DVkDevice.hpp177 …jectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex = 0);
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device.c386 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/
DvktMemoryAllocationTests.cpp344 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()
DvktMemoryMappingTests.cpp683 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/
Danv_device.c478 .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/
Dvk_utils.h366 uint32_t heapIndex = mMemoryProperties.memoryTypes[memoryType].heapIndex;
367 return mMemoryProperties.memoryHeaps[heapIndex].size;
/third_party/flutter/skia/tests/
DVkHardwareBufferTest.cpp725 uint32_t heapIndex = 0; in importHardwareBuffer() local
736 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/third_party/skia/tests/
DVkHardwareBufferTest.cpp729 uint32_t heapIndex = 0; in importHardwareBuffer() local
740 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()

1234