diff options
author | Jason Ekstrand <[email protected]> | 2017-11-27 18:28:51 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-11-27 21:42:06 -0800 |
commit | 049b84246e762f1566ab69c7fde17396a4df4776 (patch) | |
tree | ff5541ed3b65887a9d9aa10f740b93b819031c14 /src/amd/vulkan | |
parent | 07850893a167fac7ba1b9e300393c2706302087c (diff) |
radv: Use the suffixed versions of VK_QUEUE_GLOBAL_PRIORITY_*
Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 722c768aa06..8e5ae0bc46e 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -895,13 +895,13 @@ radv_get_queue_global_priority(const VkDeviceQueueGlobalPriorityCreateInfoEXT *p return RADEON_CTX_PRIORITY_MEDIUM; switch(pObj->globalPriority) { - case VK_QUEUE_GLOBAL_PRIORITY_REALTIME: + case VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT: return RADEON_CTX_PRIORITY_REALTIME; - case VK_QUEUE_GLOBAL_PRIORITY_HIGH: + case VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT: return RADEON_CTX_PRIORITY_HIGH; - case VK_QUEUE_GLOBAL_PRIORITY_MEDIUM: + case VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT: return RADEON_CTX_PRIORITY_MEDIUM; - case VK_QUEUE_GLOBAL_PRIORITY_LOW: + case VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT: return RADEON_CTX_PRIORITY_LOW; default: unreachable("Illegal global priority value"); |