loader: vk{Create|Destroy}Instance can have multiple tmp callbacks
authorIan Elliott <ianelliott@google.com>
Thu, 31 Mar 2016 16:48:19 +0000 (10:48 -0600)
committerJon Ashburn <jon@lunarg.com>
Fri, 1 Apr 2016 18:14:32 +0000 (12:14 -0600)
commite6ae483aedfb9f0e64697d4df0ff53519dd19957
treeb8f585761772875b90f86fc5822a5becf51c9c36
parent7c50ad62d53a2271ee638a68dd20fc7c00501c6c
loader: vk{Create|Destroy}Instance can have multiple tmp callbacks

During code review of the Android version of the temporary debug_report
callbacks code, it was decided to allow an array of
VkDebugReportCallbackCreateInfoEXT structs to be passed to vkCreateInstance().
This code implements that, using some new utility functions in order to help
keep the code clean.
loader/debug_report.c
loader/debug_report.h
loader/loader.h
loader/trampoline.c