Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Grantham <brad@lunarg.com>2022-06-08 00:11:54 +0300
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-06-22 03:43:19 +0300
commit1f92bbb656145c3b07ef40d5785a168520c03bc2 (patch)
treefccd9222be1c90c8792a5ea4c19e5c7e0ff9f9b8
parent477fb9e188ff7de3181bc44f489eb3171c251405 (diff)
only descend into layer GPDPA from trampoline
-rw-r--r--loader/unknown_function_handling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/unknown_function_handling.c b/loader/unknown_function_handling.c
index 23e4e69f3..582c9ab3a 100644
--- a/loader/unknown_function_handling.c
+++ b/loader/unknown_function_handling.c
@@ -218,7 +218,7 @@ void *loader_phys_dev_ext_gpa_impl(struct loader_instance *inst, const char *fun
if (!loader_check_icds_for_phys_dev_ext_address(inst, funcName)) {
// If we're not checking layers, or we are and it's not in a layer, just
// return
- if (!loader_check_layer_list_for_phys_dev_ext_address(inst, funcName)) {
+ if (!is_tramp || !loader_check_layer_list_for_phys_dev_ext_address(inst, funcName)) {
return NULL;
}
}