Structures

VkSwapchainCalibratedTimestampInfoEXT

Structure specifying the swapchain to calibrate a swapchain-local timestamp query

The VkSwapchainCalibratedTimestampInfoEXT structure is defined as:

typedef struct VkSwapchainCalibratedTimestampInfoEXT {
    VkStructureType sType;
    const void* pNext;
    VkSwapchainKHR swapchain;
    VkPresentStageFlagsEXT presentStage;
    uint64_t timeDomainId;
} VkSwapchainCalibratedTimestampInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • swapchain is the swapchain to retrieve the swapchain-local timestamp from.
  • presentStage is zero or a VkPresentStageFlagsEXT value used to identify a single present stage when calibrating a timestamp in the VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT time domain.
  • timeDomainId is the id for the opaque time domain being calibrated.

timeDomainId must be an id previously reported by vkGetSwapchainTimeDomainPropertiesEXT for swapchain. If the timeDomainId is no longer supported by the swapchain, implementations may report zero as the calibrated timestamp value.

Valid Usage

VUID-VkSwapchainCalibratedTimestampInfoEXT-timeDomain-12228

If the timeDomain member of the VkCalibratedTimestampInfoKHR structure in this structure’s pNext chain is VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT, presentStage must specify one and only one present stage

Valid Usage (Implicit)