Home
last modified time | relevance | path

Searched refs:as_memory_alloc (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/vulkan-validation-layers/tests/
H A Dvklayertests_others.cpp4601 VkMemoryAllocateInfo as_memory_alloc = {}; in TEST_F() local
4602 as_memory_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
4603 as_memory_alloc.allocationSize = as_memory_requirements.size; in TEST_F()
4604 …_TRUE(m_device->phy().set_memory_type(as_memory_requirements.memoryTypeBits, &as_memory_alloc, 0)); in TEST_F()
4609 ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &as_memory_alloc, NULL, &as_memory_freed)); in TEST_F()
4624 VkMemoryAllocateInfo as_memory_alloc_bad_alignment = as_memory_alloc; in TEST_F()
4645 … ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &as_memory_alloc, NULL, &as_memory_bad_offset)); in TEST_F()
4650 …(as_memory_alloc.allocationSize + as_memory_requirements.alignment) & ~(as_memory_requirements.ali… in TEST_F()
4663 …if (offset > 0 && (as_memory_requirements.size < (as_memory_alloc.allocationSize - as_memory_requi… in TEST_F()
4665 … ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &as_memory_alloc, NULL, &as_memory_bad_offset)); in TEST_F()
[all …]