/external/skia/src/gpu/vk/ |
D | GrVkMemory.cpp | 33 VkMemoryRequirements* memReqs, in alloc_device_memory() argument 38 memReqs->memoryTypeBits, in alloc_device_memory() 47 memReqs->size, // allocationSize in alloc_device_memory() 68 VkMemoryRequirements memReqs; in AllocAndBindBufferMemory() local 69 GR_VK_CALL(interface, GetBufferMemoryRequirements(device, buffer, &memReqs)); in AllocAndBindBufferMemory() 72 if (!alloc_device_memory(gpu, &memReqs, flags, memory)) { in AllocAndBindBufferMemory() 92 VkMemoryRequirements memReqs; in AllocAndBindImageMemory() local 93 GR_VK_CALL(interface, GetImageMemoryRequirements(device, image, &memReqs)); in AllocAndBindImageMemory() 95 if (!alloc_device_memory(gpu, &memReqs, flags, memory)) { in AllocAndBindImageMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferTests.cpp | 100 VkMemoryRequirements memReqs; in bufferCreateAndAllocTest() local 128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in bufferCreateAndAllocTest() 130 const deUint32 heapTypeIndex = (deUint32)deCtz32(memReqs.memoryTypeBits); in bufferCreateAndAllocTest() 148 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in bufferCreateAndAllocTest() 151 if (size > memReqs.size) in bufferCreateAndAllocTest() 154 …errorMsg << "Requied memory size (" << memReqs.size << " bytes) smaller than the buffer's size (" … in bufferCreateAndAllocTest() 165 memReqs.size, in bufferCreateAndAllocTest() 166 (deUint32)deCtz32(memReqs.memoryTypeBits) // deUint32 memoryTypeIndex in bufferCreateAndAllocTest() 189 memReqs.size, // VkDeviceSize size; in bufferCreateAndAllocTest()
|
D | vktApiBufferViewCreateTests.cpp | 101 VkMemoryRequirements memReqs; in iterate() local 128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in iterate() 130 if (size > memReqs.size) in iterate() 133 …errorMsg << "Requied memory size (" << memReqs.size << " bytes) smaller than the buffer's size (" … in iterate() 142 memReqs.size, // VkDeviceSize allocationSize in iterate() 143 (deUint32)deCtz32(memReqs.memoryTypeBits) // deUint32 memoryTypeIndex in iterate()
|
D | vktApiObjectManagementTests.cpp | 606 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs) in getDeviceMemoryParameters() argument 608 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits)); in getDeviceMemoryParameters() 647 const VkMemoryRequirements memReqs = getBufferMemoryRequirements(env.vkd, env.device, *buffer); in getMaxConcurrent() local 652 getPageTableSize(context, memReqs.size)); in getMaxConcurrent() 780 const VkMemoryRequirements memReqs = getImageMemoryRequirements(env.vkd, env.device, *image); in getMaxConcurrent() local 785 getPageTableSize(context, memReqs.size)); in getMaxConcurrent()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 190 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequireme… in allocate() argument 192 …const deUint32 memoryTypeNdx = selectMatchingMemoryType(m_memProps, memReqs.memoryTypeBits, req… in allocate() 197 memReqs.size, // VkDeviceSize allocationSize; in allocate()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 2202 VkMemoryRequirements memReqs; in TEST_F() local 2210 vkGetImageMemoryRequirements(m_device->device(), image, &memReqs); in TEST_F() 2211 memAlloc.allocationSize = memReqs.size; in TEST_F() 2213 m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F() 6343 VkMemoryRequirements memReqs; in TEST_F() local 6378 vkGetImageMemoryRequirements(m_device->device(), srcImage, &memReqs); in TEST_F() 6379 memAlloc.allocationSize = memReqs.size; in TEST_F() 6381 m_device->phy().set_memory_type(memReqs.memoryTypeBits, &memAlloc, 0); in TEST_F() 6386 vkGetImageMemoryRequirements(m_device->device(), dstImage, &memReqs); in TEST_F() 6387 memAlloc.allocationSize = memReqs.size; in TEST_F() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1289 …ation> allocateAndBindMemory (Context& context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 1293 MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(bufReqs, memReqs); in allocateAndBindMemory() 1300 …ocation> allocateAndBindMemory (Context& context, vk::VkImage image, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 1304 MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(imgReqs, memReqs); in allocateAndBindMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1177 …ation> allocateAndBindMemory (Context& context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 1181 de::MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(bufReqs, memReqs); in allocateAndBindMemory() 1188 …ocation> allocateAndBindMemory (Context& context, vk::VkImage image, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 1192 de::MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(imgReqs, memReqs); in allocateAndBindMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1753 …ation> allocateAndBindMemory (Context& context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 1757 de::MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(bufReqs, memReqs); in allocateAndBindMemory()
|