[Mesa-dev] [PATCH 2/3] radv: Use the suffixed versions of VK_QUEUE_GLOBAL_PRIORITY_*

Jason Ekstrand jason at jlekstrand.net
Tue Nov 28 02:36:25 UTC 2017


---
 src/amd/vulkan/radv_device.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 722c768..8e5ae0b 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");
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list