loader: Fix vkGetInstanceProcAddr to handle debug_report extension
authorJon Ashburn <jon@lunarg.com>
Thu, 1 Oct 2015 18:03:17 +0000 (12:03 -0600)
committerJon Ashburn <jon@lunarg.com>
Thu, 1 Oct 2015 19:32:55 +0000 (13:32 -0600)
commit8ec45b01e3a30111b247d896290bd13f4a3b50c2
tree2cbb43619e7abb891e5180ad1275ce903d111757
parenta1eff8b7a2c3f045b25fc80ad957e6fd0d973c53
loader: Fix vkGetInstanceProcAddr to handle debug_report extension

Need loader entrypoints for debug_report extension including the utility
functions. Don't call down the instance chain GPA for this extension.

Remove instance extensions decoding when GPA instance == NULL as don't want
to return extension entrypoints unless they are enabled.
This meant the WSI swapchain instance GPA was no longer used so remove it.
loader/debug_report.c
loader/debug_report.h
loader/loader.c
loader/wsi_swapchain.c
loader/wsi_swapchain.h