Structures
VkSwapchainCounterCreateInfoEXT
Specify the surface counters desired
To enable surface counters when creating a swapchain, add a
VkSwapchainCounterCreateInfoEXT structure to the pNext chain of
VkSwapchainCreateInfoKHR.
VkSwapchainCounterCreateInfoEXT is defined as:
typedef struct VkSwapchainCounterCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkSurfaceCounterFlagsEXT surfaceCounters;
} VkSwapchainCounterCreateInfoEXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.surfaceCountersis a bitmask of VkSurfaceCounterFlagBitsEXT specifying surface counters to enable for the swapchain.
Valid Usage
VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-01244
The bits in surfaceCounters must be supported by
VkSwapchainCreateInfoKHR::surface, as reported by
vkGetPhysicalDeviceSurfaceCapabilities2EXT
Valid Usage (Implicit)
VUID-VkSwapchainCounterCreateInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT
VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-parameter
surfaceCounters must be a valid combination of VkSurfaceCounterFlagBitsEXT values