| 311 | |
| 312 | template <vkb::BindingType bindingType> |
| 313 | inline void Device<bindingType>::create_internal_command_pool() |
| 314 | { |
| 315 | uint32_t familyIndex = get_queue_by_flags_impl(vk::QueueFlagBits::eGraphics | vk::QueueFlagBits::eCompute, 0).get_family_index(); |
| 316 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 317 | { |
| 318 | command_pool = std::make_unique<vkb::core::CommandPoolCpp>(*this, familyIndex); |
| 319 | } |
| 320 | else |
| 321 | { |
| 322 | command_pool = std::make_unique<vkb::core::CommandPoolCpp>(*reinterpret_cast<vkb::core::DeviceCpp *>(this), familyIndex); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | template <vkb::BindingType bindingType> |
| 327 | inline void Device<bindingType>::create_internal_fence_pool() |
no test coverage detected