mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-16 21:58:21 +02:00
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:
parent
e8ab81cc3a
commit
9cecd0821b
2 changed files with 2 additions and 2 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue