diff options
author | Chia-I Wu <olv@lunarg.com> | 2015-11-10 17:01:22 +0800 |
---|---|---|
committer | Jon Ashburn <jon@lunarg.com> | 2015-11-11 08:58:42 -0700 |
commit | 9eabb8f3c350ba8f8f5bb4a71dd65d081bd4dc5d (patch) | |
tree | f7ea06f26ec807562fe4a29d75abce5d140e735f /include/vulkan/vulkan.h | |
parent | 1fb4618a2c5bf3ad852c6f0ebba6bc47810334ca (diff) |
bug 12998 part 2: append _PACK* to packed formats that change conventions
s/VK_FORMAT_R11G11B10_UFLOAT\b/VK_FORMAT_B10G11R11_UFLOAT_PACK32/g
s/VK_FORMAT_R9G9B9E5_UFLOAT\b/VK_FORMAT_E5B9G9R9_UFLOAT_PACK32/g
s/VK_FORMAT_D24_UNORM_X8\b/VK_FORMAT_X8_D24_UNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_UNORM\b/VK_FORMAT_A2B10G10R10_UNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_SNORM\b/VK_FORMAT_A2B10G10R10_SNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_USCALED\b/VK_FORMAT_A2B10G10R10_USCALED_PACK32/g
s/VK_FORMAT_R10G10B10A2_SSCALED\b/VK_FORMAT_A2B10G10R10_SSCALED_PACK32/g
s/VK_FORMAT_R10G10B10A2_UINT\b/VK_FORMAT_A2B10G10R10_UINT_PACK32/g
s/VK_FORMAT_R10G10B10A2_SINT\b/VK_FORMAT_A2B10G10R10_SINT_PACK32/g
s/VK_FORMAT_B10G10R10A2_UNORM\b/VK_FORMAT_A2R10G10B10_UNORM_PACK32/g
s/VK_FORMAT_B10G10R10A2_SNORM\b/VK_FORMAT_A2R10G10B10_SNORM_PACK32/g
s/VK_FORMAT_B10G10R10A2_USCALED\b/VK_FORMAT_A2R10G10B10_USCALED_PACK32/g
s/VK_FORMAT_B10G10R10A2_SSCALED\b/VK_FORMAT_A2R10G10B10_SSCALED_PACK32/g
s/VK_FORMAT_B10G10R10A2_UINT\b/VK_FORMAT_A2R10G10B10_UINT_PACK32/g
s/VK_FORMAT_B10G10R10A2_SINT\b/VK_FORMAT_A2R10G10B10_SINT_PACK32/g
s/STR(R11G11B10_UFLOAT\b/STR(B10G11R11_UFLOAT_PACK32/g
s/STR(R9G9B9E5_UFLOAT\b/STR(E5B9G9R9_UFLOAT_PACK32/g
s/STR(D24_UNORM_X8\b/STR(X8_D24_UNORM_PACK32/g
s/STR(R10G10B10A2_UNORM\b/STR(A2B10G10R10_UNORM_PACK32/g
s/STR(R10G10B10A2_SNORM\b/STR(A2B10G10R10_SNORM_PACK32/g
s/STR(R10G10B10A2_USCALED\b/STR(A2B10G10R10_USCALED_PACK32/g
s/STR(R10G10B10A2_SSCALED\b/STR(A2B10G10R10_SSCALED_PACK32/g
s/STR(R10G10B10A2_UINT\b/STR(A2B10G10R10_UINT_PACK32/g
s/STR(R10G10B10A2_SINT\b/STR(A2B10G10R10_SINT_PACK32/g
s/STR(B10G10R10A2_UNORM\b/STR(A2R10G10B10_UNORM_PACK32/g
s/STR(B10G10R10A2_SNORM\b/STR(A2R10G10B10_SNORM_PACK32/g
s/STR(B10G10R10A2_USCALED\b/STR(A2R10G10B10_USCALED_PACK32/g
s/STR(B10G10R10A2_SSCALED\b/STR(A2R10G10B10_SSCALED_PACK32/g
s/STR(B10G10R10A2_UINT\b/STR(A2R10G10B10_UINT_PACK32/g
s/STR(B10G10R10A2_SINT\b/STR(A2R10G10B10_SINT_PACK32/g
Diffstat (limited to 'include/vulkan/vulkan.h')
-rw-r--r-- | include/vulkan/vulkan.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 23b379a9..2087b518 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -244,12 +244,12 @@ typedef enum VkFormat { VK_FORMAT_R8G8B8A8_UINT = 34, VK_FORMAT_R8G8B8A8_SINT = 35, VK_FORMAT_R8G8B8A8_SRGB = 36, - VK_FORMAT_R10G10B10A2_UNORM = 37, - VK_FORMAT_R10G10B10A2_SNORM = 38, - VK_FORMAT_R10G10B10A2_USCALED = 39, - VK_FORMAT_R10G10B10A2_SSCALED = 40, - VK_FORMAT_R10G10B10A2_UINT = 41, - VK_FORMAT_R10G10B10A2_SINT = 42, + VK_FORMAT_A2B10G10R10_UNORM_PACK32 = 37, + VK_FORMAT_A2B10G10R10_SNORM_PACK32 = 38, + VK_FORMAT_A2B10G10R10_USCALED_PACK32 = 39, + VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = 40, + VK_FORMAT_A2B10G10R10_UINT_PACK32 = 41, + VK_FORMAT_A2B10G10R10_SINT_PACK32 = 42, VK_FORMAT_R16_UNORM = 43, VK_FORMAT_R16_SNORM = 44, VK_FORMAT_R16_USCALED = 45, @@ -294,10 +294,10 @@ typedef enum VkFormat { VK_FORMAT_R64G64_SFLOAT = 84, VK_FORMAT_R64G64B64_SFLOAT = 85, VK_FORMAT_R64G64B64A64_SFLOAT = 86, - VK_FORMAT_R11G11B10_UFLOAT = 87, - VK_FORMAT_R9G9B9E5_UFLOAT = 88, + VK_FORMAT_B10G11R11_UFLOAT_PACK32 = 87, + VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 88, VK_FORMAT_D16_UNORM = 89, - VK_FORMAT_D24_UNORM_X8 = 90, + VK_FORMAT_X8_D24_UNORM_PACK32 = 90, VK_FORMAT_D32_SFLOAT = 91, VK_FORMAT_S8_UINT = 92, VK_FORMAT_D16_UNORM_S8_UINT = 93, @@ -375,15 +375,15 @@ typedef enum VkFormat { VK_FORMAT_B8G8R8A8_UINT = 165, VK_FORMAT_B8G8R8A8_SINT = 166, VK_FORMAT_B8G8R8A8_SRGB = 167, - VK_FORMAT_B10G10R10A2_UNORM = 168, - VK_FORMAT_B10G10R10A2_SNORM = 169, - VK_FORMAT_B10G10R10A2_USCALED = 170, - VK_FORMAT_B10G10R10A2_SSCALED = 171, - VK_FORMAT_B10G10R10A2_UINT = 172, - VK_FORMAT_B10G10R10A2_SINT = 173, + VK_FORMAT_A2R10G10B10_UNORM_PACK32 = 168, + VK_FORMAT_A2R10G10B10_SNORM_PACK32 = 169, + VK_FORMAT_A2R10G10B10_USCALED_PACK32 = 170, + VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = 171, + VK_FORMAT_A2R10G10B10_UINT_PACK32 = 172, + VK_FORMAT_A2R10G10B10_SINT_PACK32 = 173, VK_FORMAT_BEGIN_RANGE = VK_FORMAT_UNDEFINED, - VK_FORMAT_END_RANGE = VK_FORMAT_B10G10R10A2_SINT, - VK_FORMAT_RANGE_SIZE = (VK_FORMAT_B10G10R10A2_SINT - VK_FORMAT_UNDEFINED + 1), + VK_FORMAT_END_RANGE = VK_FORMAT_A2R10G10B10_SINT_PACK32, + VK_FORMAT_RANGE_SIZE = (VK_FORMAT_A2R10G10B10_SINT_PACK32 - VK_FORMAT_UNDEFINED + 1), VK_FORMAT_MAX_ENUM = 0x7FFFFFFF } VkFormat; |