diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-04-15 18:03:47 -0600 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:48:21 +0800 |
| commit | 7dcbb0c5f94017d216e2b0c810a163c750df6440 (patch) | |
| tree | 3bd4feb6d4a9482b057c2f0321e50c600f5efab9 /include | |
| parent | ee60f9f82beb1c8beaf63c7eb2f03166afad0d45 (diff) | |
| download | usermoji-7dcbb0c5f94017d216e2b0c810a163c750df6440.tar.xz | |
misc: Remove validation level
bug 13686
Diffstat (limited to 'include')
| -rw-r--r-- | include/vkDbg.h | 15 | ||||
| -rw-r--r-- | include/vulkan.h | 15 |
2 files changed, 15 insertions, 15 deletions
diff --git a/include/vkDbg.h b/include/vkDbg.h index fcfdf318..bf27d52f 100644 --- a/include/vkDbg.h +++ b/include/vkDbg.h @@ -8,6 +8,21 @@ extern "C" { #endif // __cplusplus +typedef enum VkValidationLevel_ +{ + VK_VALIDATION_LEVEL_0 = 0x00000000, + VK_VALIDATION_LEVEL_1 = 0x00000001, + VK_VALIDATION_LEVEL_2 = 0x00000002, + VK_VALIDATION_LEVEL_3 = 0x00000003, + VK_VALIDATION_LEVEL_4 = 0x00000004, + + VK_VALIDATION_LEVEL_BEGIN_RANGE = VK_VALIDATION_LEVEL_0, + VK_VALIDATION_LEVEL_END_RANGE = VK_VALIDATION_LEVEL_4, + VK_NUM_VALIDATION_LEVEL = (VK_VALIDATION_LEVEL_END_RANGE - VK_VALIDATION_LEVEL_BEGIN_RANGE + 1), + + VK_MAX_ENUM(VkValidationLevel) +} VkValidationLevel; + typedef enum _VK_DBG_MSG_TYPE { VK_DBG_MSG_UNKNOWN = 0x0, diff --git a/include/vulkan.h b/include/vulkan.h index a7a33f75..134a350c 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -716,20 +716,6 @@ typedef enum VkObjectInfoType_ VK_MAX_ENUM(VkObjectInfoType) } VkObjectInfoType; -typedef enum VkValidationLevel_ -{ - VK_VALIDATION_LEVEL_0 = 0x00000000, - VK_VALIDATION_LEVEL_1 = 0x00000001, - VK_VALIDATION_LEVEL_2 = 0x00000002, - VK_VALIDATION_LEVEL_3 = 0x00000003, - VK_VALIDATION_LEVEL_4 = 0x00000004, - - VK_VALIDATION_LEVEL_BEGIN_RANGE = VK_VALIDATION_LEVEL_0, - VK_VALIDATION_LEVEL_END_RANGE = VK_VALIDATION_LEVEL_4, - VK_NUM_VALIDATION_LEVEL = (VK_VALIDATION_LEVEL_END_RANGE - VK_VALIDATION_LEVEL_BEGIN_RANGE + 1), - - VK_MAX_ENUM(VkValidationLevel) -} VkValidationLevel; // ------------------------------------------------------------------------------------------------ // Error and return codes @@ -1422,7 +1408,6 @@ typedef struct VkDeviceCreateInfo_ const VkDeviceQueueCreateInfo* pRequestedQueues; uint32_t extensionCount; const char*const* ppEnabledExtensionNames; - VkValidationLevel maxValidationLevel; VkFlags flags; // VkDeviceCreateFlags } VkDeviceCreateInfo; |
