Home
last modified time | relevance | path

Searched refs:memReq (Results 1 – 13 of 13) sorted by relevance

/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp365 VmaAllocationCreateInfo memReq = {}; in MainTest() local
366 memReq.usage = (VmaMemoryUsage)(VMA_MEMORY_USAGE_GPU_ONLY + memUsageIndex); in MainTest()
367 memReq.flags |= config.AllocationStrategy; in MainTest()
382 …res = vmaCreateBuffer(g_hAllocator, &bufferInfo, &memReq, &allocation.Buffer, &allocation.Alloc, &… in MainTest()
396 imageInfo.tiling = memReq.usage == VMA_MEMORY_USAGE_GPU_ONLY ? in MainTest()
400 switch(memReq.usage) in MainTest()
429 …res = vmaCreateImage(g_hAllocator, &imageInfo, &memReq, &allocation.Image, &allocation.Alloc, &all… in MainTest()
2526 VkMemoryRequirements memReq = {}; in TestInvalidAllocations() local
2527 memReq.size = 0; // !!! in TestInvalidAllocations()
2528 memReq.alignment = 4; in TestInvalidAllocations()
[all …]
DVulkanSample.cpp1571 VkMemoryRequirements memReq = {}; in CanCreateVertexBuffer() local
1572 vkGetBufferMemoryRequirements(g_hDevice, buf, &memReq); in CanCreateVertexBuffer()
1576 return (memReq.memoryTypeBits & allowedMemoryTypeBits) != 0; in CanCreateVertexBuffer()
1598 VkMemoryRequirements memReq = {}; in CanCreateOptimalSampledImage() local
1599 vkGetImageMemoryRequirements(g_hDevice, img, &memReq); in CanCreateOptimalSampledImage()
1603 return (memReq.memoryTypeBits & allowedMemoryTypeBits) != 0; in CanCreateOptimalSampledImage()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp140 VkMemoryRequirements memReq; in getSize() local
142 vk.getBufferMemoryRequirements(device, *m_buffer, &memReq); in getSize()
144 return (size_t)memReq.size; in getSize()
226 VkMemoryRequirements memReq; in getSize() local
228 vk.getImageMemoryRequirements(device, *m_image, &memReq); in getSize()
230 return (size_t)memReq.size; in getSize()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp370 vk::MemoryRequirement memReq = (protectionMode == PROTECTION_ENABLED) in createImage2D() local
374 vk::MemoryRequirement memReq = vk::MemoryRequirement::Any; in createImage2D() local
377 …n de::MovePtr<vk::ImageWithMemory>(new vk::ImageWithMemory(vk, device, allocator, params, memReq)); in createImage2D()
385 vk::MemoryRequirement memReq) in makeBuffer() argument
395 vk::MemoryRequirement requirement = memReq; in makeBuffer()
399 vk::MemoryRequirement requirement = memReq & ( in makeBuffer()
DvktProtectedMemUtils.hpp96 vk::MemoryRequirement memReq);
DvktProtectedMemYCbCrConversionTests.cpp788 …const vk::MemoryRequirement memReq = (protectionMode == PROTECTION_ENABLED) ? vk::MemoryRequireme… in createYcbcrImage2D() local
791 const vk::MemoryRequirement memReq = vk::MemoryRequirement::Any; in createYcbcrImage2D() local
814 …Ptr<vk::YCbCrImageWithMemory>(new vk::YCbCrImageWithMemory(vk, device, allocator, params, memReq)); in createYcbcrImage2D()
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DVmaReplay.cpp3162 VkMemoryRequirements memReq = {}; in ExecuteAllocateMemory() local
3167 if(StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX), memReq.size) && in ExecuteAllocateMemory()
3168 StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX + 1), memReq.alignment) && in ExecuteAllocateMemory()
3169 StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX + 2), memReq.memoryTypeBits) && in ExecuteAllocateMemory()
3195 …VkResult res = vmaAllocateMemory(m_Allocator, &memReq, &allocCreateInfo, &allocDesc.allocation, nu… in ExecuteAllocateMemory()
3214 VkMemoryRequirements memReq = {}; in ExecuteAllocateMemoryPages() local
3219 if(StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX), memReq.size) && in ExecuteAllocateMemoryPages()
3220 StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX + 1), memReq.alignment) && in ExecuteAllocateMemoryPages()
3221 StrRangeToUint(csvSplit.GetRange(FIRST_PARAM_INDEX + 2), memReq.memoryTypeBits) && in ExecuteAllocateMemoryPages()
3251 …VkResult res = vmaAllocateMemoryPages(m_Allocator, &memReq, &allocCreateInfo, allocCount, allocati… in ExecuteAllocateMemoryPages()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingBufferDeviceAddressTests.cpp784 VkMemoryRequirements memReq = getBufferMemoryRequirements(vk, device, **buffers[i]); in iterate() local
787 memoryOffset = memReq.alignment; in iterate()
788 memReq.size += memoryOffset; in iterate()
791 …allocations[i] = AllocationSp(allocateExtended(vki, vk, physDevice, device, memReq, MemoryRequirem… in iterate()
/external/skia/vma_android/include/
Dvk_mem_alloc.h11473 VkMemoryRequirements& memReq,
11478 VkMemoryRequirements& memReq,
14802 VkMemoryRequirements& memReq, in GetBufferMemoryRequirements() argument
14819 memReq = memReq2.memoryRequirements; in GetBufferMemoryRequirements()
14826 (*m_VulkanFunctions.vkGetBufferMemoryRequirements)(m_hDevice, hBuffer, &memReq); in GetBufferMemoryRequirements()
14834 VkMemoryRequirements& memReq, in GetImageMemoryRequirements() argument
14851 memReq = memReq2.memoryRequirements; in GetImageMemoryRequirements()
14858 (*m_VulkanFunctions.vkGetImageMemoryRequirements)(m_hDevice, hImage, &memReq); in GetImageMemoryRequirements()
15770 VkMemoryRequirements memReq; in CalculateGpuDefragmentationMemoryTypeBits() local
15771 (*GetVulkanFunctions().vkGetBufferMemoryRequirements)(m_hDevice, buf, &memReq); in CalculateGpuDefragmentationMemoryTypeBits()
[all …]
/external/angle/third_party/vulkan_memory_allocator/include/
Dvk_mem_alloc.h6664 VkMemoryRequirements& memReq,
6669 VkMemoryRequirements& memReq,
15391 VkMemoryRequirements& memReq, in GetBufferMemoryRequirements() argument
15408 memReq = memReq2.memoryRequirements; in GetBufferMemoryRequirements()
15415 (*m_VulkanFunctions.vkGetBufferMemoryRequirements)(m_hDevice, hBuffer, &memReq); in GetBufferMemoryRequirements()
15423 VkMemoryRequirements& memReq, in GetImageMemoryRequirements() argument
15440 memReq = memReq2.memoryRequirements; in GetImageMemoryRequirements()
15447 (*m_VulkanFunctions.vkGetImageMemoryRequirements)(m_hDevice, hImage, &memReq); in GetImageMemoryRequirements()
16449 VkMemoryRequirements memReq; in CalculateGpuDefragmentationMemoryTypeBits() local
16450 (*GetVulkanFunctions().vkGetBufferMemoryRequirements)(m_hDevice, buf, &memReq); in CalculateGpuDefragmentationMemoryTypeBits()
[all …]
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h6632 VkMemoryRequirements& memReq,
6637 VkMemoryRequirements& memReq,
14500 VkMemoryRequirements& memReq, in GetBufferMemoryRequirements() argument
14517 memReq = memReq2.memoryRequirements; in GetBufferMemoryRequirements()
14524 (*m_VulkanFunctions.vkGetBufferMemoryRequirements)(m_hDevice, hBuffer, &memReq); in GetBufferMemoryRequirements()
14532 VkMemoryRequirements& memReq, in GetImageMemoryRequirements() argument
14549 memReq = memReq2.memoryRequirements; in GetImageMemoryRequirements()
14556 (*m_VulkanFunctions.vkGetImageMemoryRequirements)(m_hDevice, hImage, &memReq); in GetImageMemoryRequirements()
15799 VkMemoryRequirements memReq = {}; in vmaFindMemoryTypeIndexForBufferInfo() local
15801 hDev, hBuffer, &memReq); in vmaFindMemoryTypeIndexForBufferInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp832 …erface& vkd, VkDevice device, Allocator& alloc, VkBufferUsageFlags flags, MemoryRequirement memReq) in makeStd140Buffer() argument
837 buffer.reset(new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, memReq)); in makeStd140Buffer()
DvktRayTracingPipelineFlagsTests.cpp350 …const MemoryRequirement memReq = MemoryRequirement::HostVisible | MemoryRequirement::Coherent | … in SBT() local
351 …uffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(m_vkd, m_dev, allocator, info, memReq)); in SBT()