TressFX 4.1, Engine Integration with Unreal 4.22 and Radeon™ Cauldron
We are delighted to announce our TressFX 4.1/Unreal® Engine integration and our TressFX 4.1/Radeon™ Cauldron framework implementation. The TressFX library is AMD’s hair/fur rendering and …
there is type error
enabledInstanceExtensions.push_back(“VK_KHR_swapchain”);
should be
enabledDeviceExtensions.push_back(“VK_KHR_swapchain”);
That’s is what I needed ! The examples available today at GitHub are so messy and so big that miss entirely the point about validation !
Thanks for putting it in simple and direct way !
What library is the implementation of vkCreateDebugReportCallbackEXT(..)? I’m getting an unresolved external symbol error on that function when I add it to my program. My program is linking vulkan-1.lib
The implementation is part of the validation layer library (or any other library implementing VK_EXT_debug_report). You need to acquire those function pointers using vkGetInstanceProcAddr as shown in the post, you don’t link to those at build time.
I have the same problem.
Craig: the solution was in the article but escaped my notice too. You have to get the function pointers manually. Those function prototypes in vulkan.h are not for calling, apparently (nice bit of misdirection there)
/* Load VK_EXT_debug_report entry points in debug builds */
PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT =
reinterpret_cast
(vkGetInstanceProcAddr(instance, “vkCreateDebugReportCallbackEXT”));
PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT =
reinterpret_cast
(vkGetInstanceProcAddr(instance, “vkDebugReportMessageEXT”));
PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT =
reinterpret_cast
(vkGetInstanceProcAddr(instance, “vkDestroyDebugReportCallbackEXT”));