Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support debug_utils #37

Open
delaneyj opened this issue Mar 27, 2019 · 3 comments
Open

Support debug_utils #37

delaneyj opened this issue Mar 27, 2019 · 3 comments
Assignees

Comments

@delaneyj
Copy link

Was going through the Vulkan tutorial and noticed debug_report work via your demos but debug_utils used by the tutorial is not. The spec says

Layer Controls
There are two general methods for controlling layer behavior supported by most of the layers listed herein: layer settings file and a debug extension. The layer settings file provides a general mechanism for a user to control various layer behaviors by providing arbitrary settings. Currently the layer settings file has settings only pertaining to layer message logging.

There are currently two available debug extensions: VK_EXT_debug_utils and VK_EXT_debug_report. Both are available for use by applications to programmatically control layer message logging. VK_EXT_debug_utils is preferable to VK_EXT_debug_report as the later extension has become deprecated and will not continue to evolve with the Vulkan API. However, VK_EXT_debug_report will continue to work for existing applications supporting Vulkan 1.0 should that be all you require.

Vulkan layers support both methods.

Since its is deprecated can we get support for debug_utils?

@delaneyj
Copy link
Author

Also vk.ExtDebugReportExtensionName exists but have to add +"\x00" to makes it null terminated to use in vk.InstanceCreateInfo.PpEnabledExtensionNames. I this is know from the demos but curious why its a special case.

@shravanshetty1
Copy link

I can create instance with debug_utils using \x00 - however many of the debug utils datastructures arent present.
vk.DebugUtilsMessengerCreateInfo is not present while vk.DebugReportCallbackCreateInfo exists forcing the usage of debug_report. Any idea why its missing?

@delaneyj
Copy link
Author

delaneyj commented Jan 2, 2021

@shravanshetty1 I moved on to doing stuff directly in C to avoid the disconnect :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants