mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 21:28:50 +00:00
a/vk: Tidy vk_print_device_info
This commit is contained in:
parent
e092a3687b
commit
6c61965790
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue