diff options
author | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-06-02 04:14:04 +0300 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-06-02 04:26:13 +0300 |
commit | aace830a23b66e1b17e6cc560abebc5f504c7acd (patch) | |
tree | a9fcdcdd7319be7c8b208cfe11db7921ae941a0e | |
parent | d86dc61e76f66b32b6955e8e7cbfa3edc7ed7b32 (diff) |
Revert "Comment tweak to reflect new behaviour."
This reverts commit d86dc61e76f66b32b6955e8e7cbfa3edc7ed7b32.
-rw-r--r-- | loader/unknown_function_handling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/unknown_function_handling.c b/loader/unknown_function_handling.c index 73569e51a..1804eda97 100644 --- a/loader/unknown_function_handling.c +++ b/loader/unknown_function_handling.c @@ -178,9 +178,9 @@ bool loader_check_icds_for_phys_dev_ext_address(struct loader_instance *inst, co bool loader_check_layer_list_for_phys_dev_ext_address(struct loader_instance *inst, const char *funcName) { struct loader_layer_properties *layer_prop_list = inst->expanded_activated_layer_list.list; - // Find the first layer in the call chain which supports vk_layerGetPhysicalDeviceProcAddr - // and call that, returning whether it found a valid pointer for this function name. for (uint32_t layer = 0; layer < inst->expanded_activated_layer_list.count; ++layer) { + // If this layer supports the vk_layerGetPhysicalDeviceProcAddr, then call + // it and see if it returns a valid pointer for this function name. if (layer_prop_list[layer].interface_version > 1) { const struct loader_layer_functions *const functions = &(layer_prop_list[layer].functions); if (NULL != functions->get_physical_device_proc_addr) |