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

Debug Utils and Debug Report callback Help #34

Closed
zeeshan595 opened this issue Jul 4, 2019 · 3 comments
Closed

Debug Utils and Debug Report callback Help #34

zeeshan595 opened this issue Jul 4, 2019 · 3 comments

Comments

@zeeshan595
Copy link
Contributor

Hey, I am having a bit of trouble getting the vulkan debugging up and running. Is there an example I can use?

DeepinScreenshot_select-area_20190704153135

@zeeshan595
Copy link
Contributor Author

If you look at this, it shows how it is done in cpp https://github.com/zeeshan595/tortuga-library/blob/master/Source/Tortuga/Graphics/VulkanInstance.cpp#L27

However PFN_vkCreateDebugUtilsMessengerEXT and vkGetInstanceProcAddr don't exist in nvk

@maierfelix
Copy link
Owner

maierfelix commented Jul 4, 2019

I didn't added Functions yet, so in your example, the pfnUserCallback callback will never get fired, because it's not implemented yet.

Though that's only one of a few last missing pieces until the entire API is covered.

To answer your second question:

The PFN alias in PFN_vkCreateDebugUtilsMessengerEXT is removed, as NVK has a function loader internally and automatically resolves the function pointers. You can find the function here

Edit: You can find the function loader here (at the beginning of the file)

@maierfelix
Copy link
Owner

should be fixed in v0.7.3

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

No branches or pull requests

2 participants