vulkan/wsi: Constify wsi_instance_supports_google_display_timing(..)

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42066>
This commit is contained in:
Christian Gmeiner 2026-06-06 00:35:24 +02:00 committed by Marge Bot
parent e8ab81cc3a
commit 9cecd0821b
2 changed files with 2 additions and 2 deletions

View file

@ -3530,7 +3530,7 @@ wsi_device_supports_explicit_sync(struct wsi_device *device)
* (since the device extension lacks per-surface feature flags)
*/
bool
wsi_instance_supports_google_display_timing(struct vk_instance *instance)
wsi_instance_supports_google_display_timing(const struct vk_instance *instance)
{
return instance->enabled_extensions.KHR_display &&
!(instance->enabled_extensions.EXT_headless_surface ||

View file

@ -336,7 +336,7 @@ VkImageUsageFlags
wsi_caps_get_image_usage(void);
bool
wsi_instance_supports_google_display_timing(struct vk_instance *instance);
wsi_instance_supports_google_display_timing(const struct vk_instance *instance);
bool
wsi_device_supports_explicit_sync(struct wsi_device *device);