From 8ca865f0f804d2fca905e45417cca4190a32e7e4 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 21 Apr 2017 10:51:35 -0600 Subject: [PATCH] Remove unused VkDebugReportErrorEXT enum [ChangeLog] Remove unused VkDebugReportErrorEXT enum --- doc/specs/vulkan/appendices/VK_EXT_debug_report.txt | 4 +++- doc/specs/vulkan/chapters/VK_EXT_debug_report.txt | 13 ------------- src/spec/vk.xml | 8 +------- src/vulkan/vulkan.h | 11 +---------- 4 files changed, 5 insertions(+), 31 deletions(-) diff --git a/doc/specs/vulkan/appendices/VK_EXT_debug_report.txt b/doc/specs/vulkan/appendices/VK_EXT_debug_report.txt index 0051ebcf..3eb6e4f5 100644 --- a/doc/specs/vulkan/appendices/VK_EXT_debug_report.txt +++ b/doc/specs/vulkan/appendices/VK_EXT_debug_report.txt @@ -46,7 +46,6 @@ to the application for events of interest to the application. * elink:VkDebugReportFlagBitsEXT * elink:VkDebugReportObjectTypeEXT - * elink:VkDebugReportErrorEXT === New Structures @@ -223,3 +222,6 @@ could be useful debugging the Vulkan implementation itself. * Revision 7, 2017-04-20 (Courtney Goeltzenleuchter) - Clarify wording and address questions from developers. + + * Revision 8, 2017-04-21 (Courtney Goeltzenleuchter) + - Remove unused enum VkDebugReportErrorEXT diff --git a/doc/specs/vulkan/chapters/VK_EXT_debug_report.txt b/doc/specs/vulkan/chapters/VK_EXT_debug_report.txt index 6bd07faf..d0737ea6 100644 --- a/doc/specs/vulkan/chapters/VK_EXT_debug_report.txt +++ b/doc/specs/vulkan/chapters/VK_EXT_debug_report.txt @@ -33,19 +33,6 @@ include::../api/protos/vkCreateDebugReportCallbackEXT.txt[] include::../validity/protos/vkCreateDebugReportCallbackEXT.txt[] -// refBegin VkDebugReportErrorEXT Unknown VK_EXT_debug_report enumeration type - -include::../api/enums/VkDebugReportErrorEXT.txt[] - -[NOTE] -.Note -==== -The +VK_EXT_debug_report+ extension defines the elink:VkDebugReportErrorEXT -enumerant type, but does not currently explain what the enumeration is used -for. -It is included here for completeness. -==== - // refBegin VkDebugReportCallbackCreateInfoEXT Structure specifying parameters of a newly created debug report callback The definition of slink:VkDebugReportCallbackCreateInfoEXT is: diff --git a/src/spec/vk.xml b/src/spec/vk.xml index ad83c32a..02dae8cc 100644 --- a/src/spec/vk.xml +++ b/src/spec/vk.xml @@ -381,7 +381,6 @@ maintained in the master branch of the Khronos Vulkan GitHub project. - @@ -3065,10 +3064,6 @@ maintained in the master branch of the Khronos Vulkan GitHub project. - - - - @@ -5169,14 +5164,13 @@ maintained in the master branch of the Khronos Vulkan GitHub project. - + - diff --git a/src/vulkan/vulkan.h b/src/vulkan/vulkan.h index 0a9b5d35..d9bf7e9e 100644 --- a/src/vulkan/vulkan.h +++ b/src/vulkan/vulkan.h @@ -4101,7 +4101,7 @@ VKAPI_ATTR void VKAPI_CALL vkCmdPushDescriptorSetWithTemplateKHR( #define VK_EXT_debug_report 1 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT) -#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 7 +#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 8 #define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report" #define VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT #define VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT @@ -4148,15 +4148,6 @@ typedef enum VkDebugReportObjectTypeEXT { VK_DEBUG_REPORT_OBJECT_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF } VkDebugReportObjectTypeEXT; -typedef enum VkDebugReportErrorEXT { - VK_DEBUG_REPORT_ERROR_NONE_EXT = 0, - VK_DEBUG_REPORT_ERROR_CALLBACK_REF_EXT = 1, - VK_DEBUG_REPORT_ERROR_BEGIN_RANGE_EXT = VK_DEBUG_REPORT_ERROR_NONE_EXT, - VK_DEBUG_REPORT_ERROR_END_RANGE_EXT = VK_DEBUG_REPORT_ERROR_CALLBACK_REF_EXT, - VK_DEBUG_REPORT_ERROR_RANGE_SIZE_EXT = (VK_DEBUG_REPORT_ERROR_CALLBACK_REF_EXT - VK_DEBUG_REPORT_ERROR_NONE_EXT + 1), - VK_DEBUG_REPORT_ERROR_MAX_ENUM_EXT = 0x7FFFFFFF -} VkDebugReportErrorEXT; - typedef enum VkDebugReportFlagBitsEXT { VK_DEBUG_REPORT_INFORMATION_BIT_EXT = 0x00000001,