diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 4c7b7d31e34..1f2bd6843b0 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -137,6 +137,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported = .EXT_multi_draw = true, .EXT_post_depth_coverage = true, .EXT_private_data = true, + .EXT_primitive_topology_list_restart = true, .EXT_sampler_filter_minmax = true, .EXT_scalar_block_layout = true, .EXT_separate_stencil_usage = true, @@ -674,6 +675,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2( features->extendedDynamicState2PatchControlPoints = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: { + VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *features = (VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *)ext; + features->primitiveTopologyListRestart = true; + features->primitiveTopologyPatchListRestart = true; + break; + } default: break; }