From e0e9c56f2bb4f9bc8a560ada38df191728ef5d3d Mon Sep 17 00:00:00 2001 From: Mark Young Date: Fri, 16 Sep 2016 10:18:42 -0600 Subject: loader: More changes for gh181 With Piers' fix, another path was broke because we still needed to intercept the call before it went to the ICD. Now, with his change and this change, all paths work. Also, clean up some code based on comments from Ian and Courtney reviews. Finally, update docs to indicate behavior of new loader 3 interface with ICDs. Change-Id: I2d3f962baffb21c1edeb93b132ffad40f298c8e7 --- loader/loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/loader.h') diff --git a/loader/loader.h b/loader/loader.h index 060e02ef..5eb56d92 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -511,9 +511,9 @@ struct loader_icd *loader_get_icd_and_device(const VkDevice device, uint32_t *icd_index); void loader_init_dispatch_dev_ext(struct loader_instance *inst, struct loader_device *dev); -VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL loader_gpa_device_internal(VkDevice device, const char *pName); void *loader_dev_ext_gpa(struct loader_instance *inst, const char *funcName); void *loader_get_dev_ext_trampoline(uint32_t index); +void loader_override_terminating_device_proc(VkDevice device, struct loader_dev_dispatch_table *disp_table); struct loader_instance *loader_get_instance(const VkInstance instance); void loader_deactivate_layers(const struct loader_instance *instance, struct loader_device *device, -- cgit v1.2.3