aboutsummaryrefslogtreecommitdiff
path: root/common/vulkan_wrapper.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2016-04-28 09:08:13 -0600
committerIan Elliott <ianelliott@google.com>2016-04-28 09:13:02 -0600
commitc120bf9e85649e55261b6e50839576a30bccf835 (patch)
treee164e59b602f00c765162c82cc26d2204be0ab33 /common/vulkan_wrapper.cpp
parent1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44 (diff)
downloadusermoji-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