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
The code in vkb::Instance::Instance constructs a VkInstance and then (when either VKB_DEBUG or VKB_VALIDATION_LAYERS are defined) populates a VkDebugReportCallbackCreateInfoEXT and creates a debug report callback.
However, the VK_EXT_debug_report extension was specifically designed to ensure that validation could be applied even to instance creation.
if VKB_DEBUG or VKB_VALIDATION_LAYERS are defined, then the VkDebugReportCallbackCreateInfoEXT declaration should be before instance creation code, and the VkDebugReportCallbackCreateInfoEXT structure should be set as the pNext of VkInstanceCreateInfo
The text was updated successfully, but these errors were encountered:
The code in
vkb::Instance::Instance
constructs aVkInstance
and then (when eitherVKB_DEBUG
orVKB_VALIDATION_LAYERS
are defined) populates aVkDebugReportCallbackCreateInfoEXT
and creates a debug report callback.However, the
VK_EXT_debug_report
extension was specifically designed to ensure that validation could be applied even to instance creation.if
VKB_DEBUG
orVKB_VALIDATION_LAYERS
are defined, then theVkDebugReportCallbackCreateInfoEXT
declaration should be before instance creation code, and theVkDebugReportCallbackCreateInfoEXT
structure should be set as thepNext
ofVkInstanceCreateInfo
The text was updated successfully, but these errors were encountered: