Lines Matching defs:memory
22 * allocation memory for buffers and images
50 de::MovePtr<Allocation>& memory) const
67 memory = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), requirement);
68 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), 0));
80 de::MovePtr<Allocation>& memory) const
102 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, buffer.get(), requirement);
103 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, memory->getMemory(), memory->getOffset()));
112 de::MovePtr<Allocation>& memory,
140 memory = allocator.allocate(getImageMemoryRequirements(vk, vkDevice, *image), requirement);
141 VK_CHECK(vk.bindImageMemory(vkDevice, *image, memory->getMemory(), memory->getOffset()));
150 de::MovePtr<Allocation>& memory,
184 memory = allocateDedicated(vkInstance, vk, vkPhysicalDevice, vkDevice, image.get(), requirement);
185 VK_CHECK(vk.bindImageMemory(vkDevice, *image, memory->getMemory(), memory->getOffset()));