Home
last modified time | relevance | path

Searched refs:heapIndex (Results 1 - 25 of 88) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A 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()
H A DCPUDescriptorHeapAllocationD3D12.cpp22 uint32_t heapIndex) in CPUDescriptorHeapAllocation()
23 : mBaseDescriptor(baseDescriptor), mHeapIndex(heapIndex) { in CPUDescriptorHeapAllocation()
20 CPUDescriptorHeapAllocation( D3D12_CPU_DESCRIPTOR_HANDLE baseDescriptor, uint32_t heapIndex) CPUDescriptorHeapAllocation() argument
H A DCPUDescriptorHeapAllocationD3D12.h28 CPUDescriptorHeapAllocation(D3D12_CPU_DESCRIPTOR_HANDLE baseDescriptor, uint32_t heapIndex);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A 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/skia/third_party/vulkanmemoryallocator/include/
H A Dvk_mem_alloc.h2513 It might be different (most probably smaller) than `VkMemoryHeap::size[heapIndex]` due to factors
7695 for(uint32_t heapIndex = 0; heapIndex < VK_MAX_MEMORY_HEAPS; ++heapIndex) in VmaCurrentBudgetData()
7697 m_BlockBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7698 m_AllocationBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7700 m_VulkanUsage[heapIndex] = 0; in VmaCurrentBudgetData()
7701 m_VulkanBudget[heapIndex] = 0; in VmaCurrentBudgetData()
7702 m_BlockBytesAtBudgetFetch[heapIndex] = 0; in VmaCurrentBudgetData()
7711 void AddAllocation(uint32_t heapIndex, VkDeviceSiz
12729 const uint32_t heapIndex = m_hAllocator->MemoryTypeIndexToHeapIndex(m_MemoryTypeIndex); AllocatePage() local
13101 const uint32_t heapIndex = m_hAllocator->MemoryTypeIndexToHeapIndex(m_MemoryTypeIndex); Free() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemWsiSwapchainTests.cpp339 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in executeSwapchainParameterCases() local
344 (protectedHeapMask & (1u << heapIndex)) == 0) in executeSwapchainParameterCases()
346 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in executeSwapchainParameterCases()
347 protectedHeapMask |= 1u << heapIndex; in executeSwapchainParameterCases()
407 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in executeSwapchainParameterCases() local
412 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in executeSwapchainParameterCases()
496 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in executeSwapchainParameterCases() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemWsiSwapchainTests.cpp326 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
331 (protectedHeapMask & (1u << heapIndex)) == 0) in generateSwapchainParameterCases()
333 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
334 protectedHeapMask |= 1u << heapIndex; in generateSwapchainParameterCases()
364 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
369 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
437 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferSparseBinding.cpp182 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
183 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesBufferMemoryAliasing.cpp237 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
238 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesBufferSparseResidency.cpp223 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
224 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesImageSparseBinding.cpp239 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
240 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkPromotedExtensions.cpp78 VKAPI_ATTR void VKAPI_CALL vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) in vkGetDeviceGroupPeerMemoryFeaturesKHR() argument
80 vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures); in vkGetDeviceGroupPeerMemoryFeaturesKHR()
H A DVkDevice.cpp475 void Device::emitDeviceMemoryReport(VkDeviceMemoryReportEventTypeEXT type, uint64_t memoryObjectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex) in emitDeviceMemoryReport() argument
488 heapIndex, // heapIndex in emitDeviceMemoryReport()
H A DVkDevice.hpp177 void emitDeviceMemoryReport(VkDeviceMemoryReportEventTypeEXT type, uint64_t memoryObjectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex = 0);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesBufferSparseBinding.cpp184 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
185 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesBufferMemoryAliasing.cpp239 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
240 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesBufferSparseResidency.cpp225 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
226 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
H A DvktSparseResourcesImageSparseBinding.cpp236 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() local
237 deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDeviceID, &peerMemoryFeatureFlags); in iterate() local
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryMappingTests.cpp683 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex];
1449 memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryTypeNdx, memoryProperties.memoryTypes[memoryTypeNdx]));
1452 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++)
1454 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex];
1456 if (!memoryTypes[heapIndex].empty())
1458 const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLimits, nonCoherentAtomSize, m_totalMemTracker));
H A DvktMemoryAllocationTests.cpp420 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate()
448 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate()
703 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
711 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_device.c513 uint32_t heapIndex, in vn_GetDeviceGroupPeerMemoryFeatures()
522 dev->instance, device, heapIndex, localDeviceIndex, remoteDeviceIndex, in vn_GetDeviceGroupPeerMemoryFeatures()
511 vn_GetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) vn_GetDeviceGroupPeerMemoryFeatures() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryMappingTests.cpp728 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex];
1505 memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryTypeNdx, memoryProperties.memoryTypes[memoryTypeNdx]));
1508 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++)
1510 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex];
1512 if (!memoryTypes[heapIndex].empty())
1514 const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLimits, nonCoherentAtomSize, m_totalMemTracker));
H A DvktMemoryAllocationTests.cpp420 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate()
448 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate()
707 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
715 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_device.c460 .heapIndex = 0, in anv_physical_device_init_heaps()
466 .heapIndex = 1, in anv_physical_device_init_heaps()
476 .heapIndex = device->vram_non_mappable.size > 0 ? 2 : 0, in anv_physical_device_init_heaps()
495 .heapIndex = 0, in anv_physical_device_init_heaps()
515 .heapIndex = 0, in anv_physical_device_init_heaps()
521 .heapIndex = 0, in anv_physical_device_init_heaps()
2741 .heapIndex = physical_device->memory.types[i].heapIndex, in anv_GetPhysicalDeviceMemoryProperties()
2849 uint32_t heapIndex, in anv_GetDeviceGroupPeerMemoryFeatures()
3798 assert(mem_type->heapIndex < pdevic in anv_AllocateMemory()
2847 anv_GetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) anv_GetDeviceGroupPeerMemoryFeatures() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
H A DDevice.cpp351 if(size > properties.memoryHeaps[properties.memoryTypes[type].heapIndex].size) in AllocateMemory()

Completed in 43 milliseconds

1234