Lines Matching refs:mem_reqs
2233 VkMemoryRequirements mem_reqs; in TEST_F() local
2234 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
2235 bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2242 if (mem_reqs.size > mem_alloc.allocationSize) { in TEST_F()
2243 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2603 VkMemoryRequirements mem_reqs; in TEST_F() local
2617 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
2627 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
2638 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F()
2641 memset(pData, 0xCADECADE, static_cast<size_t>(mem_reqs.size)); in TEST_F()
2689 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
2696 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2698 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, VK_MEMORY_PROPERTY_HOS… in TEST_F()
3009 VkMemoryRequirements mem_reqs; in TEST_F() local
3010 mem_reqs.memoryTypeBits = 0xFFFFFFFF; in TEST_F()
3021 …bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPER… in TEST_F()
3024 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
3029 mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
7128 VkMemoryRequirements mem_reqs; in TEST_F() local
7129 vkGetImageMemoryRequirements(device(), image, &mem_reqs); in TEST_F()
7133 if ((mem_reqs.memoryTypeBits & (1 << type)) && in TEST_F()
7137 alloc_info.allocationSize = mem_reqs.size; in TEST_F()