You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When VK_EXT_debug_utils is enabled and we want to call vkCreateDebugUtilsMessengerEXT before physical device is created, it is seemed required one more call gladLoaderLoadVulkan(instance, NULL, NULL). (Getting address of vkCreateDebugUtilsMessengerEXT only need a valid instance)
This sounds correct. The first call resolves all global functions like vkCreateInstance, the second one all instance functions (including the one youre interested in) the 3rd one to populate all device extensions, the fourth one to reload all device functions (optional see here).
Are you having any issues with this? Maybe the triangle example can help you as a rough reference (does only reload 3 times not 4).
When
VK_EXT_debug_utils
is enabled and we want to callvkCreateDebugUtilsMessengerEXT
before physical device is created, it is seemed required one more callgladLoaderLoadVulkan(instance, NULL, NULL)
. (Getting address ofvkCreateDebugUtilsMessengerEXT
only need a valid instance)So with the builtin loader it would be like this:
Is it right?
The text was updated successfully, but these errors were encountered: