radv: report Vulkan version 1.1.90 for real
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Dec 2018 09:23:22 +0000 (10:23 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Dec 2018 16:51:48 +0000 (17:51 +0100)
I thought the value was correctly propagated, but actually not.

Fixes: 2ac6d55f38c ("radv: bump reported version to 1.1.90")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_extensions.py

index 8ac8ae6698c3d2c3554f7449ed7302a937b7ddf7..9952bb9c1c6cd1603835bbebde9d06ca8119b802 100644 (file)
@@ -293,7 +293,7 @@ uint32_t
 radv_physical_device_api_version(struct radv_physical_device *dev)
 {
     if (!ANDROID && dev->rad_info.has_syncobj_wait_for_submit)
-        return VK_MAKE_VERSION(1, 1, 70);
+        return ${MAX_API_VERSION.c_vk_version()};
     return VK_MAKE_VERSION(1, 0, 68);
 }
 """)