radv: Use the suffixed versions of VK_QUEUE_GLOBAL_PRIORITY_*
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Nov 2017 02:28:51 +0000 (18:28 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Nov 2017 05:42:06 +0000 (21:42 -0800)
Acked-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 722c768aa06435d6a3dfcfb9a7a2c58b55186e31..8e5ae0bc46ea169b562951191d647b3c48f8de3f 100644 (file)
@@ -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");