Debug we pass to Vulkan to call when it detects warnings or errors
| 158 | |
| 159 | // Debug we pass to Vulkan to call when it detects warnings or errors |
| 160 | VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback( |
| 161 | VkDebugReportFlagsEXT, |
| 162 | VkDebugReportObjectTypeEXT, |
| 163 | std::uint64_t, |
| 164 | std::size_t, |
| 165 | std::int32_t, |
| 166 | const char*, |
| 167 | const char* pMessage, |
| 168 | void*) |
| 169 | { |
| 170 | std::cerr << pMessage << std::endl; |
| 171 | |
| 172 | return VK_FALSE; |
| 173 | } |
| 174 | } // namespace |
| 175 | |
| 176 |
nothing calls this directly
no outgoing calls
no test coverage detected