From e21d1bcea78bf29721f0014c0a2c999a21076926 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 2 Nov 2025 07:14:06 +1000 Subject: [PATCH] lavapipe: drop apiVersion from instance this isn't used Reviewed-by: Mike Blumenkrantz Part-of: --- src/gallium/frontends/lavapipe/lvp_device.c | 2 -- src/gallium/frontends/lavapipe/lvp_private.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 676435e17b0..67b183b01cc 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -1495,8 +1495,6 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateInstance( return vk_error(NULL, result); } - instance->apiVersion = LVP_API_VERSION; - instance->vk.physical_devices.enumerate = lvp_enumerate_physical_devices; instance->vk.physical_devices.destroy = lvp_destroy_physical_device; diff --git a/src/gallium/frontends/lavapipe/lvp_private.h b/src/gallium/frontends/lavapipe/lvp_private.h index c31a03b7021..e62bf29e941 100644 --- a/src/gallium/frontends/lavapipe/lvp_private.h +++ b/src/gallium/frontends/lavapipe/lvp_private.h @@ -168,8 +168,6 @@ struct lvp_physical_device { struct lvp_instance { struct vk_instance vk; - uint32_t apiVersion; - uint64_t debug_flags; struct pipe_loader_device *devs;