Structures
VkQueueFamilyGlobalPriorityProperties
Return structure for queue family global priority information query
The VkQueueFamilyGlobalPriorityProperties structure is defined as:
typedef struct VkQueueFamilyGlobalPriorityProperties {
VkStructureType sType;
void* pNext;
uint32_t priorityCount;
VkQueueGlobalPriority priorities[VK_MAX_GLOBAL_PRIORITY_SIZE];
} VkQueueFamilyGlobalPriorityProperties;
pub struct QueueFamilyGlobalPriorityProperties {
s_type: vk::StructureType,
p_next: *mut c_void,
priority_count: u32,
priorities: [vk::QueueGlobalPriority; VK_MAX_GLOBAL_PRIORITY_SIZE],
}
typedef VkQueueFamilyGlobalPriorityProperties VkQueueFamilyGlobalPriorityPropertiesKHR;
type QueueFamilyGlobalPriorityPropertiesKHR = vk::QueueFamilyGlobalPriorityProperties;
typedef VkQueueFamilyGlobalPriorityProperties VkQueueFamilyGlobalPriorityPropertiesEXT;
type QueueFamilyGlobalPriorityPropertiesEXT = vk::QueueFamilyGlobalPriorityProperties;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.priorityCountis the number of supported global queue priorities in this queue family, and it must be greater than 0.prioritiesis an array ofVK_MAX_GLOBAL_PRIORITY_SIZE
VkQueueGlobalPriority enums representing all supported global queue priorities in this queue family. The firstpriorityCountelements of the array will be valid.
If the VkQueueFamilyGlobalPriorityProperties structure is included in
the pNext chain of the VkQueueFamilyProperties2 structure passed
to vkGetPhysicalDeviceQueueFamilyProperties2, it is filled in with the
list of supported global queue priorities for the indicated family.
The valid elements of priorities must not contain any duplicate
values.
The valid elements of priorities must be a continuous sequence of
VkQueueGlobalPriority enums in ascending order.
For example, returning
priorityCount as 3 with supported
priorities as VK_QUEUE_GLOBAL_PRIORITY_LOW,
VK_QUEUE_GLOBAL_PRIORITY_MEDIUM and
VK_QUEUE_GLOBAL_PRIORITY_REALTIME is not allowed.Valid Usage (Implicit)
VUID-VkQueueFamilyGlobalPriorityProperties-sType-sType
sType must be VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES