diff --git a/.pick_status.json b/.pick_status.json index b6758f80f11..1a21f96de44 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -694,7 +694,7 @@ "description": "venus: hide swapchainMaintenance1 behind wsi guard", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "acd5497067389df5f798e4dfc2075580ca5c0412", "notes": null diff --git a/src/virtio/vulkan/vn_physical_device.c b/src/virtio/vulkan/vn_physical_device.c index 18d3a34e554..83477d2455b 100644 --- a/src/virtio/vulkan/vn_physical_device.c +++ b/src/virtio/vulkan/vn_physical_device.c @@ -410,7 +410,10 @@ vn_physical_device_init_features(struct vn_physical_device *physical_dev) * See vn_physical_device_get_native_extensions. */ feats->deviceMemoryReport = true; + +#ifdef VN_USE_WSI_PLATFORM feats->swapchainMaintenance1 = true; +#endif /* Host commands require custom protocol level support. Disable it * since it'd be non-trivial to make it performant.