HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_NV_present_barrier

Name

VK_NV_present_barrier - device extension

VK_NV_present_barrier

Name String

VK_NV_present_barrier

Extension Type

Device extension

Registered Extension Number

293

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2      or

Vulkan Version 1.1 and VK_KHR_surface and VK_KHR_get_surface_capabilities2 and VK_KHR_swapchain

Contact

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

New Enum Constants

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

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.

  • 5 types
  • Packagevulkan-3.27
  • Exports7
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_NV_present_barrier.hs

VkPhysicalDevicePresentBarrierFeaturesNV - Structure indicating support for VK_NV_present_barrier extension

Members

This structure describes the following feature:

Description

If the PhysicalDevicePresentBarrierFeaturesNV structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. If the application wishes to use a Device with any features described by PhysicalDevicePresentBarrierFeaturesNV, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_NV_present_barrier, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkSurfaceCapabilitiesPresentBarrierNV - Structure describing present barrier capabilities of a surface

Description

This structure can be included in the pNext chain of SurfaceCapabilities2KHR to determine support for present barrier access. If presentBarrierSupported is FALSE, it indicates that the present barrier feature is not obtainable for this surface.

Structure Chaining

Extends the structure

See Also

VK_NV_present_barrier, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkSwapchainPresentBarrierCreateInfoNV - specify the present barrier membership of this swapchain

Description

If the pNext chain of SwapchainCreateInfoKHR does not include this structure, the default value for presentBarrierEnable is FALSE, meaning the swapchain does not request to use the present barrier. Additionally, when recreating a swapchain that was using the present barrier, and the pNext chain of SwapchainCreateInfoKHR does not include this structure, it means the swapchain will stop using the present barrier.

Structure Chaining

Extends the structure

See Also

VK_NV_present_barrier, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero