/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 129 int memoryType = FindBestTypeIndex(requirements, kind); in Allocate() local 130 ASSERT(memoryType >= 0); in Allocate() 154 DAWN_TRY_ASSIGN(subAllocation, mAllocatorsPerType[memoryType]->AllocateMemory( in Allocate() 163 DAWN_TRY_ASSIGN(resourceHeap, mAllocatorsPerType[memoryType]->AllocateResourceHeap(size)); in Allocate() 173 mAllocatorsPerType[memoryType]->DeallocateResourceHeap(std::move(resourceHeap)); in Allocate() 222 size_t memoryType = ToBackend(allocation.GetResourceHeap())->GetMemoryType(); in Tick() local 224 mAllocatorsPerType[memoryType]->DeallocateMemory(allocation); in Tick()
|
D | ResourceHeapVk.cpp | 19 ResourceHeap::ResourceHeap(VkDeviceMemory memory, size_t memoryType) in ResourceHeap() argument 20 : mMemory(memory), mMemoryType(memoryType) { in ResourceHeap()
|
D | ResourceHeapVk.h | 26 ResourceHeap(VkDeviceMemory memory, size_t memoryType);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryAllocationTests.cpp | 343 const VkMemoryType memoryType = m_memoryProperties.memoryTypes[m_memoryTypeIndex]; in iterate() local 344 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate() 372 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate() 376 log << TestLog::Message << "Memory type: " << memoryType << TestLog::EndMessage; in iterate() 385 if ((memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) && in iterate() 422 …if (res == VK_ERROR_OUT_OF_DEVICE_MEMORY && memoryType.propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate() 714 const MemoryType& memoryType = m_rng.choose<MemoryType>(heap.types.begin(), heap.types.end()); in iterate() local 716 const bool isProtected = memoryType.type.propertyFlags & VK_MEMORY_PROPERTY_PROTECTED_BIT; in iterate() 738 memoryType.type.propertyFlags in iterate() 749 memoryType.index // memoryTypeIndex; in iterate()
|
D | vktMemoryMappingTests.cpp | 682 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() local 683 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping() 732 log << TestLog::Message << "MemoryType: " << memoryType << TestLog::EndMessage; in testMemoryMapping() 774 if ((memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) in testMemoryMapping()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesMipmapSparseResidency.cpp | 236 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceI… in iterate() local 238 if (memoryType == NO_MATCH_FOUND) in iterate() 244 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 288 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate() 298 …aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate() 313 metadataAspectRequirements.imageMipTailSize, memoryType, in iterate() 327 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate() 343 …metadataAspectRequirements.imageMipTailSize, memoryType, metadataAspectRequirements.imageMipTailOf… in iterate()
|
D | vktSparseResourcesBufferSparseBinding.cpp | 176 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDevice… in iterate() local 178 if (memoryType == NO_MATCH_FOUND) in iterate() 184 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 200 memoryType, // uint32_t memoryTypeIndex; in iterate()
|
D | vktSparseResourcesBufferSparseResidency.cpp | 217 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceI… in iterate() local 219 if (memoryType == NO_MATCH_FOUND) in iterate() 225 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 237 …oryBind(deviceInterface, getDevice(), bufferMemRequirements.alignment, memoryType, bufferMemRequir… in iterate()
|
D | vktSparseResourcesTestsUtil.cpp | 860 const deUint32 memoryType, in makeSparseImageMemoryBind() argument 870 memoryType, // deUint32 memoryTypeIndex; in makeSparseImageMemoryBind() 891 const deUint32 memoryType, in makeSparseMemoryBind() argument 900 memoryType, // deUint32 memoryTypeIndex; in makeSparseMemoryBind() 961 const deUint32 memoryType) in getHeapIndexForMemoryType() argument 964 DE_ASSERT(memoryType < deviceMemoryProperties.memoryTypeCount); in getHeapIndexForMemoryType() 965 return deviceMemoryProperties.memoryTypes[memoryType].heapIndex; in getHeapIndexForMemoryType()
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 231 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID), bu… in iterate() local 233 if (memoryType == NO_MATCH_FOUND) in iterate() 239 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 249 …d = makeSparseMemoryBind(deviceInterface, getDevice(), bufferMemRequirements.size, memoryType, 0u); in iterate()
|
D | vktSparseResourcesTestsUtil.hpp | 185 const deUint32 memoryType, 193 const deUint32 memoryType, 229 const deUint32 memoryType);
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 297 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID), im… in iterate() local 299 if (memoryType == NO_MATCH_FOUND) in iterate() 305 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 350 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate() 360 …aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate() 367 …aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate() 378 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate() 385 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate()
|
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 536 …const deUint32 memoryType = findMatchingMemoryType(instance, physicalDevice, imageMemoryR… in iterate() local 538 if (memoryType == NO_MATCH_FOUND) in iterate() 591 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate() 604 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate() 615 …aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate() 639 metadataAspectRequirements.imageMipTailSize, memoryType, in iterate()
|
D | vktSparseResourcesImageSparseBinding.cpp | 228 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local 230 if (memoryType == NO_MATCH_FOUND) in iterate() 236 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 249 … imageMemoryRequirements.alignment, memoryType, imageMemoryRequirements.alignment * sparseBindNdx); in iterate()
|
D | vktSparseResourcesImageSparseResidency.cpp | 395 …const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceI… in iterate() local 397 if (memoryType == NO_MATCH_FOUND) in iterate() 403 … heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType); in iterate() 464 imageMemoryRequirements.alignment, memoryType, subresource, offset, extent); in iterate() 476 …aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx … in iterate() 491 metadataAspectRequirements.imageMipTailSize, memoryType, in iterate() 505 aspectRequirements.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset); in iterate() 521 …metadataAspectRequirements.imageMipTailSize, memoryType, metadataAspectRequirements.imageMipTailOf… in iterate()
|
D | vktSparseResourcesBufferTests.cpp | 94 deUint32 memoryType; //!< memory type (same for all allocations) member 255 sparseAllocation->memoryType = memoryTypeNdx; in build()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 76 AtomicShaderType (glu::ShaderType type, AtomicMemoryType memoryType) in AtomicShaderType() argument 78 , m_atomicMemoryType (memoryType) in AtomicShaderType() 81 DE_ASSERT(memoryType != AtomicMemoryType::SHARED || type == glu::SHADERTYPE_COMPUTE); in AtomicShaderType() 1282 const AtomicMemoryType memoryType = m_shaderType.getMemoryType(); in createShaderSpec() local 1310 if (memoryType != AtomicMemoryType::REFERENCE) in createShaderSpec() 1321 if (memoryType == AtomicMemoryType::SHARED) in createShaderSpec() 1349 if (memoryType == AtomicMemoryType::SHARED) in createShaderSpec() 1381 if (memoryType == AtomicMemoryType::SHARED) in createShaderSpec() 1424 if (memoryType == AtomicMemoryType::REFERENCE) in createShaderSpec() 1438 …specializations["RESULT_BUFFER_NAME"] = ((memoryType == AtomicMemoryType::SHARED) ? "result" : "bu… in createShaderSpec() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferTests.cpp | 233 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() local 234 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest() 454 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() local 455 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_mem_alloc_wrapper.cpp | 121 *pMemoryTypeIndexOut = allocationInfo.memoryType; in CreateBuffer()
|
D | vk_utils.h | 364 VkDeviceSize getHeapSizeForMemoryType(uint32_t memoryType) const 366 uint32_t heapIndex = mMemoryProperties.memoryTypes[memoryType].heapIndex;
|
D | vk_utils.cpp | 412 const VkMemoryType &memoryType = mMemoryProperties.memoryTypes[typeIndex]; in hasLazilyAllocatedMemory() local 413 if ((memoryType.propertyFlags & VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT) != 0) in hasLazilyAllocatedMemory()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 176 vmaGetMemoryTypeProperties(fAllocator, vmaInfo.memoryType, &memFlags); in getAllocInfo()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 220 vmaGetMemoryTypeProperties(fAllocator, vmaInfo.memoryType, &memFlags); in getAllocInfo()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 2080 uint32_t memoryType, 2087 uint32_t memoryType, 2456 VmaStatInfo memoryType[VK_MAX_MEMORY_TYPES]; member 3081 uint32_t memoryType; member 7826 void FreeVulkanMemory(uint32_t memoryType, VkDeviceSize size, VkDeviceMemory hMemory); 13741 VmaAddStatInfo(pStats->memoryType[memTypeIndex], allocationStatInfo); in AddStats() 16491 InitStatInfo(pStats->memoryType[i]); in CalculateStats() 16524 VmaAddStatInfo(pStats->memoryType[memTypeIndex], allocationStatInfo); in CalculateStats() 16532 VmaPostprocessCalcStatInfo(pStats->memoryType[i]); in CalculateStats() 16656 pAllocationInfo->memoryType = UINT32_MAX; in GetAllocationInfo() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationCrossInstanceSharingTests.cpp | 1329 vk::VkExternalMemoryHandleTypeFlagBits memoryType; in createTests() member 1398 …e, (vk::VkSemaphoreType)semaphoreType, writeOp, readOp, cases[caseNdx].memoryType, cases[caseNdx].… in createTests()
|