VK_NV_present_barrier(3)

# VK_NV_present_barrier(3) Manual Page

## Name

VK_NV_present_barrier - device extension

Loading… please wait.

## Registered Extension Number

293

## Revision

1

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2
and
VK_KHR_surface
and
VK_KHR_get_surface_capabilities2
and
VK_KHR_swapchain

## Contact

- Liya Li liyli

## Other Extension Metadata

Last Modified Date

  2022-05-16

Contributors

  - Liya Li, Nvidia

  - Martin Schwarzer, Nvidia

  - Andy Wolf, Nvidia

  - Ian Williams, Nvidia

  - Ben Morris, Nvidia

  - James Jones, Nvidia

  - Jeff Juliano, Nvidia

## Description

This extension adds support for synchronizing corresponding presentation requests across multiple swapchains using the present barrier.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDevicePresentBarrierFeaturesNV

- Extending VkSurfaceCapabilities2KHR:

  - VkSurfaceCapabilitiesPresentBarrierNV

- Extending VkSwapchainCreateInfoKHR:

  - VkSwapchainPresentBarrierCreateInfoNV

## New Enum Constants

- `VK_NV_PRESENT_BARRIER_EXTENSION_NAME`

- `VK_NV_PRESENT_BARRIER_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV`

  - `VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_BARRIER_NV`

  - `VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV`

## Issues

1) Is there a query interface to check if a swapchain is using the present barrier?

RESOLVED. There is no such query interface. When creating a swapchain, an application can specify to use the present barrier, and if the swapchain is created successfully, this swapchain will be using the present barrier.

2) Do we need an extra interface to set up the present barrier across distributed systems?

RESOLVED. If the required hardware is presented in the system, and all settings for the physical synchronization with other systems are set up, an implementation manages the configuration automatically when creating a swapchain, without any extra calls from the application.

## Version History

- Revision 1, 2022-07-20

  - Initial version

## See Also

VkPhysicalDevicePresentBarrierFeaturesNV, VkSurfaceCapabilitiesPresentBarrierNV, VkSwapchainPresentBarrierCreateInfoNV

## 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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0