QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT.
Implementations can report which global priority levels are treated differently by the implementation. It is intended primarily for use in system integration along with certain platform-specific priority enforcement rules.
The driver implementation will attempt to skew hardware resource allocation in favour of the higher-priority task. Therefore, higher-priority work may retain similar latency and throughput characteristics even if the system is congested with lower priority work.
The global priority level of a queue shall take precedence over the per-process queue priority (VkDeviceQueueCreateInfo::pQueuePriorities).
Abuse of this feature may result in starving the rest of the system from hardware resources. Therefore, the driver implementation may deny requests to acquire a priority above the default priority (QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT) if the caller does not have sufficient privileges. In this scenario ERROR_NOT_PERMITTED_EXT is returned.
The driver implementation may fail the queue allocation request if resources required to complete the operation have been exhausted (either by the same process or a different process). In this scenario ERROR_INITIALIZATION_FAILED is returned.
VK_KHR_global_priorityVK_KHR_get_physical_device_properties2VK_EXT_global_priorityVK_EXT_global_priority_query| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_ERROR_NOT_PERMITTED_KHR
Extends |
| public static final String | VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_GLOBAL_PRIORITY_SPEC_VERSION
The extension specification version. |
| public static final int | VK_MAX_GLOBAL_PRIORITY_SIZE_KHR
VK_MAX_GLOBAL_PRIORITY_SIZE_KHR |
| public static final int | VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_ERROR_NOT_PERMITTED_KHR | back to summary |
|---|---|
| public static final int VK_ERROR_NOT_PERMITTED_KHR Extends | |
| VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_GLOBAL_PRIORITY_EXTENSION_NAME The extension name. | |
| VK_KHR_GLOBAL_PRIORITY_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_GLOBAL_PRIORITY_SPEC_VERSION The extension specification version. | |
| VK_MAX_GLOBAL_PRIORITY_SIZE_KHR | back to summary |
|---|---|
| public static final int VK_MAX_GLOBAL_PRIORITY_SIZE_KHR VK_MAX_GLOBAL_PRIORITY_SIZE_KHR | |
| VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR Extends Enum values: | |
| KHRGlobalPriority | back to summary |
|---|---|
| private KHRGlobalPriority() | |