Lines Matching refs:mem_reqs
1388 VkMemoryRequirements mem_reqs; in TEST_F() local
1402 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
1411 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
1425 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F()
1429 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F()
1467 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
1721 VkMemoryRequirements mem_reqs; in TEST_F() local
1751 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
1753 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
1755 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0, VK_MEMORY_PROPERTY_… in TEST_F()
1792 VkMemoryRequirements mem_reqs; in TEST_F() local
1825 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
1827 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
1828 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2117 VkMemoryRequirements mem_reqs; in TEST_F() local
2121 vkGetImageMemoryRequirements(m_device->device(), fauxImage, &mem_reqs); in TEST_F()
2211 VkMemoryRequirements mem_reqs; in TEST_F() local
2240 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
2241 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2249 if ((mem_reqs.memoryTypeBits & (1 << i)) == 0) { in TEST_F()
2285 VkMemoryRequirements mem_reqs; in TEST_F() local
2315 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
2317 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2319 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
2351 VkMemoryRequirements mem_reqs; in TEST_F() local
2381 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
2383 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
2384 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
3873 VkMemoryRequirements mem_reqs; in TEST_F() local
3883 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
3889 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
4102 VkMemoryRequirements mem_reqs; in TEST_F() local
4109 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
4110 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
4111 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
4380 VkMemoryRequirements mem_reqs; in TEST_F() local
4387 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
4388 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
4389 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
4429 VkMemoryRequirements mem_reqs; in TEST_F() local
4439 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
4445 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
8220 VkMemoryRequirements mem_reqs; in TEST_F() local
8228 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
8229 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
8230 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
8361 VkMemoryRequirements mem_reqs; in TEST_F() local
8362 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
8363 bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
8486 VkMemoryRequirements mem_reqs; in TEST_F() local
8494 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
8495 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
8496 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
15683 VkMemoryRequirements mem_reqs; in TEST_F() local
15684 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
15685 bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, 0); in TEST_F()
15738 VkMemoryRequirements mem_reqs; in TEST_F() local
15752 vkGetBufferMemoryRequirements(m_device->device(), buffer, &mem_reqs); in TEST_F()
15762 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
15772 err = vkMapMemory(m_device->device(), mem, 0, mem_reqs.size, 0, (void **)&pData); in TEST_F()
15775 memset(pData, 0xCADECADE, static_cast<size_t>(mem_reqs.size)); in TEST_F()
15819 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); in TEST_F()
15821 mem_alloc.allocationSize = mem_reqs.size; in TEST_F()
15823 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &mem_alloc, VK_MEMORY_PROPERTY_HOS… in TEST_F()
15850 VkMemoryRequirements mem_reqs; in TEST_F() local
15851 mem_reqs.memoryTypeBits = 0xFFFFFFFF; in TEST_F()
15861 …bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPER… in TEST_F()
15864 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
15868 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()