From: Jason Ekstrand Date: Tue, 7 Jul 2015 00:08:11 +0000 (-0700) Subject: vk/vulkan.h: Re-order the logic op enums X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b0c47bba688e6ec0e32399c8ec26962556b94cc;p=mesa.git vk/vulkan.h: Re-order the logic op enums --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index d2e6f3ac61e..5f0906f932e 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -638,10 +638,10 @@ typedef enum { } VkStencilOp; typedef enum { - VK_LOGIC_OP_COPY = 0, - VK_LOGIC_OP_CLEAR = 1, - VK_LOGIC_OP_AND = 2, - VK_LOGIC_OP_AND_REVERSE = 3, + VK_LOGIC_OP_CLEAR = 0, + VK_LOGIC_OP_AND = 1, + VK_LOGIC_OP_AND_REVERSE = 2, + VK_LOGIC_OP_COPY = 3, VK_LOGIC_OP_AND_INVERTED = 4, VK_LOGIC_OP_NOOP = 5, VK_LOGIC_OP_XOR = 6, @@ -654,9 +654,9 @@ typedef enum { VK_LOGIC_OP_OR_INVERTED = 13, VK_LOGIC_OP_NAND = 14, VK_LOGIC_OP_SET = 15, - VK_LOGIC_OP_BEGIN_RANGE = VK_LOGIC_OP_COPY, + VK_LOGIC_OP_BEGIN_RANGE = VK_LOGIC_OP_CLEAR, VK_LOGIC_OP_END_RANGE = VK_LOGIC_OP_SET, - VK_LOGIC_OP_NUM = (VK_LOGIC_OP_SET - VK_LOGIC_OP_COPY + 1), + VK_LOGIC_OP_NUM = (VK_LOGIC_OP_SET - VK_LOGIC_OP_CLEAR + 1), VK_LOGIC_OP_MAX_ENUM = 0x7FFFFFFF } VkLogicOp;