Enum
VkQueueGlobalPriority
Values specifying a system-wide queue priority
Possible values of
VkDeviceQueueGlobalPriorityCreateInfo::globalPriority
,
specifying a system-wide priority level are:
typedef enum VkQueueGlobalPriority {
VK_QUEUE_GLOBAL_PRIORITY_LOW = 128,
VK_QUEUE_GLOBAL_PRIORITY_MEDIUM = 256,
VK_QUEUE_GLOBAL_PRIORITY_HIGH = 512,
VK_QUEUE_GLOBAL_PRIORITY_REALTIME = 1024,
} VkQueueGlobalPriority;
or the equivalent
#define VkQueueGlobalPriorityKHR VkQueueGlobalPriority
or the equivalent
#define VkQueueGlobalPriorityEXT VkQueueGlobalPriority
Priority values are sorted in ascending order. A comparison operation on the enum values can be used to determine the priority order.
VK_QUEUE_GLOBAL_PRIORITY_LOW
is below the system default. Useful for non-interactive tasks.VK_QUEUE_GLOBAL_PRIORITY_MEDIUM
is the system default priority.VK_QUEUE_GLOBAL_PRIORITY_HIGH
is above the system default.VK_QUEUE_GLOBAL_PRIORITY_REALTIME
is the highest priority. Useful for critical tasks.