1// Copyright 2014-2022 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5[[platformQuerySupport_walyand]] 6=== Wayland Platform 7 8[open,refpage='vkGetPhysicalDeviceWaylandPresentationSupportKHR',desc='Query physical device for presentation to Wayland',type='protos'] 9-- 10To determine whether a queue family of a physical device supports 11presentation to a Wayland compositor, call: 12 13include::{generated}/api/protos/vkGetPhysicalDeviceWaylandPresentationSupportKHR.adoc[] 14 15 * pname:physicalDevice is the physical device. 16 * pname:queueFamilyIndex is the queue family index. 17 * pname:display is a pointer to the code:wl_display associated with a 18 Wayland compositor. 19 20This platform-specific function can: be called prior to creating a surface. 21 22.Valid Usage 23**** 24 * [[VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306]] 25 pname:queueFamilyIndex must: be less than 26 pname:pQueueFamilyPropertyCount returned by 27 fname:vkGetPhysicalDeviceQueueFamilyProperties for the given 28 pname:physicalDevice 29**** 30 31include::{generated}/validity/protos/vkGetPhysicalDeviceWaylandPresentationSupportKHR.adoc[] 32-- 33