From b4145a1543819c0090795c81e1d7827f7c7f13ad Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Fri, 6 Aug 2021 13:38:40 +0200 Subject: [PATCH] aux/vk: Print all used device extensions in XRT_LOG=trace --- src/xrt/auxiliary/vk/vk_helpers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/vk/vk_helpers.c b/src/xrt/auxiliary/vk/vk_helpers.c index 0f208e72e..e14944058 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.c +++ b/src/xrt/auxiliary/vk/vk_helpers.c @@ -1232,6 +1232,7 @@ vk_build_device_extensions(struct vk_bundle *vk, free(props); return false; } + U_LOG_T("Using required device ext %s", ext); device_extensions[i] = ext; } @@ -1239,9 +1240,10 @@ vk_build_device_extensions(struct vk_bundle *vk, for (uint32_t i = 0; i < num_optional_device_extensions; i++) { const char *ext = optional_device_extensions[i]; if (vk_check_extension(vk, props, num_props, ext)) { - U_LOG_D("Using optional ext %s", ext); + U_LOG_D("Using optional device ext %s", ext); device_extensions[num_device_extensions++] = ext; } else { + U_LOG_T("NOT using optional device ext %s", ext); continue; } }