Skip to main content
gamedev.net
🔒 Locked

Naming Vulkan objects

Started by turanszkij 2 replies 2.9k views
Original Post
turanszkij
turanszkij

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

bioglaze
bioglaze

Have you initialized it?


PFN_vkSetDebugUtilsObjectNameEXT setDebugUtilsObjectNameEXT;

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

turanszkij
turanszkij
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.