Searched refs:memory_allocate_info (Results 1 – 3 of 3) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 1179 VkMemoryAllocateInfo memory_allocate_info = {}; in VkBufferTest() local 1180 memory_allocate_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in VkBufferTest() 1181 memory_allocate_info.allocationSize = 1; // fake size -- shouldn't matter for the test in VkBufferTest() 1182 memory_allocate_info.memoryTypeIndex = 0; // fake type -- shouldn't matter for the test in VkBufferTest() 1183 vkAllocateMemory(VulkanDevice, &memory_allocate_info, nullptr, &VulkanMemory); in VkBufferTest() 1201 VkMemoryAllocateInfo memory_allocate_info = {}; in VkBufferTest() local 1202 memory_allocate_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in VkBufferTest() 1203 memory_allocate_info.allocationSize = memory_requirements.size + eOffsetAlignment; in VkBufferTest() 1204 …s = aVulkanDevice->phy().set_memory_type(memory_requirements.memoryTypeBits, &memory_allocate_info, in VkBufferTest() 1212 vkAllocateMemory(VulkanDevice, &memory_allocate_info, NULL, &VulkanMemory); in VkBufferTest()
|
D | vklayertests_others.cpp | 242 VkMemoryAllocateInfo memory_allocate_info = {}; in TEST_F() local 243 memory_allocate_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F() 244 memory_allocate_info.allocationSize = memRequirements.size; in TEST_F() 245 memory_allocate_info.memoryTypeIndex = 0; in TEST_F() 247 vkAllocateMemory(device(), &memory_allocate_info, nullptr, &memory_1); in TEST_F() 248 vkAllocateMemory(device(), &memory_allocate_info, nullptr, &memory_2); in TEST_F() 379 VkMemoryAllocateInfo memory_allocate_info = {}; in TEST_F() local 380 memory_allocate_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F() 381 memory_allocate_info.allocationSize = memRequirements.size; in TEST_F() 382 memory_allocate_info.memoryTypeIndex = 0; in TEST_F() [all …]
|
D | vklayertests_command.cpp | 4414 VkMemoryAllocateInfo memory_allocate_info = {VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; in TEST_F() local 4461 memory_allocate_info.allocationSize = memory_requirements.size; in TEST_F() 4462 …m_device->phy().set_memory_type(memory_requirements.memoryTypeBits, &memory_allocate_info, VK_MEMO… in TEST_F() 4464 vkAllocateMemory(m_device->device(), &memory_allocate_info, NULL, &draw_buffer_memory); in TEST_F()
|