venus: hide swapchainMaintenance1 behind wsi guard

..otherwise would give false alarm on Android.

Fixes: acd5497067 ("venus: support wsi maintenance1 extensions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36834>
This commit is contained in:
Yiwei Zhang
2025-08-18 22:32:28 -07:00
committed by Marge Bot
parent 0d7e38f431
commit fd0b41b98d
+3
View File
@@ -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.