From a33a07bd069fc9aaa7ad92b3c46b7499bed89083 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 14 Mar 2022 10:28:46 -0400 Subject: [PATCH] lavapipe: maintenance4 Reviewed-by: Dave Airlie Part-of: --- src/gallium/frontends/lavapipe/lvp_device.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 52b019f01cf..3b47a75b26f 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -110,6 +110,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported = .KHR_maintenance1 = true, .KHR_maintenance2 = true, .KHR_maintenance3 = true, + .KHR_maintenance4 = true, .KHR_multiview = true, .KHR_push_descriptor = true, .KHR_relaxed_block_layout = true, @@ -724,7 +725,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2( features->vertexInputDynamicState = true; break; } - + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: { + VkPhysicalDeviceMaintenance4Features *features = + (VkPhysicalDeviceMaintenance4Features *)ext; + features->maintenance4 = true; + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: { VkPhysicalDeviceDepthClipControlFeaturesEXT *features = (VkPhysicalDeviceDepthClipControlFeaturesEXT *)ext;