| // Copyright (c) 2014-2018 Khronos Group. This work is licensed under a |
| // Creative Commons Attribution 4.0 International License; see |
| // http://creativecommons.org/licenses/by/4.0/ |
| |
| [[platformQuerySupport_mir,platformQuerySupport_mir]] |
| |
| === Mir Platform |
| |
| [open,refpage='vkGetPhysicalDeviceMirPresentationSupportKHR',desc='Query physical device for presentation to Mir',type='protos'] |
| -- |
| |
| To determine whether a queue family of a physical device supports |
| presentation to the Mir compositor, call: |
| |
| include::../../api/protos/vkGetPhysicalDeviceMirPresentationSupportKHR.txt[] |
| |
| * pname:physicalDevice is the physical device. |
| * pname:queueFamilyIndex is the queue family index. |
| * pname:connection is a pointer to the code:MirConnection, and identifies |
| the desired Mir compositor. |
| |
| This platform-specific function can: be called prior to creating a surface. |
| |
| .Valid Usage |
| **** |
| * [[VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-queueFamilyIndex-01265]] |
| pname:queueFamilyIndex must: be less than |
| pname:pQueueFamilyPropertyCount returned by |
| fname:vkGetPhysicalDeviceQueueFamilyProperties for the given |
| pname:physicalDevice |
| **** |
| |
| include::../../validity/protos/vkGetPhysicalDeviceMirPresentationSupportKHR.txt[] |
| -- |