Reputation: 11436
As a Vulkan noob, I see vkCreateDebugUtilsMessengerEXT used in tutorials,which looks similar to OpenGL Debug Output extension. Both also share same enumerators. Please explain the difference and use case.
Upvotes: 2
Views: 1164
Reputation: 473447
There are/were two extensions in Vulkan that involve handling this kind of debug report callback stuff: VK_EXT_debug_report
and VK_EXT_debug_utils
. Debug report was the first one and has essentially been abandoned in favor of the second. Debug report was solely devoted to providing a callback interface, while debug utils provides APIs for naming things and various other debugging systems.
Debug report is officially a deprecated extension, so going forward, you should use debug utils.
Upvotes: 6