From: Chad Versace Date: Mon, 13 Jul 2015 20:08:07 +0000 (-0700) Subject: vk/0.132: Move VkCmdBufferOptimizeFlags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b05a8cd310144d05ec75daca3a52abfeaa28c25;p=mesa.git vk/0.132: Move VkCmdBufferOptimizeFlags --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 3ae35857505..748f572eb2d 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1031,15 +1031,6 @@ typedef enum { } VkShaderStageFlagBits; typedef VkFlags VkShaderStageFlags; -typedef enum { - VK_CMD_BUFFER_OPTIMIZE_SMALL_BATCH_BIT = 0x00000001, - VK_CMD_BUFFER_OPTIMIZE_PIPELINE_SWITCH_BIT = 0x00000002, - VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT = 0x00000004, - VK_CMD_BUFFER_OPTIMIZE_DESCRIPTOR_SET_SWITCH_BIT = 0x00000008, - VK_CMD_BUFFER_OPTIMIZE_NO_SIMULTANEOUS_USE_BIT = 0x00000010, -} VkCmdBufferOptimizeFlagBits; -typedef VkFlags VkCmdBufferOptimizeFlags; - typedef enum { VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001, VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002, @@ -1088,6 +1079,14 @@ typedef enum { typedef VkFlags VkMemoryInputFlags; typedef VkFlags VkCmdBufferCreateFlags; +typedef enum { + VK_CMD_BUFFER_OPTIMIZE_SMALL_BATCH_BIT = 0x00000001, + VK_CMD_BUFFER_OPTIMIZE_PIPELINE_SWITCH_BIT = 0x00000002, + VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT = 0x00000004, + VK_CMD_BUFFER_OPTIMIZE_DESCRIPTOR_SET_SWITCH_BIT = 0x00000008, + VK_CMD_BUFFER_OPTIMIZE_NO_SIMULTANEOUS_USE_BIT = 0x00000010, +} VkCmdBufferOptimizeFlagBits; +typedef VkFlags VkCmdBufferOptimizeFlags; typedef struct { VkStructureType sType; const void* pNext;