From 6c61965790d23186d453c179811469a7b74ab819 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 8 May 2022 14:22:39 +0100 Subject: [PATCH] a/vk: Tidy vk_print_device_info --- src/xrt/auxiliary/vk/vk_print.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/xrt/auxiliary/vk/vk_print.c b/src/xrt/auxiliary/vk/vk_print.c index fa019430d..236a0af99 100644 --- a/src/xrt/auxiliary/vk/vk_print.c +++ b/src/xrt/auxiliary/vk/vk_print.c @@ -25,11 +25,15 @@ vk_print_device_info(struct vk_bundle *vk, "\tvendor: 0x%04x\n" "\tproduct: 0x%04x\n" "\tapiVersion: %u.%u.%u\n" - "\tdriverVersion: %u.%u.%u", - title, pdp->deviceName, pdp->vendorID, pdp->deviceID, VK_VERSION_MAJOR(pdp->apiVersion), - VK_VERSION_MINOR(pdp->apiVersion), VK_VERSION_PATCH(pdp->apiVersion), - VK_VERSION_MAJOR(pdp->driverVersion), VK_VERSION_MINOR(pdp->driverVersion), - VK_VERSION_PATCH(pdp->driverVersion)); + "\tdriverVersion: 0x%08x", + title, // + pdp->deviceName, // + pdp->vendorID, // + pdp->deviceID, // + VK_VERSION_MAJOR(pdp->apiVersion), // + VK_VERSION_MINOR(pdp->apiVersion), // + VK_VERSION_PATCH(pdp->apiVersion), // + pdp->driverVersion); // Driver specific } void