panvk: hide swapchainMaintenance1 behind WSI guard

Fixes: 9ec387efb1 ("panvk: advertise wsi maintenance extensions")
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40682>
This commit is contained in:
Yiwei Zhang 2026-03-27 14:05:34 -07:00 committed by Marge Bot
parent c361c82a5a
commit 73c9d35644

View file

@ -635,8 +635,10 @@ panvk_per_arch(get_physical_device_features)(
/* VK_ARM_scheduling_controls */
.schedulingControls = PAN_ARCH >= 10,
#ifdef PANVK_USE_WSI_PLATFORM
/* KHR_swapchain_maintenance1 */
.swapchainMaintenance1 = true,
#endif
/* VK_EXT_multisampled_render_to_single_sampled */
.multisampledRenderToSingleSampled = true,