a/vk: Tidy vk_print_device_info

This commit is contained in:
Jakob Bornecrantz 2022-05-08 14:22:39 +01:00 committed by Christoph Haag
parent e092a3687b
commit 6c61965790

View file

@ -25,11 +25,15 @@ vk_print_device_info(struct vk_bundle *vk,
"\tvendor: 0x%04x\n" "\tvendor: 0x%04x\n"
"\tproduct: 0x%04x\n" "\tproduct: 0x%04x\n"
"\tapiVersion: %u.%u.%u\n" "\tapiVersion: %u.%u.%u\n"
"\tdriverVersion: %u.%u.%u", "\tdriverVersion: 0x%08x",
title, pdp->deviceName, pdp->vendorID, pdp->deviceID, VK_VERSION_MAJOR(pdp->apiVersion), title, //
VK_VERSION_MINOR(pdp->apiVersion), VK_VERSION_PATCH(pdp->apiVersion), pdp->deviceName, //
VK_VERSION_MAJOR(pdp->driverVersion), VK_VERSION_MINOR(pdp->driverVersion), pdp->vendorID, //
VK_VERSION_PATCH(pdp->driverVersion)); pdp->deviceID, //
VK_VERSION_MAJOR(pdp->apiVersion), //
VK_VERSION_MINOR(pdp->apiVersion), //
VK_VERSION_PATCH(pdp->apiVersion), //
pdp->driverVersion); // Driver specific
} }
void void