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;
pub struct SwapchainCalibratedTimestampInfoEXT {
s_type: vk::StructureType,
p_next: *const c_void,
swapchain: vk::SwapchainKHR,
present_stage: vk::PresentStageFlagsEXT,
time_domain_id: u64,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.swapchainis the swapchain to retrieve the swapchain-local timestamp from.presentStageis zero or a VkPresentStageFlagsEXT value used to identify a single present stage when calibrating a timestamp in theVK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXTtime domain.timeDomainIdis 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)
VUID-VkSwapchainCalibratedTimestampInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_SWAPCHAIN_CALIBRATED_TIMESTAMP_INFO_EXT
VUID-VkSwapchainCalibratedTimestampInfoEXT-swapchain-parameter
swapchain must be a valid VkSwapchainKHR handle
VUID-VkSwapchainCalibratedTimestampInfoEXT-presentStage-parameter
presentStage must be a valid combination of VkPresentStageFlagBitsEXT values
VUID-VkSwapchainCalibratedTimestampInfoEXT-presentStage-requiredbitmask
presentStage must not be 0