| 335 | } |
| 336 | |
| 337 | RunnableGraph::~RunnableGraph()noexcept |
| 338 | { |
| 339 | if ( m_context.vkDestroySemaphore && m_semaphore ) |
| 340 | { |
| 341 | crgUnregisterObject( m_context, m_semaphore ); |
| 342 | m_context.vkDestroySemaphore( m_context.device |
| 343 | , m_semaphore |
| 344 | , m_context.allocator ); |
| 345 | } |
| 346 | |
| 347 | if ( m_context.vkFreeCommandBuffers && m_commandBuffer ) |
| 348 | { |
| 349 | crgUnregisterObject( m_context, m_commandBuffer ); |
| 350 | m_context.vkFreeCommandBuffers( m_context.device |
| 351 | , getCommandPool() |
| 352 | , 1u |
| 353 | , &m_commandBuffer ); |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | void RunnableGraph::record() |
| 358 | { |
nothing calls this directly
no outgoing calls
no test coverage detected