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:
committed by
Marge Bot
parent
c3884f7f1e
commit
b88b7f9294
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user