diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-10-01 12:03:17 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-10-01 13:32:55 -0600 |
| commit | 8ec45b01e3a30111b247d896290bd13f4a3b50c2 (patch) | |
| tree | 2cbb43619e7abb891e5180ad1275ce903d111757 /loader/debug_report.h | |
| parent | a1eff8b7a2c3f045b25fc80ad957e6fd0d973c53 (diff) | |
| download | usermoji-8ec45b01e3a30111b247d896290bd13f4a3b50c2.tar.xz | |
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.
Diffstat (limited to 'loader/debug_report.h')
| -rw-r--r-- | loader/debug_report.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/debug_report.h b/loader/debug_report.h index a04386a0..7b008d35 100644 --- a/loader/debug_report.h +++ b/loader/debug_report.h @@ -98,9 +98,10 @@ void debug_report_create_instance( struct loader_instance *ptr_instance, const VkInstanceCreateInfo *pCreateInfo); -void *debug_report_instance_gpa( +bool debug_report_instance_gpa( struct loader_instance *ptr_instance, - const char* name); + const char* name, + void **addr); VkResult VKAPI loader_DbgCreateMsgCallback( VkInstance instance, |
