Searched refs:alloc_info (Results 1 – 7 of 7) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 903 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local 905 vkAllocateMemory(device(), &alloc_info, NULL, &memory); in TEST_F() 1337 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local 1338 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F() 1339 alloc_info.pNext = NULL; in TEST_F() 1340 alloc_info.memoryTypeIndex = 0; in TEST_F() 1342 alloc_info.allocationSize = buff_mem_reqs.size + img_mem_reqs.size; in TEST_F() 1343 …ice->phy().set_memory_type(buff_mem_reqs.memoryTypeBits & img_mem_reqs.memoryTypeBits, &alloc_info, in TEST_F() 1350 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F() 1364 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem_img); in TEST_F() [all …]
|
D | vktestbinding.cpp | 68 VkMemoryAllocateInfo info = vk_testing::DeviceMemory::alloc_info(reqs.size, 0); in get_resource_alloc_info() 671 VkDescriptorSetAllocateInfo alloc_info = {}; in alloc_sets() local 672 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in alloc_sets() 673 alloc_info.descriptorSetCount = layout_handles.size(); in alloc_sets() 674 alloc_info.descriptorPool = handle(); in alloc_sets() 675 alloc_info.pSetLayouts = layout_handles.data(); in alloc_sets() 676 VkResult err = vkAllocateDescriptorSets(device(), &alloc_info, set_handles.data()); in alloc_sets()
|
D | vktestbinding.h | 256 static VkMemoryAllocateInfo alloc_info(VkDeviceSize size, uint32_t memory_type_index); 607 inline VkMemoryAllocateInfo DeviceMemory::alloc_info(VkDeviceSize size, uint32_t memory_type_index)… in alloc_info() function
|
/external/vulkan-validation-layers/layers/ |
D | core_validation_types.h | 255 VkMemoryAllocateInfo alloc_info; 270 …: object(disp_object), global_valid(false), mem(in_mem), alloc_info(*p_alloc_info), mem_range{}, s…
|
D | core_validation.cpp | 885 if (0 != mem_info->alloc_info.allocationSize) { in print_mem_list() 886 …string pAllocInfoMsg = vk_print_vkmemoryallocateinfo(&mem_info->alloc_info, "MEM(INFO): "); in print_mem_list() 4508 if (pInfo->alloc_info.allocationSize != 0) { in DestroyDevice() 5177 if (offset >= mem_info->alloc_info.allocationSize) { in ValidateMapMemRange() 5182 … offset, mem_info->alloc_info.allocationSize, mem_info->alloc_info.allocationSize); in ValidateMapMemRange() 5185 if ((offset + size) > mem_info->alloc_info.allocationSize) { in ValidateMapMemRange() 5190 size + offset, mem_info->alloc_info.allocationSize); in ValidateMapMemRange() 5233 uint32_t index = mem_info->alloc_info.memoryTypeIndex; in initializeAndTrackMemory() 5238 size = mem_info->alloc_info.allocationSize - offset; in initializeAndTrackMemory() 5824 if (((1 << mem_info->alloc_info.memoryTypeIndex) & memory_type_bits) == 0) { in ValidateMemoryTypes() [all …]
|
/external/vulkan-validation-layers/demos/ |
D | cube.cpp | 1608 auto const alloc_info = vk::DescriptorSetAllocateInfo() in prepare_descriptor_set() local 1612 auto result = device.allocateDescriptorSets(&alloc_info, &desc_set); in prepare_descriptor_set()
|
D | cube.c | 1884 VkDescriptorSetAllocateInfo alloc_info = { in demo_prepare_descriptor_set() local 1890 err = vkAllocateDescriptorSets(demo->device, &alloc_info, &demo->desc_set); in demo_prepare_descriptor_set()
|