| 13 | |
| 14 | #ifndef KOMPUTE_DISABLE_VK_DEBUG_LAYERS |
| 15 | static VKAPI_ATTR VkBool32 VKAPI_CALL |
| 16 | debugMessageCallback(VkDebugReportFlagsEXT /*flags*/, |
| 17 | VkDebugReportObjectTypeEXT /*objectType*/, |
| 18 | uint64_t /*object*/, |
| 19 | size_t /*location*/, |
| 20 | int32_t /*messageCode*/, |
| 21 | #if KOMPUTE_OPT_ACTIVE_LOG_LEVEL <= KOMPUTE_LOG_LEVEL_DEBUG |
| 22 | const char* pLayerPrefix, |
| 23 | const char* pMessage, |
| 24 | #else |
| 25 | const char* /*pLayerPrefix*/, |
| 26 | const char* /*pMessage*/, |
| 27 | #endif |
| 28 | void* /*pUserData*/) |
| 29 | { |
| 30 | KP_LOG_DEBUG("[VALIDATION]: {} - {}", pLayerPrefix, pMessage); |
| 31 | return VK_FALSE; |
| 32 | } |
| 33 | #endif |
| 34 | |
| 35 | Manager::Manager() |
nothing calls this directly
no outgoing calls
no test coverage detected