diff options
| author | Ian Elliott <ianelliott@google.com> | 2016-04-28 09:08:13 -0600 |
|---|---|---|
| committer | Ian Elliott <ianelliott@google.com> | 2016-04-28 09:13:02 -0600 |
| commit | c120bf9e85649e55261b6e50839576a30bccf835 (patch) | |
| tree | e164e59b602f00c765162c82cc26d2204be0ab33 /common/vulkan_wrapper.cpp | |
| parent | 1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44 (diff) | |
| download | usermoji-c120bf9e85649e55261b6e50839576a30bccf835.tar.xz | |
layers: Use tmp callback for msgs during vk{Create|Destroy}Instance().
This is implements some relatively-new functionality of the VK_EXT_debug_report
extension. An application can pass VkDebugReportCallbackCreateInfoEXT structs
on the pNext chain given to vkCreateInstance(), in order to setup one or more
callbacks that can be used during vk{Create|Destroy}Instance(). These special,
"temporary callbacks" allow messages (e.g. errors) to be logged during the time
when the debug_report extension is normally not setup.
A set of utilities copy VkDebugReportCallbackCreateInfoEXT structs from the
pNext chain given to vkCreateInstance(). These utilities are used by the
validation layers that may have messages (e.g. errors) during
vk{Create|Destroy}Instance().
Diffstat (limited to 'common/vulkan_wrapper.cpp')
0 files changed, 0 insertions, 0 deletions
