Advertisement

Naming Vulkan objects

Started by July 15, 2019 11:25 AM
2 comments, last by turanszkij 5 years, 2 months ago

Anyone had success in naming their vulkan objects via the extension VK_EXT_debug_utils? The extension is reported successfully, but when I have a call to vkSetDebugUtilsObjectNameEXT() function, the build cannot find the symbol for it. There is absolutely no documentation about whether I need to do anything specific for this: https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkSetDebugUtilsObjectNameEXT.html

Have you initialized it?

 

PFN_vkSetDebugUtilsObjectNameEXT setDebugUtilsObjectNameEXT;

setDebugUtilsObjectNameEXT = (PFN_vkSetDebugUtilsObjectNameEXT)vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" );

Aether3D Game Engine: https://github.com/bioglaze/aether3d

Blog: http://twiren.kapsi.fi/blog.html

Control

Advertisement
32 minutes ago, bioglaze said:

Have you initialized it?

 

PFN_vkSetDebugUtilsObjectNameEXT setDebugUtilsObjectNameEXT;

setDebugUtilsObjectNameEXT = (PFN_vkSetDebugUtilsObjectNameEXT)vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" );

Thanks, that's super helpful! I got it working with this. Would have never figured out on my own.

This topic is closed to new replies.

Advertisement