VK_GOOGLE_surfaceless_query
Other Extension Metadata
Last Modified Date
2022-08-03
IP Status
No known IP claims.
Contributors
- Ian Elliott, Google
- Shahbaz Youssefi, Google
- James Jones, NVIDIA
Description
This extension allows the vkGetPhysicalDeviceSurfaceFormatsKHR and
vkGetPhysicalDeviceSurfacePresentModesKHR functions to accept
VK_NULL_HANDLE as their surface
parameter, allowing potential
surface formats, color spaces and present modes to be queried without
providing a surface.
Identically, vkGetPhysicalDeviceSurfaceFormats2KHR,
vkGetPhysicalDeviceSurfacePresentModes2EXT, and
vkGetPhysicalDeviceSurfaceCapabilities2KHR would accept
VK_NULL_HANDLE in
VkPhysicalDeviceSurfaceInfo2KHR::surface
.
This can only be supported on platforms where the results of these queries
are surface-agnostic and a single presentation engine is the implicit target
of all present operations.
New Enum Constants
VK_GOOGLE_SURFACELESS_QUERY_EXTENSION_NAME
VK_GOOGLE_SURFACELESS_QUERY_SPEC_VERSION
Version History
- Revision 1, 2021-12-14 (Shahbaz Youssefi)
- Internal revisions
- Revision 2, 2022-08-03 (Shahbaz Youssefi)
- Precisions to which parts of the query responses are defined when surfaceless