VK_KHR_present_id2(3)

# VK_KHR_present_id2(3) Manual Page

## Name

VK_KHR_present_id2 - device extension

Loading… please wait.

## Registered Extension Number

480

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

VK_KHR_get_surface_capabilities2
and
VK_KHR_surface
and
VK_KHR_swapchain

## Contact

- Daniel Stone

## Extension Proposal

VK_KHR_present_id2

## Other Extension Metadata

Last Modified Date

  2025-01-06

IP Status

  No known IP claims.

Contributors

  - Hans-Kristian Arntzen, Valve

  - James Jones, NVIDIA

  - Daniel Stone, Collabora

  - Derek Foreman, Collabora

  - contributors to `VK_KHR_present_id`

## Description

This device extension allows an application that uses the `VK_KHR_swapchain` extension to provide an identifier for present operations on a swapchain. An application can use this to reference specific present operations in other extensions.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDevicePresentId2FeaturesKHR

- Extending VkPresentInfoKHR:

  - VkPresentId2KHR

- Extending VkSurfaceCapabilities2KHR:

  - VkSurfaceCapabilitiesPresentId2KHR

## New Enum Constants

- `VK_KHR_PRESENT_ID_2_EXTENSION_NAME`

- `VK_KHR_PRESENT_ID_2_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_2_FEATURES_KHR`

  - `VK_STRUCTURE_TYPE_PRESENT_ID_2_KHR`

  - `VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_ID_2_KHR`

- Extending VkSwapchainCreateFlagBitsKHR:

  - `VK_SWAPCHAIN_CREATE_PRESENT_ID_2_BIT_KHR`

## Issues

None.

## Examples

## Version History

- Revision 1, 2022-05-10 (Daniel Stone)

  - Repurposed VK_KHR_present_id to be driven by surface capabilities

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0