From 0a7210571ec632c2b5073e5c39641c406afda018 Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Fri, 4 Sep 2015 14:14:35 -0600 Subject: All extensions single revision number instead of major.minor.patch This was decided during the August face-to-face. Originally, the WSI extensions did it the normal OpenGL way (single revision number), and the debug extensions did it the new major.minor.patch way. When I tried to convert WSI, an objection was raised. We decided to go with the OpenGL way. This commit also changes vulkaninfo to report the single revision number. This commit also changes the extension "number" assigned to the 2 debug extensions, basd on a "registration" email that Ian Elliott sent to Jon Leech on 21 August, 2015. The initial set of "registered" extensions are (with their numbers): 1.VK_EXT_KHR_swapchain 2.VK_EXT_KHR_device_swapchain 3.VK_EXT_KHR_display 4.VK_EXT_KHR_display_swapchain 5.VK_EXT_LUNARG_debug_report 6.VK_EXT_LUNARG_debug_marker --- loader/debug_report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/debug_report.c') diff --git a/loader/debug_report.c b/loader/debug_report.c index 2cb7bc35..c860b86c 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -43,7 +43,7 @@ typedef void (VKAPI *PFN_stringCallback)(char *message); static const VkExtensionProperties debug_report_extension_info = { .extName = VK_DEBUG_REPORT_EXTENSION_NAME, - .specVersion = VK_DEBUG_REPORT_EXTENSION_VERSION, + .specVersion = VK_DEBUG_REPORT_EXTENSION_REVISION, }; void debug_report_add_instance_extensions( -- cgit v1.2.3