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_AMD_anti_lag

Name

VK_AMD_anti_lag - device extension

VK_AMD_anti_lag

Name String

VK_AMD_anti_lag

Extension Type

Device extension

Registered Extension Number

477

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

or

Vulkan Version 1.1

Contact
  • Stu Smith

Extension Proposal

VK_AMD_anti_lag

Other Extension Metadata

Last Modified Date

2024-06-06

IP Status

No known IP claims.

Contributors
  • Tobias Hector, AMD

  • Stuart Smith, AMD

  • Arkadiusz Sarwa, AMD

Description

This extension automatically paces the CPU to make sure it does not get too far ahead of the GPU, reducing the latency between inputs received and updates on the screen. Additionally, Anti-Lag+ offers applications the ability to inform the driver when input processing begins, in order to align the timing of display updates, enabling even lower latency between receiving input and displaying on the screen.

New Commands

New Structures

New Enums

New Enum Constants

Version History

  • Revision 1, 2024-06-06 (Arkadiusz Sarw)

    • 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.

  • 7 types
  • 1 value
  • Packagevulkan-3.27
  • Exports15
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_AMD_anti_lag.hs
valueantiLagUpdateAMD
  1. :: MonadIO io
  2. => Device

    device is the logical device

  3. -> AntiLagDataAMD

    pData is a pointer to a AntiLagDataAMD structure containing latency reduction parameters.

  4. -> io ()
#

vkAntiLagUpdateAMD - Provide information to reduce latency

Description

This command should be executed immediately before the application processes user input. If pData is not NULL and AntiLagDataAMD::pPresentationInfo is not NULL, this command should be executed again before queuePresentKHR, with pPresentationInfo set to matching values.

Valid Usage

  • The antiLag feature must be enabled

Valid Usage (Implicit)

  • device must be a valid Device handle

See Also

VK_AMD_anti_lag, AntiLagDataAMD, Device

VkPhysicalDeviceAntiLagFeaturesAMD - Structure describing whether VK_AMD_anti_lag can be supported by an implementation.

Members

This structure describes the following feature:

Description

If the PhysicalDeviceAntiLagFeaturesAMD 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 PhysicalDeviceAntiLagFeaturesAMD, 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_AMD_anti_lag, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
datadata AntiLagDataAMD
#

VkAntiLagDataAMD - Structure specifying the parameters for vkAntiLagUpdateAMD

Description

This structure specifies anti-lag parameters.

Valid Usage (Implicit)

See Also

VK_AMD_anti_lag, AntiLagModeAMD, AntiLagPresentationInfoAMD, StructureType, antiLagUpdateAMD

Constructors

Instances4Show, FromCStruct, ToCStruct, Zero

VkAntiLagPresentationInfoAMD - Structure specifying information about stage

Description

This structure specifies information about the presentation stage for which anti-lag parameters are being set.

Valid Usage (Implicit)

See Also

VK_AMD_anti_lag, AntiLagDataAMD, AntiLagStageAMD, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype AntiLagModeAMD
#

VkAntiLagModeAMD - Set the status of the anti-lag feature

Description

See Also

VK_AMD_anti_lag, AntiLagDataAMD

Constructors

Instances6Eq, Ord, Read, Show, Storable, Zero
newtypenewtype AntiLagStageAMD
#

VkAntiLagStageAMD - Report the application stage

Description

See Also

VK_AMD_anti_lag, AntiLagPresentationInfoAMD

Instances6Eq, Ord, Read, Show, Storable, Zero