| 666 | } |
| 667 | |
| 668 | void ApiVulkanSample::create_command_pool() |
| 669 | { |
| 670 | VkCommandPoolCreateInfo command_pool_info = {}; |
| 671 | command_pool_info.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO; |
| 672 | command_pool_info.queueFamilyIndex = get_device().get_queue_by_flags(VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT, 0).get_family_index(); |
| 673 | VK_CHECK(vkCreateCommandPool(get_device().get_handle(), &command_pool_info, nullptr, &cmd_pool)); |
| 674 | } |
| 675 | |
| 676 | void ApiVulkanSample::setup_depth_stencil() |
| 677 | { |
nothing calls this directly
no test coverage detected