| 1040 | template <vkb::BindingType bindingType> |
| 1041 | inline vk::Result CommandBuffer<bindingType>::reset_impl(vkb::CommandBufferResetMode reset_mode) |
| 1042 | { |
| 1043 | assert(reset_mode == command_pool.get_reset_mode() && "Command buffer reset mode must match the one used by the pool to allocate it"); |
| 1044 | if (reset_mode == vkb::CommandBufferResetMode::ResetIndividually) |
| 1045 | { |
| 1046 | this->get_resource().reset(vk::CommandBufferResetFlagBits::eReleaseResources); |
| 1047 | } |
| 1048 | |
| 1049 | return vk::Result::eSuccess; |
| 1050 | } |
| 1051 | |
| 1052 | template <vkb::BindingType bindingType> |
| 1053 | inline void CommandBuffer<bindingType>::reset_query_pool(QueryPoolType const &query_pool, uint32_t first_query, uint32_t query_count) |
| 1054 | { |
| 1055 | if constexpr (bindingType == vkb::BindingType::Cpp) |
no outgoing calls
no test coverage detected