The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: Grab LUID from Vulkan if possible

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
32a893fd 49c45bf1

+4
+4
src/xrt/state_trackers/oxr/oxr_vulkan.c
··· 461 461 if (log_level <= U_LOGGING_DEBUG) { 462 462 snprint_uuid(uuid_str, ARRAY_SIZE(uuid_str), (xrt_uuid_t *)pdidp.deviceUUID); 463 463 oxr_log(log, "GPU: #%d, uuid: %s", i, uuid_str); 464 + if (pdidp.deviceLUIDValid == VK_TRUE) { 465 + snprint_uuid(uuid_str, ARRAY_SIZE(uuid_str), (xrt_uuid_t *)pdidp.deviceLUID); 466 + oxr_log(log, " LUID: %s", uuid_str); 467 + } 464 468 } 465 469 466 470 if (memcmp(pdidp.deviceUUID, sys->xsysc->info.client_vk_deviceUUID.data, XRT_UUID_SIZE) == 0) {