| 148 | } |
| 149 | |
| 150 | GraphContext::~GraphContext()noexcept |
| 151 | { |
| 152 | #if VK_EXT_debug_utils || VK_EXT_debug_marker |
| 153 | for ( auto const & [_, alloc] : m_allocated ) |
| 154 | { |
| 155 | std::stringstream stream; |
| 156 | stream << "Leaked [" << alloc.type << "](" << alloc.name << "), allocation stack:\n" << alloc.callstack; |
| 157 | Logger::logError( stream.str() ); |
| 158 | } |
| 159 | #endif |
| 160 | } |
| 161 | |
| 162 | #if VK_EXT_debug_utils || VK_EXT_debug_marker |
| 163 |
nothing calls this directly
no outgoing calls
no test coverage detected