• Home
  • Raw
  • Download

Lines Matching refs:alloc_info

1022 …VkDescriptorSetAllocateInfo alloc_info = {VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, nullptr,…  local
1024 err = vkAllocateDescriptorSets(device_->handle(), &alloc_info, &set_);
1701 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
1703 vkAllocateMemory(device(), &alloc_info, NULL, &memory); in TEST_F()
2618 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
2619 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2620 alloc_info.pNext = NULL; in TEST_F()
2621 alloc_info.memoryTypeIndex = 0; in TEST_F()
2623 alloc_info.allocationSize = buff_mem_reqs.size + img_mem_reqs.size; in TEST_F()
2624 …ice->phy().set_memory_type(buff_mem_reqs.memoryTypeBits & img_mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
2633 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
2649 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem_img); in TEST_F()
2691 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
2692 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
2693 alloc_info.pNext = NULL; in TEST_F()
2694 alloc_info.memoryTypeIndex = 0; in TEST_F()
2698 alloc_info.allocationSize = allocation_size; in TEST_F()
2699 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
2705 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
2791 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
2925 auto image_alloc_info = vk_testing::DeviceMemory::alloc_info(mem_reqs.size, 0); in TEST_F()
8543 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
8544 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
8545 alloc_info.descriptorSetCount = 2; in TEST_F()
8546 alloc_info.descriptorPool = ds_pool; in TEST_F()
8547 alloc_info.pSetLayouts = set_layouts; in TEST_F()
8550 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, descriptor_sets); in TEST_F()
8553 alloc_info.descriptorSetCount = 1; in TEST_F()
8565 alloc_info.descriptorSetCount = 1; in TEST_F()
8566 alloc_info.pSetLayouts = &ds_layout_ub.handle(); in TEST_F()
8568 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_set); in TEST_F()
8611 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
8612 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
8613 alloc_info.descriptorSetCount = 1; in TEST_F()
8614 alloc_info.descriptorPool = ds_pool; in TEST_F()
8615 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
8616 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
9470 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
9471 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
9472 alloc_info.allocationSize = mem_reqs.size; in TEST_F()
9474 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
9480 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
9534 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
9535 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
9536 alloc_info.descriptorSetCount = 1; in TEST_F()
9537 alloc_info.descriptorPool = ds_pool; in TEST_F()
9538 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
9540 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_set); in TEST_F()
10025 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
10026 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
10027 alloc_info.allocationSize = 1024; in TEST_F()
10029 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
10035 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
10263 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
10264 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
10265 alloc_info.descriptorSetCount = 1; in TEST_F()
10266 alloc_info.descriptorPool = ds_pool; in TEST_F()
10267 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
10268 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
10409 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
10410 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
10411 alloc_info.descriptorSetCount = 1; in TEST_F()
10412 alloc_info.descriptorPool = ds_pool; in TEST_F()
10413 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
10414 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
10827 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
10828 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
10829 alloc_info.descriptorSetCount = 1; in TEST_F()
10830 alloc_info.descriptorPool = ds_pool; in TEST_F()
10831 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
10832 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
11075 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
11076 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
11077 alloc_info.descriptorSetCount = 1; in TEST_F()
11078 alloc_info.descriptorPool = ds_pool; in TEST_F()
11079 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
11080 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_set); in TEST_F()
11201 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
11202 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
11203 alloc_info.descriptorSetCount = 1; in TEST_F()
11204 alloc_info.descriptorPool = ds_pool; in TEST_F()
11205 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
11206 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_set); in TEST_F()
11326 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
11327 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
11328 alloc_info.descriptorSetCount = 1; in TEST_F()
11329 alloc_info.descriptorPool = ds_pool; in TEST_F()
11330 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
11331 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
11789 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
11790 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
11791 alloc_info.descriptorSetCount = 1; in TEST_F()
11792 alloc_info.descriptorPool = ds_pool; in TEST_F()
11793 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
11794 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
12046 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
12047 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
12048 alloc_info.descriptorSetCount = 1; in TEST_F()
12049 alloc_info.descriptorPool = ds_pool; in TEST_F()
12050 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
12051 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
12203 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
12204 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
12205 alloc_info.descriptorSetCount = 1; in TEST_F()
12206 alloc_info.descriptorPool = ds_pool; in TEST_F()
12207 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
12208 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
12501 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
12502 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
12503 alloc_info.descriptorPool = ds_pool; in TEST_F()
12504 alloc_info.descriptorSetCount = ds_vk_layouts.size(); in TEST_F()
12505 alloc_info.pSetLayouts = ds_vk_layouts.data(); in TEST_F()
12506 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, descriptorSet); in TEST_F()
12509 alloc_info.descriptorSetCount = 1; in TEST_F()
12510 alloc_info.pSetLayouts = &ds_layout_fs_only.handle(); in TEST_F()
12511 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &ds0_fs_only); in TEST_F()
12806 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
12807 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
12808 alloc_info.descriptorSetCount = 1; in TEST_F()
12809 alloc_info.descriptorPool = ds_pool; in TEST_F()
12810 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
12811 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
15890 VkMemoryAllocateInfo alloc_info{}; in TEST_F() local
15891 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
15892 alloc_info.pNext = NULL; in TEST_F()
15893 alloc_info.memoryTypeIndex = 0; in TEST_F()
15894 alloc_info.allocationSize = requirements.size; in TEST_F()
15895 …bool pass = m_device->phy().set_memory_type(requirements.memoryTypeBits, &alloc_info, VK_MEMORY_PR… in TEST_F()
15899 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &memory); in TEST_F()
15961 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
15962 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
15963 alloc_info.allocationSize = mem_reqs.size; in TEST_F()
15965 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
15971 vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
18224 VkCommandBufferAllocateInfo alloc_info; in TEST_F() local
18225 alloc_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in TEST_F()
18226 alloc_info.pNext = NULL; in TEST_F()
18227 alloc_info.commandBufferCount = 2; in TEST_F()
18228 alloc_info.commandPool = m_commandPool->handle(); in TEST_F()
18229 alloc_info.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in TEST_F()
18230 vkAllocateCommandBuffers(m_device->device(), &alloc_info, cmd_bufs); in TEST_F()
26858 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
26859 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
26860 alloc_info.descriptorSetCount = 1; in TEST_F()
26861 alloc_info.descriptorPool = ds_pool; in TEST_F()
26862 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
26863 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
27807 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
27808 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
27809 alloc_info.descriptorSetCount = 1; in TEST_F()
27810 alloc_info.descriptorPool = ds_pool_one; in TEST_F()
27811 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
27812 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptorSet); in TEST_F()
29413 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
29414 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
29415 alloc_info.pNext = NULL; in TEST_F()
29416 alloc_info.descriptorPool = ds_pool; in TEST_F()
29417 alloc_info.descriptorSetCount = 1; in TEST_F()
29418 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
29420 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_set); in TEST_F()
29527 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
29528 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
29529 alloc_info.pNext = NULL; in TEST_F()
29530 alloc_info.memoryTypeIndex = 0; in TEST_F()
29533 alloc_info.allocationSize = 0x10000; in TEST_F()
29535 …pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HO… in TEST_F()
29542 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
29696 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
29697 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
29698 alloc_info.descriptorSetCount = 1; in TEST_F()
29699 alloc_info.descriptorPool = ds_pool; in TEST_F()
29700 alloc_info.pSetLayouts = &ds_layout.handle(); in TEST_F()
29701 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, &descriptor_sets[1]); in TEST_F()
29718 VkCommandBufferAllocateInfo alloc_info; in TEST_F() local
29719 alloc_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in TEST_F()
29720 alloc_info.pNext = NULL; in TEST_F()
29721 alloc_info.commandBufferCount = 4; in TEST_F()
29722 alloc_info.commandPool = m_commandPool->handle(); in TEST_F()
29723 alloc_info.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in TEST_F()
29724 vkAllocateCommandBuffers(m_device->device(), &alloc_info, cmd_bufs); in TEST_F()
29970 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
29971 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
29972 alloc_info.pNext = NULL; in TEST_F()
29973 alloc_info.memoryTypeIndex = 0; in TEST_F()
29976 alloc_info.allocationSize = allocation_size; in TEST_F()
29979 …bool pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPER… in TEST_F()
29982 pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
29987 mem_reqs.memoryTypeBits, &alloc_info, in TEST_F()
29997 err = vkAllocateMemory(m_device->device(), &alloc_info, NULL, &mem); in TEST_F()
33795 …auto alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, buffer_export.memor… in TEST_F() local
33799 alloc_info.pNext = &export_info; in TEST_F()
33810 memory_export.init(*m_device, alloc_info); in TEST_F()
33838alloc_info = vk_testing::DeviceMemory::get_resource_alloc_info(*m_device, buffer_import.memory_req… in TEST_F()
33839 alloc_info.pNext = &import_info; in TEST_F()
33841 memory_import.init(*m_device, alloc_info); in TEST_F()
34225 VkMemoryAllocateInfo alloc_info = {}; in TEST_F() local
34226 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in TEST_F()
34227 alloc_info.allocationSize = mem_reqs.size; in TEST_F()
34228 alloc_info.memoryTypeIndex = type; in TEST_F()
34229 ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &alloc_info, NULL, &mem_obj)); in TEST_F()
34284 VkMemoryAllocateInfo alloc_info = {VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; in TEST_F() local
34293 alloc_info.memoryTypeIndex = mem_type; in TEST_F()
34297 alloc_info.allocationSize = mem_reqs2.memoryRequirements.size; in TEST_F()
34298 ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &alloc_info, NULL, &p0_mem)); in TEST_F()
34303 alloc_info.allocationSize = mem_reqs2.memoryRequirements.size; in TEST_F()
34304 ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &alloc_info, NULL, &p1_mem)); in TEST_F()
34308 alloc_info.allocationSize = mem_reqs2.memoryRequirements.size; in TEST_F()
34309 ASSERT_VK_SUCCESS(vkAllocateMemory(device(), &alloc_info, NULL, &p2_mem)); in TEST_F()
35817 VkDescriptorSetAllocateInfo alloc_info = {}; in TEST_F() local
35818 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in TEST_F()
35819 alloc_info.descriptorSetCount = 2; in TEST_F()
35820 alloc_info.descriptorPool = ds_pool; in TEST_F()
35821 alloc_info.pSetLayouts = set_layouts; in TEST_F()
35822 err = vkAllocateDescriptorSets(m_device->device(), &alloc_info, descriptor_sets); in TEST_F()