mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
lavapipe: Update driverVersion
Use vk_get_driver_version instead of hardcoding the driver version to 1. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Antonio Ospite <antonio.ospite@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33730>
This commit is contained in:
parent
c3884f7f1e
commit
b88b7f9294
1 changed files with 1 additions and 1 deletions
|
|
@ -802,7 +802,7 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
|
|||
*p = (struct vk_properties) {
|
||||
/* Vulkan 1.0 */
|
||||
.apiVersion = LVP_API_VERSION,
|
||||
.driverVersion = 1,
|
||||
.driverVersion = vk_get_driver_version(),
|
||||
.vendorID = VK_VENDOR_ID_MESA,
|
||||
.deviceID = 0,
|
||||
.deviceType = VK_PHYSICAL_DEVICE_TYPE_CPU,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue