From b0841ad150f921bd65db6b8bfd345f2a32a906b6 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Wed, 4 Aug 2021 16:33:03 -0600 Subject: [PATCH] Allow "icd" as well as "implem" for VK_LOADER_DEBUG --- loader/loader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loader/loader.c b/loader/loader.c index 558886d1..07709663 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2447,7 +2447,8 @@ static void loader_debug_init(void) { g_loader_debug |= VULKAN_LOADER_DEBUG_BIT; } else if (strncmp(env, "layer", len) == 0) { g_loader_debug |= VULKAN_LOADER_LAYER_BIT; - } else if (strncmp(env, "implem", len) == 0) { + } else if (strncmp(env, "implem", len) == 0 || + strncmp(env, "icd", len) == 0) { g_loader_debug |= VULKAN_LOADER_IMPLEMENTATION_BIT; } } -- 2.34.1