| 1 | // Copyright 2015-2026 The Khronos Group Inc. |
| 2 | // |
| 3 | // SPDX-License-Identifier: Apache-2.0 OR MIT |
| 4 | // |
| 5 | |
| 6 | // This header is generated from the Khronos Vulkan XML API Registry. |
| 7 | |
| 8 | #ifndef VULKAN_FORMAT_TRAITS_HPP |
| 9 | #define VULKAN_FORMAT_TRAITS_HPP |
| 10 | |
| 11 | #if defined( VULKAN_HPP_CXX_MODULE ) |
| 12 | # define VULKAN_HPP_EXPORT export |
| 13 | #else |
| 14 | # include <vulkan/vulkan.hpp> |
| 15 | #endif |
| 16 | |
| 17 | namespace VULKAN_HPP_NAMESPACE |
| 18 | { |
| 19 | //===================== |
| 20 | //=== Format Traits === |
| 21 | //===================== |
| 22 | |
| 23 | //=== Function Declarations === |
| 24 | |
| 25 | // The three-dimensional extent of a texel block. |
| 26 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 std::array<uint8_t, 3> blockExtent( Format format ); |
| 27 | |
| 28 | // The texel block size in bytes. |
| 29 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize( Format format ); |
| 30 | |
| 31 | // The class of the format (can't be just named "class"!) |
| 32 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 char const * compatibilityClass( Format format ); |
| 33 | |
| 34 | // The number of bits in this component, if not compressed, otherwise 0. |
| 35 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t componentBits( Format format, uint8_t component ); |
| 36 | |
| 37 | // The number of components of this format. |
| 38 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t componentCount( Format format ); |
| 39 | |
| 40 | // The name of the component |
| 41 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 char const * componentName( Format format, uint8_t component ); |
| 42 | |
| 43 | // The numeric format of the component |
| 44 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 char const * componentNumericFormat( Format format, uint8_t component ); |
| 45 | |
| 46 | // The plane this component lies in. |
| 47 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t componentPlaneIndex( Format format, uint8_t component ); |
| 48 | |
| 49 | // True, if the components of this format are compressed, otherwise false. |
| 50 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool componentsAreCompressed( Format format ); |
| 51 | |
| 52 | // A textual description of the compression scheme, or an empty string if it is not compressed |
| 53 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 char const * compressionScheme( Format format ); |
| 54 | |
| 55 | // Get all formats |
| 56 | VULKAN_HPP_EXPORT std::vector<Format> const & getAllFormats(); |
| 57 | |
| 58 | // Get all color with a color component |
| 59 | VULKAN_HPP_EXPORT std::vector<Format> const & getColorFormats(); |
| 60 | |
| 61 | // Get all formats with a depth component |
| 62 | VULKAN_HPP_EXPORT std::vector<Format> const & getDepthFormats(); |
| 63 | |
| 64 | // Get all formats with a depth and a stencil component |
| 65 | VULKAN_HPP_EXPORT std::vector<Format> const & getDepthStencilFormats(); |
| 66 | |
| 67 | // Get all formats with a stencil component |
| 68 | VULKAN_HPP_EXPORT std::vector<Format> const & getStencilFormats(); |
| 69 | |
| 70 | // True, if this format has an alpha component |
| 71 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasAlphaComponent( Format format ); |
| 72 | |
| 73 | // True, if this format has a blue component |
| 74 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasBlueComponent( Format format ); |
| 75 | |
| 76 | // True, if this format has a depth component |
| 77 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasDepthComponent( Format format ); |
| 78 | |
| 79 | // True, if this format has a green component |
| 80 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasGreenComponent( Format format ); |
| 81 | |
| 82 | // True, if this format has a red component |
| 83 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasRedComponent( Format format ); |
| 84 | |
| 85 | // True, if this format has a stencil component |
| 86 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool hasStencilComponent( Format format ); |
| 87 | |
| 88 | // True, if the format is a color |
| 89 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool isColor( Format format ); |
| 90 | |
| 91 | // True, if this format is a compressed one. |
| 92 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 bool isCompressed( Format format ); |
| 93 | |
| 94 | // The number of bits into which the format is packed. A single image element in this format can be stored in the same space as a scalar type of this bit |
| 95 | // width. |
| 96 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t packed( Format format ); |
| 97 | |
| 98 | // The single-plane format that this plane is compatible with. |
| 99 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 Format planeCompatibleFormat( Format format, uint8_t plane ); |
| 100 | |
| 101 | // The number of image planes of this format. |
| 102 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t planeCount( Format format ); |
| 103 | |
| 104 | // The relative height of this plane. A value of k means that this plane is 1/k the height of the overall format. |
| 105 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t planeHeightDivisor( Format format, uint8_t plane ); |
| 106 | |
| 107 | // The relative width of this plane. A value of k means that this plane is 1/k the width of the overall format. |
| 108 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t planeWidthDivisor( Format format, uint8_t plane ); |
| 109 | |
| 110 | // The number of texels in a texel block. |
| 111 | VULKAN_HPP_EXPORT VULKAN_HPP_CONSTEXPR_14 uint8_t texelsPerBlock( Format format ); |
| 112 | |
| 113 | //=== Function Definitions === |
| 114 | |
| 115 | // The three-dimensional extent of a texel block. |
| 116 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 std::array<uint8_t, 3> blockExtent( Format format ) |
| 117 | { |
| 118 | switch ( format ) |
| 119 | { |
| 120 | case Format::eBc1RgbUnormBlock : return { { 4, 4, 1 } }; |
| 121 | case Format::eBc1RgbSrgbBlock : return { { 4, 4, 1 } }; |
| 122 | case Format::eBc1RgbaUnormBlock : return { { 4, 4, 1 } }; |
| 123 | case Format::eBc1RgbaSrgbBlock : return { { 4, 4, 1 } }; |
| 124 | case Format::eBc2UnormBlock : return { { 4, 4, 1 } }; |
| 125 | case Format::eBc2SrgbBlock : return { { 4, 4, 1 } }; |
| 126 | case Format::eBc3UnormBlock : return { { 4, 4, 1 } }; |
| 127 | case Format::eBc3SrgbBlock : return { { 4, 4, 1 } }; |
| 128 | case Format::eBc4UnormBlock : return { { 4, 4, 1 } }; |
| 129 | case Format::eBc4SnormBlock : return { { 4, 4, 1 } }; |
| 130 | case Format::eBc5UnormBlock : return { { 4, 4, 1 } }; |
| 131 | case Format::eBc5SnormBlock : return { { 4, 4, 1 } }; |
| 132 | case Format::eBc6HUfloatBlock : return { { 4, 4, 1 } }; |
| 133 | case Format::eBc6HSfloatBlock : return { { 4, 4, 1 } }; |
| 134 | case Format::eBc7UnormBlock : return { { 4, 4, 1 } }; |
| 135 | case Format::eBc7SrgbBlock : return { { 4, 4, 1 } }; |
| 136 | case Format::eEtc2R8G8B8UnormBlock : return { { 4, 4, 1 } }; |
| 137 | case Format::eEtc2R8G8B8SrgbBlock : return { { 4, 4, 1 } }; |
| 138 | case Format::eEtc2R8G8B8A1UnormBlock : return { { 4, 4, 1 } }; |
| 139 | case Format::eEtc2R8G8B8A1SrgbBlock : return { { 4, 4, 1 } }; |
| 140 | case Format::eEtc2R8G8B8A8UnormBlock : return { { 4, 4, 1 } }; |
| 141 | case Format::eEtc2R8G8B8A8SrgbBlock : return { { 4, 4, 1 } }; |
| 142 | case Format::eEacR11UnormBlock : return { { 4, 4, 1 } }; |
| 143 | case Format::eEacR11SnormBlock : return { { 4, 4, 1 } }; |
| 144 | case Format::eEacR11G11UnormBlock : return { { 4, 4, 1 } }; |
| 145 | case Format::eEacR11G11SnormBlock : return { { 4, 4, 1 } }; |
| 146 | case Format::eAstc4x4UnormBlock : return { { 4, 4, 1 } }; |
| 147 | case Format::eAstc4x4SrgbBlock : return { { 4, 4, 1 } }; |
| 148 | case Format::eAstc5x4UnormBlock : return { { 5, 4, 1 } }; |
| 149 | case Format::eAstc5x4SrgbBlock : return { { 5, 4, 1 } }; |
| 150 | case Format::eAstc5x5UnormBlock : return { { 5, 5, 1 } }; |
| 151 | case Format::eAstc5x5SrgbBlock : return { { 5, 5, 1 } }; |
| 152 | case Format::eAstc6x5UnormBlock : return { { 6, 5, 1 } }; |
| 153 | case Format::eAstc6x5SrgbBlock : return { { 6, 5, 1 } }; |
| 154 | case Format::eAstc6x6UnormBlock : return { { 6, 6, 1 } }; |
| 155 | case Format::eAstc6x6SrgbBlock : return { { 6, 6, 1 } }; |
| 156 | case Format::eAstc8x5UnormBlock : return { { 8, 5, 1 } }; |
| 157 | case Format::eAstc8x5SrgbBlock : return { { 8, 5, 1 } }; |
| 158 | case Format::eAstc8x6UnormBlock : return { { 8, 6, 1 } }; |
| 159 | case Format::eAstc8x6SrgbBlock : return { { 8, 6, 1 } }; |
| 160 | case Format::eAstc8x8UnormBlock : return { { 8, 8, 1 } }; |
| 161 | case Format::eAstc8x8SrgbBlock : return { { 8, 8, 1 } }; |
| 162 | case Format::eAstc10x5UnormBlock : return { { 10, 5, 1 } }; |
| 163 | case Format::eAstc10x5SrgbBlock : return { { 10, 5, 1 } }; |
| 164 | case Format::eAstc10x6UnormBlock : return { { 10, 6, 1 } }; |
| 165 | case Format::eAstc10x6SrgbBlock : return { { 10, 6, 1 } }; |
| 166 | case Format::eAstc10x8UnormBlock : return { { 10, 8, 1 } }; |
| 167 | case Format::eAstc10x8SrgbBlock : return { { 10, 8, 1 } }; |
| 168 | case Format::eAstc10x10UnormBlock : return { { 10, 10, 1 } }; |
| 169 | case Format::eAstc10x10SrgbBlock : return { { 10, 10, 1 } }; |
| 170 | case Format::eAstc12x10UnormBlock : return { { 12, 10, 1 } }; |
| 171 | case Format::eAstc12x10SrgbBlock : return { { 12, 10, 1 } }; |
| 172 | case Format::eAstc12x12UnormBlock : return { { 12, 12, 1 } }; |
| 173 | case Format::eAstc12x12SrgbBlock : return { { 12, 12, 1 } }; |
| 174 | case Format::eG8B8G8R8422Unorm : return { { 2, 1, 1 } }; |
| 175 | case Format::eB8G8R8G8422Unorm : return { { 2, 1, 1 } }; |
| 176 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return { { 2, 1, 1 } }; |
| 177 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return { { 2, 1, 1 } }; |
| 178 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return { { 2, 1, 1 } }; |
| 179 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return { { 2, 1, 1 } }; |
| 180 | case Format::eG16B16G16R16422Unorm : return { { 2, 1, 1 } }; |
| 181 | case Format::eB16G16R16G16422Unorm : return { { 2, 1, 1 } }; |
| 182 | case Format::eAstc4x4SfloatBlock : return { { 4, 4, 1 } }; |
| 183 | case Format::eAstc5x4SfloatBlock : return { { 5, 4, 1 } }; |
| 184 | case Format::eAstc5x5SfloatBlock : return { { 5, 5, 1 } }; |
| 185 | case Format::eAstc6x5SfloatBlock : return { { 6, 5, 1 } }; |
| 186 | case Format::eAstc6x6SfloatBlock : return { { 6, 6, 1 } }; |
| 187 | case Format::eAstc8x5SfloatBlock : return { { 8, 5, 1 } }; |
| 188 | case Format::eAstc8x6SfloatBlock : return { { 8, 6, 1 } }; |
| 189 | case Format::eAstc8x8SfloatBlock : return { { 8, 8, 1 } }; |
| 190 | case Format::eAstc10x5SfloatBlock : return { { 10, 5, 1 } }; |
| 191 | case Format::eAstc10x6SfloatBlock : return { { 10, 6, 1 } }; |
| 192 | case Format::eAstc10x8SfloatBlock : return { { 10, 8, 1 } }; |
| 193 | case Format::eAstc10x10SfloatBlock : return { { 10, 10, 1 } }; |
| 194 | case Format::eAstc12x10SfloatBlock : return { { 12, 10, 1 } }; |
| 195 | case Format::eAstc12x12SfloatBlock : return { { 12, 12, 1 } }; |
| 196 | case Format::ePvrtc12BppUnormBlockIMG : return { { 8, 4, 1 } }; |
| 197 | case Format::ePvrtc14BppUnormBlockIMG : return { { 4, 4, 1 } }; |
| 198 | case Format::ePvrtc22BppUnormBlockIMG : return { { 8, 4, 1 } }; |
| 199 | case Format::ePvrtc24BppUnormBlockIMG : return { { 4, 4, 1 } }; |
| 200 | case Format::ePvrtc12BppSrgbBlockIMG : return { { 8, 4, 1 } }; |
| 201 | case Format::ePvrtc14BppSrgbBlockIMG : return { { 4, 4, 1 } }; |
| 202 | case Format::ePvrtc22BppSrgbBlockIMG : return { { 8, 4, 1 } }; |
| 203 | case Format::ePvrtc24BppSrgbBlockIMG : return { { 4, 4, 1 } }; |
| 204 | case Format::eAstc3x3x3UnormBlockEXT : return { { 3, 3, 3 } }; |
| 205 | case Format::eAstc3x3x3SrgbBlockEXT : return { { 3, 3, 3 } }; |
| 206 | case Format::eAstc3x3x3SfloatBlockEXT : return { { 3, 3, 3 } }; |
| 207 | case Format::eAstc4x3x3UnormBlockEXT : return { { 4, 3, 3 } }; |
| 208 | case Format::eAstc4x3x3SrgbBlockEXT : return { { 4, 3, 3 } }; |
| 209 | case Format::eAstc4x3x3SfloatBlockEXT : return { { 4, 3, 3 } }; |
| 210 | case Format::eAstc4x4x3UnormBlockEXT : return { { 4, 4, 3 } }; |
| 211 | case Format::eAstc4x4x3SrgbBlockEXT : return { { 4, 4, 3 } }; |
| 212 | case Format::eAstc4x4x3SfloatBlockEXT : return { { 4, 4, 3 } }; |
| 213 | case Format::eAstc4x4x4UnormBlockEXT : return { { 4, 4, 4 } }; |
| 214 | case Format::eAstc4x4x4SrgbBlockEXT : return { { 4, 4, 4 } }; |
| 215 | case Format::eAstc4x4x4SfloatBlockEXT : return { { 4, 4, 4 } }; |
| 216 | case Format::eAstc5x4x4UnormBlockEXT : return { { 5, 4, 4 } }; |
| 217 | case Format::eAstc5x4x4SrgbBlockEXT : return { { 5, 4, 4 } }; |
| 218 | case Format::eAstc5x4x4SfloatBlockEXT : return { { 5, 4, 4 } }; |
| 219 | case Format::eAstc5x5x4UnormBlockEXT : return { { 5, 5, 4 } }; |
| 220 | case Format::eAstc5x5x4SrgbBlockEXT : return { { 5, 5, 4 } }; |
| 221 | case Format::eAstc5x5x4SfloatBlockEXT : return { { 5, 5, 4 } }; |
| 222 | case Format::eAstc5x5x5UnormBlockEXT : return { { 5, 5, 5 } }; |
| 223 | case Format::eAstc5x5x5SrgbBlockEXT : return { { 5, 5, 5 } }; |
| 224 | case Format::eAstc5x5x5SfloatBlockEXT : return { { 5, 5, 5 } }; |
| 225 | case Format::eAstc6x5x5UnormBlockEXT : return { { 6, 5, 5 } }; |
| 226 | case Format::eAstc6x5x5SrgbBlockEXT : return { { 6, 5, 5 } }; |
| 227 | case Format::eAstc6x5x5SfloatBlockEXT : return { { 6, 5, 5 } }; |
| 228 | case Format::eAstc6x6x5UnormBlockEXT : return { { 6, 6, 5 } }; |
| 229 | case Format::eAstc6x6x5SrgbBlockEXT : return { { 6, 6, 5 } }; |
| 230 | case Format::eAstc6x6x5SfloatBlockEXT : return { { 6, 6, 5 } }; |
| 231 | case Format::eAstc6x6x6UnormBlockEXT : return { { 6, 6, 6 } }; |
| 232 | case Format::eAstc6x6x6SrgbBlockEXT : return { { 6, 6, 6 } }; |
| 233 | case Format::eAstc6x6x6SfloatBlockEXT : return { { 6, 6, 6 } }; |
| 234 | |
| 235 | default: return { { 1, 1, 1 } }; |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | // The texel block size in bytes. |
| 240 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize( Format format ) |
| 241 | { |
| 242 | switch ( format ) |
| 243 | { |
| 244 | case Format::eR4G4UnormPack8 : return 1; |
| 245 | case Format::eR4G4B4A4UnormPack16 : return 2; |
| 246 | case Format::eB4G4R4A4UnormPack16 : return 2; |
| 247 | case Format::eR5G6B5UnormPack16 : return 2; |
| 248 | case Format::eB5G6R5UnormPack16 : return 2; |
| 249 | case Format::eR5G5B5A1UnormPack16 : return 2; |
| 250 | case Format::eB5G5R5A1UnormPack16 : return 2; |
| 251 | case Format::eA1R5G5B5UnormPack16 : return 2; |
| 252 | case Format::eR8Unorm : return 1; |
| 253 | case Format::eR8Snorm : return 1; |
| 254 | case Format::eR8Uscaled : return 1; |
| 255 | case Format::eR8Sscaled : return 1; |
| 256 | case Format::eR8Uint : return 1; |
| 257 | case Format::eR8Sint : return 1; |
| 258 | case Format::eR8Srgb : return 1; |
| 259 | case Format::eR8G8Unorm : return 2; |
| 260 | case Format::eR8G8Snorm : return 2; |
| 261 | case Format::eR8G8Uscaled : return 2; |
| 262 | case Format::eR8G8Sscaled : return 2; |
| 263 | case Format::eR8G8Uint : return 2; |
| 264 | case Format::eR8G8Sint : return 2; |
| 265 | case Format::eR8G8Srgb : return 2; |
| 266 | case Format::eR8G8B8Unorm : return 3; |
| 267 | case Format::eR8G8B8Snorm : return 3; |
| 268 | case Format::eR8G8B8Uscaled : return 3; |
| 269 | case Format::eR8G8B8Sscaled : return 3; |
| 270 | case Format::eR8G8B8Uint : return 3; |
| 271 | case Format::eR8G8B8Sint : return 3; |
| 272 | case Format::eR8G8B8Srgb : return 3; |
| 273 | case Format::eB8G8R8Unorm : return 3; |
| 274 | case Format::eB8G8R8Snorm : return 3; |
| 275 | case Format::eB8G8R8Uscaled : return 3; |
| 276 | case Format::eB8G8R8Sscaled : return 3; |
| 277 | case Format::eB8G8R8Uint : return 3; |
| 278 | case Format::eB8G8R8Sint : return 3; |
| 279 | case Format::eB8G8R8Srgb : return 3; |
| 280 | case Format::eR8G8B8A8Unorm : return 4; |
| 281 | case Format::eR8G8B8A8Snorm : return 4; |
| 282 | case Format::eR8G8B8A8Uscaled : return 4; |
| 283 | case Format::eR8G8B8A8Sscaled : return 4; |
| 284 | case Format::eR8G8B8A8Uint : return 4; |
| 285 | case Format::eR8G8B8A8Sint : return 4; |
| 286 | case Format::eR8G8B8A8Srgb : return 4; |
| 287 | case Format::eB8G8R8A8Unorm : return 4; |
| 288 | case Format::eB8G8R8A8Snorm : return 4; |
| 289 | case Format::eB8G8R8A8Uscaled : return 4; |
| 290 | case Format::eB8G8R8A8Sscaled : return 4; |
| 291 | case Format::eB8G8R8A8Uint : return 4; |
| 292 | case Format::eB8G8R8A8Sint : return 4; |
| 293 | case Format::eB8G8R8A8Srgb : return 4; |
| 294 | case Format::eA8B8G8R8UnormPack32 : return 4; |
| 295 | case Format::eA8B8G8R8SnormPack32 : return 4; |
| 296 | case Format::eA8B8G8R8UscaledPack32 : return 4; |
| 297 | case Format::eA8B8G8R8SscaledPack32 : return 4; |
| 298 | case Format::eA8B8G8R8UintPack32 : return 4; |
| 299 | case Format::eA8B8G8R8SintPack32 : return 4; |
| 300 | case Format::eA8B8G8R8SrgbPack32 : return 4; |
| 301 | case Format::eA2R10G10B10UnormPack32 : return 4; |
| 302 | case Format::eA2R10G10B10SnormPack32 : return 4; |
| 303 | case Format::eA2R10G10B10UscaledPack32 : return 4; |
| 304 | case Format::eA2R10G10B10SscaledPack32 : return 4; |
| 305 | case Format::eA2R10G10B10UintPack32 : return 4; |
| 306 | case Format::eA2R10G10B10SintPack32 : return 4; |
| 307 | case Format::eA2B10G10R10UnormPack32 : return 4; |
| 308 | case Format::eA2B10G10R10SnormPack32 : return 4; |
| 309 | case Format::eA2B10G10R10UscaledPack32 : return 4; |
| 310 | case Format::eA2B10G10R10SscaledPack32 : return 4; |
| 311 | case Format::eA2B10G10R10UintPack32 : return 4; |
| 312 | case Format::eA2B10G10R10SintPack32 : return 4; |
| 313 | case Format::eR16Unorm : return 2; |
| 314 | case Format::eR16Snorm : return 2; |
| 315 | case Format::eR16Uscaled : return 2; |
| 316 | case Format::eR16Sscaled : return 2; |
| 317 | case Format::eR16Uint : return 2; |
| 318 | case Format::eR16Sint : return 2; |
| 319 | case Format::eR16Sfloat : return 2; |
| 320 | case Format::eR16G16Unorm : return 4; |
| 321 | case Format::eR16G16Snorm : return 4; |
| 322 | case Format::eR16G16Uscaled : return 4; |
| 323 | case Format::eR16G16Sscaled : return 4; |
| 324 | case Format::eR16G16Uint : return 4; |
| 325 | case Format::eR16G16Sint : return 4; |
| 326 | case Format::eR16G16Sfloat : return 4; |
| 327 | case Format::eR16G16B16Unorm : return 6; |
| 328 | case Format::eR16G16B16Snorm : return 6; |
| 329 | case Format::eR16G16B16Uscaled : return 6; |
| 330 | case Format::eR16G16B16Sscaled : return 6; |
| 331 | case Format::eR16G16B16Uint : return 6; |
| 332 | case Format::eR16G16B16Sint : return 6; |
| 333 | case Format::eR16G16B16Sfloat : return 6; |
| 334 | case Format::eR16G16B16A16Unorm : return 8; |
| 335 | case Format::eR16G16B16A16Snorm : return 8; |
| 336 | case Format::eR16G16B16A16Uscaled : return 8; |
| 337 | case Format::eR16G16B16A16Sscaled : return 8; |
| 338 | case Format::eR16G16B16A16Uint : return 8; |
| 339 | case Format::eR16G16B16A16Sint : return 8; |
| 340 | case Format::eR16G16B16A16Sfloat : return 8; |
| 341 | case Format::eR32Uint : return 4; |
| 342 | case Format::eR32Sint : return 4; |
| 343 | case Format::eR32Sfloat : return 4; |
| 344 | case Format::eR32G32Uint : return 8; |
| 345 | case Format::eR32G32Sint : return 8; |
| 346 | case Format::eR32G32Sfloat : return 8; |
| 347 | case Format::eR32G32B32Uint : return 12; |
| 348 | case Format::eR32G32B32Sint : return 12; |
| 349 | case Format::eR32G32B32Sfloat : return 12; |
| 350 | case Format::eR32G32B32A32Uint : return 16; |
| 351 | case Format::eR32G32B32A32Sint : return 16; |
| 352 | case Format::eR32G32B32A32Sfloat : return 16; |
| 353 | case Format::eR64Uint : return 8; |
| 354 | case Format::eR64Sint : return 8; |
| 355 | case Format::eR64Sfloat : return 8; |
| 356 | case Format::eR64G64Uint : return 16; |
| 357 | case Format::eR64G64Sint : return 16; |
| 358 | case Format::eR64G64Sfloat : return 16; |
| 359 | case Format::eR64G64B64Uint : return 24; |
| 360 | case Format::eR64G64B64Sint : return 24; |
| 361 | case Format::eR64G64B64Sfloat : return 24; |
| 362 | case Format::eR64G64B64A64Uint : return 32; |
| 363 | case Format::eR64G64B64A64Sint : return 32; |
| 364 | case Format::eR64G64B64A64Sfloat : return 32; |
| 365 | case Format::eB10G11R11UfloatPack32 : return 4; |
| 366 | case Format::eE5B9G9R9UfloatPack32 : return 4; |
| 367 | case Format::eD16Unorm : return 2; |
| 368 | case Format::eX8D24UnormPack32 : return 4; |
| 369 | case Format::eD32Sfloat : return 4; |
| 370 | case Format::eS8Uint : return 1; |
| 371 | case Format::eD16UnormS8Uint : return 3; |
| 372 | case Format::eD24UnormS8Uint : return 4; |
| 373 | case Format::eD32SfloatS8Uint : return 5; |
| 374 | case Format::eBc1RgbUnormBlock : return 8; |
| 375 | case Format::eBc1RgbSrgbBlock : return 8; |
| 376 | case Format::eBc1RgbaUnormBlock : return 8; |
| 377 | case Format::eBc1RgbaSrgbBlock : return 8; |
| 378 | case Format::eBc2UnormBlock : return 16; |
| 379 | case Format::eBc2SrgbBlock : return 16; |
| 380 | case Format::eBc3UnormBlock : return 16; |
| 381 | case Format::eBc3SrgbBlock : return 16; |
| 382 | case Format::eBc4UnormBlock : return 8; |
| 383 | case Format::eBc4SnormBlock : return 8; |
| 384 | case Format::eBc5UnormBlock : return 16; |
| 385 | case Format::eBc5SnormBlock : return 16; |
| 386 | case Format::eBc6HUfloatBlock : return 16; |
| 387 | case Format::eBc6HSfloatBlock : return 16; |
| 388 | case Format::eBc7UnormBlock : return 16; |
| 389 | case Format::eBc7SrgbBlock : return 16; |
| 390 | case Format::eEtc2R8G8B8UnormBlock : return 8; |
| 391 | case Format::eEtc2R8G8B8SrgbBlock : return 8; |
| 392 | case Format::eEtc2R8G8B8A1UnormBlock : return 8; |
| 393 | case Format::eEtc2R8G8B8A1SrgbBlock : return 8; |
| 394 | case Format::eEtc2R8G8B8A8UnormBlock : return 16; |
| 395 | case Format::eEtc2R8G8B8A8SrgbBlock : return 16; |
| 396 | case Format::eEacR11UnormBlock : return 8; |
| 397 | case Format::eEacR11SnormBlock : return 8; |
| 398 | case Format::eEacR11G11UnormBlock : return 16; |
| 399 | case Format::eEacR11G11SnormBlock : return 16; |
| 400 | case Format::eAstc4x4UnormBlock : return 16; |
| 401 | case Format::eAstc4x4SrgbBlock : return 16; |
| 402 | case Format::eAstc5x4UnormBlock : return 16; |
| 403 | case Format::eAstc5x4SrgbBlock : return 16; |
| 404 | case Format::eAstc5x5UnormBlock : return 16; |
| 405 | case Format::eAstc5x5SrgbBlock : return 16; |
| 406 | case Format::eAstc6x5UnormBlock : return 16; |
| 407 | case Format::eAstc6x5SrgbBlock : return 16; |
| 408 | case Format::eAstc6x6UnormBlock : return 16; |
| 409 | case Format::eAstc6x6SrgbBlock : return 16; |
| 410 | case Format::eAstc8x5UnormBlock : return 16; |
| 411 | case Format::eAstc8x5SrgbBlock : return 16; |
| 412 | case Format::eAstc8x6UnormBlock : return 16; |
| 413 | case Format::eAstc8x6SrgbBlock : return 16; |
| 414 | case Format::eAstc8x8UnormBlock : return 16; |
| 415 | case Format::eAstc8x8SrgbBlock : return 16; |
| 416 | case Format::eAstc10x5UnormBlock : return 16; |
| 417 | case Format::eAstc10x5SrgbBlock : return 16; |
| 418 | case Format::eAstc10x6UnormBlock : return 16; |
| 419 | case Format::eAstc10x6SrgbBlock : return 16; |
| 420 | case Format::eAstc10x8UnormBlock : return 16; |
| 421 | case Format::eAstc10x8SrgbBlock : return 16; |
| 422 | case Format::eAstc10x10UnormBlock : return 16; |
| 423 | case Format::eAstc10x10SrgbBlock : return 16; |
| 424 | case Format::eAstc12x10UnormBlock : return 16; |
| 425 | case Format::eAstc12x10SrgbBlock : return 16; |
| 426 | case Format::eAstc12x12UnormBlock : return 16; |
| 427 | case Format::eAstc12x12SrgbBlock : return 16; |
| 428 | case Format::eG8B8G8R8422Unorm : return 4; |
| 429 | case Format::eB8G8R8G8422Unorm : return 4; |
| 430 | case Format::eG8B8R83Plane420Unorm : return 3; |
| 431 | case Format::eG8B8R82Plane420Unorm : return 3; |
| 432 | case Format::eG8B8R83Plane422Unorm : return 3; |
| 433 | case Format::eG8B8R82Plane422Unorm : return 3; |
| 434 | case Format::eG8B8R83Plane444Unorm : return 3; |
| 435 | case Format::eR10X6UnormPack16 : return 2; |
| 436 | case Format::eR10X6G10X6Unorm2Pack16 : return 4; |
| 437 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return 8; |
| 438 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return 8; |
| 439 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return 8; |
| 440 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return 6; |
| 441 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return 6; |
| 442 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return 6; |
| 443 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return 6; |
| 444 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return 6; |
| 445 | case Format::eR12X4UnormPack16 : return 2; |
| 446 | case Format::eR12X4G12X4Unorm2Pack16 : return 4; |
| 447 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return 8; |
| 448 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return 8; |
| 449 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return 8; |
| 450 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return 6; |
| 451 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return 6; |
| 452 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return 6; |
| 453 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return 6; |
| 454 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return 6; |
| 455 | case Format::eG16B16G16R16422Unorm : return 8; |
| 456 | case Format::eB16G16R16G16422Unorm : return 8; |
| 457 | case Format::eG16B16R163Plane420Unorm : return 6; |
| 458 | case Format::eG16B16R162Plane420Unorm : return 6; |
| 459 | case Format::eG16B16R163Plane422Unorm : return 6; |
| 460 | case Format::eG16B16R162Plane422Unorm : return 6; |
| 461 | case Format::eG16B16R163Plane444Unorm : return 6; |
| 462 | case Format::eG8B8R82Plane444Unorm : return 3; |
| 463 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return 6; |
| 464 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return 6; |
| 465 | case Format::eG16B16R162Plane444Unorm : return 6; |
| 466 | case Format::eA4R4G4B4UnormPack16 : return 2; |
| 467 | case Format::eA4B4G4R4UnormPack16 : return 2; |
| 468 | case Format::eAstc4x4SfloatBlock : return 16; |
| 469 | case Format::eAstc5x4SfloatBlock : return 16; |
| 470 | case Format::eAstc5x5SfloatBlock : return 16; |
| 471 | case Format::eAstc6x5SfloatBlock : return 16; |
| 472 | case Format::eAstc6x6SfloatBlock : return 16; |
| 473 | case Format::eAstc8x5SfloatBlock : return 16; |
| 474 | case Format::eAstc8x6SfloatBlock : return 16; |
| 475 | case Format::eAstc8x8SfloatBlock : return 16; |
| 476 | case Format::eAstc10x5SfloatBlock : return 16; |
| 477 | case Format::eAstc10x6SfloatBlock : return 16; |
| 478 | case Format::eAstc10x8SfloatBlock : return 16; |
| 479 | case Format::eAstc10x10SfloatBlock : return 16; |
| 480 | case Format::eAstc12x10SfloatBlock : return 16; |
| 481 | case Format::eAstc12x12SfloatBlock : return 16; |
| 482 | case Format::eA1B5G5R5UnormPack16 : return 2; |
| 483 | case Format::eA8Unorm : return 1; |
| 484 | case Format::ePvrtc12BppUnormBlockIMG : return 8; |
| 485 | case Format::ePvrtc14BppUnormBlockIMG : return 8; |
| 486 | case Format::ePvrtc22BppUnormBlockIMG : return 8; |
| 487 | case Format::ePvrtc24BppUnormBlockIMG : return 8; |
| 488 | case Format::ePvrtc12BppSrgbBlockIMG : return 8; |
| 489 | case Format::ePvrtc14BppSrgbBlockIMG : return 8; |
| 490 | case Format::ePvrtc22BppSrgbBlockIMG : return 8; |
| 491 | case Format::ePvrtc24BppSrgbBlockIMG : return 8; |
| 492 | case Format::eAstc3x3x3UnormBlockEXT : return 16; |
| 493 | case Format::eAstc3x3x3SrgbBlockEXT : return 16; |
| 494 | case Format::eAstc3x3x3SfloatBlockEXT : return 16; |
| 495 | case Format::eAstc4x3x3UnormBlockEXT : return 16; |
| 496 | case Format::eAstc4x3x3SrgbBlockEXT : return 16; |
| 497 | case Format::eAstc4x3x3SfloatBlockEXT : return 16; |
| 498 | case Format::eAstc4x4x3UnormBlockEXT : return 16; |
| 499 | case Format::eAstc4x4x3SrgbBlockEXT : return 16; |
| 500 | case Format::eAstc4x4x3SfloatBlockEXT : return 16; |
| 501 | case Format::eAstc4x4x4UnormBlockEXT : return 16; |
| 502 | case Format::eAstc4x4x4SrgbBlockEXT : return 16; |
| 503 | case Format::eAstc4x4x4SfloatBlockEXT : return 16; |
| 504 | case Format::eAstc5x4x4UnormBlockEXT : return 16; |
| 505 | case Format::eAstc5x4x4SrgbBlockEXT : return 16; |
| 506 | case Format::eAstc5x4x4SfloatBlockEXT : return 16; |
| 507 | case Format::eAstc5x5x4UnormBlockEXT : return 16; |
| 508 | case Format::eAstc5x5x4SrgbBlockEXT : return 16; |
| 509 | case Format::eAstc5x5x4SfloatBlockEXT : return 16; |
| 510 | case Format::eAstc5x5x5UnormBlockEXT : return 16; |
| 511 | case Format::eAstc5x5x5SrgbBlockEXT : return 16; |
| 512 | case Format::eAstc5x5x5SfloatBlockEXT : return 16; |
| 513 | case Format::eAstc6x5x5UnormBlockEXT : return 16; |
| 514 | case Format::eAstc6x5x5SrgbBlockEXT : return 16; |
| 515 | case Format::eAstc6x5x5SfloatBlockEXT : return 16; |
| 516 | case Format::eAstc6x6x5UnormBlockEXT : return 16; |
| 517 | case Format::eAstc6x6x5SrgbBlockEXT : return 16; |
| 518 | case Format::eAstc6x6x5SfloatBlockEXT : return 16; |
| 519 | case Format::eAstc6x6x6UnormBlockEXT : return 16; |
| 520 | case Format::eAstc6x6x6SrgbBlockEXT : return 16; |
| 521 | case Format::eAstc6x6x6SfloatBlockEXT : return 16; |
| 522 | case Format::eR8BoolARM : return 1; |
| 523 | case Format::eR16SfloatFpencodingBfloat16ARM : return 2; |
| 524 | case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1; |
| 525 | case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1; |
| 526 | case Format::eR16G16Sfixed5NV : return 4; |
| 527 | case Format::eR10X6UintPack16ARM : return 2; |
| 528 | case Format::eR10X6G10X6Uint2Pack16ARM : return 4; |
| 529 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM : return 8; |
| 530 | case Format::eR12X4UintPack16ARM : return 2; |
| 531 | case Format::eR12X4G12X4Uint2Pack16ARM : return 4; |
| 532 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM : return 8; |
| 533 | case Format::eR14X2UintPack16ARM : return 2; |
| 534 | case Format::eR14X2G14X2Uint2Pack16ARM : return 4; |
| 535 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM : return 8; |
| 536 | case Format::eR14X2UnormPack16ARM : return 2; |
| 537 | case Format::eR14X2G14X2Unorm2Pack16ARM : return 4; |
| 538 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM : return 8; |
| 539 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return 6; |
| 540 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return 6; |
| 541 | |
| 542 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | // The class of the format (can't be just named "class"!) |
| 547 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * compatibilityClass( Format format ) |
| 548 | { |
| 549 | switch ( format ) |
| 550 | { |
| 551 | case Format::eR4G4UnormPack8 : return "8-bit"; |
| 552 | case Format::eR4G4B4A4UnormPack16 : return "16-bit"; |
| 553 | case Format::eB4G4R4A4UnormPack16 : return "16-bit"; |
| 554 | case Format::eR5G6B5UnormPack16 : return "16-bit"; |
| 555 | case Format::eB5G6R5UnormPack16 : return "16-bit"; |
| 556 | case Format::eR5G5B5A1UnormPack16 : return "16-bit"; |
| 557 | case Format::eB5G5R5A1UnormPack16 : return "16-bit"; |
| 558 | case Format::eA1R5G5B5UnormPack16 : return "16-bit"; |
| 559 | case Format::eR8Unorm : return "8-bit"; |
| 560 | case Format::eR8Snorm : return "8-bit"; |
| 561 | case Format::eR8Uscaled : return "8-bit"; |
| 562 | case Format::eR8Sscaled : return "8-bit"; |
| 563 | case Format::eR8Uint : return "8-bit"; |
| 564 | case Format::eR8Sint : return "8-bit"; |
| 565 | case Format::eR8Srgb : return "8-bit"; |
| 566 | case Format::eR8G8Unorm : return "16-bit"; |
| 567 | case Format::eR8G8Snorm : return "16-bit"; |
| 568 | case Format::eR8G8Uscaled : return "16-bit"; |
| 569 | case Format::eR8G8Sscaled : return "16-bit"; |
| 570 | case Format::eR8G8Uint : return "16-bit"; |
| 571 | case Format::eR8G8Sint : return "16-bit"; |
| 572 | case Format::eR8G8Srgb : return "16-bit"; |
| 573 | case Format::eR8G8B8Unorm : return "24-bit"; |
| 574 | case Format::eR8G8B8Snorm : return "24-bit"; |
| 575 | case Format::eR8G8B8Uscaled : return "24-bit"; |
| 576 | case Format::eR8G8B8Sscaled : return "24-bit"; |
| 577 | case Format::eR8G8B8Uint : return "24-bit"; |
| 578 | case Format::eR8G8B8Sint : return "24-bit"; |
| 579 | case Format::eR8G8B8Srgb : return "24-bit"; |
| 580 | case Format::eB8G8R8Unorm : return "24-bit"; |
| 581 | case Format::eB8G8R8Snorm : return "24-bit"; |
| 582 | case Format::eB8G8R8Uscaled : return "24-bit"; |
| 583 | case Format::eB8G8R8Sscaled : return "24-bit"; |
| 584 | case Format::eB8G8R8Uint : return "24-bit"; |
| 585 | case Format::eB8G8R8Sint : return "24-bit"; |
| 586 | case Format::eB8G8R8Srgb : return "24-bit"; |
| 587 | case Format::eR8G8B8A8Unorm : return "32-bit"; |
| 588 | case Format::eR8G8B8A8Snorm : return "32-bit"; |
| 589 | case Format::eR8G8B8A8Uscaled : return "32-bit"; |
| 590 | case Format::eR8G8B8A8Sscaled : return "32-bit"; |
| 591 | case Format::eR8G8B8A8Uint : return "32-bit"; |
| 592 | case Format::eR8G8B8A8Sint : return "32-bit"; |
| 593 | case Format::eR8G8B8A8Srgb : return "32-bit"; |
| 594 | case Format::eB8G8R8A8Unorm : return "32-bit"; |
| 595 | case Format::eB8G8R8A8Snorm : return "32-bit"; |
| 596 | case Format::eB8G8R8A8Uscaled : return "32-bit"; |
| 597 | case Format::eB8G8R8A8Sscaled : return "32-bit"; |
| 598 | case Format::eB8G8R8A8Uint : return "32-bit"; |
| 599 | case Format::eB8G8R8A8Sint : return "32-bit"; |
| 600 | case Format::eB8G8R8A8Srgb : return "32-bit"; |
| 601 | case Format::eA8B8G8R8UnormPack32 : return "32-bit"; |
| 602 | case Format::eA8B8G8R8SnormPack32 : return "32-bit"; |
| 603 | case Format::eA8B8G8R8UscaledPack32 : return "32-bit"; |
| 604 | case Format::eA8B8G8R8SscaledPack32 : return "32-bit"; |
| 605 | case Format::eA8B8G8R8UintPack32 : return "32-bit"; |
| 606 | case Format::eA8B8G8R8SintPack32 : return "32-bit"; |
| 607 | case Format::eA8B8G8R8SrgbPack32 : return "32-bit"; |
| 608 | case Format::eA2R10G10B10UnormPack32 : return "32-bit"; |
| 609 | case Format::eA2R10G10B10SnormPack32 : return "32-bit"; |
| 610 | case Format::eA2R10G10B10UscaledPack32 : return "32-bit"; |
| 611 | case Format::eA2R10G10B10SscaledPack32 : return "32-bit"; |
| 612 | case Format::eA2R10G10B10UintPack32 : return "32-bit"; |
| 613 | case Format::eA2R10G10B10SintPack32 : return "32-bit"; |
| 614 | case Format::eA2B10G10R10UnormPack32 : return "32-bit"; |
| 615 | case Format::eA2B10G10R10SnormPack32 : return "32-bit"; |
| 616 | case Format::eA2B10G10R10UscaledPack32 : return "32-bit"; |
| 617 | case Format::eA2B10G10R10SscaledPack32 : return "32-bit"; |
| 618 | case Format::eA2B10G10R10UintPack32 : return "32-bit"; |
| 619 | case Format::eA2B10G10R10SintPack32 : return "32-bit"; |
| 620 | case Format::eR16Unorm : return "16-bit"; |
| 621 | case Format::eR16Snorm : return "16-bit"; |
| 622 | case Format::eR16Uscaled : return "16-bit"; |
| 623 | case Format::eR16Sscaled : return "16-bit"; |
| 624 | case Format::eR16Uint : return "16-bit"; |
| 625 | case Format::eR16Sint : return "16-bit"; |
| 626 | case Format::eR16Sfloat : return "16-bit"; |
| 627 | case Format::eR16G16Unorm : return "32-bit"; |
| 628 | case Format::eR16G16Snorm : return "32-bit"; |
| 629 | case Format::eR16G16Uscaled : return "32-bit"; |
| 630 | case Format::eR16G16Sscaled : return "32-bit"; |
| 631 | case Format::eR16G16Uint : return "32-bit"; |
| 632 | case Format::eR16G16Sint : return "32-bit"; |
| 633 | case Format::eR16G16Sfloat : return "32-bit"; |
| 634 | case Format::eR16G16B16Unorm : return "48-bit"; |
| 635 | case Format::eR16G16B16Snorm : return "48-bit"; |
| 636 | case Format::eR16G16B16Uscaled : return "48-bit"; |
| 637 | case Format::eR16G16B16Sscaled : return "48-bit"; |
| 638 | case Format::eR16G16B16Uint : return "48-bit"; |
| 639 | case Format::eR16G16B16Sint : return "48-bit"; |
| 640 | case Format::eR16G16B16Sfloat : return "48-bit"; |
| 641 | case Format::eR16G16B16A16Unorm : return "64-bit"; |
| 642 | case Format::eR16G16B16A16Snorm : return "64-bit"; |
| 643 | case Format::eR16G16B16A16Uscaled : return "64-bit"; |
| 644 | case Format::eR16G16B16A16Sscaled : return "64-bit"; |
| 645 | case Format::eR16G16B16A16Uint : return "64-bit"; |
| 646 | case Format::eR16G16B16A16Sint : return "64-bit"; |
| 647 | case Format::eR16G16B16A16Sfloat : return "64-bit"; |
| 648 | case Format::eR32Uint : return "32-bit"; |
| 649 | case Format::eR32Sint : return "32-bit"; |
| 650 | case Format::eR32Sfloat : return "32-bit"; |
| 651 | case Format::eR32G32Uint : return "64-bit"; |
| 652 | case Format::eR32G32Sint : return "64-bit"; |
| 653 | case Format::eR32G32Sfloat : return "64-bit"; |
| 654 | case Format::eR32G32B32Uint : return "96-bit"; |
| 655 | case Format::eR32G32B32Sint : return "96-bit"; |
| 656 | case Format::eR32G32B32Sfloat : return "96-bit"; |
| 657 | case Format::eR32G32B32A32Uint : return "128-bit"; |
| 658 | case Format::eR32G32B32A32Sint : return "128-bit"; |
| 659 | case Format::eR32G32B32A32Sfloat : return "128-bit"; |
| 660 | case Format::eR64Uint : return "64-bit"; |
| 661 | case Format::eR64Sint : return "64-bit"; |
| 662 | case Format::eR64Sfloat : return "64-bit"; |
| 663 | case Format::eR64G64Uint : return "128-bit"; |
| 664 | case Format::eR64G64Sint : return "128-bit"; |
| 665 | case Format::eR64G64Sfloat : return "128-bit"; |
| 666 | case Format::eR64G64B64Uint : return "192-bit"; |
| 667 | case Format::eR64G64B64Sint : return "192-bit"; |
| 668 | case Format::eR64G64B64Sfloat : return "192-bit"; |
| 669 | case Format::eR64G64B64A64Uint : return "256-bit"; |
| 670 | case Format::eR64G64B64A64Sint : return "256-bit"; |
| 671 | case Format::eR64G64B64A64Sfloat : return "256-bit"; |
| 672 | case Format::eB10G11R11UfloatPack32 : return "32-bit"; |
| 673 | case Format::eE5B9G9R9UfloatPack32 : return "32-bit"; |
| 674 | case Format::eD16Unorm : return "D16"; |
| 675 | case Format::eX8D24UnormPack32 : return "D24"; |
| 676 | case Format::eD32Sfloat : return "D32"; |
| 677 | case Format::eS8Uint : return "S8"; |
| 678 | case Format::eD16UnormS8Uint : return "D16S8"; |
| 679 | case Format::eD24UnormS8Uint : return "D24S8"; |
| 680 | case Format::eD32SfloatS8Uint : return "D32S8"; |
| 681 | case Format::eBc1RgbUnormBlock : return "BC1_RGB"; |
| 682 | case Format::eBc1RgbSrgbBlock : return "BC1_RGB"; |
| 683 | case Format::eBc1RgbaUnormBlock : return "BC1_RGBA"; |
| 684 | case Format::eBc1RgbaSrgbBlock : return "BC1_RGBA"; |
| 685 | case Format::eBc2UnormBlock : return "BC2"; |
| 686 | case Format::eBc2SrgbBlock : return "BC2"; |
| 687 | case Format::eBc3UnormBlock : return "BC3"; |
| 688 | case Format::eBc3SrgbBlock : return "BC3"; |
| 689 | case Format::eBc4UnormBlock : return "BC4"; |
| 690 | case Format::eBc4SnormBlock : return "BC4"; |
| 691 | case Format::eBc5UnormBlock : return "BC5"; |
| 692 | case Format::eBc5SnormBlock : return "BC5"; |
| 693 | case Format::eBc6HUfloatBlock : return "BC6H"; |
| 694 | case Format::eBc6HSfloatBlock : return "BC6H"; |
| 695 | case Format::eBc7UnormBlock : return "BC7"; |
| 696 | case Format::eBc7SrgbBlock : return "BC7"; |
| 697 | case Format::eEtc2R8G8B8UnormBlock : return "ETC2_RGB"; |
| 698 | case Format::eEtc2R8G8B8SrgbBlock : return "ETC2_RGB"; |
| 699 | case Format::eEtc2R8G8B8A1UnormBlock : return "ETC2_RGBA"; |
| 700 | case Format::eEtc2R8G8B8A1SrgbBlock : return "ETC2_RGBA"; |
| 701 | case Format::eEtc2R8G8B8A8UnormBlock : return "ETC2_EAC_RGBA"; |
| 702 | case Format::eEtc2R8G8B8A8SrgbBlock : return "ETC2_EAC_RGBA"; |
| 703 | case Format::eEacR11UnormBlock : return "EAC_R"; |
| 704 | case Format::eEacR11SnormBlock : return "EAC_R"; |
| 705 | case Format::eEacR11G11UnormBlock : return "EAC_RG"; |
| 706 | case Format::eEacR11G11SnormBlock : return "EAC_RG"; |
| 707 | case Format::eAstc4x4UnormBlock : return "ASTC_4x4"; |
| 708 | case Format::eAstc4x4SrgbBlock : return "ASTC_4x4"; |
| 709 | case Format::eAstc5x4UnormBlock : return "ASTC_5x4"; |
| 710 | case Format::eAstc5x4SrgbBlock : return "ASTC_5x4"; |
| 711 | case Format::eAstc5x5UnormBlock : return "ASTC_5x5"; |
| 712 | case Format::eAstc5x5SrgbBlock : return "ASTC_5x5"; |
| 713 | case Format::eAstc6x5UnormBlock : return "ASTC_6x5"; |
| 714 | case Format::eAstc6x5SrgbBlock : return "ASTC_6x5"; |
| 715 | case Format::eAstc6x6UnormBlock : return "ASTC_6x6"; |
| 716 | case Format::eAstc6x6SrgbBlock : return "ASTC_6x6"; |
| 717 | case Format::eAstc8x5UnormBlock : return "ASTC_8x5"; |
| 718 | case Format::eAstc8x5SrgbBlock : return "ASTC_8x5"; |
| 719 | case Format::eAstc8x6UnormBlock : return "ASTC_8x6"; |
| 720 | case Format::eAstc8x6SrgbBlock : return "ASTC_8x6"; |
| 721 | case Format::eAstc8x8UnormBlock : return "ASTC_8x8"; |
| 722 | case Format::eAstc8x8SrgbBlock : return "ASTC_8x8"; |
| 723 | case Format::eAstc10x5UnormBlock : return "ASTC_10x5"; |
| 724 | case Format::eAstc10x5SrgbBlock : return "ASTC_10x5"; |
| 725 | case Format::eAstc10x6UnormBlock : return "ASTC_10x6"; |
| 726 | case Format::eAstc10x6SrgbBlock : return "ASTC_10x6"; |
| 727 | case Format::eAstc10x8UnormBlock : return "ASTC_10x8"; |
| 728 | case Format::eAstc10x8SrgbBlock : return "ASTC_10x8"; |
| 729 | case Format::eAstc10x10UnormBlock : return "ASTC_10x10"; |
| 730 | case Format::eAstc10x10SrgbBlock : return "ASTC_10x10"; |
| 731 | case Format::eAstc12x10UnormBlock : return "ASTC_12x10"; |
| 732 | case Format::eAstc12x10SrgbBlock : return "ASTC_12x10"; |
| 733 | case Format::eAstc12x12UnormBlock : return "ASTC_12x12"; |
| 734 | case Format::eAstc12x12SrgbBlock : return "ASTC_12x12"; |
| 735 | case Format::eG8B8G8R8422Unorm : return "32-bit G8B8G8R8"; |
| 736 | case Format::eB8G8R8G8422Unorm : return "32-bit B8G8R8G8"; |
| 737 | case Format::eG8B8R83Plane420Unorm : return "8-bit 3-plane 420"; |
| 738 | case Format::eG8B8R82Plane420Unorm : return "8-bit 2-plane 420"; |
| 739 | case Format::eG8B8R83Plane422Unorm : return "8-bit 3-plane 422"; |
| 740 | case Format::eG8B8R82Plane422Unorm : return "8-bit 2-plane 422"; |
| 741 | case Format::eG8B8R83Plane444Unorm : return "8-bit 3-plane 444"; |
| 742 | case Format::eR10X6UnormPack16 : return "16-bit"; |
| 743 | case Format::eR10X6G10X6Unorm2Pack16 : return "32-bit"; |
| 744 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return "64-bit R10G10B10A10"; |
| 745 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return "64-bit G10B10G10R10"; |
| 746 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return "64-bit B10G10R10G10"; |
| 747 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return "10-bit 3-plane 420"; |
| 748 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return "10-bit 2-plane 420"; |
| 749 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return "10-bit 3-plane 422"; |
| 750 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return "10-bit 2-plane 422"; |
| 751 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return "10-bit 3-plane 444"; |
| 752 | case Format::eR12X4UnormPack16 : return "16-bit"; |
| 753 | case Format::eR12X4G12X4Unorm2Pack16 : return "32-bit"; |
| 754 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return "64-bit R12G12B12A12"; |
| 755 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return "64-bit G12B12G12R12"; |
| 756 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return "64-bit B12G12R12G12"; |
| 757 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return "12-bit 3-plane 420"; |
| 758 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return "12-bit 2-plane 420"; |
| 759 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return "12-bit 3-plane 422"; |
| 760 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return "12-bit 2-plane 422"; |
| 761 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return "12-bit 3-plane 444"; |
| 762 | case Format::eG16B16G16R16422Unorm : return "64-bit G16B16G16R16"; |
| 763 | case Format::eB16G16R16G16422Unorm : return "64-bit B16G16R16G16"; |
| 764 | case Format::eG16B16R163Plane420Unorm : return "16-bit 3-plane 420"; |
| 765 | case Format::eG16B16R162Plane420Unorm : return "16-bit 2-plane 420"; |
| 766 | case Format::eG16B16R163Plane422Unorm : return "16-bit 3-plane 422"; |
| 767 | case Format::eG16B16R162Plane422Unorm : return "16-bit 2-plane 422"; |
| 768 | case Format::eG16B16R163Plane444Unorm : return "16-bit 3-plane 444"; |
| 769 | case Format::eG8B8R82Plane444Unorm : return "8-bit 2-plane 444"; |
| 770 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return "10-bit 2-plane 444"; |
| 771 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return "12-bit 2-plane 444"; |
| 772 | case Format::eG16B16R162Plane444Unorm : return "16-bit 2-plane 444"; |
| 773 | case Format::eA4R4G4B4UnormPack16 : return "16-bit"; |
| 774 | case Format::eA4B4G4R4UnormPack16 : return "16-bit"; |
| 775 | case Format::eAstc4x4SfloatBlock : return "ASTC_4x4"; |
| 776 | case Format::eAstc5x4SfloatBlock : return "ASTC_5x4"; |
| 777 | case Format::eAstc5x5SfloatBlock : return "ASTC_5x5"; |
| 778 | case Format::eAstc6x5SfloatBlock : return "ASTC_6x5"; |
| 779 | case Format::eAstc6x6SfloatBlock : return "ASTC_6x6"; |
| 780 | case Format::eAstc8x5SfloatBlock : return "ASTC_8x5"; |
| 781 | case Format::eAstc8x6SfloatBlock : return "ASTC_8x6"; |
| 782 | case Format::eAstc8x8SfloatBlock : return "ASTC_8x8"; |
| 783 | case Format::eAstc10x5SfloatBlock : return "ASTC_10x5"; |
| 784 | case Format::eAstc10x6SfloatBlock : return "ASTC_10x6"; |
| 785 | case Format::eAstc10x8SfloatBlock : return "ASTC_10x8"; |
| 786 | case Format::eAstc10x10SfloatBlock : return "ASTC_10x10"; |
| 787 | case Format::eAstc12x10SfloatBlock : return "ASTC_12x10"; |
| 788 | case Format::eAstc12x12SfloatBlock : return "ASTC_12x12"; |
| 789 | case Format::eA1B5G5R5UnormPack16 : return "16-bit"; |
| 790 | case Format::eA8Unorm : return "8-bit alpha"; |
| 791 | case Format::ePvrtc12BppUnormBlockIMG : return "PVRTC1_2BPP"; |
| 792 | case Format::ePvrtc14BppUnormBlockIMG : return "PVRTC1_4BPP"; |
| 793 | case Format::ePvrtc22BppUnormBlockIMG : return "PVRTC2_2BPP"; |
| 794 | case Format::ePvrtc24BppUnormBlockIMG : return "PVRTC2_4BPP"; |
| 795 | case Format::ePvrtc12BppSrgbBlockIMG : return "PVRTC1_2BPP"; |
| 796 | case Format::ePvrtc14BppSrgbBlockIMG : return "PVRTC1_4BPP"; |
| 797 | case Format::ePvrtc22BppSrgbBlockIMG : return "PVRTC2_2BPP"; |
| 798 | case Format::ePvrtc24BppSrgbBlockIMG : return "PVRTC2_4BPP"; |
| 799 | case Format::eAstc3x3x3UnormBlockEXT : return "ASTC_3x3x3"; |
| 800 | case Format::eAstc3x3x3SrgbBlockEXT : return "ASTC_3x3x3"; |
| 801 | case Format::eAstc3x3x3SfloatBlockEXT : return "ASTC_3x3x3"; |
| 802 | case Format::eAstc4x3x3UnormBlockEXT : return "ASTC_4x3x3"; |
| 803 | case Format::eAstc4x3x3SrgbBlockEXT : return "ASTC_4x3x3"; |
| 804 | case Format::eAstc4x3x3SfloatBlockEXT : return "ASTC_4x3x3"; |
| 805 | case Format::eAstc4x4x3UnormBlockEXT : return "ASTC_4x4x3"; |
| 806 | case Format::eAstc4x4x3SrgbBlockEXT : return "ASTC_4x4x3"; |
| 807 | case Format::eAstc4x4x3SfloatBlockEXT : return "ASTC_4x4x3"; |
| 808 | case Format::eAstc4x4x4UnormBlockEXT : return "ASTC_4x4x4"; |
| 809 | case Format::eAstc4x4x4SrgbBlockEXT : return "ASTC_4x4x4"; |
| 810 | case Format::eAstc4x4x4SfloatBlockEXT : return "ASTC_4x4x4"; |
| 811 | case Format::eAstc5x4x4UnormBlockEXT : return "ASTC_5x4x4"; |
| 812 | case Format::eAstc5x4x4SrgbBlockEXT : return "ASTC_5x4x4"; |
| 813 | case Format::eAstc5x4x4SfloatBlockEXT : return "ASTC_5x4x4"; |
| 814 | case Format::eAstc5x5x4UnormBlockEXT : return "ASTC_5x5x4"; |
| 815 | case Format::eAstc5x5x4SrgbBlockEXT : return "ASTC_5x5x4"; |
| 816 | case Format::eAstc5x5x4SfloatBlockEXT : return "ASTC_5x5x4"; |
| 817 | case Format::eAstc5x5x5UnormBlockEXT : return "ASTC_5x5x5"; |
| 818 | case Format::eAstc5x5x5SrgbBlockEXT : return "ASTC_5x5x5"; |
| 819 | case Format::eAstc5x5x5SfloatBlockEXT : return "ASTC_5x5x5"; |
| 820 | case Format::eAstc6x5x5UnormBlockEXT : return "ASTC_6x5x5"; |
| 821 | case Format::eAstc6x5x5SrgbBlockEXT : return "ASTC_6x5x5"; |
| 822 | case Format::eAstc6x5x5SfloatBlockEXT : return "ASTC_6x5x5"; |
| 823 | case Format::eAstc6x6x5UnormBlockEXT : return "ASTC_6x6x5"; |
| 824 | case Format::eAstc6x6x5SrgbBlockEXT : return "ASTC_6x6x5"; |
| 825 | case Format::eAstc6x6x5SfloatBlockEXT : return "ASTC_6x6x5"; |
| 826 | case Format::eAstc6x6x6UnormBlockEXT : return "ASTC_6x6x6"; |
| 827 | case Format::eAstc6x6x6SrgbBlockEXT : return "ASTC_6x6x6"; |
| 828 | case Format::eAstc6x6x6SfloatBlockEXT : return "ASTC_6x6x6"; |
| 829 | case Format::eR8BoolARM : return "8-bit"; |
| 830 | case Format::eR16SfloatFpencodingBfloat16ARM : return "16-bit"; |
| 831 | case Format::eR8SfloatFpencodingFloat8E4M3ARM : return "8-bit"; |
| 832 | case Format::eR8SfloatFpencodingFloat8E5M2ARM : return "8-bit"; |
| 833 | case Format::eR16G16Sfixed5NV : return "32-bit"; |
| 834 | case Format::eR10X6UintPack16ARM : return "16-bit"; |
| 835 | case Format::eR10X6G10X6Uint2Pack16ARM : return "32-bit"; |
| 836 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM : return "64-bit R10G10B10A10"; |
| 837 | case Format::eR12X4UintPack16ARM : return "16-bit"; |
| 838 | case Format::eR12X4G12X4Uint2Pack16ARM : return "32-bit"; |
| 839 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM : return "64-bit R12G12B12A12"; |
| 840 | case Format::eR14X2UintPack16ARM : return "16-bit"; |
| 841 | case Format::eR14X2G14X2Uint2Pack16ARM : return "32-bit"; |
| 842 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM : return "64-bit R14G14B14A14"; |
| 843 | case Format::eR14X2UnormPack16ARM : return "16-bit"; |
| 844 | case Format::eR14X2G14X2Unorm2Pack16ARM : return "32-bit"; |
| 845 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM : return "64-bit R14G14B14A14"; |
| 846 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return "14-bit 2-plane 420"; |
| 847 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return "14-bit 2-plane 422"; |
| 848 | |
| 849 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 850 | } |
| 851 | } |
| 852 | |
| 853 | // The number of bits in this component, if not compressed, otherwise 0. |
| 854 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentBits( Format format, uint8_t component ) |
| 855 | { |
| 856 | switch ( format ) |
| 857 | { |
| 858 | case Format::eR4G4UnormPack8: |
| 859 | switch ( component ) |
| 860 | { |
| 861 | case 0 : return 4; |
| 862 | case 1 : return 4; |
| 863 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 864 | } |
| 865 | case Format::eR4G4B4A4UnormPack16: |
| 866 | switch ( component ) |
| 867 | { |
| 868 | case 0 : return 4; |
| 869 | case 1 : return 4; |
| 870 | case 2 : return 4; |
| 871 | case 3 : return 4; |
| 872 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 873 | } |
| 874 | case Format::eB4G4R4A4UnormPack16: |
| 875 | switch ( component ) |
| 876 | { |
| 877 | case 0 : return 4; |
| 878 | case 1 : return 4; |
| 879 | case 2 : return 4; |
| 880 | case 3 : return 4; |
| 881 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 882 | } |
| 883 | case Format::eR5G6B5UnormPack16: |
| 884 | switch ( component ) |
| 885 | { |
| 886 | case 0 : return 5; |
| 887 | case 1 : return 6; |
| 888 | case 2 : return 5; |
| 889 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 890 | } |
| 891 | case Format::eB5G6R5UnormPack16: |
| 892 | switch ( component ) |
| 893 | { |
| 894 | case 0 : return 5; |
| 895 | case 1 : return 6; |
| 896 | case 2 : return 5; |
| 897 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 898 | } |
| 899 | case Format::eR5G5B5A1UnormPack16: |
| 900 | switch ( component ) |
| 901 | { |
| 902 | case 0 : return 5; |
| 903 | case 1 : return 5; |
| 904 | case 2 : return 5; |
| 905 | case 3 : return 1; |
| 906 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 907 | } |
| 908 | case Format::eB5G5R5A1UnormPack16: |
| 909 | switch ( component ) |
| 910 | { |
| 911 | case 0 : return 5; |
| 912 | case 1 : return 5; |
| 913 | case 2 : return 5; |
| 914 | case 3 : return 1; |
| 915 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 916 | } |
| 917 | case Format::eA1R5G5B5UnormPack16: |
| 918 | switch ( component ) |
| 919 | { |
| 920 | case 0 : return 1; |
| 921 | case 1 : return 5; |
| 922 | case 2 : return 5; |
| 923 | case 3 : return 5; |
| 924 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 925 | } |
| 926 | case Format::eR8Unorm: |
| 927 | switch ( component ) |
| 928 | { |
| 929 | case 0 : return 8; |
| 930 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 931 | } |
| 932 | case Format::eR8Snorm: |
| 933 | switch ( component ) |
| 934 | { |
| 935 | case 0 : return 8; |
| 936 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 937 | } |
| 938 | case Format::eR8Uscaled: |
| 939 | switch ( component ) |
| 940 | { |
| 941 | case 0 : return 8; |
| 942 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 943 | } |
| 944 | case Format::eR8Sscaled: |
| 945 | switch ( component ) |
| 946 | { |
| 947 | case 0 : return 8; |
| 948 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 949 | } |
| 950 | case Format::eR8Uint: |
| 951 | switch ( component ) |
| 952 | { |
| 953 | case 0 : return 8; |
| 954 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 955 | } |
| 956 | case Format::eR8Sint: |
| 957 | switch ( component ) |
| 958 | { |
| 959 | case 0 : return 8; |
| 960 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 961 | } |
| 962 | case Format::eR8Srgb: |
| 963 | switch ( component ) |
| 964 | { |
| 965 | case 0 : return 8; |
| 966 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 967 | } |
| 968 | case Format::eR8G8Unorm: |
| 969 | switch ( component ) |
| 970 | { |
| 971 | case 0 : return 8; |
| 972 | case 1 : return 8; |
| 973 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 974 | } |
| 975 | case Format::eR8G8Snorm: |
| 976 | switch ( component ) |
| 977 | { |
| 978 | case 0 : return 8; |
| 979 | case 1 : return 8; |
| 980 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 981 | } |
| 982 | case Format::eR8G8Uscaled: |
| 983 | switch ( component ) |
| 984 | { |
| 985 | case 0 : return 8; |
| 986 | case 1 : return 8; |
| 987 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 988 | } |
| 989 | case Format::eR8G8Sscaled: |
| 990 | switch ( component ) |
| 991 | { |
| 992 | case 0 : return 8; |
| 993 | case 1 : return 8; |
| 994 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 995 | } |
| 996 | case Format::eR8G8Uint: |
| 997 | switch ( component ) |
| 998 | { |
| 999 | case 0 : return 8; |
| 1000 | case 1 : return 8; |
| 1001 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1002 | } |
| 1003 | case Format::eR8G8Sint: |
| 1004 | switch ( component ) |
| 1005 | { |
| 1006 | case 0 : return 8; |
| 1007 | case 1 : return 8; |
| 1008 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1009 | } |
| 1010 | case Format::eR8G8Srgb: |
| 1011 | switch ( component ) |
| 1012 | { |
| 1013 | case 0 : return 8; |
| 1014 | case 1 : return 8; |
| 1015 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1016 | } |
| 1017 | case Format::eR8G8B8Unorm: |
| 1018 | switch ( component ) |
| 1019 | { |
| 1020 | case 0 : return 8; |
| 1021 | case 1 : return 8; |
| 1022 | case 2 : return 8; |
| 1023 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1024 | } |
| 1025 | case Format::eR8G8B8Snorm: |
| 1026 | switch ( component ) |
| 1027 | { |
| 1028 | case 0 : return 8; |
| 1029 | case 1 : return 8; |
| 1030 | case 2 : return 8; |
| 1031 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1032 | } |
| 1033 | case Format::eR8G8B8Uscaled: |
| 1034 | switch ( component ) |
| 1035 | { |
| 1036 | case 0 : return 8; |
| 1037 | case 1 : return 8; |
| 1038 | case 2 : return 8; |
| 1039 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1040 | } |
| 1041 | case Format::eR8G8B8Sscaled: |
| 1042 | switch ( component ) |
| 1043 | { |
| 1044 | case 0 : return 8; |
| 1045 | case 1 : return 8; |
| 1046 | case 2 : return 8; |
| 1047 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1048 | } |
| 1049 | case Format::eR8G8B8Uint: |
| 1050 | switch ( component ) |
| 1051 | { |
| 1052 | case 0 : return 8; |
| 1053 | case 1 : return 8; |
| 1054 | case 2 : return 8; |
| 1055 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1056 | } |
| 1057 | case Format::eR8G8B8Sint: |
| 1058 | switch ( component ) |
| 1059 | { |
| 1060 | case 0 : return 8; |
| 1061 | case 1 : return 8; |
| 1062 | case 2 : return 8; |
| 1063 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1064 | } |
| 1065 | case Format::eR8G8B8Srgb: |
| 1066 | switch ( component ) |
| 1067 | { |
| 1068 | case 0 : return 8; |
| 1069 | case 1 : return 8; |
| 1070 | case 2 : return 8; |
| 1071 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1072 | } |
| 1073 | case Format::eB8G8R8Unorm: |
| 1074 | switch ( component ) |
| 1075 | { |
| 1076 | case 0 : return 8; |
| 1077 | case 1 : return 8; |
| 1078 | case 2 : return 8; |
| 1079 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1080 | } |
| 1081 | case Format::eB8G8R8Snorm: |
| 1082 | switch ( component ) |
| 1083 | { |
| 1084 | case 0 : return 8; |
| 1085 | case 1 : return 8; |
| 1086 | case 2 : return 8; |
| 1087 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1088 | } |
| 1089 | case Format::eB8G8R8Uscaled: |
| 1090 | switch ( component ) |
| 1091 | { |
| 1092 | case 0 : return 8; |
| 1093 | case 1 : return 8; |
| 1094 | case 2 : return 8; |
| 1095 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1096 | } |
| 1097 | case Format::eB8G8R8Sscaled: |
| 1098 | switch ( component ) |
| 1099 | { |
| 1100 | case 0 : return 8; |
| 1101 | case 1 : return 8; |
| 1102 | case 2 : return 8; |
| 1103 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1104 | } |
| 1105 | case Format::eB8G8R8Uint: |
| 1106 | switch ( component ) |
| 1107 | { |
| 1108 | case 0 : return 8; |
| 1109 | case 1 : return 8; |
| 1110 | case 2 : return 8; |
| 1111 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1112 | } |
| 1113 | case Format::eB8G8R8Sint: |
| 1114 | switch ( component ) |
| 1115 | { |
| 1116 | case 0 : return 8; |
| 1117 | case 1 : return 8; |
| 1118 | case 2 : return 8; |
| 1119 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1120 | } |
| 1121 | case Format::eB8G8R8Srgb: |
| 1122 | switch ( component ) |
| 1123 | { |
| 1124 | case 0 : return 8; |
| 1125 | case 1 : return 8; |
| 1126 | case 2 : return 8; |
| 1127 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1128 | } |
| 1129 | case Format::eR8G8B8A8Unorm: |
| 1130 | switch ( component ) |
| 1131 | { |
| 1132 | case 0 : return 8; |
| 1133 | case 1 : return 8; |
| 1134 | case 2 : return 8; |
| 1135 | case 3 : return 8; |
| 1136 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1137 | } |
| 1138 | case Format::eR8G8B8A8Snorm: |
| 1139 | switch ( component ) |
| 1140 | { |
| 1141 | case 0 : return 8; |
| 1142 | case 1 : return 8; |
| 1143 | case 2 : return 8; |
| 1144 | case 3 : return 8; |
| 1145 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1146 | } |
| 1147 | case Format::eR8G8B8A8Uscaled: |
| 1148 | switch ( component ) |
| 1149 | { |
| 1150 | case 0 : return 8; |
| 1151 | case 1 : return 8; |
| 1152 | case 2 : return 8; |
| 1153 | case 3 : return 8; |
| 1154 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1155 | } |
| 1156 | case Format::eR8G8B8A8Sscaled: |
| 1157 | switch ( component ) |
| 1158 | { |
| 1159 | case 0 : return 8; |
| 1160 | case 1 : return 8; |
| 1161 | case 2 : return 8; |
| 1162 | case 3 : return 8; |
| 1163 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1164 | } |
| 1165 | case Format::eR8G8B8A8Uint: |
| 1166 | switch ( component ) |
| 1167 | { |
| 1168 | case 0 : return 8; |
| 1169 | case 1 : return 8; |
| 1170 | case 2 : return 8; |
| 1171 | case 3 : return 8; |
| 1172 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1173 | } |
| 1174 | case Format::eR8G8B8A8Sint: |
| 1175 | switch ( component ) |
| 1176 | { |
| 1177 | case 0 : return 8; |
| 1178 | case 1 : return 8; |
| 1179 | case 2 : return 8; |
| 1180 | case 3 : return 8; |
| 1181 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1182 | } |
| 1183 | case Format::eR8G8B8A8Srgb: |
| 1184 | switch ( component ) |
| 1185 | { |
| 1186 | case 0 : return 8; |
| 1187 | case 1 : return 8; |
| 1188 | case 2 : return 8; |
| 1189 | case 3 : return 8; |
| 1190 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1191 | } |
| 1192 | case Format::eB8G8R8A8Unorm: |
| 1193 | switch ( component ) |
| 1194 | { |
| 1195 | case 0 : return 8; |
| 1196 | case 1 : return 8; |
| 1197 | case 2 : return 8; |
| 1198 | case 3 : return 8; |
| 1199 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1200 | } |
| 1201 | case Format::eB8G8R8A8Snorm: |
| 1202 | switch ( component ) |
| 1203 | { |
| 1204 | case 0 : return 8; |
| 1205 | case 1 : return 8; |
| 1206 | case 2 : return 8; |
| 1207 | case 3 : return 8; |
| 1208 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1209 | } |
| 1210 | case Format::eB8G8R8A8Uscaled: |
| 1211 | switch ( component ) |
| 1212 | { |
| 1213 | case 0 : return 8; |
| 1214 | case 1 : return 8; |
| 1215 | case 2 : return 8; |
| 1216 | case 3 : return 8; |
| 1217 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1218 | } |
| 1219 | case Format::eB8G8R8A8Sscaled: |
| 1220 | switch ( component ) |
| 1221 | { |
| 1222 | case 0 : return 8; |
| 1223 | case 1 : return 8; |
| 1224 | case 2 : return 8; |
| 1225 | case 3 : return 8; |
| 1226 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1227 | } |
| 1228 | case Format::eB8G8R8A8Uint: |
| 1229 | switch ( component ) |
| 1230 | { |
| 1231 | case 0 : return 8; |
| 1232 | case 1 : return 8; |
| 1233 | case 2 : return 8; |
| 1234 | case 3 : return 8; |
| 1235 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1236 | } |
| 1237 | case Format::eB8G8R8A8Sint: |
| 1238 | switch ( component ) |
| 1239 | { |
| 1240 | case 0 : return 8; |
| 1241 | case 1 : return 8; |
| 1242 | case 2 : return 8; |
| 1243 | case 3 : return 8; |
| 1244 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1245 | } |
| 1246 | case Format::eB8G8R8A8Srgb: |
| 1247 | switch ( component ) |
| 1248 | { |
| 1249 | case 0 : return 8; |
| 1250 | case 1 : return 8; |
| 1251 | case 2 : return 8; |
| 1252 | case 3 : return 8; |
| 1253 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1254 | } |
| 1255 | case Format::eA8B8G8R8UnormPack32: |
| 1256 | switch ( component ) |
| 1257 | { |
| 1258 | case 0 : return 8; |
| 1259 | case 1 : return 8; |
| 1260 | case 2 : return 8; |
| 1261 | case 3 : return 8; |
| 1262 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1263 | } |
| 1264 | case Format::eA8B8G8R8SnormPack32: |
| 1265 | switch ( component ) |
| 1266 | { |
| 1267 | case 0 : return 8; |
| 1268 | case 1 : return 8; |
| 1269 | case 2 : return 8; |
| 1270 | case 3 : return 8; |
| 1271 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1272 | } |
| 1273 | case Format::eA8B8G8R8UscaledPack32: |
| 1274 | switch ( component ) |
| 1275 | { |
| 1276 | case 0 : return 8; |
| 1277 | case 1 : return 8; |
| 1278 | case 2 : return 8; |
| 1279 | case 3 : return 8; |
| 1280 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1281 | } |
| 1282 | case Format::eA8B8G8R8SscaledPack32: |
| 1283 | switch ( component ) |
| 1284 | { |
| 1285 | case 0 : return 8; |
| 1286 | case 1 : return 8; |
| 1287 | case 2 : return 8; |
| 1288 | case 3 : return 8; |
| 1289 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1290 | } |
| 1291 | case Format::eA8B8G8R8UintPack32: |
| 1292 | switch ( component ) |
| 1293 | { |
| 1294 | case 0 : return 8; |
| 1295 | case 1 : return 8; |
| 1296 | case 2 : return 8; |
| 1297 | case 3 : return 8; |
| 1298 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1299 | } |
| 1300 | case Format::eA8B8G8R8SintPack32: |
| 1301 | switch ( component ) |
| 1302 | { |
| 1303 | case 0 : return 8; |
| 1304 | case 1 : return 8; |
| 1305 | case 2 : return 8; |
| 1306 | case 3 : return 8; |
| 1307 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1308 | } |
| 1309 | case Format::eA8B8G8R8SrgbPack32: |
| 1310 | switch ( component ) |
| 1311 | { |
| 1312 | case 0 : return 8; |
| 1313 | case 1 : return 8; |
| 1314 | case 2 : return 8; |
| 1315 | case 3 : return 8; |
| 1316 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1317 | } |
| 1318 | case Format::eA2R10G10B10UnormPack32: |
| 1319 | switch ( component ) |
| 1320 | { |
| 1321 | case 0 : return 2; |
| 1322 | case 1 : return 10; |
| 1323 | case 2 : return 10; |
| 1324 | case 3 : return 10; |
| 1325 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1326 | } |
| 1327 | case Format::eA2R10G10B10SnormPack32: |
| 1328 | switch ( component ) |
| 1329 | { |
| 1330 | case 0 : return 2; |
| 1331 | case 1 : return 10; |
| 1332 | case 2 : return 10; |
| 1333 | case 3 : return 10; |
| 1334 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1335 | } |
| 1336 | case Format::eA2R10G10B10UscaledPack32: |
| 1337 | switch ( component ) |
| 1338 | { |
| 1339 | case 0 : return 2; |
| 1340 | case 1 : return 10; |
| 1341 | case 2 : return 10; |
| 1342 | case 3 : return 10; |
| 1343 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1344 | } |
| 1345 | case Format::eA2R10G10B10SscaledPack32: |
| 1346 | switch ( component ) |
| 1347 | { |
| 1348 | case 0 : return 2; |
| 1349 | case 1 : return 10; |
| 1350 | case 2 : return 10; |
| 1351 | case 3 : return 10; |
| 1352 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1353 | } |
| 1354 | case Format::eA2R10G10B10UintPack32: |
| 1355 | switch ( component ) |
| 1356 | { |
| 1357 | case 0 : return 2; |
| 1358 | case 1 : return 10; |
| 1359 | case 2 : return 10; |
| 1360 | case 3 : return 10; |
| 1361 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1362 | } |
| 1363 | case Format::eA2R10G10B10SintPack32: |
| 1364 | switch ( component ) |
| 1365 | { |
| 1366 | case 0 : return 2; |
| 1367 | case 1 : return 10; |
| 1368 | case 2 : return 10; |
| 1369 | case 3 : return 10; |
| 1370 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1371 | } |
| 1372 | case Format::eA2B10G10R10UnormPack32: |
| 1373 | switch ( component ) |
| 1374 | { |
| 1375 | case 0 : return 2; |
| 1376 | case 1 : return 10; |
| 1377 | case 2 : return 10; |
| 1378 | case 3 : return 10; |
| 1379 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1380 | } |
| 1381 | case Format::eA2B10G10R10SnormPack32: |
| 1382 | switch ( component ) |
| 1383 | { |
| 1384 | case 0 : return 2; |
| 1385 | case 1 : return 10; |
| 1386 | case 2 : return 10; |
| 1387 | case 3 : return 10; |
| 1388 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1389 | } |
| 1390 | case Format::eA2B10G10R10UscaledPack32: |
| 1391 | switch ( component ) |
| 1392 | { |
| 1393 | case 0 : return 2; |
| 1394 | case 1 : return 10; |
| 1395 | case 2 : return 10; |
| 1396 | case 3 : return 10; |
| 1397 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1398 | } |
| 1399 | case Format::eA2B10G10R10SscaledPack32: |
| 1400 | switch ( component ) |
| 1401 | { |
| 1402 | case 0 : return 2; |
| 1403 | case 1 : return 10; |
| 1404 | case 2 : return 10; |
| 1405 | case 3 : return 10; |
| 1406 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1407 | } |
| 1408 | case Format::eA2B10G10R10UintPack32: |
| 1409 | switch ( component ) |
| 1410 | { |
| 1411 | case 0 : return 2; |
| 1412 | case 1 : return 10; |
| 1413 | case 2 : return 10; |
| 1414 | case 3 : return 10; |
| 1415 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1416 | } |
| 1417 | case Format::eA2B10G10R10SintPack32: |
| 1418 | switch ( component ) |
| 1419 | { |
| 1420 | case 0 : return 2; |
| 1421 | case 1 : return 10; |
| 1422 | case 2 : return 10; |
| 1423 | case 3 : return 10; |
| 1424 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1425 | } |
| 1426 | case Format::eR16Unorm: |
| 1427 | switch ( component ) |
| 1428 | { |
| 1429 | case 0 : return 16; |
| 1430 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1431 | } |
| 1432 | case Format::eR16Snorm: |
| 1433 | switch ( component ) |
| 1434 | { |
| 1435 | case 0 : return 16; |
| 1436 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1437 | } |
| 1438 | case Format::eR16Uscaled: |
| 1439 | switch ( component ) |
| 1440 | { |
| 1441 | case 0 : return 16; |
| 1442 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1443 | } |
| 1444 | case Format::eR16Sscaled: |
| 1445 | switch ( component ) |
| 1446 | { |
| 1447 | case 0 : return 16; |
| 1448 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1449 | } |
| 1450 | case Format::eR16Uint: |
| 1451 | switch ( component ) |
| 1452 | { |
| 1453 | case 0 : return 16; |
| 1454 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1455 | } |
| 1456 | case Format::eR16Sint: |
| 1457 | switch ( component ) |
| 1458 | { |
| 1459 | case 0 : return 16; |
| 1460 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1461 | } |
| 1462 | case Format::eR16Sfloat: |
| 1463 | switch ( component ) |
| 1464 | { |
| 1465 | case 0 : return 16; |
| 1466 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1467 | } |
| 1468 | case Format::eR16G16Unorm: |
| 1469 | switch ( component ) |
| 1470 | { |
| 1471 | case 0 : return 16; |
| 1472 | case 1 : return 16; |
| 1473 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1474 | } |
| 1475 | case Format::eR16G16Snorm: |
| 1476 | switch ( component ) |
| 1477 | { |
| 1478 | case 0 : return 16; |
| 1479 | case 1 : return 16; |
| 1480 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1481 | } |
| 1482 | case Format::eR16G16Uscaled: |
| 1483 | switch ( component ) |
| 1484 | { |
| 1485 | case 0 : return 16; |
| 1486 | case 1 : return 16; |
| 1487 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1488 | } |
| 1489 | case Format::eR16G16Sscaled: |
| 1490 | switch ( component ) |
| 1491 | { |
| 1492 | case 0 : return 16; |
| 1493 | case 1 : return 16; |
| 1494 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1495 | } |
| 1496 | case Format::eR16G16Uint: |
| 1497 | switch ( component ) |
| 1498 | { |
| 1499 | case 0 : return 16; |
| 1500 | case 1 : return 16; |
| 1501 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1502 | } |
| 1503 | case Format::eR16G16Sint: |
| 1504 | switch ( component ) |
| 1505 | { |
| 1506 | case 0 : return 16; |
| 1507 | case 1 : return 16; |
| 1508 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1509 | } |
| 1510 | case Format::eR16G16Sfloat: |
| 1511 | switch ( component ) |
| 1512 | { |
| 1513 | case 0 : return 16; |
| 1514 | case 1 : return 16; |
| 1515 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1516 | } |
| 1517 | case Format::eR16G16B16Unorm: |
| 1518 | switch ( component ) |
| 1519 | { |
| 1520 | case 0 : return 16; |
| 1521 | case 1 : return 16; |
| 1522 | case 2 : return 16; |
| 1523 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1524 | } |
| 1525 | case Format::eR16G16B16Snorm: |
| 1526 | switch ( component ) |
| 1527 | { |
| 1528 | case 0 : return 16; |
| 1529 | case 1 : return 16; |
| 1530 | case 2 : return 16; |
| 1531 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1532 | } |
| 1533 | case Format::eR16G16B16Uscaled: |
| 1534 | switch ( component ) |
| 1535 | { |
| 1536 | case 0 : return 16; |
| 1537 | case 1 : return 16; |
| 1538 | case 2 : return 16; |
| 1539 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1540 | } |
| 1541 | case Format::eR16G16B16Sscaled: |
| 1542 | switch ( component ) |
| 1543 | { |
| 1544 | case 0 : return 16; |
| 1545 | case 1 : return 16; |
| 1546 | case 2 : return 16; |
| 1547 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1548 | } |
| 1549 | case Format::eR16G16B16Uint: |
| 1550 | switch ( component ) |
| 1551 | { |
| 1552 | case 0 : return 16; |
| 1553 | case 1 : return 16; |
| 1554 | case 2 : return 16; |
| 1555 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1556 | } |
| 1557 | case Format::eR16G16B16Sint: |
| 1558 | switch ( component ) |
| 1559 | { |
| 1560 | case 0 : return 16; |
| 1561 | case 1 : return 16; |
| 1562 | case 2 : return 16; |
| 1563 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1564 | } |
| 1565 | case Format::eR16G16B16Sfloat: |
| 1566 | switch ( component ) |
| 1567 | { |
| 1568 | case 0 : return 16; |
| 1569 | case 1 : return 16; |
| 1570 | case 2 : return 16; |
| 1571 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1572 | } |
| 1573 | case Format::eR16G16B16A16Unorm: |
| 1574 | switch ( component ) |
| 1575 | { |
| 1576 | case 0 : return 16; |
| 1577 | case 1 : return 16; |
| 1578 | case 2 : return 16; |
| 1579 | case 3 : return 16; |
| 1580 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1581 | } |
| 1582 | case Format::eR16G16B16A16Snorm: |
| 1583 | switch ( component ) |
| 1584 | { |
| 1585 | case 0 : return 16; |
| 1586 | case 1 : return 16; |
| 1587 | case 2 : return 16; |
| 1588 | case 3 : return 16; |
| 1589 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1590 | } |
| 1591 | case Format::eR16G16B16A16Uscaled: |
| 1592 | switch ( component ) |
| 1593 | { |
| 1594 | case 0 : return 16; |
| 1595 | case 1 : return 16; |
| 1596 | case 2 : return 16; |
| 1597 | case 3 : return 16; |
| 1598 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1599 | } |
| 1600 | case Format::eR16G16B16A16Sscaled: |
| 1601 | switch ( component ) |
| 1602 | { |
| 1603 | case 0 : return 16; |
| 1604 | case 1 : return 16; |
| 1605 | case 2 : return 16; |
| 1606 | case 3 : return 16; |
| 1607 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1608 | } |
| 1609 | case Format::eR16G16B16A16Uint: |
| 1610 | switch ( component ) |
| 1611 | { |
| 1612 | case 0 : return 16; |
| 1613 | case 1 : return 16; |
| 1614 | case 2 : return 16; |
| 1615 | case 3 : return 16; |
| 1616 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1617 | } |
| 1618 | case Format::eR16G16B16A16Sint: |
| 1619 | switch ( component ) |
| 1620 | { |
| 1621 | case 0 : return 16; |
| 1622 | case 1 : return 16; |
| 1623 | case 2 : return 16; |
| 1624 | case 3 : return 16; |
| 1625 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1626 | } |
| 1627 | case Format::eR16G16B16A16Sfloat: |
| 1628 | switch ( component ) |
| 1629 | { |
| 1630 | case 0 : return 16; |
| 1631 | case 1 : return 16; |
| 1632 | case 2 : return 16; |
| 1633 | case 3 : return 16; |
| 1634 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1635 | } |
| 1636 | case Format::eR32Uint: |
| 1637 | switch ( component ) |
| 1638 | { |
| 1639 | case 0 : return 32; |
| 1640 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1641 | } |
| 1642 | case Format::eR32Sint: |
| 1643 | switch ( component ) |
| 1644 | { |
| 1645 | case 0 : return 32; |
| 1646 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1647 | } |
| 1648 | case Format::eR32Sfloat: |
| 1649 | switch ( component ) |
| 1650 | { |
| 1651 | case 0 : return 32; |
| 1652 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1653 | } |
| 1654 | case Format::eR32G32Uint: |
| 1655 | switch ( component ) |
| 1656 | { |
| 1657 | case 0 : return 32; |
| 1658 | case 1 : return 32; |
| 1659 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1660 | } |
| 1661 | case Format::eR32G32Sint: |
| 1662 | switch ( component ) |
| 1663 | { |
| 1664 | case 0 : return 32; |
| 1665 | case 1 : return 32; |
| 1666 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1667 | } |
| 1668 | case Format::eR32G32Sfloat: |
| 1669 | switch ( component ) |
| 1670 | { |
| 1671 | case 0 : return 32; |
| 1672 | case 1 : return 32; |
| 1673 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1674 | } |
| 1675 | case Format::eR32G32B32Uint: |
| 1676 | switch ( component ) |
| 1677 | { |
| 1678 | case 0 : return 32; |
| 1679 | case 1 : return 32; |
| 1680 | case 2 : return 32; |
| 1681 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1682 | } |
| 1683 | case Format::eR32G32B32Sint: |
| 1684 | switch ( component ) |
| 1685 | { |
| 1686 | case 0 : return 32; |
| 1687 | case 1 : return 32; |
| 1688 | case 2 : return 32; |
| 1689 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1690 | } |
| 1691 | case Format::eR32G32B32Sfloat: |
| 1692 | switch ( component ) |
| 1693 | { |
| 1694 | case 0 : return 32; |
| 1695 | case 1 : return 32; |
| 1696 | case 2 : return 32; |
| 1697 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1698 | } |
| 1699 | case Format::eR32G32B32A32Uint: |
| 1700 | switch ( component ) |
| 1701 | { |
| 1702 | case 0 : return 32; |
| 1703 | case 1 : return 32; |
| 1704 | case 2 : return 32; |
| 1705 | case 3 : return 32; |
| 1706 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1707 | } |
| 1708 | case Format::eR32G32B32A32Sint: |
| 1709 | switch ( component ) |
| 1710 | { |
| 1711 | case 0 : return 32; |
| 1712 | case 1 : return 32; |
| 1713 | case 2 : return 32; |
| 1714 | case 3 : return 32; |
| 1715 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1716 | } |
| 1717 | case Format::eR32G32B32A32Sfloat: |
| 1718 | switch ( component ) |
| 1719 | { |
| 1720 | case 0 : return 32; |
| 1721 | case 1 : return 32; |
| 1722 | case 2 : return 32; |
| 1723 | case 3 : return 32; |
| 1724 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1725 | } |
| 1726 | case Format::eR64Uint: |
| 1727 | switch ( component ) |
| 1728 | { |
| 1729 | case 0 : return 64; |
| 1730 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1731 | } |
| 1732 | case Format::eR64Sint: |
| 1733 | switch ( component ) |
| 1734 | { |
| 1735 | case 0 : return 64; |
| 1736 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1737 | } |
| 1738 | case Format::eR64Sfloat: |
| 1739 | switch ( component ) |
| 1740 | { |
| 1741 | case 0 : return 64; |
| 1742 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1743 | } |
| 1744 | case Format::eR64G64Uint: |
| 1745 | switch ( component ) |
| 1746 | { |
| 1747 | case 0 : return 64; |
| 1748 | case 1 : return 64; |
| 1749 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1750 | } |
| 1751 | case Format::eR64G64Sint: |
| 1752 | switch ( component ) |
| 1753 | { |
| 1754 | case 0 : return 64; |
| 1755 | case 1 : return 64; |
| 1756 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1757 | } |
| 1758 | case Format::eR64G64Sfloat: |
| 1759 | switch ( component ) |
| 1760 | { |
| 1761 | case 0 : return 64; |
| 1762 | case 1 : return 64; |
| 1763 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1764 | } |
| 1765 | case Format::eR64G64B64Uint: |
| 1766 | switch ( component ) |
| 1767 | { |
| 1768 | case 0 : return 64; |
| 1769 | case 1 : return 64; |
| 1770 | case 2 : return 64; |
| 1771 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1772 | } |
| 1773 | case Format::eR64G64B64Sint: |
| 1774 | switch ( component ) |
| 1775 | { |
| 1776 | case 0 : return 64; |
| 1777 | case 1 : return 64; |
| 1778 | case 2 : return 64; |
| 1779 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1780 | } |
| 1781 | case Format::eR64G64B64Sfloat: |
| 1782 | switch ( component ) |
| 1783 | { |
| 1784 | case 0 : return 64; |
| 1785 | case 1 : return 64; |
| 1786 | case 2 : return 64; |
| 1787 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1788 | } |
| 1789 | case Format::eR64G64B64A64Uint: |
| 1790 | switch ( component ) |
| 1791 | { |
| 1792 | case 0 : return 64; |
| 1793 | case 1 : return 64; |
| 1794 | case 2 : return 64; |
| 1795 | case 3 : return 64; |
| 1796 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1797 | } |
| 1798 | case Format::eR64G64B64A64Sint: |
| 1799 | switch ( component ) |
| 1800 | { |
| 1801 | case 0 : return 64; |
| 1802 | case 1 : return 64; |
| 1803 | case 2 : return 64; |
| 1804 | case 3 : return 64; |
| 1805 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1806 | } |
| 1807 | case Format::eR64G64B64A64Sfloat: |
| 1808 | switch ( component ) |
| 1809 | { |
| 1810 | case 0 : return 64; |
| 1811 | case 1 : return 64; |
| 1812 | case 2 : return 64; |
| 1813 | case 3 : return 64; |
| 1814 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1815 | } |
| 1816 | case Format::eB10G11R11UfloatPack32: |
| 1817 | switch ( component ) |
| 1818 | { |
| 1819 | case 0 : return 10; |
| 1820 | case 1 : return 11; |
| 1821 | case 2 : return 11; |
| 1822 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1823 | } |
| 1824 | case Format::eE5B9G9R9UfloatPack32: |
| 1825 | switch ( component ) |
| 1826 | { |
| 1827 | case 0 : return 9; |
| 1828 | case 1 : return 9; |
| 1829 | case 2 : return 9; |
| 1830 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1831 | } |
| 1832 | case Format::eD16Unorm: |
| 1833 | switch ( component ) |
| 1834 | { |
| 1835 | case 0 : return 16; |
| 1836 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1837 | } |
| 1838 | case Format::eX8D24UnormPack32: |
| 1839 | switch ( component ) |
| 1840 | { |
| 1841 | case 0 : return 24; |
| 1842 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1843 | } |
| 1844 | case Format::eD32Sfloat: |
| 1845 | switch ( component ) |
| 1846 | { |
| 1847 | case 0 : return 32; |
| 1848 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1849 | } |
| 1850 | case Format::eS8Uint: |
| 1851 | switch ( component ) |
| 1852 | { |
| 1853 | case 0 : return 8; |
| 1854 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1855 | } |
| 1856 | case Format::eD16UnormS8Uint: |
| 1857 | switch ( component ) |
| 1858 | { |
| 1859 | case 0 : return 16; |
| 1860 | case 1 : return 8; |
| 1861 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1862 | } |
| 1863 | case Format::eD24UnormS8Uint: |
| 1864 | switch ( component ) |
| 1865 | { |
| 1866 | case 0 : return 24; |
| 1867 | case 1 : return 8; |
| 1868 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1869 | } |
| 1870 | case Format::eD32SfloatS8Uint: |
| 1871 | switch ( component ) |
| 1872 | { |
| 1873 | case 0 : return 32; |
| 1874 | case 1 : return 8; |
| 1875 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1876 | } |
| 1877 | case Format::eEacR11UnormBlock: |
| 1878 | switch ( component ) |
| 1879 | { |
| 1880 | case 0 : return 11; |
| 1881 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1882 | } |
| 1883 | case Format::eEacR11SnormBlock: |
| 1884 | switch ( component ) |
| 1885 | { |
| 1886 | case 0 : return 11; |
| 1887 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1888 | } |
| 1889 | case Format::eEacR11G11UnormBlock: |
| 1890 | switch ( component ) |
| 1891 | { |
| 1892 | case 0 : return 11; |
| 1893 | case 1 : return 11; |
| 1894 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1895 | } |
| 1896 | case Format::eEacR11G11SnormBlock: |
| 1897 | switch ( component ) |
| 1898 | { |
| 1899 | case 0 : return 11; |
| 1900 | case 1 : return 11; |
| 1901 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1902 | } |
| 1903 | case Format::eG8B8G8R8422Unorm: |
| 1904 | switch ( component ) |
| 1905 | { |
| 1906 | case 0 : return 8; |
| 1907 | case 1 : return 8; |
| 1908 | case 2 : return 8; |
| 1909 | case 3 : return 8; |
| 1910 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1911 | } |
| 1912 | case Format::eB8G8R8G8422Unorm: |
| 1913 | switch ( component ) |
| 1914 | { |
| 1915 | case 0 : return 8; |
| 1916 | case 1 : return 8; |
| 1917 | case 2 : return 8; |
| 1918 | case 3 : return 8; |
| 1919 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1920 | } |
| 1921 | case Format::eG8B8R83Plane420Unorm: |
| 1922 | switch ( component ) |
| 1923 | { |
| 1924 | case 0 : return 8; |
| 1925 | case 1 : return 8; |
| 1926 | case 2 : return 8; |
| 1927 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1928 | } |
| 1929 | case Format::eG8B8R82Plane420Unorm: |
| 1930 | switch ( component ) |
| 1931 | { |
| 1932 | case 0 : return 8; |
| 1933 | case 1 : return 8; |
| 1934 | case 2 : return 8; |
| 1935 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1936 | } |
| 1937 | case Format::eG8B8R83Plane422Unorm: |
| 1938 | switch ( component ) |
| 1939 | { |
| 1940 | case 0 : return 8; |
| 1941 | case 1 : return 8; |
| 1942 | case 2 : return 8; |
| 1943 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1944 | } |
| 1945 | case Format::eG8B8R82Plane422Unorm: |
| 1946 | switch ( component ) |
| 1947 | { |
| 1948 | case 0 : return 8; |
| 1949 | case 1 : return 8; |
| 1950 | case 2 : return 8; |
| 1951 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1952 | } |
| 1953 | case Format::eG8B8R83Plane444Unorm: |
| 1954 | switch ( component ) |
| 1955 | { |
| 1956 | case 0 : return 8; |
| 1957 | case 1 : return 8; |
| 1958 | case 2 : return 8; |
| 1959 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1960 | } |
| 1961 | case Format::eR10X6UnormPack16: |
| 1962 | switch ( component ) |
| 1963 | { |
| 1964 | case 0 : return 10; |
| 1965 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1966 | } |
| 1967 | case Format::eR10X6G10X6Unorm2Pack16: |
| 1968 | switch ( component ) |
| 1969 | { |
| 1970 | case 0 : return 10; |
| 1971 | case 1 : return 10; |
| 1972 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1973 | } |
| 1974 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 1975 | switch ( component ) |
| 1976 | { |
| 1977 | case 0 : return 10; |
| 1978 | case 1 : return 10; |
| 1979 | case 2 : return 10; |
| 1980 | case 3 : return 10; |
| 1981 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1982 | } |
| 1983 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 1984 | switch ( component ) |
| 1985 | { |
| 1986 | case 0 : return 10; |
| 1987 | case 1 : return 10; |
| 1988 | case 2 : return 10; |
| 1989 | case 3 : return 10; |
| 1990 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 1991 | } |
| 1992 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 1993 | switch ( component ) |
| 1994 | { |
| 1995 | case 0 : return 10; |
| 1996 | case 1 : return 10; |
| 1997 | case 2 : return 10; |
| 1998 | case 3 : return 10; |
| 1999 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2000 | } |
| 2001 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 2002 | switch ( component ) |
| 2003 | { |
| 2004 | case 0 : return 10; |
| 2005 | case 1 : return 10; |
| 2006 | case 2 : return 10; |
| 2007 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2008 | } |
| 2009 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 2010 | switch ( component ) |
| 2011 | { |
| 2012 | case 0 : return 10; |
| 2013 | case 1 : return 10; |
| 2014 | case 2 : return 10; |
| 2015 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2016 | } |
| 2017 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 2018 | switch ( component ) |
| 2019 | { |
| 2020 | case 0 : return 10; |
| 2021 | case 1 : return 10; |
| 2022 | case 2 : return 10; |
| 2023 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2024 | } |
| 2025 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 2026 | switch ( component ) |
| 2027 | { |
| 2028 | case 0 : return 10; |
| 2029 | case 1 : return 10; |
| 2030 | case 2 : return 10; |
| 2031 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2032 | } |
| 2033 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 2034 | switch ( component ) |
| 2035 | { |
| 2036 | case 0 : return 10; |
| 2037 | case 1 : return 10; |
| 2038 | case 2 : return 10; |
| 2039 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2040 | } |
| 2041 | case Format::eR12X4UnormPack16: |
| 2042 | switch ( component ) |
| 2043 | { |
| 2044 | case 0 : return 12; |
| 2045 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2046 | } |
| 2047 | case Format::eR12X4G12X4Unorm2Pack16: |
| 2048 | switch ( component ) |
| 2049 | { |
| 2050 | case 0 : return 12; |
| 2051 | case 1 : return 12; |
| 2052 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2053 | } |
| 2054 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 2055 | switch ( component ) |
| 2056 | { |
| 2057 | case 0 : return 12; |
| 2058 | case 1 : return 12; |
| 2059 | case 2 : return 12; |
| 2060 | case 3 : return 12; |
| 2061 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2062 | } |
| 2063 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 2064 | switch ( component ) |
| 2065 | { |
| 2066 | case 0 : return 12; |
| 2067 | case 1 : return 12; |
| 2068 | case 2 : return 12; |
| 2069 | case 3 : return 12; |
| 2070 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2071 | } |
| 2072 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 2073 | switch ( component ) |
| 2074 | { |
| 2075 | case 0 : return 12; |
| 2076 | case 1 : return 12; |
| 2077 | case 2 : return 12; |
| 2078 | case 3 : return 12; |
| 2079 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2080 | } |
| 2081 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 2082 | switch ( component ) |
| 2083 | { |
| 2084 | case 0 : return 12; |
| 2085 | case 1 : return 12; |
| 2086 | case 2 : return 12; |
| 2087 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2088 | } |
| 2089 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 2090 | switch ( component ) |
| 2091 | { |
| 2092 | case 0 : return 12; |
| 2093 | case 1 : return 12; |
| 2094 | case 2 : return 12; |
| 2095 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2096 | } |
| 2097 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 2098 | switch ( component ) |
| 2099 | { |
| 2100 | case 0 : return 12; |
| 2101 | case 1 : return 12; |
| 2102 | case 2 : return 12; |
| 2103 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2104 | } |
| 2105 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 2106 | switch ( component ) |
| 2107 | { |
| 2108 | case 0 : return 12; |
| 2109 | case 1 : return 12; |
| 2110 | case 2 : return 12; |
| 2111 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2112 | } |
| 2113 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 2114 | switch ( component ) |
| 2115 | { |
| 2116 | case 0 : return 12; |
| 2117 | case 1 : return 12; |
| 2118 | case 2 : return 12; |
| 2119 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2120 | } |
| 2121 | case Format::eG16B16G16R16422Unorm: |
| 2122 | switch ( component ) |
| 2123 | { |
| 2124 | case 0 : return 16; |
| 2125 | case 1 : return 16; |
| 2126 | case 2 : return 16; |
| 2127 | case 3 : return 16; |
| 2128 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2129 | } |
| 2130 | case Format::eB16G16R16G16422Unorm: |
| 2131 | switch ( component ) |
| 2132 | { |
| 2133 | case 0 : return 16; |
| 2134 | case 1 : return 16; |
| 2135 | case 2 : return 16; |
| 2136 | case 3 : return 16; |
| 2137 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2138 | } |
| 2139 | case Format::eG16B16R163Plane420Unorm: |
| 2140 | switch ( component ) |
| 2141 | { |
| 2142 | case 0 : return 16; |
| 2143 | case 1 : return 16; |
| 2144 | case 2 : return 16; |
| 2145 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2146 | } |
| 2147 | case Format::eG16B16R162Plane420Unorm: |
| 2148 | switch ( component ) |
| 2149 | { |
| 2150 | case 0 : return 16; |
| 2151 | case 1 : return 16; |
| 2152 | case 2 : return 16; |
| 2153 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2154 | } |
| 2155 | case Format::eG16B16R163Plane422Unorm: |
| 2156 | switch ( component ) |
| 2157 | { |
| 2158 | case 0 : return 16; |
| 2159 | case 1 : return 16; |
| 2160 | case 2 : return 16; |
| 2161 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2162 | } |
| 2163 | case Format::eG16B16R162Plane422Unorm: |
| 2164 | switch ( component ) |
| 2165 | { |
| 2166 | case 0 : return 16; |
| 2167 | case 1 : return 16; |
| 2168 | case 2 : return 16; |
| 2169 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2170 | } |
| 2171 | case Format::eG16B16R163Plane444Unorm: |
| 2172 | switch ( component ) |
| 2173 | { |
| 2174 | case 0 : return 16; |
| 2175 | case 1 : return 16; |
| 2176 | case 2 : return 16; |
| 2177 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2178 | } |
| 2179 | case Format::eG8B8R82Plane444Unorm: |
| 2180 | switch ( component ) |
| 2181 | { |
| 2182 | case 0 : return 8; |
| 2183 | case 1 : return 8; |
| 2184 | case 2 : return 8; |
| 2185 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2186 | } |
| 2187 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 2188 | switch ( component ) |
| 2189 | { |
| 2190 | case 0 : return 10; |
| 2191 | case 1 : return 10; |
| 2192 | case 2 : return 10; |
| 2193 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2194 | } |
| 2195 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 2196 | switch ( component ) |
| 2197 | { |
| 2198 | case 0 : return 12; |
| 2199 | case 1 : return 12; |
| 2200 | case 2 : return 12; |
| 2201 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2202 | } |
| 2203 | case Format::eG16B16R162Plane444Unorm: |
| 2204 | switch ( component ) |
| 2205 | { |
| 2206 | case 0 : return 16; |
| 2207 | case 1 : return 16; |
| 2208 | case 2 : return 16; |
| 2209 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2210 | } |
| 2211 | case Format::eA4R4G4B4UnormPack16: |
| 2212 | switch ( component ) |
| 2213 | { |
| 2214 | case 0 : return 4; |
| 2215 | case 1 : return 4; |
| 2216 | case 2 : return 4; |
| 2217 | case 3 : return 4; |
| 2218 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2219 | } |
| 2220 | case Format::eA4B4G4R4UnormPack16: |
| 2221 | switch ( component ) |
| 2222 | { |
| 2223 | case 0 : return 4; |
| 2224 | case 1 : return 4; |
| 2225 | case 2 : return 4; |
| 2226 | case 3 : return 4; |
| 2227 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2228 | } |
| 2229 | case Format::eA1B5G5R5UnormPack16: |
| 2230 | switch ( component ) |
| 2231 | { |
| 2232 | case 0 : return 1; |
| 2233 | case 1 : return 5; |
| 2234 | case 2 : return 5; |
| 2235 | case 3 : return 5; |
| 2236 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2237 | } |
| 2238 | case Format::eA8Unorm: |
| 2239 | switch ( component ) |
| 2240 | { |
| 2241 | case 0 : return 8; |
| 2242 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2243 | } |
| 2244 | case Format::eR8BoolARM: |
| 2245 | switch ( component ) |
| 2246 | { |
| 2247 | case 0 : return 8; |
| 2248 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2249 | } |
| 2250 | case Format::eR16SfloatFpencodingBfloat16ARM: |
| 2251 | switch ( component ) |
| 2252 | { |
| 2253 | case 0 : return 16; |
| 2254 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2255 | } |
| 2256 | case Format::eR8SfloatFpencodingFloat8E4M3ARM: |
| 2257 | switch ( component ) |
| 2258 | { |
| 2259 | case 0 : return 8; |
| 2260 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2261 | } |
| 2262 | case Format::eR8SfloatFpencodingFloat8E5M2ARM: |
| 2263 | switch ( component ) |
| 2264 | { |
| 2265 | case 0 : return 8; |
| 2266 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2267 | } |
| 2268 | case Format::eR16G16Sfixed5NV: |
| 2269 | switch ( component ) |
| 2270 | { |
| 2271 | case 0 : return 16; |
| 2272 | case 1 : return 16; |
| 2273 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2274 | } |
| 2275 | case Format::eR10X6UintPack16ARM: |
| 2276 | switch ( component ) |
| 2277 | { |
| 2278 | case 0 : return 10; |
| 2279 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2280 | } |
| 2281 | case Format::eR10X6G10X6Uint2Pack16ARM: |
| 2282 | switch ( component ) |
| 2283 | { |
| 2284 | case 0 : return 10; |
| 2285 | case 1 : return 10; |
| 2286 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2287 | } |
| 2288 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 2289 | switch ( component ) |
| 2290 | { |
| 2291 | case 0 : return 10; |
| 2292 | case 1 : return 10; |
| 2293 | case 2 : return 10; |
| 2294 | case 3 : return 10; |
| 2295 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2296 | } |
| 2297 | case Format::eR12X4UintPack16ARM: |
| 2298 | switch ( component ) |
| 2299 | { |
| 2300 | case 0 : return 12; |
| 2301 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2302 | } |
| 2303 | case Format::eR12X4G12X4Uint2Pack16ARM: |
| 2304 | switch ( component ) |
| 2305 | { |
| 2306 | case 0 : return 12; |
| 2307 | case 1 : return 12; |
| 2308 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2309 | } |
| 2310 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 2311 | switch ( component ) |
| 2312 | { |
| 2313 | case 0 : return 12; |
| 2314 | case 1 : return 12; |
| 2315 | case 2 : return 12; |
| 2316 | case 3 : return 12; |
| 2317 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2318 | } |
| 2319 | case Format::eR14X2UintPack16ARM: |
| 2320 | switch ( component ) |
| 2321 | { |
| 2322 | case 0 : return 14; |
| 2323 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2324 | } |
| 2325 | case Format::eR14X2G14X2Uint2Pack16ARM: |
| 2326 | switch ( component ) |
| 2327 | { |
| 2328 | case 0 : return 14; |
| 2329 | case 1 : return 14; |
| 2330 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2331 | } |
| 2332 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 2333 | switch ( component ) |
| 2334 | { |
| 2335 | case 0 : return 14; |
| 2336 | case 1 : return 14; |
| 2337 | case 2 : return 14; |
| 2338 | case 3 : return 14; |
| 2339 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2340 | } |
| 2341 | case Format::eR14X2UnormPack16ARM: |
| 2342 | switch ( component ) |
| 2343 | { |
| 2344 | case 0 : return 14; |
| 2345 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2346 | } |
| 2347 | case Format::eR14X2G14X2Unorm2Pack16ARM: |
| 2348 | switch ( component ) |
| 2349 | { |
| 2350 | case 0 : return 14; |
| 2351 | case 1 : return 14; |
| 2352 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2353 | } |
| 2354 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 2355 | switch ( component ) |
| 2356 | { |
| 2357 | case 0 : return 14; |
| 2358 | case 1 : return 14; |
| 2359 | case 2 : return 14; |
| 2360 | case 3 : return 14; |
| 2361 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2362 | } |
| 2363 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 2364 | switch ( component ) |
| 2365 | { |
| 2366 | case 0 : return 14; |
| 2367 | case 1 : return 14; |
| 2368 | case 2 : return 14; |
| 2369 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2370 | } |
| 2371 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 2372 | switch ( component ) |
| 2373 | { |
| 2374 | case 0 : return 14; |
| 2375 | case 1 : return 14; |
| 2376 | case 2 : return 14; |
| 2377 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 2378 | } |
| 2379 | |
| 2380 | default: return 0; |
| 2381 | } |
| 2382 | } |
| 2383 | |
| 2384 | // The number of components of this format. |
| 2385 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentCount( Format format ) |
| 2386 | { |
| 2387 | switch ( format ) |
| 2388 | { |
| 2389 | case Format::eR4G4UnormPack8 : return 2; |
| 2390 | case Format::eR4G4B4A4UnormPack16 : return 4; |
| 2391 | case Format::eB4G4R4A4UnormPack16 : return 4; |
| 2392 | case Format::eR5G6B5UnormPack16 : return 3; |
| 2393 | case Format::eB5G6R5UnormPack16 : return 3; |
| 2394 | case Format::eR5G5B5A1UnormPack16 : return 4; |
| 2395 | case Format::eB5G5R5A1UnormPack16 : return 4; |
| 2396 | case Format::eA1R5G5B5UnormPack16 : return 4; |
| 2397 | case Format::eR8Unorm : return 1; |
| 2398 | case Format::eR8Snorm : return 1; |
| 2399 | case Format::eR8Uscaled : return 1; |
| 2400 | case Format::eR8Sscaled : return 1; |
| 2401 | case Format::eR8Uint : return 1; |
| 2402 | case Format::eR8Sint : return 1; |
| 2403 | case Format::eR8Srgb : return 1; |
| 2404 | case Format::eR8G8Unorm : return 2; |
| 2405 | case Format::eR8G8Snorm : return 2; |
| 2406 | case Format::eR8G8Uscaled : return 2; |
| 2407 | case Format::eR8G8Sscaled : return 2; |
| 2408 | case Format::eR8G8Uint : return 2; |
| 2409 | case Format::eR8G8Sint : return 2; |
| 2410 | case Format::eR8G8Srgb : return 2; |
| 2411 | case Format::eR8G8B8Unorm : return 3; |
| 2412 | case Format::eR8G8B8Snorm : return 3; |
| 2413 | case Format::eR8G8B8Uscaled : return 3; |
| 2414 | case Format::eR8G8B8Sscaled : return 3; |
| 2415 | case Format::eR8G8B8Uint : return 3; |
| 2416 | case Format::eR8G8B8Sint : return 3; |
| 2417 | case Format::eR8G8B8Srgb : return 3; |
| 2418 | case Format::eB8G8R8Unorm : return 3; |
| 2419 | case Format::eB8G8R8Snorm : return 3; |
| 2420 | case Format::eB8G8R8Uscaled : return 3; |
| 2421 | case Format::eB8G8R8Sscaled : return 3; |
| 2422 | case Format::eB8G8R8Uint : return 3; |
| 2423 | case Format::eB8G8R8Sint : return 3; |
| 2424 | case Format::eB8G8R8Srgb : return 3; |
| 2425 | case Format::eR8G8B8A8Unorm : return 4; |
| 2426 | case Format::eR8G8B8A8Snorm : return 4; |
| 2427 | case Format::eR8G8B8A8Uscaled : return 4; |
| 2428 | case Format::eR8G8B8A8Sscaled : return 4; |
| 2429 | case Format::eR8G8B8A8Uint : return 4; |
| 2430 | case Format::eR8G8B8A8Sint : return 4; |
| 2431 | case Format::eR8G8B8A8Srgb : return 4; |
| 2432 | case Format::eB8G8R8A8Unorm : return 4; |
| 2433 | case Format::eB8G8R8A8Snorm : return 4; |
| 2434 | case Format::eB8G8R8A8Uscaled : return 4; |
| 2435 | case Format::eB8G8R8A8Sscaled : return 4; |
| 2436 | case Format::eB8G8R8A8Uint : return 4; |
| 2437 | case Format::eB8G8R8A8Sint : return 4; |
| 2438 | case Format::eB8G8R8A8Srgb : return 4; |
| 2439 | case Format::eA8B8G8R8UnormPack32 : return 4; |
| 2440 | case Format::eA8B8G8R8SnormPack32 : return 4; |
| 2441 | case Format::eA8B8G8R8UscaledPack32 : return 4; |
| 2442 | case Format::eA8B8G8R8SscaledPack32 : return 4; |
| 2443 | case Format::eA8B8G8R8UintPack32 : return 4; |
| 2444 | case Format::eA8B8G8R8SintPack32 : return 4; |
| 2445 | case Format::eA8B8G8R8SrgbPack32 : return 4; |
| 2446 | case Format::eA2R10G10B10UnormPack32 : return 4; |
| 2447 | case Format::eA2R10G10B10SnormPack32 : return 4; |
| 2448 | case Format::eA2R10G10B10UscaledPack32 : return 4; |
| 2449 | case Format::eA2R10G10B10SscaledPack32 : return 4; |
| 2450 | case Format::eA2R10G10B10UintPack32 : return 4; |
| 2451 | case Format::eA2R10G10B10SintPack32 : return 4; |
| 2452 | case Format::eA2B10G10R10UnormPack32 : return 4; |
| 2453 | case Format::eA2B10G10R10SnormPack32 : return 4; |
| 2454 | case Format::eA2B10G10R10UscaledPack32 : return 4; |
| 2455 | case Format::eA2B10G10R10SscaledPack32 : return 4; |
| 2456 | case Format::eA2B10G10R10UintPack32 : return 4; |
| 2457 | case Format::eA2B10G10R10SintPack32 : return 4; |
| 2458 | case Format::eR16Unorm : return 1; |
| 2459 | case Format::eR16Snorm : return 1; |
| 2460 | case Format::eR16Uscaled : return 1; |
| 2461 | case Format::eR16Sscaled : return 1; |
| 2462 | case Format::eR16Uint : return 1; |
| 2463 | case Format::eR16Sint : return 1; |
| 2464 | case Format::eR16Sfloat : return 1; |
| 2465 | case Format::eR16G16Unorm : return 2; |
| 2466 | case Format::eR16G16Snorm : return 2; |
| 2467 | case Format::eR16G16Uscaled : return 2; |
| 2468 | case Format::eR16G16Sscaled : return 2; |
| 2469 | case Format::eR16G16Uint : return 2; |
| 2470 | case Format::eR16G16Sint : return 2; |
| 2471 | case Format::eR16G16Sfloat : return 2; |
| 2472 | case Format::eR16G16B16Unorm : return 3; |
| 2473 | case Format::eR16G16B16Snorm : return 3; |
| 2474 | case Format::eR16G16B16Uscaled : return 3; |
| 2475 | case Format::eR16G16B16Sscaled : return 3; |
| 2476 | case Format::eR16G16B16Uint : return 3; |
| 2477 | case Format::eR16G16B16Sint : return 3; |
| 2478 | case Format::eR16G16B16Sfloat : return 3; |
| 2479 | case Format::eR16G16B16A16Unorm : return 4; |
| 2480 | case Format::eR16G16B16A16Snorm : return 4; |
| 2481 | case Format::eR16G16B16A16Uscaled : return 4; |
| 2482 | case Format::eR16G16B16A16Sscaled : return 4; |
| 2483 | case Format::eR16G16B16A16Uint : return 4; |
| 2484 | case Format::eR16G16B16A16Sint : return 4; |
| 2485 | case Format::eR16G16B16A16Sfloat : return 4; |
| 2486 | case Format::eR32Uint : return 1; |
| 2487 | case Format::eR32Sint : return 1; |
| 2488 | case Format::eR32Sfloat : return 1; |
| 2489 | case Format::eR32G32Uint : return 2; |
| 2490 | case Format::eR32G32Sint : return 2; |
| 2491 | case Format::eR32G32Sfloat : return 2; |
| 2492 | case Format::eR32G32B32Uint : return 3; |
| 2493 | case Format::eR32G32B32Sint : return 3; |
| 2494 | case Format::eR32G32B32Sfloat : return 3; |
| 2495 | case Format::eR32G32B32A32Uint : return 4; |
| 2496 | case Format::eR32G32B32A32Sint : return 4; |
| 2497 | case Format::eR32G32B32A32Sfloat : return 4; |
| 2498 | case Format::eR64Uint : return 1; |
| 2499 | case Format::eR64Sint : return 1; |
| 2500 | case Format::eR64Sfloat : return 1; |
| 2501 | case Format::eR64G64Uint : return 2; |
| 2502 | case Format::eR64G64Sint : return 2; |
| 2503 | case Format::eR64G64Sfloat : return 2; |
| 2504 | case Format::eR64G64B64Uint : return 3; |
| 2505 | case Format::eR64G64B64Sint : return 3; |
| 2506 | case Format::eR64G64B64Sfloat : return 3; |
| 2507 | case Format::eR64G64B64A64Uint : return 4; |
| 2508 | case Format::eR64G64B64A64Sint : return 4; |
| 2509 | case Format::eR64G64B64A64Sfloat : return 4; |
| 2510 | case Format::eB10G11R11UfloatPack32 : return 3; |
| 2511 | case Format::eE5B9G9R9UfloatPack32 : return 3; |
| 2512 | case Format::eD16Unorm : return 1; |
| 2513 | case Format::eX8D24UnormPack32 : return 1; |
| 2514 | case Format::eD32Sfloat : return 1; |
| 2515 | case Format::eS8Uint : return 1; |
| 2516 | case Format::eD16UnormS8Uint : return 2; |
| 2517 | case Format::eD24UnormS8Uint : return 2; |
| 2518 | case Format::eD32SfloatS8Uint : return 2; |
| 2519 | case Format::eBc1RgbUnormBlock : return 3; |
| 2520 | case Format::eBc1RgbSrgbBlock : return 3; |
| 2521 | case Format::eBc1RgbaUnormBlock : return 4; |
| 2522 | case Format::eBc1RgbaSrgbBlock : return 4; |
| 2523 | case Format::eBc2UnormBlock : return 4; |
| 2524 | case Format::eBc2SrgbBlock : return 4; |
| 2525 | case Format::eBc3UnormBlock : return 4; |
| 2526 | case Format::eBc3SrgbBlock : return 4; |
| 2527 | case Format::eBc4UnormBlock : return 1; |
| 2528 | case Format::eBc4SnormBlock : return 1; |
| 2529 | case Format::eBc5UnormBlock : return 2; |
| 2530 | case Format::eBc5SnormBlock : return 2; |
| 2531 | case Format::eBc6HUfloatBlock : return 3; |
| 2532 | case Format::eBc6HSfloatBlock : return 3; |
| 2533 | case Format::eBc7UnormBlock : return 4; |
| 2534 | case Format::eBc7SrgbBlock : return 4; |
| 2535 | case Format::eEtc2R8G8B8UnormBlock : return 3; |
| 2536 | case Format::eEtc2R8G8B8SrgbBlock : return 3; |
| 2537 | case Format::eEtc2R8G8B8A1UnormBlock : return 4; |
| 2538 | case Format::eEtc2R8G8B8A1SrgbBlock : return 4; |
| 2539 | case Format::eEtc2R8G8B8A8UnormBlock : return 4; |
| 2540 | case Format::eEtc2R8G8B8A8SrgbBlock : return 4; |
| 2541 | case Format::eEacR11UnormBlock : return 1; |
| 2542 | case Format::eEacR11SnormBlock : return 1; |
| 2543 | case Format::eEacR11G11UnormBlock : return 2; |
| 2544 | case Format::eEacR11G11SnormBlock : return 2; |
| 2545 | case Format::eAstc4x4UnormBlock : return 4; |
| 2546 | case Format::eAstc4x4SrgbBlock : return 4; |
| 2547 | case Format::eAstc5x4UnormBlock : return 4; |
| 2548 | case Format::eAstc5x4SrgbBlock : return 4; |
| 2549 | case Format::eAstc5x5UnormBlock : return 4; |
| 2550 | case Format::eAstc5x5SrgbBlock : return 4; |
| 2551 | case Format::eAstc6x5UnormBlock : return 4; |
| 2552 | case Format::eAstc6x5SrgbBlock : return 4; |
| 2553 | case Format::eAstc6x6UnormBlock : return 4; |
| 2554 | case Format::eAstc6x6SrgbBlock : return 4; |
| 2555 | case Format::eAstc8x5UnormBlock : return 4; |
| 2556 | case Format::eAstc8x5SrgbBlock : return 4; |
| 2557 | case Format::eAstc8x6UnormBlock : return 4; |
| 2558 | case Format::eAstc8x6SrgbBlock : return 4; |
| 2559 | case Format::eAstc8x8UnormBlock : return 4; |
| 2560 | case Format::eAstc8x8SrgbBlock : return 4; |
| 2561 | case Format::eAstc10x5UnormBlock : return 4; |
| 2562 | case Format::eAstc10x5SrgbBlock : return 4; |
| 2563 | case Format::eAstc10x6UnormBlock : return 4; |
| 2564 | case Format::eAstc10x6SrgbBlock : return 4; |
| 2565 | case Format::eAstc10x8UnormBlock : return 4; |
| 2566 | case Format::eAstc10x8SrgbBlock : return 4; |
| 2567 | case Format::eAstc10x10UnormBlock : return 4; |
| 2568 | case Format::eAstc10x10SrgbBlock : return 4; |
| 2569 | case Format::eAstc12x10UnormBlock : return 4; |
| 2570 | case Format::eAstc12x10SrgbBlock : return 4; |
| 2571 | case Format::eAstc12x12UnormBlock : return 4; |
| 2572 | case Format::eAstc12x12SrgbBlock : return 4; |
| 2573 | case Format::eG8B8G8R8422Unorm : return 4; |
| 2574 | case Format::eB8G8R8G8422Unorm : return 4; |
| 2575 | case Format::eG8B8R83Plane420Unorm : return 3; |
| 2576 | case Format::eG8B8R82Plane420Unorm : return 3; |
| 2577 | case Format::eG8B8R83Plane422Unorm : return 3; |
| 2578 | case Format::eG8B8R82Plane422Unorm : return 3; |
| 2579 | case Format::eG8B8R83Plane444Unorm : return 3; |
| 2580 | case Format::eR10X6UnormPack16 : return 1; |
| 2581 | case Format::eR10X6G10X6Unorm2Pack16 : return 2; |
| 2582 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return 4; |
| 2583 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return 4; |
| 2584 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return 4; |
| 2585 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return 3; |
| 2586 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return 3; |
| 2587 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return 3; |
| 2588 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return 3; |
| 2589 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return 3; |
| 2590 | case Format::eR12X4UnormPack16 : return 1; |
| 2591 | case Format::eR12X4G12X4Unorm2Pack16 : return 2; |
| 2592 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return 4; |
| 2593 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return 4; |
| 2594 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return 4; |
| 2595 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return 3; |
| 2596 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return 3; |
| 2597 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return 3; |
| 2598 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return 3; |
| 2599 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return 3; |
| 2600 | case Format::eG16B16G16R16422Unorm : return 4; |
| 2601 | case Format::eB16G16R16G16422Unorm : return 4; |
| 2602 | case Format::eG16B16R163Plane420Unorm : return 3; |
| 2603 | case Format::eG16B16R162Plane420Unorm : return 3; |
| 2604 | case Format::eG16B16R163Plane422Unorm : return 3; |
| 2605 | case Format::eG16B16R162Plane422Unorm : return 3; |
| 2606 | case Format::eG16B16R163Plane444Unorm : return 3; |
| 2607 | case Format::eG8B8R82Plane444Unorm : return 3; |
| 2608 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return 3; |
| 2609 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return 3; |
| 2610 | case Format::eG16B16R162Plane444Unorm : return 3; |
| 2611 | case Format::eA4R4G4B4UnormPack16 : return 4; |
| 2612 | case Format::eA4B4G4R4UnormPack16 : return 4; |
| 2613 | case Format::eAstc4x4SfloatBlock : return 4; |
| 2614 | case Format::eAstc5x4SfloatBlock : return 4; |
| 2615 | case Format::eAstc5x5SfloatBlock : return 4; |
| 2616 | case Format::eAstc6x5SfloatBlock : return 4; |
| 2617 | case Format::eAstc6x6SfloatBlock : return 4; |
| 2618 | case Format::eAstc8x5SfloatBlock : return 4; |
| 2619 | case Format::eAstc8x6SfloatBlock : return 4; |
| 2620 | case Format::eAstc8x8SfloatBlock : return 4; |
| 2621 | case Format::eAstc10x5SfloatBlock : return 4; |
| 2622 | case Format::eAstc10x6SfloatBlock : return 4; |
| 2623 | case Format::eAstc10x8SfloatBlock : return 4; |
| 2624 | case Format::eAstc10x10SfloatBlock : return 4; |
| 2625 | case Format::eAstc12x10SfloatBlock : return 4; |
| 2626 | case Format::eAstc12x12SfloatBlock : return 4; |
| 2627 | case Format::eA1B5G5R5UnormPack16 : return 4; |
| 2628 | case Format::eA8Unorm : return 1; |
| 2629 | case Format::ePvrtc12BppUnormBlockIMG : return 4; |
| 2630 | case Format::ePvrtc14BppUnormBlockIMG : return 4; |
| 2631 | case Format::ePvrtc22BppUnormBlockIMG : return 4; |
| 2632 | case Format::ePvrtc24BppUnormBlockIMG : return 4; |
| 2633 | case Format::ePvrtc12BppSrgbBlockIMG : return 4; |
| 2634 | case Format::ePvrtc14BppSrgbBlockIMG : return 4; |
| 2635 | case Format::ePvrtc22BppSrgbBlockIMG : return 4; |
| 2636 | case Format::ePvrtc24BppSrgbBlockIMG : return 4; |
| 2637 | case Format::eAstc3x3x3UnormBlockEXT : return 4; |
| 2638 | case Format::eAstc3x3x3SrgbBlockEXT : return 4; |
| 2639 | case Format::eAstc3x3x3SfloatBlockEXT : return 4; |
| 2640 | case Format::eAstc4x3x3UnormBlockEXT : return 4; |
| 2641 | case Format::eAstc4x3x3SrgbBlockEXT : return 4; |
| 2642 | case Format::eAstc4x3x3SfloatBlockEXT : return 4; |
| 2643 | case Format::eAstc4x4x3UnormBlockEXT : return 4; |
| 2644 | case Format::eAstc4x4x3SrgbBlockEXT : return 4; |
| 2645 | case Format::eAstc4x4x3SfloatBlockEXT : return 4; |
| 2646 | case Format::eAstc4x4x4UnormBlockEXT : return 4; |
| 2647 | case Format::eAstc4x4x4SrgbBlockEXT : return 4; |
| 2648 | case Format::eAstc4x4x4SfloatBlockEXT : return 4; |
| 2649 | case Format::eAstc5x4x4UnormBlockEXT : return 4; |
| 2650 | case Format::eAstc5x4x4SrgbBlockEXT : return 4; |
| 2651 | case Format::eAstc5x4x4SfloatBlockEXT : return 4; |
| 2652 | case Format::eAstc5x5x4UnormBlockEXT : return 4; |
| 2653 | case Format::eAstc5x5x4SrgbBlockEXT : return 4; |
| 2654 | case Format::eAstc5x5x4SfloatBlockEXT : return 4; |
| 2655 | case Format::eAstc5x5x5UnormBlockEXT : return 4; |
| 2656 | case Format::eAstc5x5x5SrgbBlockEXT : return 4; |
| 2657 | case Format::eAstc5x5x5SfloatBlockEXT : return 4; |
| 2658 | case Format::eAstc6x5x5UnormBlockEXT : return 4; |
| 2659 | case Format::eAstc6x5x5SrgbBlockEXT : return 4; |
| 2660 | case Format::eAstc6x5x5SfloatBlockEXT : return 4; |
| 2661 | case Format::eAstc6x6x5UnormBlockEXT : return 4; |
| 2662 | case Format::eAstc6x6x5SrgbBlockEXT : return 4; |
| 2663 | case Format::eAstc6x6x5SfloatBlockEXT : return 4; |
| 2664 | case Format::eAstc6x6x6UnormBlockEXT : return 4; |
| 2665 | case Format::eAstc6x6x6SrgbBlockEXT : return 4; |
| 2666 | case Format::eAstc6x6x6SfloatBlockEXT : return 4; |
| 2667 | case Format::eR8BoolARM : return 1; |
| 2668 | case Format::eR16SfloatFpencodingBfloat16ARM : return 1; |
| 2669 | case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1; |
| 2670 | case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1; |
| 2671 | case Format::eR16G16Sfixed5NV : return 2; |
| 2672 | case Format::eR10X6UintPack16ARM : return 1; |
| 2673 | case Format::eR10X6G10X6Uint2Pack16ARM : return 2; |
| 2674 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM : return 4; |
| 2675 | case Format::eR12X4UintPack16ARM : return 1; |
| 2676 | case Format::eR12X4G12X4Uint2Pack16ARM : return 2; |
| 2677 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM : return 4; |
| 2678 | case Format::eR14X2UintPack16ARM : return 1; |
| 2679 | case Format::eR14X2G14X2Uint2Pack16ARM : return 2; |
| 2680 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM : return 4; |
| 2681 | case Format::eR14X2UnormPack16ARM : return 1; |
| 2682 | case Format::eR14X2G14X2Unorm2Pack16ARM : return 2; |
| 2683 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM : return 4; |
| 2684 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return 3; |
| 2685 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return 3; |
| 2686 | |
| 2687 | default: return 0; |
| 2688 | } |
| 2689 | } |
| 2690 | |
| 2691 | // The name of the component |
| 2692 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentName( Format format, uint8_t component ) |
| 2693 | { |
| 2694 | switch ( format ) |
| 2695 | { |
| 2696 | case Format::eR4G4UnormPack8: |
| 2697 | switch ( component ) |
| 2698 | { |
| 2699 | case 0 : return "R"; |
| 2700 | case 1 : return "G"; |
| 2701 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2702 | } |
| 2703 | case Format::eR4G4B4A4UnormPack16: |
| 2704 | switch ( component ) |
| 2705 | { |
| 2706 | case 0 : return "R"; |
| 2707 | case 1 : return "G"; |
| 2708 | case 2 : return "B"; |
| 2709 | case 3 : return "A"; |
| 2710 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2711 | } |
| 2712 | case Format::eB4G4R4A4UnormPack16: |
| 2713 | switch ( component ) |
| 2714 | { |
| 2715 | case 0 : return "B"; |
| 2716 | case 1 : return "G"; |
| 2717 | case 2 : return "R"; |
| 2718 | case 3 : return "A"; |
| 2719 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2720 | } |
| 2721 | case Format::eR5G6B5UnormPack16: |
| 2722 | switch ( component ) |
| 2723 | { |
| 2724 | case 0 : return "R"; |
| 2725 | case 1 : return "G"; |
| 2726 | case 2 : return "B"; |
| 2727 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2728 | } |
| 2729 | case Format::eB5G6R5UnormPack16: |
| 2730 | switch ( component ) |
| 2731 | { |
| 2732 | case 0 : return "B"; |
| 2733 | case 1 : return "G"; |
| 2734 | case 2 : return "R"; |
| 2735 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2736 | } |
| 2737 | case Format::eR5G5B5A1UnormPack16: |
| 2738 | switch ( component ) |
| 2739 | { |
| 2740 | case 0 : return "R"; |
| 2741 | case 1 : return "G"; |
| 2742 | case 2 : return "B"; |
| 2743 | case 3 : return "A"; |
| 2744 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2745 | } |
| 2746 | case Format::eB5G5R5A1UnormPack16: |
| 2747 | switch ( component ) |
| 2748 | { |
| 2749 | case 0 : return "B"; |
| 2750 | case 1 : return "G"; |
| 2751 | case 2 : return "R"; |
| 2752 | case 3 : return "A"; |
| 2753 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2754 | } |
| 2755 | case Format::eA1R5G5B5UnormPack16: |
| 2756 | switch ( component ) |
| 2757 | { |
| 2758 | case 0 : return "A"; |
| 2759 | case 1 : return "R"; |
| 2760 | case 2 : return "G"; |
| 2761 | case 3 : return "B"; |
| 2762 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2763 | } |
| 2764 | case Format::eR8Unorm: |
| 2765 | switch ( component ) |
| 2766 | { |
| 2767 | case 0 : return "R"; |
| 2768 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2769 | } |
| 2770 | case Format::eR8Snorm: |
| 2771 | switch ( component ) |
| 2772 | { |
| 2773 | case 0 : return "R"; |
| 2774 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2775 | } |
| 2776 | case Format::eR8Uscaled: |
| 2777 | switch ( component ) |
| 2778 | { |
| 2779 | case 0 : return "R"; |
| 2780 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2781 | } |
| 2782 | case Format::eR8Sscaled: |
| 2783 | switch ( component ) |
| 2784 | { |
| 2785 | case 0 : return "R"; |
| 2786 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2787 | } |
| 2788 | case Format::eR8Uint: |
| 2789 | switch ( component ) |
| 2790 | { |
| 2791 | case 0 : return "R"; |
| 2792 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2793 | } |
| 2794 | case Format::eR8Sint: |
| 2795 | switch ( component ) |
| 2796 | { |
| 2797 | case 0 : return "R"; |
| 2798 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2799 | } |
| 2800 | case Format::eR8Srgb: |
| 2801 | switch ( component ) |
| 2802 | { |
| 2803 | case 0 : return "R"; |
| 2804 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2805 | } |
| 2806 | case Format::eR8G8Unorm: |
| 2807 | switch ( component ) |
| 2808 | { |
| 2809 | case 0 : return "R"; |
| 2810 | case 1 : return "G"; |
| 2811 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2812 | } |
| 2813 | case Format::eR8G8Snorm: |
| 2814 | switch ( component ) |
| 2815 | { |
| 2816 | case 0 : return "R"; |
| 2817 | case 1 : return "G"; |
| 2818 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2819 | } |
| 2820 | case Format::eR8G8Uscaled: |
| 2821 | switch ( component ) |
| 2822 | { |
| 2823 | case 0 : return "R"; |
| 2824 | case 1 : return "G"; |
| 2825 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2826 | } |
| 2827 | case Format::eR8G8Sscaled: |
| 2828 | switch ( component ) |
| 2829 | { |
| 2830 | case 0 : return "R"; |
| 2831 | case 1 : return "G"; |
| 2832 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2833 | } |
| 2834 | case Format::eR8G8Uint: |
| 2835 | switch ( component ) |
| 2836 | { |
| 2837 | case 0 : return "R"; |
| 2838 | case 1 : return "G"; |
| 2839 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2840 | } |
| 2841 | case Format::eR8G8Sint: |
| 2842 | switch ( component ) |
| 2843 | { |
| 2844 | case 0 : return "R"; |
| 2845 | case 1 : return "G"; |
| 2846 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2847 | } |
| 2848 | case Format::eR8G8Srgb: |
| 2849 | switch ( component ) |
| 2850 | { |
| 2851 | case 0 : return "R"; |
| 2852 | case 1 : return "G"; |
| 2853 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2854 | } |
| 2855 | case Format::eR8G8B8Unorm: |
| 2856 | switch ( component ) |
| 2857 | { |
| 2858 | case 0 : return "R"; |
| 2859 | case 1 : return "G"; |
| 2860 | case 2 : return "B"; |
| 2861 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2862 | } |
| 2863 | case Format::eR8G8B8Snorm: |
| 2864 | switch ( component ) |
| 2865 | { |
| 2866 | case 0 : return "R"; |
| 2867 | case 1 : return "G"; |
| 2868 | case 2 : return "B"; |
| 2869 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2870 | } |
| 2871 | case Format::eR8G8B8Uscaled: |
| 2872 | switch ( component ) |
| 2873 | { |
| 2874 | case 0 : return "R"; |
| 2875 | case 1 : return "G"; |
| 2876 | case 2 : return "B"; |
| 2877 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2878 | } |
| 2879 | case Format::eR8G8B8Sscaled: |
| 2880 | switch ( component ) |
| 2881 | { |
| 2882 | case 0 : return "R"; |
| 2883 | case 1 : return "G"; |
| 2884 | case 2 : return "B"; |
| 2885 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2886 | } |
| 2887 | case Format::eR8G8B8Uint: |
| 2888 | switch ( component ) |
| 2889 | { |
| 2890 | case 0 : return "R"; |
| 2891 | case 1 : return "G"; |
| 2892 | case 2 : return "B"; |
| 2893 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2894 | } |
| 2895 | case Format::eR8G8B8Sint: |
| 2896 | switch ( component ) |
| 2897 | { |
| 2898 | case 0 : return "R"; |
| 2899 | case 1 : return "G"; |
| 2900 | case 2 : return "B"; |
| 2901 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2902 | } |
| 2903 | case Format::eR8G8B8Srgb: |
| 2904 | switch ( component ) |
| 2905 | { |
| 2906 | case 0 : return "R"; |
| 2907 | case 1 : return "G"; |
| 2908 | case 2 : return "B"; |
| 2909 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2910 | } |
| 2911 | case Format::eB8G8R8Unorm: |
| 2912 | switch ( component ) |
| 2913 | { |
| 2914 | case 0 : return "B"; |
| 2915 | case 1 : return "G"; |
| 2916 | case 2 : return "R"; |
| 2917 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2918 | } |
| 2919 | case Format::eB8G8R8Snorm: |
| 2920 | switch ( component ) |
| 2921 | { |
| 2922 | case 0 : return "B"; |
| 2923 | case 1 : return "G"; |
| 2924 | case 2 : return "R"; |
| 2925 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2926 | } |
| 2927 | case Format::eB8G8R8Uscaled: |
| 2928 | switch ( component ) |
| 2929 | { |
| 2930 | case 0 : return "B"; |
| 2931 | case 1 : return "G"; |
| 2932 | case 2 : return "R"; |
| 2933 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2934 | } |
| 2935 | case Format::eB8G8R8Sscaled: |
| 2936 | switch ( component ) |
| 2937 | { |
| 2938 | case 0 : return "B"; |
| 2939 | case 1 : return "G"; |
| 2940 | case 2 : return "R"; |
| 2941 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2942 | } |
| 2943 | case Format::eB8G8R8Uint: |
| 2944 | switch ( component ) |
| 2945 | { |
| 2946 | case 0 : return "B"; |
| 2947 | case 1 : return "G"; |
| 2948 | case 2 : return "R"; |
| 2949 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2950 | } |
| 2951 | case Format::eB8G8R8Sint: |
| 2952 | switch ( component ) |
| 2953 | { |
| 2954 | case 0 : return "B"; |
| 2955 | case 1 : return "G"; |
| 2956 | case 2 : return "R"; |
| 2957 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2958 | } |
| 2959 | case Format::eB8G8R8Srgb: |
| 2960 | switch ( component ) |
| 2961 | { |
| 2962 | case 0 : return "B"; |
| 2963 | case 1 : return "G"; |
| 2964 | case 2 : return "R"; |
| 2965 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2966 | } |
| 2967 | case Format::eR8G8B8A8Unorm: |
| 2968 | switch ( component ) |
| 2969 | { |
| 2970 | case 0 : return "R"; |
| 2971 | case 1 : return "G"; |
| 2972 | case 2 : return "B"; |
| 2973 | case 3 : return "A"; |
| 2974 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2975 | } |
| 2976 | case Format::eR8G8B8A8Snorm: |
| 2977 | switch ( component ) |
| 2978 | { |
| 2979 | case 0 : return "R"; |
| 2980 | case 1 : return "G"; |
| 2981 | case 2 : return "B"; |
| 2982 | case 3 : return "A"; |
| 2983 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2984 | } |
| 2985 | case Format::eR8G8B8A8Uscaled: |
| 2986 | switch ( component ) |
| 2987 | { |
| 2988 | case 0 : return "R"; |
| 2989 | case 1 : return "G"; |
| 2990 | case 2 : return "B"; |
| 2991 | case 3 : return "A"; |
| 2992 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 2993 | } |
| 2994 | case Format::eR8G8B8A8Sscaled: |
| 2995 | switch ( component ) |
| 2996 | { |
| 2997 | case 0 : return "R"; |
| 2998 | case 1 : return "G"; |
| 2999 | case 2 : return "B"; |
| 3000 | case 3 : return "A"; |
| 3001 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3002 | } |
| 3003 | case Format::eR8G8B8A8Uint: |
| 3004 | switch ( component ) |
| 3005 | { |
| 3006 | case 0 : return "R"; |
| 3007 | case 1 : return "G"; |
| 3008 | case 2 : return "B"; |
| 3009 | case 3 : return "A"; |
| 3010 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3011 | } |
| 3012 | case Format::eR8G8B8A8Sint: |
| 3013 | switch ( component ) |
| 3014 | { |
| 3015 | case 0 : return "R"; |
| 3016 | case 1 : return "G"; |
| 3017 | case 2 : return "B"; |
| 3018 | case 3 : return "A"; |
| 3019 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3020 | } |
| 3021 | case Format::eR8G8B8A8Srgb: |
| 3022 | switch ( component ) |
| 3023 | { |
| 3024 | case 0 : return "R"; |
| 3025 | case 1 : return "G"; |
| 3026 | case 2 : return "B"; |
| 3027 | case 3 : return "A"; |
| 3028 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3029 | } |
| 3030 | case Format::eB8G8R8A8Unorm: |
| 3031 | switch ( component ) |
| 3032 | { |
| 3033 | case 0 : return "B"; |
| 3034 | case 1 : return "G"; |
| 3035 | case 2 : return "R"; |
| 3036 | case 3 : return "A"; |
| 3037 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3038 | } |
| 3039 | case Format::eB8G8R8A8Snorm: |
| 3040 | switch ( component ) |
| 3041 | { |
| 3042 | case 0 : return "B"; |
| 3043 | case 1 : return "G"; |
| 3044 | case 2 : return "R"; |
| 3045 | case 3 : return "A"; |
| 3046 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3047 | } |
| 3048 | case Format::eB8G8R8A8Uscaled: |
| 3049 | switch ( component ) |
| 3050 | { |
| 3051 | case 0 : return "B"; |
| 3052 | case 1 : return "G"; |
| 3053 | case 2 : return "R"; |
| 3054 | case 3 : return "A"; |
| 3055 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3056 | } |
| 3057 | case Format::eB8G8R8A8Sscaled: |
| 3058 | switch ( component ) |
| 3059 | { |
| 3060 | case 0 : return "B"; |
| 3061 | case 1 : return "G"; |
| 3062 | case 2 : return "R"; |
| 3063 | case 3 : return "A"; |
| 3064 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3065 | } |
| 3066 | case Format::eB8G8R8A8Uint: |
| 3067 | switch ( component ) |
| 3068 | { |
| 3069 | case 0 : return "B"; |
| 3070 | case 1 : return "G"; |
| 3071 | case 2 : return "R"; |
| 3072 | case 3 : return "A"; |
| 3073 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3074 | } |
| 3075 | case Format::eB8G8R8A8Sint: |
| 3076 | switch ( component ) |
| 3077 | { |
| 3078 | case 0 : return "B"; |
| 3079 | case 1 : return "G"; |
| 3080 | case 2 : return "R"; |
| 3081 | case 3 : return "A"; |
| 3082 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3083 | } |
| 3084 | case Format::eB8G8R8A8Srgb: |
| 3085 | switch ( component ) |
| 3086 | { |
| 3087 | case 0 : return "B"; |
| 3088 | case 1 : return "G"; |
| 3089 | case 2 : return "R"; |
| 3090 | case 3 : return "A"; |
| 3091 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3092 | } |
| 3093 | case Format::eA8B8G8R8UnormPack32: |
| 3094 | switch ( component ) |
| 3095 | { |
| 3096 | case 0 : return "A"; |
| 3097 | case 1 : return "B"; |
| 3098 | case 2 : return "G"; |
| 3099 | case 3 : return "R"; |
| 3100 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3101 | } |
| 3102 | case Format::eA8B8G8R8SnormPack32: |
| 3103 | switch ( component ) |
| 3104 | { |
| 3105 | case 0 : return "A"; |
| 3106 | case 1 : return "B"; |
| 3107 | case 2 : return "G"; |
| 3108 | case 3 : return "R"; |
| 3109 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3110 | } |
| 3111 | case Format::eA8B8G8R8UscaledPack32: |
| 3112 | switch ( component ) |
| 3113 | { |
| 3114 | case 0 : return "A"; |
| 3115 | case 1 : return "B"; |
| 3116 | case 2 : return "G"; |
| 3117 | case 3 : return "R"; |
| 3118 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3119 | } |
| 3120 | case Format::eA8B8G8R8SscaledPack32: |
| 3121 | switch ( component ) |
| 3122 | { |
| 3123 | case 0 : return "A"; |
| 3124 | case 1 : return "B"; |
| 3125 | case 2 : return "G"; |
| 3126 | case 3 : return "R"; |
| 3127 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3128 | } |
| 3129 | case Format::eA8B8G8R8UintPack32: |
| 3130 | switch ( component ) |
| 3131 | { |
| 3132 | case 0 : return "A"; |
| 3133 | case 1 : return "B"; |
| 3134 | case 2 : return "G"; |
| 3135 | case 3 : return "R"; |
| 3136 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3137 | } |
| 3138 | case Format::eA8B8G8R8SintPack32: |
| 3139 | switch ( component ) |
| 3140 | { |
| 3141 | case 0 : return "A"; |
| 3142 | case 1 : return "B"; |
| 3143 | case 2 : return "G"; |
| 3144 | case 3 : return "R"; |
| 3145 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3146 | } |
| 3147 | case Format::eA8B8G8R8SrgbPack32: |
| 3148 | switch ( component ) |
| 3149 | { |
| 3150 | case 0 : return "A"; |
| 3151 | case 1 : return "B"; |
| 3152 | case 2 : return "G"; |
| 3153 | case 3 : return "R"; |
| 3154 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3155 | } |
| 3156 | case Format::eA2R10G10B10UnormPack32: |
| 3157 | switch ( component ) |
| 3158 | { |
| 3159 | case 0 : return "A"; |
| 3160 | case 1 : return "R"; |
| 3161 | case 2 : return "G"; |
| 3162 | case 3 : return "B"; |
| 3163 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3164 | } |
| 3165 | case Format::eA2R10G10B10SnormPack32: |
| 3166 | switch ( component ) |
| 3167 | { |
| 3168 | case 0 : return "A"; |
| 3169 | case 1 : return "R"; |
| 3170 | case 2 : return "G"; |
| 3171 | case 3 : return "B"; |
| 3172 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3173 | } |
| 3174 | case Format::eA2R10G10B10UscaledPack32: |
| 3175 | switch ( component ) |
| 3176 | { |
| 3177 | case 0 : return "A"; |
| 3178 | case 1 : return "R"; |
| 3179 | case 2 : return "G"; |
| 3180 | case 3 : return "B"; |
| 3181 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3182 | } |
| 3183 | case Format::eA2R10G10B10SscaledPack32: |
| 3184 | switch ( component ) |
| 3185 | { |
| 3186 | case 0 : return "A"; |
| 3187 | case 1 : return "R"; |
| 3188 | case 2 : return "G"; |
| 3189 | case 3 : return "B"; |
| 3190 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3191 | } |
| 3192 | case Format::eA2R10G10B10UintPack32: |
| 3193 | switch ( component ) |
| 3194 | { |
| 3195 | case 0 : return "A"; |
| 3196 | case 1 : return "R"; |
| 3197 | case 2 : return "G"; |
| 3198 | case 3 : return "B"; |
| 3199 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3200 | } |
| 3201 | case Format::eA2R10G10B10SintPack32: |
| 3202 | switch ( component ) |
| 3203 | { |
| 3204 | case 0 : return "A"; |
| 3205 | case 1 : return "R"; |
| 3206 | case 2 : return "G"; |
| 3207 | case 3 : return "B"; |
| 3208 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3209 | } |
| 3210 | case Format::eA2B10G10R10UnormPack32: |
| 3211 | switch ( component ) |
| 3212 | { |
| 3213 | case 0 : return "A"; |
| 3214 | case 1 : return "B"; |
| 3215 | case 2 : return "G"; |
| 3216 | case 3 : return "R"; |
| 3217 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3218 | } |
| 3219 | case Format::eA2B10G10R10SnormPack32: |
| 3220 | switch ( component ) |
| 3221 | { |
| 3222 | case 0 : return "A"; |
| 3223 | case 1 : return "B"; |
| 3224 | case 2 : return "G"; |
| 3225 | case 3 : return "R"; |
| 3226 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3227 | } |
| 3228 | case Format::eA2B10G10R10UscaledPack32: |
| 3229 | switch ( component ) |
| 3230 | { |
| 3231 | case 0 : return "A"; |
| 3232 | case 1 : return "B"; |
| 3233 | case 2 : return "G"; |
| 3234 | case 3 : return "R"; |
| 3235 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3236 | } |
| 3237 | case Format::eA2B10G10R10SscaledPack32: |
| 3238 | switch ( component ) |
| 3239 | { |
| 3240 | case 0 : return "A"; |
| 3241 | case 1 : return "B"; |
| 3242 | case 2 : return "G"; |
| 3243 | case 3 : return "R"; |
| 3244 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3245 | } |
| 3246 | case Format::eA2B10G10R10UintPack32: |
| 3247 | switch ( component ) |
| 3248 | { |
| 3249 | case 0 : return "A"; |
| 3250 | case 1 : return "B"; |
| 3251 | case 2 : return "G"; |
| 3252 | case 3 : return "R"; |
| 3253 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3254 | } |
| 3255 | case Format::eA2B10G10R10SintPack32: |
| 3256 | switch ( component ) |
| 3257 | { |
| 3258 | case 0 : return "A"; |
| 3259 | case 1 : return "B"; |
| 3260 | case 2 : return "G"; |
| 3261 | case 3 : return "R"; |
| 3262 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3263 | } |
| 3264 | case Format::eR16Unorm: |
| 3265 | switch ( component ) |
| 3266 | { |
| 3267 | case 0 : return "R"; |
| 3268 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3269 | } |
| 3270 | case Format::eR16Snorm: |
| 3271 | switch ( component ) |
| 3272 | { |
| 3273 | case 0 : return "R"; |
| 3274 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3275 | } |
| 3276 | case Format::eR16Uscaled: |
| 3277 | switch ( component ) |
| 3278 | { |
| 3279 | case 0 : return "R"; |
| 3280 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3281 | } |
| 3282 | case Format::eR16Sscaled: |
| 3283 | switch ( component ) |
| 3284 | { |
| 3285 | case 0 : return "R"; |
| 3286 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3287 | } |
| 3288 | case Format::eR16Uint: |
| 3289 | switch ( component ) |
| 3290 | { |
| 3291 | case 0 : return "R"; |
| 3292 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3293 | } |
| 3294 | case Format::eR16Sint: |
| 3295 | switch ( component ) |
| 3296 | { |
| 3297 | case 0 : return "R"; |
| 3298 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3299 | } |
| 3300 | case Format::eR16Sfloat: |
| 3301 | switch ( component ) |
| 3302 | { |
| 3303 | case 0 : return "R"; |
| 3304 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3305 | } |
| 3306 | case Format::eR16G16Unorm: |
| 3307 | switch ( component ) |
| 3308 | { |
| 3309 | case 0 : return "R"; |
| 3310 | case 1 : return "G"; |
| 3311 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3312 | } |
| 3313 | case Format::eR16G16Snorm: |
| 3314 | switch ( component ) |
| 3315 | { |
| 3316 | case 0 : return "R"; |
| 3317 | case 1 : return "G"; |
| 3318 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3319 | } |
| 3320 | case Format::eR16G16Uscaled: |
| 3321 | switch ( component ) |
| 3322 | { |
| 3323 | case 0 : return "R"; |
| 3324 | case 1 : return "G"; |
| 3325 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3326 | } |
| 3327 | case Format::eR16G16Sscaled: |
| 3328 | switch ( component ) |
| 3329 | { |
| 3330 | case 0 : return "R"; |
| 3331 | case 1 : return "G"; |
| 3332 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3333 | } |
| 3334 | case Format::eR16G16Uint: |
| 3335 | switch ( component ) |
| 3336 | { |
| 3337 | case 0 : return "R"; |
| 3338 | case 1 : return "G"; |
| 3339 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3340 | } |
| 3341 | case Format::eR16G16Sint: |
| 3342 | switch ( component ) |
| 3343 | { |
| 3344 | case 0 : return "R"; |
| 3345 | case 1 : return "G"; |
| 3346 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3347 | } |
| 3348 | case Format::eR16G16Sfloat: |
| 3349 | switch ( component ) |
| 3350 | { |
| 3351 | case 0 : return "R"; |
| 3352 | case 1 : return "G"; |
| 3353 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3354 | } |
| 3355 | case Format::eR16G16B16Unorm: |
| 3356 | switch ( component ) |
| 3357 | { |
| 3358 | case 0 : return "R"; |
| 3359 | case 1 : return "G"; |
| 3360 | case 2 : return "B"; |
| 3361 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3362 | } |
| 3363 | case Format::eR16G16B16Snorm: |
| 3364 | switch ( component ) |
| 3365 | { |
| 3366 | case 0 : return "R"; |
| 3367 | case 1 : return "G"; |
| 3368 | case 2 : return "B"; |
| 3369 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3370 | } |
| 3371 | case Format::eR16G16B16Uscaled: |
| 3372 | switch ( component ) |
| 3373 | { |
| 3374 | case 0 : return "R"; |
| 3375 | case 1 : return "G"; |
| 3376 | case 2 : return "B"; |
| 3377 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3378 | } |
| 3379 | case Format::eR16G16B16Sscaled: |
| 3380 | switch ( component ) |
| 3381 | { |
| 3382 | case 0 : return "R"; |
| 3383 | case 1 : return "G"; |
| 3384 | case 2 : return "B"; |
| 3385 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3386 | } |
| 3387 | case Format::eR16G16B16Uint: |
| 3388 | switch ( component ) |
| 3389 | { |
| 3390 | case 0 : return "R"; |
| 3391 | case 1 : return "G"; |
| 3392 | case 2 : return "B"; |
| 3393 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3394 | } |
| 3395 | case Format::eR16G16B16Sint: |
| 3396 | switch ( component ) |
| 3397 | { |
| 3398 | case 0 : return "R"; |
| 3399 | case 1 : return "G"; |
| 3400 | case 2 : return "B"; |
| 3401 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3402 | } |
| 3403 | case Format::eR16G16B16Sfloat: |
| 3404 | switch ( component ) |
| 3405 | { |
| 3406 | case 0 : return "R"; |
| 3407 | case 1 : return "G"; |
| 3408 | case 2 : return "B"; |
| 3409 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3410 | } |
| 3411 | case Format::eR16G16B16A16Unorm: |
| 3412 | switch ( component ) |
| 3413 | { |
| 3414 | case 0 : return "R"; |
| 3415 | case 1 : return "G"; |
| 3416 | case 2 : return "B"; |
| 3417 | case 3 : return "A"; |
| 3418 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3419 | } |
| 3420 | case Format::eR16G16B16A16Snorm: |
| 3421 | switch ( component ) |
| 3422 | { |
| 3423 | case 0 : return "R"; |
| 3424 | case 1 : return "G"; |
| 3425 | case 2 : return "B"; |
| 3426 | case 3 : return "A"; |
| 3427 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3428 | } |
| 3429 | case Format::eR16G16B16A16Uscaled: |
| 3430 | switch ( component ) |
| 3431 | { |
| 3432 | case 0 : return "R"; |
| 3433 | case 1 : return "G"; |
| 3434 | case 2 : return "B"; |
| 3435 | case 3 : return "A"; |
| 3436 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3437 | } |
| 3438 | case Format::eR16G16B16A16Sscaled: |
| 3439 | switch ( component ) |
| 3440 | { |
| 3441 | case 0 : return "R"; |
| 3442 | case 1 : return "G"; |
| 3443 | case 2 : return "B"; |
| 3444 | case 3 : return "A"; |
| 3445 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3446 | } |
| 3447 | case Format::eR16G16B16A16Uint: |
| 3448 | switch ( component ) |
| 3449 | { |
| 3450 | case 0 : return "R"; |
| 3451 | case 1 : return "G"; |
| 3452 | case 2 : return "B"; |
| 3453 | case 3 : return "A"; |
| 3454 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3455 | } |
| 3456 | case Format::eR16G16B16A16Sint: |
| 3457 | switch ( component ) |
| 3458 | { |
| 3459 | case 0 : return "R"; |
| 3460 | case 1 : return "G"; |
| 3461 | case 2 : return "B"; |
| 3462 | case 3 : return "A"; |
| 3463 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3464 | } |
| 3465 | case Format::eR16G16B16A16Sfloat: |
| 3466 | switch ( component ) |
| 3467 | { |
| 3468 | case 0 : return "R"; |
| 3469 | case 1 : return "G"; |
| 3470 | case 2 : return "B"; |
| 3471 | case 3 : return "A"; |
| 3472 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3473 | } |
| 3474 | case Format::eR32Uint: |
| 3475 | switch ( component ) |
| 3476 | { |
| 3477 | case 0 : return "R"; |
| 3478 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3479 | } |
| 3480 | case Format::eR32Sint: |
| 3481 | switch ( component ) |
| 3482 | { |
| 3483 | case 0 : return "R"; |
| 3484 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3485 | } |
| 3486 | case Format::eR32Sfloat: |
| 3487 | switch ( component ) |
| 3488 | { |
| 3489 | case 0 : return "R"; |
| 3490 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3491 | } |
| 3492 | case Format::eR32G32Uint: |
| 3493 | switch ( component ) |
| 3494 | { |
| 3495 | case 0 : return "R"; |
| 3496 | case 1 : return "G"; |
| 3497 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3498 | } |
| 3499 | case Format::eR32G32Sint: |
| 3500 | switch ( component ) |
| 3501 | { |
| 3502 | case 0 : return "R"; |
| 3503 | case 1 : return "G"; |
| 3504 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3505 | } |
| 3506 | case Format::eR32G32Sfloat: |
| 3507 | switch ( component ) |
| 3508 | { |
| 3509 | case 0 : return "R"; |
| 3510 | case 1 : return "G"; |
| 3511 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3512 | } |
| 3513 | case Format::eR32G32B32Uint: |
| 3514 | switch ( component ) |
| 3515 | { |
| 3516 | case 0 : return "R"; |
| 3517 | case 1 : return "G"; |
| 3518 | case 2 : return "B"; |
| 3519 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3520 | } |
| 3521 | case Format::eR32G32B32Sint: |
| 3522 | switch ( component ) |
| 3523 | { |
| 3524 | case 0 : return "R"; |
| 3525 | case 1 : return "G"; |
| 3526 | case 2 : return "B"; |
| 3527 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3528 | } |
| 3529 | case Format::eR32G32B32Sfloat: |
| 3530 | switch ( component ) |
| 3531 | { |
| 3532 | case 0 : return "R"; |
| 3533 | case 1 : return "G"; |
| 3534 | case 2 : return "B"; |
| 3535 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3536 | } |
| 3537 | case Format::eR32G32B32A32Uint: |
| 3538 | switch ( component ) |
| 3539 | { |
| 3540 | case 0 : return "R"; |
| 3541 | case 1 : return "G"; |
| 3542 | case 2 : return "B"; |
| 3543 | case 3 : return "A"; |
| 3544 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3545 | } |
| 3546 | case Format::eR32G32B32A32Sint: |
| 3547 | switch ( component ) |
| 3548 | { |
| 3549 | case 0 : return "R"; |
| 3550 | case 1 : return "G"; |
| 3551 | case 2 : return "B"; |
| 3552 | case 3 : return "A"; |
| 3553 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3554 | } |
| 3555 | case Format::eR32G32B32A32Sfloat: |
| 3556 | switch ( component ) |
| 3557 | { |
| 3558 | case 0 : return "R"; |
| 3559 | case 1 : return "G"; |
| 3560 | case 2 : return "B"; |
| 3561 | case 3 : return "A"; |
| 3562 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3563 | } |
| 3564 | case Format::eR64Uint: |
| 3565 | switch ( component ) |
| 3566 | { |
| 3567 | case 0 : return "R"; |
| 3568 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3569 | } |
| 3570 | case Format::eR64Sint: |
| 3571 | switch ( component ) |
| 3572 | { |
| 3573 | case 0 : return "R"; |
| 3574 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3575 | } |
| 3576 | case Format::eR64Sfloat: |
| 3577 | switch ( component ) |
| 3578 | { |
| 3579 | case 0 : return "R"; |
| 3580 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3581 | } |
| 3582 | case Format::eR64G64Uint: |
| 3583 | switch ( component ) |
| 3584 | { |
| 3585 | case 0 : return "R"; |
| 3586 | case 1 : return "G"; |
| 3587 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3588 | } |
| 3589 | case Format::eR64G64Sint: |
| 3590 | switch ( component ) |
| 3591 | { |
| 3592 | case 0 : return "R"; |
| 3593 | case 1 : return "G"; |
| 3594 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3595 | } |
| 3596 | case Format::eR64G64Sfloat: |
| 3597 | switch ( component ) |
| 3598 | { |
| 3599 | case 0 : return "R"; |
| 3600 | case 1 : return "G"; |
| 3601 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3602 | } |
| 3603 | case Format::eR64G64B64Uint: |
| 3604 | switch ( component ) |
| 3605 | { |
| 3606 | case 0 : return "R"; |
| 3607 | case 1 : return "G"; |
| 3608 | case 2 : return "B"; |
| 3609 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3610 | } |
| 3611 | case Format::eR64G64B64Sint: |
| 3612 | switch ( component ) |
| 3613 | { |
| 3614 | case 0 : return "R"; |
| 3615 | case 1 : return "G"; |
| 3616 | case 2 : return "B"; |
| 3617 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3618 | } |
| 3619 | case Format::eR64G64B64Sfloat: |
| 3620 | switch ( component ) |
| 3621 | { |
| 3622 | case 0 : return "R"; |
| 3623 | case 1 : return "G"; |
| 3624 | case 2 : return "B"; |
| 3625 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3626 | } |
| 3627 | case Format::eR64G64B64A64Uint: |
| 3628 | switch ( component ) |
| 3629 | { |
| 3630 | case 0 : return "R"; |
| 3631 | case 1 : return "G"; |
| 3632 | case 2 : return "B"; |
| 3633 | case 3 : return "A"; |
| 3634 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3635 | } |
| 3636 | case Format::eR64G64B64A64Sint: |
| 3637 | switch ( component ) |
| 3638 | { |
| 3639 | case 0 : return "R"; |
| 3640 | case 1 : return "G"; |
| 3641 | case 2 : return "B"; |
| 3642 | case 3 : return "A"; |
| 3643 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3644 | } |
| 3645 | case Format::eR64G64B64A64Sfloat: |
| 3646 | switch ( component ) |
| 3647 | { |
| 3648 | case 0 : return "R"; |
| 3649 | case 1 : return "G"; |
| 3650 | case 2 : return "B"; |
| 3651 | case 3 : return "A"; |
| 3652 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3653 | } |
| 3654 | case Format::eB10G11R11UfloatPack32: |
| 3655 | switch ( component ) |
| 3656 | { |
| 3657 | case 0 : return "B"; |
| 3658 | case 1 : return "G"; |
| 3659 | case 2 : return "R"; |
| 3660 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3661 | } |
| 3662 | case Format::eE5B9G9R9UfloatPack32: |
| 3663 | switch ( component ) |
| 3664 | { |
| 3665 | case 0 : return "B"; |
| 3666 | case 1 : return "G"; |
| 3667 | case 2 : return "R"; |
| 3668 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3669 | } |
| 3670 | case Format::eD16Unorm: |
| 3671 | switch ( component ) |
| 3672 | { |
| 3673 | case 0 : return "D"; |
| 3674 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3675 | } |
| 3676 | case Format::eX8D24UnormPack32: |
| 3677 | switch ( component ) |
| 3678 | { |
| 3679 | case 0 : return "D"; |
| 3680 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3681 | } |
| 3682 | case Format::eD32Sfloat: |
| 3683 | switch ( component ) |
| 3684 | { |
| 3685 | case 0 : return "D"; |
| 3686 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3687 | } |
| 3688 | case Format::eS8Uint: |
| 3689 | switch ( component ) |
| 3690 | { |
| 3691 | case 0 : return "S"; |
| 3692 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3693 | } |
| 3694 | case Format::eD16UnormS8Uint: |
| 3695 | switch ( component ) |
| 3696 | { |
| 3697 | case 0 : return "D"; |
| 3698 | case 1 : return "S"; |
| 3699 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3700 | } |
| 3701 | case Format::eD24UnormS8Uint: |
| 3702 | switch ( component ) |
| 3703 | { |
| 3704 | case 0 : return "D"; |
| 3705 | case 1 : return "S"; |
| 3706 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3707 | } |
| 3708 | case Format::eD32SfloatS8Uint: |
| 3709 | switch ( component ) |
| 3710 | { |
| 3711 | case 0 : return "D"; |
| 3712 | case 1 : return "S"; |
| 3713 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3714 | } |
| 3715 | case Format::eBc1RgbUnormBlock: |
| 3716 | switch ( component ) |
| 3717 | { |
| 3718 | case 0 : return "R"; |
| 3719 | case 1 : return "G"; |
| 3720 | case 2 : return "B"; |
| 3721 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3722 | } |
| 3723 | case Format::eBc1RgbSrgbBlock: |
| 3724 | switch ( component ) |
| 3725 | { |
| 3726 | case 0 : return "R"; |
| 3727 | case 1 : return "G"; |
| 3728 | case 2 : return "B"; |
| 3729 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3730 | } |
| 3731 | case Format::eBc1RgbaUnormBlock: |
| 3732 | switch ( component ) |
| 3733 | { |
| 3734 | case 0 : return "R"; |
| 3735 | case 1 : return "G"; |
| 3736 | case 2 : return "B"; |
| 3737 | case 3 : return "A"; |
| 3738 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3739 | } |
| 3740 | case Format::eBc1RgbaSrgbBlock: |
| 3741 | switch ( component ) |
| 3742 | { |
| 3743 | case 0 : return "R"; |
| 3744 | case 1 : return "G"; |
| 3745 | case 2 : return "B"; |
| 3746 | case 3 : return "A"; |
| 3747 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3748 | } |
| 3749 | case Format::eBc2UnormBlock: |
| 3750 | switch ( component ) |
| 3751 | { |
| 3752 | case 0 : return "R"; |
| 3753 | case 1 : return "G"; |
| 3754 | case 2 : return "B"; |
| 3755 | case 3 : return "A"; |
| 3756 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3757 | } |
| 3758 | case Format::eBc2SrgbBlock: |
| 3759 | switch ( component ) |
| 3760 | { |
| 3761 | case 0 : return "R"; |
| 3762 | case 1 : return "G"; |
| 3763 | case 2 : return "B"; |
| 3764 | case 3 : return "A"; |
| 3765 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3766 | } |
| 3767 | case Format::eBc3UnormBlock: |
| 3768 | switch ( component ) |
| 3769 | { |
| 3770 | case 0 : return "R"; |
| 3771 | case 1 : return "G"; |
| 3772 | case 2 : return "B"; |
| 3773 | case 3 : return "A"; |
| 3774 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3775 | } |
| 3776 | case Format::eBc3SrgbBlock: |
| 3777 | switch ( component ) |
| 3778 | { |
| 3779 | case 0 : return "R"; |
| 3780 | case 1 : return "G"; |
| 3781 | case 2 : return "B"; |
| 3782 | case 3 : return "A"; |
| 3783 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3784 | } |
| 3785 | case Format::eBc4UnormBlock: |
| 3786 | switch ( component ) |
| 3787 | { |
| 3788 | case 0 : return "R"; |
| 3789 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3790 | } |
| 3791 | case Format::eBc4SnormBlock: |
| 3792 | switch ( component ) |
| 3793 | { |
| 3794 | case 0 : return "R"; |
| 3795 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3796 | } |
| 3797 | case Format::eBc5UnormBlock: |
| 3798 | switch ( component ) |
| 3799 | { |
| 3800 | case 0 : return "R"; |
| 3801 | case 1 : return "G"; |
| 3802 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3803 | } |
| 3804 | case Format::eBc5SnormBlock: |
| 3805 | switch ( component ) |
| 3806 | { |
| 3807 | case 0 : return "R"; |
| 3808 | case 1 : return "G"; |
| 3809 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3810 | } |
| 3811 | case Format::eBc6HUfloatBlock: |
| 3812 | switch ( component ) |
| 3813 | { |
| 3814 | case 0 : return "R"; |
| 3815 | case 1 : return "G"; |
| 3816 | case 2 : return "B"; |
| 3817 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3818 | } |
| 3819 | case Format::eBc6HSfloatBlock: |
| 3820 | switch ( component ) |
| 3821 | { |
| 3822 | case 0 : return "R"; |
| 3823 | case 1 : return "G"; |
| 3824 | case 2 : return "B"; |
| 3825 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3826 | } |
| 3827 | case Format::eBc7UnormBlock: |
| 3828 | switch ( component ) |
| 3829 | { |
| 3830 | case 0 : return "R"; |
| 3831 | case 1 : return "G"; |
| 3832 | case 2 : return "B"; |
| 3833 | case 3 : return "A"; |
| 3834 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3835 | } |
| 3836 | case Format::eBc7SrgbBlock: |
| 3837 | switch ( component ) |
| 3838 | { |
| 3839 | case 0 : return "R"; |
| 3840 | case 1 : return "G"; |
| 3841 | case 2 : return "B"; |
| 3842 | case 3 : return "A"; |
| 3843 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3844 | } |
| 3845 | case Format::eEtc2R8G8B8UnormBlock: |
| 3846 | switch ( component ) |
| 3847 | { |
| 3848 | case 0 : return "R"; |
| 3849 | case 1 : return "G"; |
| 3850 | case 2 : return "B"; |
| 3851 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3852 | } |
| 3853 | case Format::eEtc2R8G8B8SrgbBlock: |
| 3854 | switch ( component ) |
| 3855 | { |
| 3856 | case 0 : return "R"; |
| 3857 | case 1 : return "G"; |
| 3858 | case 2 : return "B"; |
| 3859 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3860 | } |
| 3861 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 3862 | switch ( component ) |
| 3863 | { |
| 3864 | case 0 : return "R"; |
| 3865 | case 1 : return "G"; |
| 3866 | case 2 : return "B"; |
| 3867 | case 3 : return "A"; |
| 3868 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3869 | } |
| 3870 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 3871 | switch ( component ) |
| 3872 | { |
| 3873 | case 0 : return "R"; |
| 3874 | case 1 : return "G"; |
| 3875 | case 2 : return "B"; |
| 3876 | case 3 : return "A"; |
| 3877 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3878 | } |
| 3879 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 3880 | switch ( component ) |
| 3881 | { |
| 3882 | case 0 : return "R"; |
| 3883 | case 1 : return "G"; |
| 3884 | case 2 : return "B"; |
| 3885 | case 3 : return "A"; |
| 3886 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3887 | } |
| 3888 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 3889 | switch ( component ) |
| 3890 | { |
| 3891 | case 0 : return "R"; |
| 3892 | case 1 : return "G"; |
| 3893 | case 2 : return "B"; |
| 3894 | case 3 : return "A"; |
| 3895 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3896 | } |
| 3897 | case Format::eEacR11UnormBlock: |
| 3898 | switch ( component ) |
| 3899 | { |
| 3900 | case 0 : return "R"; |
| 3901 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3902 | } |
| 3903 | case Format::eEacR11SnormBlock: |
| 3904 | switch ( component ) |
| 3905 | { |
| 3906 | case 0 : return "R"; |
| 3907 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3908 | } |
| 3909 | case Format::eEacR11G11UnormBlock: |
| 3910 | switch ( component ) |
| 3911 | { |
| 3912 | case 0 : return "R"; |
| 3913 | case 1 : return "G"; |
| 3914 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3915 | } |
| 3916 | case Format::eEacR11G11SnormBlock: |
| 3917 | switch ( component ) |
| 3918 | { |
| 3919 | case 0 : return "R"; |
| 3920 | case 1 : return "G"; |
| 3921 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3922 | } |
| 3923 | case Format::eAstc4x4UnormBlock: |
| 3924 | switch ( component ) |
| 3925 | { |
| 3926 | case 0 : return "R"; |
| 3927 | case 1 : return "G"; |
| 3928 | case 2 : return "B"; |
| 3929 | case 3 : return "A"; |
| 3930 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3931 | } |
| 3932 | case Format::eAstc4x4SrgbBlock: |
| 3933 | switch ( component ) |
| 3934 | { |
| 3935 | case 0 : return "R"; |
| 3936 | case 1 : return "G"; |
| 3937 | case 2 : return "B"; |
| 3938 | case 3 : return "A"; |
| 3939 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3940 | } |
| 3941 | case Format::eAstc5x4UnormBlock: |
| 3942 | switch ( component ) |
| 3943 | { |
| 3944 | case 0 : return "R"; |
| 3945 | case 1 : return "G"; |
| 3946 | case 2 : return "B"; |
| 3947 | case 3 : return "A"; |
| 3948 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3949 | } |
| 3950 | case Format::eAstc5x4SrgbBlock: |
| 3951 | switch ( component ) |
| 3952 | { |
| 3953 | case 0 : return "R"; |
| 3954 | case 1 : return "G"; |
| 3955 | case 2 : return "B"; |
| 3956 | case 3 : return "A"; |
| 3957 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3958 | } |
| 3959 | case Format::eAstc5x5UnormBlock: |
| 3960 | switch ( component ) |
| 3961 | { |
| 3962 | case 0 : return "R"; |
| 3963 | case 1 : return "G"; |
| 3964 | case 2 : return "B"; |
| 3965 | case 3 : return "A"; |
| 3966 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3967 | } |
| 3968 | case Format::eAstc5x5SrgbBlock: |
| 3969 | switch ( component ) |
| 3970 | { |
| 3971 | case 0 : return "R"; |
| 3972 | case 1 : return "G"; |
| 3973 | case 2 : return "B"; |
| 3974 | case 3 : return "A"; |
| 3975 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3976 | } |
| 3977 | case Format::eAstc6x5UnormBlock: |
| 3978 | switch ( component ) |
| 3979 | { |
| 3980 | case 0 : return "R"; |
| 3981 | case 1 : return "G"; |
| 3982 | case 2 : return "B"; |
| 3983 | case 3 : return "A"; |
| 3984 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3985 | } |
| 3986 | case Format::eAstc6x5SrgbBlock: |
| 3987 | switch ( component ) |
| 3988 | { |
| 3989 | case 0 : return "R"; |
| 3990 | case 1 : return "G"; |
| 3991 | case 2 : return "B"; |
| 3992 | case 3 : return "A"; |
| 3993 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 3994 | } |
| 3995 | case Format::eAstc6x6UnormBlock: |
| 3996 | switch ( component ) |
| 3997 | { |
| 3998 | case 0 : return "R"; |
| 3999 | case 1 : return "G"; |
| 4000 | case 2 : return "B"; |
| 4001 | case 3 : return "A"; |
| 4002 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4003 | } |
| 4004 | case Format::eAstc6x6SrgbBlock: |
| 4005 | switch ( component ) |
| 4006 | { |
| 4007 | case 0 : return "R"; |
| 4008 | case 1 : return "G"; |
| 4009 | case 2 : return "B"; |
| 4010 | case 3 : return "A"; |
| 4011 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4012 | } |
| 4013 | case Format::eAstc8x5UnormBlock: |
| 4014 | switch ( component ) |
| 4015 | { |
| 4016 | case 0 : return "R"; |
| 4017 | case 1 : return "G"; |
| 4018 | case 2 : return "B"; |
| 4019 | case 3 : return "A"; |
| 4020 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4021 | } |
| 4022 | case Format::eAstc8x5SrgbBlock: |
| 4023 | switch ( component ) |
| 4024 | { |
| 4025 | case 0 : return "R"; |
| 4026 | case 1 : return "G"; |
| 4027 | case 2 : return "B"; |
| 4028 | case 3 : return "A"; |
| 4029 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4030 | } |
| 4031 | case Format::eAstc8x6UnormBlock: |
| 4032 | switch ( component ) |
| 4033 | { |
| 4034 | case 0 : return "R"; |
| 4035 | case 1 : return "G"; |
| 4036 | case 2 : return "B"; |
| 4037 | case 3 : return "A"; |
| 4038 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4039 | } |
| 4040 | case Format::eAstc8x6SrgbBlock: |
| 4041 | switch ( component ) |
| 4042 | { |
| 4043 | case 0 : return "R"; |
| 4044 | case 1 : return "G"; |
| 4045 | case 2 : return "B"; |
| 4046 | case 3 : return "A"; |
| 4047 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4048 | } |
| 4049 | case Format::eAstc8x8UnormBlock: |
| 4050 | switch ( component ) |
| 4051 | { |
| 4052 | case 0 : return "R"; |
| 4053 | case 1 : return "G"; |
| 4054 | case 2 : return "B"; |
| 4055 | case 3 : return "A"; |
| 4056 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4057 | } |
| 4058 | case Format::eAstc8x8SrgbBlock: |
| 4059 | switch ( component ) |
| 4060 | { |
| 4061 | case 0 : return "R"; |
| 4062 | case 1 : return "G"; |
| 4063 | case 2 : return "B"; |
| 4064 | case 3 : return "A"; |
| 4065 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4066 | } |
| 4067 | case Format::eAstc10x5UnormBlock: |
| 4068 | switch ( component ) |
| 4069 | { |
| 4070 | case 0 : return "R"; |
| 4071 | case 1 : return "G"; |
| 4072 | case 2 : return "B"; |
| 4073 | case 3 : return "A"; |
| 4074 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4075 | } |
| 4076 | case Format::eAstc10x5SrgbBlock: |
| 4077 | switch ( component ) |
| 4078 | { |
| 4079 | case 0 : return "R"; |
| 4080 | case 1 : return "G"; |
| 4081 | case 2 : return "B"; |
| 4082 | case 3 : return "A"; |
| 4083 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4084 | } |
| 4085 | case Format::eAstc10x6UnormBlock: |
| 4086 | switch ( component ) |
| 4087 | { |
| 4088 | case 0 : return "R"; |
| 4089 | case 1 : return "G"; |
| 4090 | case 2 : return "B"; |
| 4091 | case 3 : return "A"; |
| 4092 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4093 | } |
| 4094 | case Format::eAstc10x6SrgbBlock: |
| 4095 | switch ( component ) |
| 4096 | { |
| 4097 | case 0 : return "R"; |
| 4098 | case 1 : return "G"; |
| 4099 | case 2 : return "B"; |
| 4100 | case 3 : return "A"; |
| 4101 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4102 | } |
| 4103 | case Format::eAstc10x8UnormBlock: |
| 4104 | switch ( component ) |
| 4105 | { |
| 4106 | case 0 : return "R"; |
| 4107 | case 1 : return "G"; |
| 4108 | case 2 : return "B"; |
| 4109 | case 3 : return "A"; |
| 4110 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4111 | } |
| 4112 | case Format::eAstc10x8SrgbBlock: |
| 4113 | switch ( component ) |
| 4114 | { |
| 4115 | case 0 : return "R"; |
| 4116 | case 1 : return "G"; |
| 4117 | case 2 : return "B"; |
| 4118 | case 3 : return "A"; |
| 4119 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4120 | } |
| 4121 | case Format::eAstc10x10UnormBlock: |
| 4122 | switch ( component ) |
| 4123 | { |
| 4124 | case 0 : return "R"; |
| 4125 | case 1 : return "G"; |
| 4126 | case 2 : return "B"; |
| 4127 | case 3 : return "A"; |
| 4128 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4129 | } |
| 4130 | case Format::eAstc10x10SrgbBlock: |
| 4131 | switch ( component ) |
| 4132 | { |
| 4133 | case 0 : return "R"; |
| 4134 | case 1 : return "G"; |
| 4135 | case 2 : return "B"; |
| 4136 | case 3 : return "A"; |
| 4137 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4138 | } |
| 4139 | case Format::eAstc12x10UnormBlock: |
| 4140 | switch ( component ) |
| 4141 | { |
| 4142 | case 0 : return "R"; |
| 4143 | case 1 : return "G"; |
| 4144 | case 2 : return "B"; |
| 4145 | case 3 : return "A"; |
| 4146 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4147 | } |
| 4148 | case Format::eAstc12x10SrgbBlock: |
| 4149 | switch ( component ) |
| 4150 | { |
| 4151 | case 0 : return "R"; |
| 4152 | case 1 : return "G"; |
| 4153 | case 2 : return "B"; |
| 4154 | case 3 : return "A"; |
| 4155 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4156 | } |
| 4157 | case Format::eAstc12x12UnormBlock: |
| 4158 | switch ( component ) |
| 4159 | { |
| 4160 | case 0 : return "R"; |
| 4161 | case 1 : return "G"; |
| 4162 | case 2 : return "B"; |
| 4163 | case 3 : return "A"; |
| 4164 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4165 | } |
| 4166 | case Format::eAstc12x12SrgbBlock: |
| 4167 | switch ( component ) |
| 4168 | { |
| 4169 | case 0 : return "R"; |
| 4170 | case 1 : return "G"; |
| 4171 | case 2 : return "B"; |
| 4172 | case 3 : return "A"; |
| 4173 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4174 | } |
| 4175 | case Format::eG8B8G8R8422Unorm: |
| 4176 | switch ( component ) |
| 4177 | { |
| 4178 | case 0 : return "G"; |
| 4179 | case 1 : return "B"; |
| 4180 | case 2 : return "G"; |
| 4181 | case 3 : return "R"; |
| 4182 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4183 | } |
| 4184 | case Format::eB8G8R8G8422Unorm: |
| 4185 | switch ( component ) |
| 4186 | { |
| 4187 | case 0 : return "B"; |
| 4188 | case 1 : return "G"; |
| 4189 | case 2 : return "R"; |
| 4190 | case 3 : return "G"; |
| 4191 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4192 | } |
| 4193 | case Format::eG8B8R83Plane420Unorm: |
| 4194 | switch ( component ) |
| 4195 | { |
| 4196 | case 0 : return "G"; |
| 4197 | case 1 : return "B"; |
| 4198 | case 2 : return "R"; |
| 4199 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4200 | } |
| 4201 | case Format::eG8B8R82Plane420Unorm: |
| 4202 | switch ( component ) |
| 4203 | { |
| 4204 | case 0 : return "G"; |
| 4205 | case 1 : return "B"; |
| 4206 | case 2 : return "R"; |
| 4207 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4208 | } |
| 4209 | case Format::eG8B8R83Plane422Unorm: |
| 4210 | switch ( component ) |
| 4211 | { |
| 4212 | case 0 : return "G"; |
| 4213 | case 1 : return "B"; |
| 4214 | case 2 : return "R"; |
| 4215 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4216 | } |
| 4217 | case Format::eG8B8R82Plane422Unorm: |
| 4218 | switch ( component ) |
| 4219 | { |
| 4220 | case 0 : return "G"; |
| 4221 | case 1 : return "B"; |
| 4222 | case 2 : return "R"; |
| 4223 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4224 | } |
| 4225 | case Format::eG8B8R83Plane444Unorm: |
| 4226 | switch ( component ) |
| 4227 | { |
| 4228 | case 0 : return "G"; |
| 4229 | case 1 : return "B"; |
| 4230 | case 2 : return "R"; |
| 4231 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4232 | } |
| 4233 | case Format::eR10X6UnormPack16: |
| 4234 | switch ( component ) |
| 4235 | { |
| 4236 | case 0 : return "R"; |
| 4237 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4238 | } |
| 4239 | case Format::eR10X6G10X6Unorm2Pack16: |
| 4240 | switch ( component ) |
| 4241 | { |
| 4242 | case 0 : return "R"; |
| 4243 | case 1 : return "G"; |
| 4244 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4245 | } |
| 4246 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 4247 | switch ( component ) |
| 4248 | { |
| 4249 | case 0 : return "R"; |
| 4250 | case 1 : return "G"; |
| 4251 | case 2 : return "B"; |
| 4252 | case 3 : return "A"; |
| 4253 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4254 | } |
| 4255 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 4256 | switch ( component ) |
| 4257 | { |
| 4258 | case 0 : return "G"; |
| 4259 | case 1 : return "B"; |
| 4260 | case 2 : return "G"; |
| 4261 | case 3 : return "R"; |
| 4262 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4263 | } |
| 4264 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 4265 | switch ( component ) |
| 4266 | { |
| 4267 | case 0 : return "B"; |
| 4268 | case 1 : return "G"; |
| 4269 | case 2 : return "R"; |
| 4270 | case 3 : return "G"; |
| 4271 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4272 | } |
| 4273 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 4274 | switch ( component ) |
| 4275 | { |
| 4276 | case 0 : return "G"; |
| 4277 | case 1 : return "B"; |
| 4278 | case 2 : return "R"; |
| 4279 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4280 | } |
| 4281 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 4282 | switch ( component ) |
| 4283 | { |
| 4284 | case 0 : return "G"; |
| 4285 | case 1 : return "B"; |
| 4286 | case 2 : return "R"; |
| 4287 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4288 | } |
| 4289 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 4290 | switch ( component ) |
| 4291 | { |
| 4292 | case 0 : return "G"; |
| 4293 | case 1 : return "B"; |
| 4294 | case 2 : return "R"; |
| 4295 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4296 | } |
| 4297 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 4298 | switch ( component ) |
| 4299 | { |
| 4300 | case 0 : return "G"; |
| 4301 | case 1 : return "B"; |
| 4302 | case 2 : return "R"; |
| 4303 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4304 | } |
| 4305 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 4306 | switch ( component ) |
| 4307 | { |
| 4308 | case 0 : return "G"; |
| 4309 | case 1 : return "B"; |
| 4310 | case 2 : return "R"; |
| 4311 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4312 | } |
| 4313 | case Format::eR12X4UnormPack16: |
| 4314 | switch ( component ) |
| 4315 | { |
| 4316 | case 0 : return "R"; |
| 4317 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4318 | } |
| 4319 | case Format::eR12X4G12X4Unorm2Pack16: |
| 4320 | switch ( component ) |
| 4321 | { |
| 4322 | case 0 : return "R"; |
| 4323 | case 1 : return "G"; |
| 4324 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4325 | } |
| 4326 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 4327 | switch ( component ) |
| 4328 | { |
| 4329 | case 0 : return "R"; |
| 4330 | case 1 : return "G"; |
| 4331 | case 2 : return "B"; |
| 4332 | case 3 : return "A"; |
| 4333 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4334 | } |
| 4335 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 4336 | switch ( component ) |
| 4337 | { |
| 4338 | case 0 : return "G"; |
| 4339 | case 1 : return "B"; |
| 4340 | case 2 : return "G"; |
| 4341 | case 3 : return "R"; |
| 4342 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4343 | } |
| 4344 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 4345 | switch ( component ) |
| 4346 | { |
| 4347 | case 0 : return "B"; |
| 4348 | case 1 : return "G"; |
| 4349 | case 2 : return "R"; |
| 4350 | case 3 : return "G"; |
| 4351 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4352 | } |
| 4353 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 4354 | switch ( component ) |
| 4355 | { |
| 4356 | case 0 : return "G"; |
| 4357 | case 1 : return "B"; |
| 4358 | case 2 : return "R"; |
| 4359 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4360 | } |
| 4361 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 4362 | switch ( component ) |
| 4363 | { |
| 4364 | case 0 : return "G"; |
| 4365 | case 1 : return "B"; |
| 4366 | case 2 : return "R"; |
| 4367 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4368 | } |
| 4369 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 4370 | switch ( component ) |
| 4371 | { |
| 4372 | case 0 : return "G"; |
| 4373 | case 1 : return "B"; |
| 4374 | case 2 : return "R"; |
| 4375 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4376 | } |
| 4377 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 4378 | switch ( component ) |
| 4379 | { |
| 4380 | case 0 : return "G"; |
| 4381 | case 1 : return "B"; |
| 4382 | case 2 : return "R"; |
| 4383 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4384 | } |
| 4385 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 4386 | switch ( component ) |
| 4387 | { |
| 4388 | case 0 : return "G"; |
| 4389 | case 1 : return "B"; |
| 4390 | case 2 : return "R"; |
| 4391 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4392 | } |
| 4393 | case Format::eG16B16G16R16422Unorm: |
| 4394 | switch ( component ) |
| 4395 | { |
| 4396 | case 0 : return "G"; |
| 4397 | case 1 : return "B"; |
| 4398 | case 2 : return "G"; |
| 4399 | case 3 : return "R"; |
| 4400 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4401 | } |
| 4402 | case Format::eB16G16R16G16422Unorm: |
| 4403 | switch ( component ) |
| 4404 | { |
| 4405 | case 0 : return "B"; |
| 4406 | case 1 : return "G"; |
| 4407 | case 2 : return "R"; |
| 4408 | case 3 : return "G"; |
| 4409 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4410 | } |
| 4411 | case Format::eG16B16R163Plane420Unorm: |
| 4412 | switch ( component ) |
| 4413 | { |
| 4414 | case 0 : return "G"; |
| 4415 | case 1 : return "B"; |
| 4416 | case 2 : return "R"; |
| 4417 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4418 | } |
| 4419 | case Format::eG16B16R162Plane420Unorm: |
| 4420 | switch ( component ) |
| 4421 | { |
| 4422 | case 0 : return "G"; |
| 4423 | case 1 : return "B"; |
| 4424 | case 2 : return "R"; |
| 4425 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4426 | } |
| 4427 | case Format::eG16B16R163Plane422Unorm: |
| 4428 | switch ( component ) |
| 4429 | { |
| 4430 | case 0 : return "G"; |
| 4431 | case 1 : return "B"; |
| 4432 | case 2 : return "R"; |
| 4433 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4434 | } |
| 4435 | case Format::eG16B16R162Plane422Unorm: |
| 4436 | switch ( component ) |
| 4437 | { |
| 4438 | case 0 : return "G"; |
| 4439 | case 1 : return "B"; |
| 4440 | case 2 : return "R"; |
| 4441 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4442 | } |
| 4443 | case Format::eG16B16R163Plane444Unorm: |
| 4444 | switch ( component ) |
| 4445 | { |
| 4446 | case 0 : return "G"; |
| 4447 | case 1 : return "B"; |
| 4448 | case 2 : return "R"; |
| 4449 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4450 | } |
| 4451 | case Format::eG8B8R82Plane444Unorm: |
| 4452 | switch ( component ) |
| 4453 | { |
| 4454 | case 0 : return "G"; |
| 4455 | case 1 : return "B"; |
| 4456 | case 2 : return "R"; |
| 4457 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4458 | } |
| 4459 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 4460 | switch ( component ) |
| 4461 | { |
| 4462 | case 0 : return "G"; |
| 4463 | case 1 : return "B"; |
| 4464 | case 2 : return "R"; |
| 4465 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4466 | } |
| 4467 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 4468 | switch ( component ) |
| 4469 | { |
| 4470 | case 0 : return "G"; |
| 4471 | case 1 : return "B"; |
| 4472 | case 2 : return "R"; |
| 4473 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4474 | } |
| 4475 | case Format::eG16B16R162Plane444Unorm: |
| 4476 | switch ( component ) |
| 4477 | { |
| 4478 | case 0 : return "G"; |
| 4479 | case 1 : return "B"; |
| 4480 | case 2 : return "R"; |
| 4481 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4482 | } |
| 4483 | case Format::eA4R4G4B4UnormPack16: |
| 4484 | switch ( component ) |
| 4485 | { |
| 4486 | case 0 : return "A"; |
| 4487 | case 1 : return "R"; |
| 4488 | case 2 : return "G"; |
| 4489 | case 3 : return "B"; |
| 4490 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4491 | } |
| 4492 | case Format::eA4B4G4R4UnormPack16: |
| 4493 | switch ( component ) |
| 4494 | { |
| 4495 | case 0 : return "A"; |
| 4496 | case 1 : return "B"; |
| 4497 | case 2 : return "G"; |
| 4498 | case 3 : return "R"; |
| 4499 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4500 | } |
| 4501 | case Format::eAstc4x4SfloatBlock: |
| 4502 | switch ( component ) |
| 4503 | { |
| 4504 | case 0 : return "R"; |
| 4505 | case 1 : return "G"; |
| 4506 | case 2 : return "B"; |
| 4507 | case 3 : return "A"; |
| 4508 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4509 | } |
| 4510 | case Format::eAstc5x4SfloatBlock: |
| 4511 | switch ( component ) |
| 4512 | { |
| 4513 | case 0 : return "R"; |
| 4514 | case 1 : return "G"; |
| 4515 | case 2 : return "B"; |
| 4516 | case 3 : return "A"; |
| 4517 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4518 | } |
| 4519 | case Format::eAstc5x5SfloatBlock: |
| 4520 | switch ( component ) |
| 4521 | { |
| 4522 | case 0 : return "R"; |
| 4523 | case 1 : return "G"; |
| 4524 | case 2 : return "B"; |
| 4525 | case 3 : return "A"; |
| 4526 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4527 | } |
| 4528 | case Format::eAstc6x5SfloatBlock: |
| 4529 | switch ( component ) |
| 4530 | { |
| 4531 | case 0 : return "R"; |
| 4532 | case 1 : return "G"; |
| 4533 | case 2 : return "B"; |
| 4534 | case 3 : return "A"; |
| 4535 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4536 | } |
| 4537 | case Format::eAstc6x6SfloatBlock: |
| 4538 | switch ( component ) |
| 4539 | { |
| 4540 | case 0 : return "R"; |
| 4541 | case 1 : return "G"; |
| 4542 | case 2 : return "B"; |
| 4543 | case 3 : return "A"; |
| 4544 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4545 | } |
| 4546 | case Format::eAstc8x5SfloatBlock: |
| 4547 | switch ( component ) |
| 4548 | { |
| 4549 | case 0 : return "R"; |
| 4550 | case 1 : return "G"; |
| 4551 | case 2 : return "B"; |
| 4552 | case 3 : return "A"; |
| 4553 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4554 | } |
| 4555 | case Format::eAstc8x6SfloatBlock: |
| 4556 | switch ( component ) |
| 4557 | { |
| 4558 | case 0 : return "R"; |
| 4559 | case 1 : return "G"; |
| 4560 | case 2 : return "B"; |
| 4561 | case 3 : return "A"; |
| 4562 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4563 | } |
| 4564 | case Format::eAstc8x8SfloatBlock: |
| 4565 | switch ( component ) |
| 4566 | { |
| 4567 | case 0 : return "R"; |
| 4568 | case 1 : return "G"; |
| 4569 | case 2 : return "B"; |
| 4570 | case 3 : return "A"; |
| 4571 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4572 | } |
| 4573 | case Format::eAstc10x5SfloatBlock: |
| 4574 | switch ( component ) |
| 4575 | { |
| 4576 | case 0 : return "R"; |
| 4577 | case 1 : return "G"; |
| 4578 | case 2 : return "B"; |
| 4579 | case 3 : return "A"; |
| 4580 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4581 | } |
| 4582 | case Format::eAstc10x6SfloatBlock: |
| 4583 | switch ( component ) |
| 4584 | { |
| 4585 | case 0 : return "R"; |
| 4586 | case 1 : return "G"; |
| 4587 | case 2 : return "B"; |
| 4588 | case 3 : return "A"; |
| 4589 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4590 | } |
| 4591 | case Format::eAstc10x8SfloatBlock: |
| 4592 | switch ( component ) |
| 4593 | { |
| 4594 | case 0 : return "R"; |
| 4595 | case 1 : return "G"; |
| 4596 | case 2 : return "B"; |
| 4597 | case 3 : return "A"; |
| 4598 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4599 | } |
| 4600 | case Format::eAstc10x10SfloatBlock: |
| 4601 | switch ( component ) |
| 4602 | { |
| 4603 | case 0 : return "R"; |
| 4604 | case 1 : return "G"; |
| 4605 | case 2 : return "B"; |
| 4606 | case 3 : return "A"; |
| 4607 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4608 | } |
| 4609 | case Format::eAstc12x10SfloatBlock: |
| 4610 | switch ( component ) |
| 4611 | { |
| 4612 | case 0 : return "R"; |
| 4613 | case 1 : return "G"; |
| 4614 | case 2 : return "B"; |
| 4615 | case 3 : return "A"; |
| 4616 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4617 | } |
| 4618 | case Format::eAstc12x12SfloatBlock: |
| 4619 | switch ( component ) |
| 4620 | { |
| 4621 | case 0 : return "R"; |
| 4622 | case 1 : return "G"; |
| 4623 | case 2 : return "B"; |
| 4624 | case 3 : return "A"; |
| 4625 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4626 | } |
| 4627 | case Format::eA1B5G5R5UnormPack16: |
| 4628 | switch ( component ) |
| 4629 | { |
| 4630 | case 0 : return "A"; |
| 4631 | case 1 : return "B"; |
| 4632 | case 2 : return "G"; |
| 4633 | case 3 : return "R"; |
| 4634 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4635 | } |
| 4636 | case Format::eA8Unorm: |
| 4637 | switch ( component ) |
| 4638 | { |
| 4639 | case 0 : return "A"; |
| 4640 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4641 | } |
| 4642 | case Format::ePvrtc12BppUnormBlockIMG: |
| 4643 | switch ( component ) |
| 4644 | { |
| 4645 | case 0 : return "R"; |
| 4646 | case 1 : return "G"; |
| 4647 | case 2 : return "B"; |
| 4648 | case 3 : return "A"; |
| 4649 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4650 | } |
| 4651 | case Format::ePvrtc14BppUnormBlockIMG: |
| 4652 | switch ( component ) |
| 4653 | { |
| 4654 | case 0 : return "R"; |
| 4655 | case 1 : return "G"; |
| 4656 | case 2 : return "B"; |
| 4657 | case 3 : return "A"; |
| 4658 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4659 | } |
| 4660 | case Format::ePvrtc22BppUnormBlockIMG: |
| 4661 | switch ( component ) |
| 4662 | { |
| 4663 | case 0 : return "R"; |
| 4664 | case 1 : return "G"; |
| 4665 | case 2 : return "B"; |
| 4666 | case 3 : return "A"; |
| 4667 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4668 | } |
| 4669 | case Format::ePvrtc24BppUnormBlockIMG: |
| 4670 | switch ( component ) |
| 4671 | { |
| 4672 | case 0 : return "R"; |
| 4673 | case 1 : return "G"; |
| 4674 | case 2 : return "B"; |
| 4675 | case 3 : return "A"; |
| 4676 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4677 | } |
| 4678 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 4679 | switch ( component ) |
| 4680 | { |
| 4681 | case 0 : return "R"; |
| 4682 | case 1 : return "G"; |
| 4683 | case 2 : return "B"; |
| 4684 | case 3 : return "A"; |
| 4685 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4686 | } |
| 4687 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 4688 | switch ( component ) |
| 4689 | { |
| 4690 | case 0 : return "R"; |
| 4691 | case 1 : return "G"; |
| 4692 | case 2 : return "B"; |
| 4693 | case 3 : return "A"; |
| 4694 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4695 | } |
| 4696 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 4697 | switch ( component ) |
| 4698 | { |
| 4699 | case 0 : return "R"; |
| 4700 | case 1 : return "G"; |
| 4701 | case 2 : return "B"; |
| 4702 | case 3 : return "A"; |
| 4703 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4704 | } |
| 4705 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 4706 | switch ( component ) |
| 4707 | { |
| 4708 | case 0 : return "R"; |
| 4709 | case 1 : return "G"; |
| 4710 | case 2 : return "B"; |
| 4711 | case 3 : return "A"; |
| 4712 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4713 | } |
| 4714 | case Format::eAstc3x3x3UnormBlockEXT: |
| 4715 | switch ( component ) |
| 4716 | { |
| 4717 | case 0 : return "R"; |
| 4718 | case 1 : return "G"; |
| 4719 | case 2 : return "B"; |
| 4720 | case 3 : return "A"; |
| 4721 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4722 | } |
| 4723 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 4724 | switch ( component ) |
| 4725 | { |
| 4726 | case 0 : return "R"; |
| 4727 | case 1 : return "G"; |
| 4728 | case 2 : return "B"; |
| 4729 | case 3 : return "A"; |
| 4730 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4731 | } |
| 4732 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 4733 | switch ( component ) |
| 4734 | { |
| 4735 | case 0 : return "R"; |
| 4736 | case 1 : return "G"; |
| 4737 | case 2 : return "B"; |
| 4738 | case 3 : return "A"; |
| 4739 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4740 | } |
| 4741 | case Format::eAstc4x3x3UnormBlockEXT: |
| 4742 | switch ( component ) |
| 4743 | { |
| 4744 | case 0 : return "R"; |
| 4745 | case 1 : return "G"; |
| 4746 | case 2 : return "B"; |
| 4747 | case 3 : return "A"; |
| 4748 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4749 | } |
| 4750 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 4751 | switch ( component ) |
| 4752 | { |
| 4753 | case 0 : return "R"; |
| 4754 | case 1 : return "G"; |
| 4755 | case 2 : return "B"; |
| 4756 | case 3 : return "A"; |
| 4757 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4758 | } |
| 4759 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 4760 | switch ( component ) |
| 4761 | { |
| 4762 | case 0 : return "R"; |
| 4763 | case 1 : return "G"; |
| 4764 | case 2 : return "B"; |
| 4765 | case 3 : return "A"; |
| 4766 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4767 | } |
| 4768 | case Format::eAstc4x4x3UnormBlockEXT: |
| 4769 | switch ( component ) |
| 4770 | { |
| 4771 | case 0 : return "R"; |
| 4772 | case 1 : return "G"; |
| 4773 | case 2 : return "B"; |
| 4774 | case 3 : return "A"; |
| 4775 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4776 | } |
| 4777 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 4778 | switch ( component ) |
| 4779 | { |
| 4780 | case 0 : return "R"; |
| 4781 | case 1 : return "G"; |
| 4782 | case 2 : return "B"; |
| 4783 | case 3 : return "A"; |
| 4784 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4785 | } |
| 4786 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 4787 | switch ( component ) |
| 4788 | { |
| 4789 | case 0 : return "R"; |
| 4790 | case 1 : return "G"; |
| 4791 | case 2 : return "B"; |
| 4792 | case 3 : return "A"; |
| 4793 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4794 | } |
| 4795 | case Format::eAstc4x4x4UnormBlockEXT: |
| 4796 | switch ( component ) |
| 4797 | { |
| 4798 | case 0 : return "R"; |
| 4799 | case 1 : return "G"; |
| 4800 | case 2 : return "B"; |
| 4801 | case 3 : return "A"; |
| 4802 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4803 | } |
| 4804 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 4805 | switch ( component ) |
| 4806 | { |
| 4807 | case 0 : return "R"; |
| 4808 | case 1 : return "G"; |
| 4809 | case 2 : return "B"; |
| 4810 | case 3 : return "A"; |
| 4811 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4812 | } |
| 4813 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 4814 | switch ( component ) |
| 4815 | { |
| 4816 | case 0 : return "R"; |
| 4817 | case 1 : return "G"; |
| 4818 | case 2 : return "B"; |
| 4819 | case 3 : return "A"; |
| 4820 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4821 | } |
| 4822 | case Format::eAstc5x4x4UnormBlockEXT: |
| 4823 | switch ( component ) |
| 4824 | { |
| 4825 | case 0 : return "R"; |
| 4826 | case 1 : return "G"; |
| 4827 | case 2 : return "B"; |
| 4828 | case 3 : return "A"; |
| 4829 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4830 | } |
| 4831 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 4832 | switch ( component ) |
| 4833 | { |
| 4834 | case 0 : return "R"; |
| 4835 | case 1 : return "G"; |
| 4836 | case 2 : return "B"; |
| 4837 | case 3 : return "A"; |
| 4838 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4839 | } |
| 4840 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 4841 | switch ( component ) |
| 4842 | { |
| 4843 | case 0 : return "R"; |
| 4844 | case 1 : return "G"; |
| 4845 | case 2 : return "B"; |
| 4846 | case 3 : return "A"; |
| 4847 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4848 | } |
| 4849 | case Format::eAstc5x5x4UnormBlockEXT: |
| 4850 | switch ( component ) |
| 4851 | { |
| 4852 | case 0 : return "R"; |
| 4853 | case 1 : return "G"; |
| 4854 | case 2 : return "B"; |
| 4855 | case 3 : return "A"; |
| 4856 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4857 | } |
| 4858 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 4859 | switch ( component ) |
| 4860 | { |
| 4861 | case 0 : return "R"; |
| 4862 | case 1 : return "G"; |
| 4863 | case 2 : return "B"; |
| 4864 | case 3 : return "A"; |
| 4865 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4866 | } |
| 4867 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 4868 | switch ( component ) |
| 4869 | { |
| 4870 | case 0 : return "R"; |
| 4871 | case 1 : return "G"; |
| 4872 | case 2 : return "B"; |
| 4873 | case 3 : return "A"; |
| 4874 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4875 | } |
| 4876 | case Format::eAstc5x5x5UnormBlockEXT: |
| 4877 | switch ( component ) |
| 4878 | { |
| 4879 | case 0 : return "R"; |
| 4880 | case 1 : return "G"; |
| 4881 | case 2 : return "B"; |
| 4882 | case 3 : return "A"; |
| 4883 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4884 | } |
| 4885 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 4886 | switch ( component ) |
| 4887 | { |
| 4888 | case 0 : return "R"; |
| 4889 | case 1 : return "G"; |
| 4890 | case 2 : return "B"; |
| 4891 | case 3 : return "A"; |
| 4892 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4893 | } |
| 4894 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 4895 | switch ( component ) |
| 4896 | { |
| 4897 | case 0 : return "R"; |
| 4898 | case 1 : return "G"; |
| 4899 | case 2 : return "B"; |
| 4900 | case 3 : return "A"; |
| 4901 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4902 | } |
| 4903 | case Format::eAstc6x5x5UnormBlockEXT: |
| 4904 | switch ( component ) |
| 4905 | { |
| 4906 | case 0 : return "R"; |
| 4907 | case 1 : return "G"; |
| 4908 | case 2 : return "B"; |
| 4909 | case 3 : return "A"; |
| 4910 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4911 | } |
| 4912 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 4913 | switch ( component ) |
| 4914 | { |
| 4915 | case 0 : return "R"; |
| 4916 | case 1 : return "G"; |
| 4917 | case 2 : return "B"; |
| 4918 | case 3 : return "A"; |
| 4919 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4920 | } |
| 4921 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 4922 | switch ( component ) |
| 4923 | { |
| 4924 | case 0 : return "R"; |
| 4925 | case 1 : return "G"; |
| 4926 | case 2 : return "B"; |
| 4927 | case 3 : return "A"; |
| 4928 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4929 | } |
| 4930 | case Format::eAstc6x6x5UnormBlockEXT: |
| 4931 | switch ( component ) |
| 4932 | { |
| 4933 | case 0 : return "R"; |
| 4934 | case 1 : return "G"; |
| 4935 | case 2 : return "B"; |
| 4936 | case 3 : return "A"; |
| 4937 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4938 | } |
| 4939 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 4940 | switch ( component ) |
| 4941 | { |
| 4942 | case 0 : return "R"; |
| 4943 | case 1 : return "G"; |
| 4944 | case 2 : return "B"; |
| 4945 | case 3 : return "A"; |
| 4946 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4947 | } |
| 4948 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 4949 | switch ( component ) |
| 4950 | { |
| 4951 | case 0 : return "R"; |
| 4952 | case 1 : return "G"; |
| 4953 | case 2 : return "B"; |
| 4954 | case 3 : return "A"; |
| 4955 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4956 | } |
| 4957 | case Format::eAstc6x6x6UnormBlockEXT: |
| 4958 | switch ( component ) |
| 4959 | { |
| 4960 | case 0 : return "R"; |
| 4961 | case 1 : return "G"; |
| 4962 | case 2 : return "B"; |
| 4963 | case 3 : return "A"; |
| 4964 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4965 | } |
| 4966 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 4967 | switch ( component ) |
| 4968 | { |
| 4969 | case 0 : return "R"; |
| 4970 | case 1 : return "G"; |
| 4971 | case 2 : return "B"; |
| 4972 | case 3 : return "A"; |
| 4973 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4974 | } |
| 4975 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 4976 | switch ( component ) |
| 4977 | { |
| 4978 | case 0 : return "R"; |
| 4979 | case 1 : return "G"; |
| 4980 | case 2 : return "B"; |
| 4981 | case 3 : return "A"; |
| 4982 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4983 | } |
| 4984 | case Format::eR8BoolARM: |
| 4985 | switch ( component ) |
| 4986 | { |
| 4987 | case 0 : return "R"; |
| 4988 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4989 | } |
| 4990 | case Format::eR16SfloatFpencodingBfloat16ARM: |
| 4991 | switch ( component ) |
| 4992 | { |
| 4993 | case 0 : return "R"; |
| 4994 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 4995 | } |
| 4996 | case Format::eR8SfloatFpencodingFloat8E4M3ARM: |
| 4997 | switch ( component ) |
| 4998 | { |
| 4999 | case 0 : return "R"; |
| 5000 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5001 | } |
| 5002 | case Format::eR8SfloatFpencodingFloat8E5M2ARM: |
| 5003 | switch ( component ) |
| 5004 | { |
| 5005 | case 0 : return "R"; |
| 5006 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5007 | } |
| 5008 | case Format::eR16G16Sfixed5NV: |
| 5009 | switch ( component ) |
| 5010 | { |
| 5011 | case 0 : return "R"; |
| 5012 | case 1 : return "G"; |
| 5013 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5014 | } |
| 5015 | case Format::eR10X6UintPack16ARM: |
| 5016 | switch ( component ) |
| 5017 | { |
| 5018 | case 0 : return "R"; |
| 5019 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5020 | } |
| 5021 | case Format::eR10X6G10X6Uint2Pack16ARM: |
| 5022 | switch ( component ) |
| 5023 | { |
| 5024 | case 0 : return "R"; |
| 5025 | case 1 : return "G"; |
| 5026 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5027 | } |
| 5028 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 5029 | switch ( component ) |
| 5030 | { |
| 5031 | case 0 : return "R"; |
| 5032 | case 1 : return "G"; |
| 5033 | case 2 : return "B"; |
| 5034 | case 3 : return "A"; |
| 5035 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5036 | } |
| 5037 | case Format::eR12X4UintPack16ARM: |
| 5038 | switch ( component ) |
| 5039 | { |
| 5040 | case 0 : return "R"; |
| 5041 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5042 | } |
| 5043 | case Format::eR12X4G12X4Uint2Pack16ARM: |
| 5044 | switch ( component ) |
| 5045 | { |
| 5046 | case 0 : return "R"; |
| 5047 | case 1 : return "G"; |
| 5048 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5049 | } |
| 5050 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 5051 | switch ( component ) |
| 5052 | { |
| 5053 | case 0 : return "R"; |
| 5054 | case 1 : return "G"; |
| 5055 | case 2 : return "B"; |
| 5056 | case 3 : return "A"; |
| 5057 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5058 | } |
| 5059 | case Format::eR14X2UintPack16ARM: |
| 5060 | switch ( component ) |
| 5061 | { |
| 5062 | case 0 : return "R"; |
| 5063 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5064 | } |
| 5065 | case Format::eR14X2G14X2Uint2Pack16ARM: |
| 5066 | switch ( component ) |
| 5067 | { |
| 5068 | case 0 : return "R"; |
| 5069 | case 1 : return "G"; |
| 5070 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5071 | } |
| 5072 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 5073 | switch ( component ) |
| 5074 | { |
| 5075 | case 0 : return "R"; |
| 5076 | case 1 : return "G"; |
| 5077 | case 2 : return "B"; |
| 5078 | case 3 : return "A"; |
| 5079 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5080 | } |
| 5081 | case Format::eR14X2UnormPack16ARM: |
| 5082 | switch ( component ) |
| 5083 | { |
| 5084 | case 0 : return "R"; |
| 5085 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5086 | } |
| 5087 | case Format::eR14X2G14X2Unorm2Pack16ARM: |
| 5088 | switch ( component ) |
| 5089 | { |
| 5090 | case 0 : return "R"; |
| 5091 | case 1 : return "G"; |
| 5092 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5093 | } |
| 5094 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 5095 | switch ( component ) |
| 5096 | { |
| 5097 | case 0 : return "R"; |
| 5098 | case 1 : return "G"; |
| 5099 | case 2 : return "B"; |
| 5100 | case 3 : return "A"; |
| 5101 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5102 | } |
| 5103 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 5104 | switch ( component ) |
| 5105 | { |
| 5106 | case 0 : return "G"; |
| 5107 | case 1 : return "B"; |
| 5108 | case 2 : return "R"; |
| 5109 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5110 | } |
| 5111 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 5112 | switch ( component ) |
| 5113 | { |
| 5114 | case 0 : return "G"; |
| 5115 | case 1 : return "B"; |
| 5116 | case 2 : return "R"; |
| 5117 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5118 | } |
| 5119 | |
| 5120 | default: return ""; |
| 5121 | } |
| 5122 | } |
| 5123 | |
| 5124 | // The numeric format of the component |
| 5125 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentNumericFormat( Format format, uint8_t component ) |
| 5126 | { |
| 5127 | switch ( format ) |
| 5128 | { |
| 5129 | case Format::eR4G4UnormPack8: |
| 5130 | switch ( component ) |
| 5131 | { |
| 5132 | case 0 : return "UNORM"; |
| 5133 | case 1 : return "UNORM"; |
| 5134 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5135 | } |
| 5136 | case Format::eR4G4B4A4UnormPack16: |
| 5137 | switch ( component ) |
| 5138 | { |
| 5139 | case 0 : return "UNORM"; |
| 5140 | case 1 : return "UNORM"; |
| 5141 | case 2 : return "UNORM"; |
| 5142 | case 3 : return "UNORM"; |
| 5143 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5144 | } |
| 5145 | case Format::eB4G4R4A4UnormPack16: |
| 5146 | switch ( component ) |
| 5147 | { |
| 5148 | case 0 : return "UNORM"; |
| 5149 | case 1 : return "UNORM"; |
| 5150 | case 2 : return "UNORM"; |
| 5151 | case 3 : return "UNORM"; |
| 5152 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5153 | } |
| 5154 | case Format::eR5G6B5UnormPack16: |
| 5155 | switch ( component ) |
| 5156 | { |
| 5157 | case 0 : return "UNORM"; |
| 5158 | case 1 : return "UNORM"; |
| 5159 | case 2 : return "UNORM"; |
| 5160 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5161 | } |
| 5162 | case Format::eB5G6R5UnormPack16: |
| 5163 | switch ( component ) |
| 5164 | { |
| 5165 | case 0 : return "UNORM"; |
| 5166 | case 1 : return "UNORM"; |
| 5167 | case 2 : return "UNORM"; |
| 5168 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5169 | } |
| 5170 | case Format::eR5G5B5A1UnormPack16: |
| 5171 | switch ( component ) |
| 5172 | { |
| 5173 | case 0 : return "UNORM"; |
| 5174 | case 1 : return "UNORM"; |
| 5175 | case 2 : return "UNORM"; |
| 5176 | case 3 : return "UNORM"; |
| 5177 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5178 | } |
| 5179 | case Format::eB5G5R5A1UnormPack16: |
| 5180 | switch ( component ) |
| 5181 | { |
| 5182 | case 0 : return "UNORM"; |
| 5183 | case 1 : return "UNORM"; |
| 5184 | case 2 : return "UNORM"; |
| 5185 | case 3 : return "UNORM"; |
| 5186 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5187 | } |
| 5188 | case Format::eA1R5G5B5UnormPack16: |
| 5189 | switch ( component ) |
| 5190 | { |
| 5191 | case 0 : return "UNORM"; |
| 5192 | case 1 : return "UNORM"; |
| 5193 | case 2 : return "UNORM"; |
| 5194 | case 3 : return "UNORM"; |
| 5195 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5196 | } |
| 5197 | case Format::eR8Unorm: |
| 5198 | switch ( component ) |
| 5199 | { |
| 5200 | case 0 : return "UNORM"; |
| 5201 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5202 | } |
| 5203 | case Format::eR8Snorm: |
| 5204 | switch ( component ) |
| 5205 | { |
| 5206 | case 0 : return "SNORM"; |
| 5207 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5208 | } |
| 5209 | case Format::eR8Uscaled: |
| 5210 | switch ( component ) |
| 5211 | { |
| 5212 | case 0 : return "USCALED"; |
| 5213 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5214 | } |
| 5215 | case Format::eR8Sscaled: |
| 5216 | switch ( component ) |
| 5217 | { |
| 5218 | case 0 : return "SSCALED"; |
| 5219 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5220 | } |
| 5221 | case Format::eR8Uint: |
| 5222 | switch ( component ) |
| 5223 | { |
| 5224 | case 0 : return "UINT"; |
| 5225 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5226 | } |
| 5227 | case Format::eR8Sint: |
| 5228 | switch ( component ) |
| 5229 | { |
| 5230 | case 0 : return "SINT"; |
| 5231 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5232 | } |
| 5233 | case Format::eR8Srgb: |
| 5234 | switch ( component ) |
| 5235 | { |
| 5236 | case 0 : return "SRGB"; |
| 5237 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5238 | } |
| 5239 | case Format::eR8G8Unorm: |
| 5240 | switch ( component ) |
| 5241 | { |
| 5242 | case 0 : return "UNORM"; |
| 5243 | case 1 : return "UNORM"; |
| 5244 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5245 | } |
| 5246 | case Format::eR8G8Snorm: |
| 5247 | switch ( component ) |
| 5248 | { |
| 5249 | case 0 : return "SNORM"; |
| 5250 | case 1 : return "SNORM"; |
| 5251 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5252 | } |
| 5253 | case Format::eR8G8Uscaled: |
| 5254 | switch ( component ) |
| 5255 | { |
| 5256 | case 0 : return "USCALED"; |
| 5257 | case 1 : return "USCALED"; |
| 5258 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5259 | } |
| 5260 | case Format::eR8G8Sscaled: |
| 5261 | switch ( component ) |
| 5262 | { |
| 5263 | case 0 : return "SSCALED"; |
| 5264 | case 1 : return "SSCALED"; |
| 5265 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5266 | } |
| 5267 | case Format::eR8G8Uint: |
| 5268 | switch ( component ) |
| 5269 | { |
| 5270 | case 0 : return "UINT"; |
| 5271 | case 1 : return "UINT"; |
| 5272 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5273 | } |
| 5274 | case Format::eR8G8Sint: |
| 5275 | switch ( component ) |
| 5276 | { |
| 5277 | case 0 : return "SINT"; |
| 5278 | case 1 : return "SINT"; |
| 5279 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5280 | } |
| 5281 | case Format::eR8G8Srgb: |
| 5282 | switch ( component ) |
| 5283 | { |
| 5284 | case 0 : return "SRGB"; |
| 5285 | case 1 : return "SRGB"; |
| 5286 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5287 | } |
| 5288 | case Format::eR8G8B8Unorm: |
| 5289 | switch ( component ) |
| 5290 | { |
| 5291 | case 0 : return "UNORM"; |
| 5292 | case 1 : return "UNORM"; |
| 5293 | case 2 : return "UNORM"; |
| 5294 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5295 | } |
| 5296 | case Format::eR8G8B8Snorm: |
| 5297 | switch ( component ) |
| 5298 | { |
| 5299 | case 0 : return "SNORM"; |
| 5300 | case 1 : return "SNORM"; |
| 5301 | case 2 : return "SNORM"; |
| 5302 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5303 | } |
| 5304 | case Format::eR8G8B8Uscaled: |
| 5305 | switch ( component ) |
| 5306 | { |
| 5307 | case 0 : return "USCALED"; |
| 5308 | case 1 : return "USCALED"; |
| 5309 | case 2 : return "USCALED"; |
| 5310 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5311 | } |
| 5312 | case Format::eR8G8B8Sscaled: |
| 5313 | switch ( component ) |
| 5314 | { |
| 5315 | case 0 : return "SSCALED"; |
| 5316 | case 1 : return "SSCALED"; |
| 5317 | case 2 : return "SSCALED"; |
| 5318 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5319 | } |
| 5320 | case Format::eR8G8B8Uint: |
| 5321 | switch ( component ) |
| 5322 | { |
| 5323 | case 0 : return "UINT"; |
| 5324 | case 1 : return "UINT"; |
| 5325 | case 2 : return "UINT"; |
| 5326 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5327 | } |
| 5328 | case Format::eR8G8B8Sint: |
| 5329 | switch ( component ) |
| 5330 | { |
| 5331 | case 0 : return "SINT"; |
| 5332 | case 1 : return "SINT"; |
| 5333 | case 2 : return "SINT"; |
| 5334 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5335 | } |
| 5336 | case Format::eR8G8B8Srgb: |
| 5337 | switch ( component ) |
| 5338 | { |
| 5339 | case 0 : return "SRGB"; |
| 5340 | case 1 : return "SRGB"; |
| 5341 | case 2 : return "SRGB"; |
| 5342 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5343 | } |
| 5344 | case Format::eB8G8R8Unorm: |
| 5345 | switch ( component ) |
| 5346 | { |
| 5347 | case 0 : return "UNORM"; |
| 5348 | case 1 : return "UNORM"; |
| 5349 | case 2 : return "UNORM"; |
| 5350 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5351 | } |
| 5352 | case Format::eB8G8R8Snorm: |
| 5353 | switch ( component ) |
| 5354 | { |
| 5355 | case 0 : return "SNORM"; |
| 5356 | case 1 : return "SNORM"; |
| 5357 | case 2 : return "SNORM"; |
| 5358 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5359 | } |
| 5360 | case Format::eB8G8R8Uscaled: |
| 5361 | switch ( component ) |
| 5362 | { |
| 5363 | case 0 : return "USCALED"; |
| 5364 | case 1 : return "USCALED"; |
| 5365 | case 2 : return "USCALED"; |
| 5366 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5367 | } |
| 5368 | case Format::eB8G8R8Sscaled: |
| 5369 | switch ( component ) |
| 5370 | { |
| 5371 | case 0 : return "SSCALED"; |
| 5372 | case 1 : return "SSCALED"; |
| 5373 | case 2 : return "SSCALED"; |
| 5374 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5375 | } |
| 5376 | case Format::eB8G8R8Uint: |
| 5377 | switch ( component ) |
| 5378 | { |
| 5379 | case 0 : return "UINT"; |
| 5380 | case 1 : return "UINT"; |
| 5381 | case 2 : return "UINT"; |
| 5382 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5383 | } |
| 5384 | case Format::eB8G8R8Sint: |
| 5385 | switch ( component ) |
| 5386 | { |
| 5387 | case 0 : return "SINT"; |
| 5388 | case 1 : return "SINT"; |
| 5389 | case 2 : return "SINT"; |
| 5390 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5391 | } |
| 5392 | case Format::eB8G8R8Srgb: |
| 5393 | switch ( component ) |
| 5394 | { |
| 5395 | case 0 : return "SRGB"; |
| 5396 | case 1 : return "SRGB"; |
| 5397 | case 2 : return "SRGB"; |
| 5398 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5399 | } |
| 5400 | case Format::eR8G8B8A8Unorm: |
| 5401 | switch ( component ) |
| 5402 | { |
| 5403 | case 0 : return "UNORM"; |
| 5404 | case 1 : return "UNORM"; |
| 5405 | case 2 : return "UNORM"; |
| 5406 | case 3 : return "UNORM"; |
| 5407 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5408 | } |
| 5409 | case Format::eR8G8B8A8Snorm: |
| 5410 | switch ( component ) |
| 5411 | { |
| 5412 | case 0 : return "SNORM"; |
| 5413 | case 1 : return "SNORM"; |
| 5414 | case 2 : return "SNORM"; |
| 5415 | case 3 : return "SNORM"; |
| 5416 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5417 | } |
| 5418 | case Format::eR8G8B8A8Uscaled: |
| 5419 | switch ( component ) |
| 5420 | { |
| 5421 | case 0 : return "USCALED"; |
| 5422 | case 1 : return "USCALED"; |
| 5423 | case 2 : return "USCALED"; |
| 5424 | case 3 : return "USCALED"; |
| 5425 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5426 | } |
| 5427 | case Format::eR8G8B8A8Sscaled: |
| 5428 | switch ( component ) |
| 5429 | { |
| 5430 | case 0 : return "SSCALED"; |
| 5431 | case 1 : return "SSCALED"; |
| 5432 | case 2 : return "SSCALED"; |
| 5433 | case 3 : return "SSCALED"; |
| 5434 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5435 | } |
| 5436 | case Format::eR8G8B8A8Uint: |
| 5437 | switch ( component ) |
| 5438 | { |
| 5439 | case 0 : return "UINT"; |
| 5440 | case 1 : return "UINT"; |
| 5441 | case 2 : return "UINT"; |
| 5442 | case 3 : return "UINT"; |
| 5443 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5444 | } |
| 5445 | case Format::eR8G8B8A8Sint: |
| 5446 | switch ( component ) |
| 5447 | { |
| 5448 | case 0 : return "SINT"; |
| 5449 | case 1 : return "SINT"; |
| 5450 | case 2 : return "SINT"; |
| 5451 | case 3 : return "SINT"; |
| 5452 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5453 | } |
| 5454 | case Format::eR8G8B8A8Srgb: |
| 5455 | switch ( component ) |
| 5456 | { |
| 5457 | case 0 : return "SRGB"; |
| 5458 | case 1 : return "SRGB"; |
| 5459 | case 2 : return "SRGB"; |
| 5460 | case 3 : return "UNORM"; |
| 5461 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5462 | } |
| 5463 | case Format::eB8G8R8A8Unorm: |
| 5464 | switch ( component ) |
| 5465 | { |
| 5466 | case 0 : return "UNORM"; |
| 5467 | case 1 : return "UNORM"; |
| 5468 | case 2 : return "UNORM"; |
| 5469 | case 3 : return "UNORM"; |
| 5470 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5471 | } |
| 5472 | case Format::eB8G8R8A8Snorm: |
| 5473 | switch ( component ) |
| 5474 | { |
| 5475 | case 0 : return "SNORM"; |
| 5476 | case 1 : return "SNORM"; |
| 5477 | case 2 : return "SNORM"; |
| 5478 | case 3 : return "SNORM"; |
| 5479 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5480 | } |
| 5481 | case Format::eB8G8R8A8Uscaled: |
| 5482 | switch ( component ) |
| 5483 | { |
| 5484 | case 0 : return "USCALED"; |
| 5485 | case 1 : return "USCALED"; |
| 5486 | case 2 : return "USCALED"; |
| 5487 | case 3 : return "USCALED"; |
| 5488 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5489 | } |
| 5490 | case Format::eB8G8R8A8Sscaled: |
| 5491 | switch ( component ) |
| 5492 | { |
| 5493 | case 0 : return "SSCALED"; |
| 5494 | case 1 : return "SSCALED"; |
| 5495 | case 2 : return "SSCALED"; |
| 5496 | case 3 : return "SSCALED"; |
| 5497 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5498 | } |
| 5499 | case Format::eB8G8R8A8Uint: |
| 5500 | switch ( component ) |
| 5501 | { |
| 5502 | case 0 : return "UINT"; |
| 5503 | case 1 : return "UINT"; |
| 5504 | case 2 : return "UINT"; |
| 5505 | case 3 : return "UINT"; |
| 5506 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5507 | } |
| 5508 | case Format::eB8G8R8A8Sint: |
| 5509 | switch ( component ) |
| 5510 | { |
| 5511 | case 0 : return "SINT"; |
| 5512 | case 1 : return "SINT"; |
| 5513 | case 2 : return "SINT"; |
| 5514 | case 3 : return "SINT"; |
| 5515 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5516 | } |
| 5517 | case Format::eB8G8R8A8Srgb: |
| 5518 | switch ( component ) |
| 5519 | { |
| 5520 | case 0 : return "SRGB"; |
| 5521 | case 1 : return "SRGB"; |
| 5522 | case 2 : return "SRGB"; |
| 5523 | case 3 : return "UNORM"; |
| 5524 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5525 | } |
| 5526 | case Format::eA8B8G8R8UnormPack32: |
| 5527 | switch ( component ) |
| 5528 | { |
| 5529 | case 0 : return "UNORM"; |
| 5530 | case 1 : return "UNORM"; |
| 5531 | case 2 : return "UNORM"; |
| 5532 | case 3 : return "UNORM"; |
| 5533 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5534 | } |
| 5535 | case Format::eA8B8G8R8SnormPack32: |
| 5536 | switch ( component ) |
| 5537 | { |
| 5538 | case 0 : return "SNORM"; |
| 5539 | case 1 : return "SNORM"; |
| 5540 | case 2 : return "SNORM"; |
| 5541 | case 3 : return "SNORM"; |
| 5542 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5543 | } |
| 5544 | case Format::eA8B8G8R8UscaledPack32: |
| 5545 | switch ( component ) |
| 5546 | { |
| 5547 | case 0 : return "USCALED"; |
| 5548 | case 1 : return "USCALED"; |
| 5549 | case 2 : return "USCALED"; |
| 5550 | case 3 : return "USCALED"; |
| 5551 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5552 | } |
| 5553 | case Format::eA8B8G8R8SscaledPack32: |
| 5554 | switch ( component ) |
| 5555 | { |
| 5556 | case 0 : return "SSCALED"; |
| 5557 | case 1 : return "SSCALED"; |
| 5558 | case 2 : return "SSCALED"; |
| 5559 | case 3 : return "SSCALED"; |
| 5560 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5561 | } |
| 5562 | case Format::eA8B8G8R8UintPack32: |
| 5563 | switch ( component ) |
| 5564 | { |
| 5565 | case 0 : return "UINT"; |
| 5566 | case 1 : return "UINT"; |
| 5567 | case 2 : return "UINT"; |
| 5568 | case 3 : return "UINT"; |
| 5569 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5570 | } |
| 5571 | case Format::eA8B8G8R8SintPack32: |
| 5572 | switch ( component ) |
| 5573 | { |
| 5574 | case 0 : return "SINT"; |
| 5575 | case 1 : return "SINT"; |
| 5576 | case 2 : return "SINT"; |
| 5577 | case 3 : return "SINT"; |
| 5578 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5579 | } |
| 5580 | case Format::eA8B8G8R8SrgbPack32: |
| 5581 | switch ( component ) |
| 5582 | { |
| 5583 | case 0 : return "UNORM"; |
| 5584 | case 1 : return "SRGB"; |
| 5585 | case 2 : return "SRGB"; |
| 5586 | case 3 : return "SRGB"; |
| 5587 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5588 | } |
| 5589 | case Format::eA2R10G10B10UnormPack32: |
| 5590 | switch ( component ) |
| 5591 | { |
| 5592 | case 0 : return "UNORM"; |
| 5593 | case 1 : return "UNORM"; |
| 5594 | case 2 : return "UNORM"; |
| 5595 | case 3 : return "UNORM"; |
| 5596 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5597 | } |
| 5598 | case Format::eA2R10G10B10SnormPack32: |
| 5599 | switch ( component ) |
| 5600 | { |
| 5601 | case 0 : return "SNORM"; |
| 5602 | case 1 : return "SNORM"; |
| 5603 | case 2 : return "SNORM"; |
| 5604 | case 3 : return "SNORM"; |
| 5605 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5606 | } |
| 5607 | case Format::eA2R10G10B10UscaledPack32: |
| 5608 | switch ( component ) |
| 5609 | { |
| 5610 | case 0 : return "USCALED"; |
| 5611 | case 1 : return "USCALED"; |
| 5612 | case 2 : return "USCALED"; |
| 5613 | case 3 : return "USCALED"; |
| 5614 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5615 | } |
| 5616 | case Format::eA2R10G10B10SscaledPack32: |
| 5617 | switch ( component ) |
| 5618 | { |
| 5619 | case 0 : return "SSCALED"; |
| 5620 | case 1 : return "SSCALED"; |
| 5621 | case 2 : return "SSCALED"; |
| 5622 | case 3 : return "SSCALED"; |
| 5623 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5624 | } |
| 5625 | case Format::eA2R10G10B10UintPack32: |
| 5626 | switch ( component ) |
| 5627 | { |
| 5628 | case 0 : return "UINT"; |
| 5629 | case 1 : return "UINT"; |
| 5630 | case 2 : return "UINT"; |
| 5631 | case 3 : return "UINT"; |
| 5632 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5633 | } |
| 5634 | case Format::eA2R10G10B10SintPack32: |
| 5635 | switch ( component ) |
| 5636 | { |
| 5637 | case 0 : return "SINT"; |
| 5638 | case 1 : return "SINT"; |
| 5639 | case 2 : return "SINT"; |
| 5640 | case 3 : return "SINT"; |
| 5641 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5642 | } |
| 5643 | case Format::eA2B10G10R10UnormPack32: |
| 5644 | switch ( component ) |
| 5645 | { |
| 5646 | case 0 : return "UNORM"; |
| 5647 | case 1 : return "UNORM"; |
| 5648 | case 2 : return "UNORM"; |
| 5649 | case 3 : return "UNORM"; |
| 5650 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5651 | } |
| 5652 | case Format::eA2B10G10R10SnormPack32: |
| 5653 | switch ( component ) |
| 5654 | { |
| 5655 | case 0 : return "SNORM"; |
| 5656 | case 1 : return "SNORM"; |
| 5657 | case 2 : return "SNORM"; |
| 5658 | case 3 : return "SNORM"; |
| 5659 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5660 | } |
| 5661 | case Format::eA2B10G10R10UscaledPack32: |
| 5662 | switch ( component ) |
| 5663 | { |
| 5664 | case 0 : return "USCALED"; |
| 5665 | case 1 : return "USCALED"; |
| 5666 | case 2 : return "USCALED"; |
| 5667 | case 3 : return "USCALED"; |
| 5668 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5669 | } |
| 5670 | case Format::eA2B10G10R10SscaledPack32: |
| 5671 | switch ( component ) |
| 5672 | { |
| 5673 | case 0 : return "SSCALED"; |
| 5674 | case 1 : return "SSCALED"; |
| 5675 | case 2 : return "SSCALED"; |
| 5676 | case 3 : return "SSCALED"; |
| 5677 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5678 | } |
| 5679 | case Format::eA2B10G10R10UintPack32: |
| 5680 | switch ( component ) |
| 5681 | { |
| 5682 | case 0 : return "UINT"; |
| 5683 | case 1 : return "UINT"; |
| 5684 | case 2 : return "UINT"; |
| 5685 | case 3 : return "UINT"; |
| 5686 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5687 | } |
| 5688 | case Format::eA2B10G10R10SintPack32: |
| 5689 | switch ( component ) |
| 5690 | { |
| 5691 | case 0 : return "SINT"; |
| 5692 | case 1 : return "SINT"; |
| 5693 | case 2 : return "SINT"; |
| 5694 | case 3 : return "SINT"; |
| 5695 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5696 | } |
| 5697 | case Format::eR16Unorm: |
| 5698 | switch ( component ) |
| 5699 | { |
| 5700 | case 0 : return "UNORM"; |
| 5701 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5702 | } |
| 5703 | case Format::eR16Snorm: |
| 5704 | switch ( component ) |
| 5705 | { |
| 5706 | case 0 : return "SNORM"; |
| 5707 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5708 | } |
| 5709 | case Format::eR16Uscaled: |
| 5710 | switch ( component ) |
| 5711 | { |
| 5712 | case 0 : return "USCALED"; |
| 5713 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5714 | } |
| 5715 | case Format::eR16Sscaled: |
| 5716 | switch ( component ) |
| 5717 | { |
| 5718 | case 0 : return "SSCALED"; |
| 5719 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5720 | } |
| 5721 | case Format::eR16Uint: |
| 5722 | switch ( component ) |
| 5723 | { |
| 5724 | case 0 : return "UINT"; |
| 5725 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5726 | } |
| 5727 | case Format::eR16Sint: |
| 5728 | switch ( component ) |
| 5729 | { |
| 5730 | case 0 : return "SINT"; |
| 5731 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5732 | } |
| 5733 | case Format::eR16Sfloat: |
| 5734 | switch ( component ) |
| 5735 | { |
| 5736 | case 0 : return "SFLOAT"; |
| 5737 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5738 | } |
| 5739 | case Format::eR16G16Unorm: |
| 5740 | switch ( component ) |
| 5741 | { |
| 5742 | case 0 : return "UNORM"; |
| 5743 | case 1 : return "UNORM"; |
| 5744 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5745 | } |
| 5746 | case Format::eR16G16Snorm: |
| 5747 | switch ( component ) |
| 5748 | { |
| 5749 | case 0 : return "SNORM"; |
| 5750 | case 1 : return "SNORM"; |
| 5751 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5752 | } |
| 5753 | case Format::eR16G16Uscaled: |
| 5754 | switch ( component ) |
| 5755 | { |
| 5756 | case 0 : return "USCALED"; |
| 5757 | case 1 : return "USCALED"; |
| 5758 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5759 | } |
| 5760 | case Format::eR16G16Sscaled: |
| 5761 | switch ( component ) |
| 5762 | { |
| 5763 | case 0 : return "SSCALED"; |
| 5764 | case 1 : return "SSCALED"; |
| 5765 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5766 | } |
| 5767 | case Format::eR16G16Uint: |
| 5768 | switch ( component ) |
| 5769 | { |
| 5770 | case 0 : return "UINT"; |
| 5771 | case 1 : return "UINT"; |
| 5772 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5773 | } |
| 5774 | case Format::eR16G16Sint: |
| 5775 | switch ( component ) |
| 5776 | { |
| 5777 | case 0 : return "SINT"; |
| 5778 | case 1 : return "SINT"; |
| 5779 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5780 | } |
| 5781 | case Format::eR16G16Sfloat: |
| 5782 | switch ( component ) |
| 5783 | { |
| 5784 | case 0 : return "SFLOAT"; |
| 5785 | case 1 : return "SFLOAT"; |
| 5786 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5787 | } |
| 5788 | case Format::eR16G16B16Unorm: |
| 5789 | switch ( component ) |
| 5790 | { |
| 5791 | case 0 : return "UNORM"; |
| 5792 | case 1 : return "UNORM"; |
| 5793 | case 2 : return "UNORM"; |
| 5794 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5795 | } |
| 5796 | case Format::eR16G16B16Snorm: |
| 5797 | switch ( component ) |
| 5798 | { |
| 5799 | case 0 : return "SNORM"; |
| 5800 | case 1 : return "SNORM"; |
| 5801 | case 2 : return "SNORM"; |
| 5802 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5803 | } |
| 5804 | case Format::eR16G16B16Uscaled: |
| 5805 | switch ( component ) |
| 5806 | { |
| 5807 | case 0 : return "USCALED"; |
| 5808 | case 1 : return "USCALED"; |
| 5809 | case 2 : return "USCALED"; |
| 5810 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5811 | } |
| 5812 | case Format::eR16G16B16Sscaled: |
| 5813 | switch ( component ) |
| 5814 | { |
| 5815 | case 0 : return "SSCALED"; |
| 5816 | case 1 : return "SSCALED"; |
| 5817 | case 2 : return "SSCALED"; |
| 5818 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5819 | } |
| 5820 | case Format::eR16G16B16Uint: |
| 5821 | switch ( component ) |
| 5822 | { |
| 5823 | case 0 : return "UINT"; |
| 5824 | case 1 : return "UINT"; |
| 5825 | case 2 : return "UINT"; |
| 5826 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5827 | } |
| 5828 | case Format::eR16G16B16Sint: |
| 5829 | switch ( component ) |
| 5830 | { |
| 5831 | case 0 : return "SINT"; |
| 5832 | case 1 : return "SINT"; |
| 5833 | case 2 : return "SINT"; |
| 5834 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5835 | } |
| 5836 | case Format::eR16G16B16Sfloat: |
| 5837 | switch ( component ) |
| 5838 | { |
| 5839 | case 0 : return "SFLOAT"; |
| 5840 | case 1 : return "SFLOAT"; |
| 5841 | case 2 : return "SFLOAT"; |
| 5842 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5843 | } |
| 5844 | case Format::eR16G16B16A16Unorm: |
| 5845 | switch ( component ) |
| 5846 | { |
| 5847 | case 0 : return "UNORM"; |
| 5848 | case 1 : return "UNORM"; |
| 5849 | case 2 : return "UNORM"; |
| 5850 | case 3 : return "UNORM"; |
| 5851 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5852 | } |
| 5853 | case Format::eR16G16B16A16Snorm: |
| 5854 | switch ( component ) |
| 5855 | { |
| 5856 | case 0 : return "SNORM"; |
| 5857 | case 1 : return "SNORM"; |
| 5858 | case 2 : return "SNORM"; |
| 5859 | case 3 : return "SNORM"; |
| 5860 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5861 | } |
| 5862 | case Format::eR16G16B16A16Uscaled: |
| 5863 | switch ( component ) |
| 5864 | { |
| 5865 | case 0 : return "USCALED"; |
| 5866 | case 1 : return "USCALED"; |
| 5867 | case 2 : return "USCALED"; |
| 5868 | case 3 : return "USCALED"; |
| 5869 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5870 | } |
| 5871 | case Format::eR16G16B16A16Sscaled: |
| 5872 | switch ( component ) |
| 5873 | { |
| 5874 | case 0 : return "SSCALED"; |
| 5875 | case 1 : return "SSCALED"; |
| 5876 | case 2 : return "SSCALED"; |
| 5877 | case 3 : return "SSCALED"; |
| 5878 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5879 | } |
| 5880 | case Format::eR16G16B16A16Uint: |
| 5881 | switch ( component ) |
| 5882 | { |
| 5883 | case 0 : return "UINT"; |
| 5884 | case 1 : return "UINT"; |
| 5885 | case 2 : return "UINT"; |
| 5886 | case 3 : return "UINT"; |
| 5887 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5888 | } |
| 5889 | case Format::eR16G16B16A16Sint: |
| 5890 | switch ( component ) |
| 5891 | { |
| 5892 | case 0 : return "SINT"; |
| 5893 | case 1 : return "SINT"; |
| 5894 | case 2 : return "SINT"; |
| 5895 | case 3 : return "SINT"; |
| 5896 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5897 | } |
| 5898 | case Format::eR16G16B16A16Sfloat: |
| 5899 | switch ( component ) |
| 5900 | { |
| 5901 | case 0 : return "SFLOAT"; |
| 5902 | case 1 : return "SFLOAT"; |
| 5903 | case 2 : return "SFLOAT"; |
| 5904 | case 3 : return "SFLOAT"; |
| 5905 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5906 | } |
| 5907 | case Format::eR32Uint: |
| 5908 | switch ( component ) |
| 5909 | { |
| 5910 | case 0 : return "UINT"; |
| 5911 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5912 | } |
| 5913 | case Format::eR32Sint: |
| 5914 | switch ( component ) |
| 5915 | { |
| 5916 | case 0 : return "SINT"; |
| 5917 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5918 | } |
| 5919 | case Format::eR32Sfloat: |
| 5920 | switch ( component ) |
| 5921 | { |
| 5922 | case 0 : return "SFLOAT"; |
| 5923 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5924 | } |
| 5925 | case Format::eR32G32Uint: |
| 5926 | switch ( component ) |
| 5927 | { |
| 5928 | case 0 : return "UINT"; |
| 5929 | case 1 : return "UINT"; |
| 5930 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5931 | } |
| 5932 | case Format::eR32G32Sint: |
| 5933 | switch ( component ) |
| 5934 | { |
| 5935 | case 0 : return "SINT"; |
| 5936 | case 1 : return "SINT"; |
| 5937 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5938 | } |
| 5939 | case Format::eR32G32Sfloat: |
| 5940 | switch ( component ) |
| 5941 | { |
| 5942 | case 0 : return "SFLOAT"; |
| 5943 | case 1 : return "SFLOAT"; |
| 5944 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5945 | } |
| 5946 | case Format::eR32G32B32Uint: |
| 5947 | switch ( component ) |
| 5948 | { |
| 5949 | case 0 : return "UINT"; |
| 5950 | case 1 : return "UINT"; |
| 5951 | case 2 : return "UINT"; |
| 5952 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5953 | } |
| 5954 | case Format::eR32G32B32Sint: |
| 5955 | switch ( component ) |
| 5956 | { |
| 5957 | case 0 : return "SINT"; |
| 5958 | case 1 : return "SINT"; |
| 5959 | case 2 : return "SINT"; |
| 5960 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5961 | } |
| 5962 | case Format::eR32G32B32Sfloat: |
| 5963 | switch ( component ) |
| 5964 | { |
| 5965 | case 0 : return "SFLOAT"; |
| 5966 | case 1 : return "SFLOAT"; |
| 5967 | case 2 : return "SFLOAT"; |
| 5968 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5969 | } |
| 5970 | case Format::eR32G32B32A32Uint: |
| 5971 | switch ( component ) |
| 5972 | { |
| 5973 | case 0 : return "UINT"; |
| 5974 | case 1 : return "UINT"; |
| 5975 | case 2 : return "UINT"; |
| 5976 | case 3 : return "UINT"; |
| 5977 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5978 | } |
| 5979 | case Format::eR32G32B32A32Sint: |
| 5980 | switch ( component ) |
| 5981 | { |
| 5982 | case 0 : return "SINT"; |
| 5983 | case 1 : return "SINT"; |
| 5984 | case 2 : return "SINT"; |
| 5985 | case 3 : return "SINT"; |
| 5986 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5987 | } |
| 5988 | case Format::eR32G32B32A32Sfloat: |
| 5989 | switch ( component ) |
| 5990 | { |
| 5991 | case 0 : return "SFLOAT"; |
| 5992 | case 1 : return "SFLOAT"; |
| 5993 | case 2 : return "SFLOAT"; |
| 5994 | case 3 : return "SFLOAT"; |
| 5995 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 5996 | } |
| 5997 | case Format::eR64Uint: |
| 5998 | switch ( component ) |
| 5999 | { |
| 6000 | case 0 : return "UINT"; |
| 6001 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6002 | } |
| 6003 | case Format::eR64Sint: |
| 6004 | switch ( component ) |
| 6005 | { |
| 6006 | case 0 : return "SINT"; |
| 6007 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6008 | } |
| 6009 | case Format::eR64Sfloat: |
| 6010 | switch ( component ) |
| 6011 | { |
| 6012 | case 0 : return "SFLOAT"; |
| 6013 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6014 | } |
| 6015 | case Format::eR64G64Uint: |
| 6016 | switch ( component ) |
| 6017 | { |
| 6018 | case 0 : return "UINT"; |
| 6019 | case 1 : return "UINT"; |
| 6020 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6021 | } |
| 6022 | case Format::eR64G64Sint: |
| 6023 | switch ( component ) |
| 6024 | { |
| 6025 | case 0 : return "SINT"; |
| 6026 | case 1 : return "SINT"; |
| 6027 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6028 | } |
| 6029 | case Format::eR64G64Sfloat: |
| 6030 | switch ( component ) |
| 6031 | { |
| 6032 | case 0 : return "SFLOAT"; |
| 6033 | case 1 : return "SFLOAT"; |
| 6034 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6035 | } |
| 6036 | case Format::eR64G64B64Uint: |
| 6037 | switch ( component ) |
| 6038 | { |
| 6039 | case 0 : return "UINT"; |
| 6040 | case 1 : return "UINT"; |
| 6041 | case 2 : return "UINT"; |
| 6042 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6043 | } |
| 6044 | case Format::eR64G64B64Sint: |
| 6045 | switch ( component ) |
| 6046 | { |
| 6047 | case 0 : return "SINT"; |
| 6048 | case 1 : return "SINT"; |
| 6049 | case 2 : return "SINT"; |
| 6050 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6051 | } |
| 6052 | case Format::eR64G64B64Sfloat: |
| 6053 | switch ( component ) |
| 6054 | { |
| 6055 | case 0 : return "SFLOAT"; |
| 6056 | case 1 : return "SFLOAT"; |
| 6057 | case 2 : return "SFLOAT"; |
| 6058 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6059 | } |
| 6060 | case Format::eR64G64B64A64Uint: |
| 6061 | switch ( component ) |
| 6062 | { |
| 6063 | case 0 : return "UINT"; |
| 6064 | case 1 : return "UINT"; |
| 6065 | case 2 : return "UINT"; |
| 6066 | case 3 : return "UINT"; |
| 6067 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6068 | } |
| 6069 | case Format::eR64G64B64A64Sint: |
| 6070 | switch ( component ) |
| 6071 | { |
| 6072 | case 0 : return "SINT"; |
| 6073 | case 1 : return "SINT"; |
| 6074 | case 2 : return "SINT"; |
| 6075 | case 3 : return "SINT"; |
| 6076 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6077 | } |
| 6078 | case Format::eR64G64B64A64Sfloat: |
| 6079 | switch ( component ) |
| 6080 | { |
| 6081 | case 0 : return "SFLOAT"; |
| 6082 | case 1 : return "SFLOAT"; |
| 6083 | case 2 : return "SFLOAT"; |
| 6084 | case 3 : return "SFLOAT"; |
| 6085 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6086 | } |
| 6087 | case Format::eB10G11R11UfloatPack32: |
| 6088 | switch ( component ) |
| 6089 | { |
| 6090 | case 0 : return "UFLOAT"; |
| 6091 | case 1 : return "UFLOAT"; |
| 6092 | case 2 : return "UFLOAT"; |
| 6093 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6094 | } |
| 6095 | case Format::eE5B9G9R9UfloatPack32: |
| 6096 | switch ( component ) |
| 6097 | { |
| 6098 | case 0 : return "UFLOAT"; |
| 6099 | case 1 : return "UFLOAT"; |
| 6100 | case 2 : return "UFLOAT"; |
| 6101 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6102 | } |
| 6103 | case Format::eD16Unorm: |
| 6104 | switch ( component ) |
| 6105 | { |
| 6106 | case 0 : return "UNORM"; |
| 6107 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6108 | } |
| 6109 | case Format::eX8D24UnormPack32: |
| 6110 | switch ( component ) |
| 6111 | { |
| 6112 | case 0 : return "UNORM"; |
| 6113 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6114 | } |
| 6115 | case Format::eD32Sfloat: |
| 6116 | switch ( component ) |
| 6117 | { |
| 6118 | case 0 : return "SFLOAT"; |
| 6119 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6120 | } |
| 6121 | case Format::eS8Uint: |
| 6122 | switch ( component ) |
| 6123 | { |
| 6124 | case 0 : return "UINT"; |
| 6125 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6126 | } |
| 6127 | case Format::eD16UnormS8Uint: |
| 6128 | switch ( component ) |
| 6129 | { |
| 6130 | case 0 : return "UNORM"; |
| 6131 | case 1 : return "UINT"; |
| 6132 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6133 | } |
| 6134 | case Format::eD24UnormS8Uint: |
| 6135 | switch ( component ) |
| 6136 | { |
| 6137 | case 0 : return "UNORM"; |
| 6138 | case 1 : return "UINT"; |
| 6139 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6140 | } |
| 6141 | case Format::eD32SfloatS8Uint: |
| 6142 | switch ( component ) |
| 6143 | { |
| 6144 | case 0 : return "SFLOAT"; |
| 6145 | case 1 : return "UINT"; |
| 6146 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6147 | } |
| 6148 | case Format::eBc1RgbUnormBlock: |
| 6149 | switch ( component ) |
| 6150 | { |
| 6151 | case 0 : return "UNORM"; |
| 6152 | case 1 : return "UNORM"; |
| 6153 | case 2 : return "UNORM"; |
| 6154 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6155 | } |
| 6156 | case Format::eBc1RgbSrgbBlock: |
| 6157 | switch ( component ) |
| 6158 | { |
| 6159 | case 0 : return "SRGB"; |
| 6160 | case 1 : return "SRGB"; |
| 6161 | case 2 : return "SRGB"; |
| 6162 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6163 | } |
| 6164 | case Format::eBc1RgbaUnormBlock: |
| 6165 | switch ( component ) |
| 6166 | { |
| 6167 | case 0 : return "UNORM"; |
| 6168 | case 1 : return "UNORM"; |
| 6169 | case 2 : return "UNORM"; |
| 6170 | case 3 : return "UNORM"; |
| 6171 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6172 | } |
| 6173 | case Format::eBc1RgbaSrgbBlock: |
| 6174 | switch ( component ) |
| 6175 | { |
| 6176 | case 0 : return "SRGB"; |
| 6177 | case 1 : return "SRGB"; |
| 6178 | case 2 : return "SRGB"; |
| 6179 | case 3 : return "UNORM"; |
| 6180 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6181 | } |
| 6182 | case Format::eBc2UnormBlock: |
| 6183 | switch ( component ) |
| 6184 | { |
| 6185 | case 0 : return "UNORM"; |
| 6186 | case 1 : return "UNORM"; |
| 6187 | case 2 : return "UNORM"; |
| 6188 | case 3 : return "UNORM"; |
| 6189 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6190 | } |
| 6191 | case Format::eBc2SrgbBlock: |
| 6192 | switch ( component ) |
| 6193 | { |
| 6194 | case 0 : return "SRGB"; |
| 6195 | case 1 : return "SRGB"; |
| 6196 | case 2 : return "SRGB"; |
| 6197 | case 3 : return "UNORM"; |
| 6198 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6199 | } |
| 6200 | case Format::eBc3UnormBlock: |
| 6201 | switch ( component ) |
| 6202 | { |
| 6203 | case 0 : return "UNORM"; |
| 6204 | case 1 : return "UNORM"; |
| 6205 | case 2 : return "UNORM"; |
| 6206 | case 3 : return "UNORM"; |
| 6207 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6208 | } |
| 6209 | case Format::eBc3SrgbBlock: |
| 6210 | switch ( component ) |
| 6211 | { |
| 6212 | case 0 : return "SRGB"; |
| 6213 | case 1 : return "SRGB"; |
| 6214 | case 2 : return "SRGB"; |
| 6215 | case 3 : return "UNORM"; |
| 6216 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6217 | } |
| 6218 | case Format::eBc4UnormBlock: |
| 6219 | switch ( component ) |
| 6220 | { |
| 6221 | case 0 : return "UNORM"; |
| 6222 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6223 | } |
| 6224 | case Format::eBc4SnormBlock: |
| 6225 | switch ( component ) |
| 6226 | { |
| 6227 | case 0 : return "SNORM"; |
| 6228 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6229 | } |
| 6230 | case Format::eBc5UnormBlock: |
| 6231 | switch ( component ) |
| 6232 | { |
| 6233 | case 0 : return "UNORM"; |
| 6234 | case 1 : return "UNORM"; |
| 6235 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6236 | } |
| 6237 | case Format::eBc5SnormBlock: |
| 6238 | switch ( component ) |
| 6239 | { |
| 6240 | case 0 : return "SNORM"; |
| 6241 | case 1 : return "SNORM"; |
| 6242 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6243 | } |
| 6244 | case Format::eBc6HUfloatBlock: |
| 6245 | switch ( component ) |
| 6246 | { |
| 6247 | case 0 : return "UFLOAT"; |
| 6248 | case 1 : return "UFLOAT"; |
| 6249 | case 2 : return "UFLOAT"; |
| 6250 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6251 | } |
| 6252 | case Format::eBc6HSfloatBlock: |
| 6253 | switch ( component ) |
| 6254 | { |
| 6255 | case 0 : return "SFLOAT"; |
| 6256 | case 1 : return "SFLOAT"; |
| 6257 | case 2 : return "SFLOAT"; |
| 6258 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6259 | } |
| 6260 | case Format::eBc7UnormBlock: |
| 6261 | switch ( component ) |
| 6262 | { |
| 6263 | case 0 : return "UNORM"; |
| 6264 | case 1 : return "UNORM"; |
| 6265 | case 2 : return "UNORM"; |
| 6266 | case 3 : return "UNORM"; |
| 6267 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6268 | } |
| 6269 | case Format::eBc7SrgbBlock: |
| 6270 | switch ( component ) |
| 6271 | { |
| 6272 | case 0 : return "SRGB"; |
| 6273 | case 1 : return "SRGB"; |
| 6274 | case 2 : return "SRGB"; |
| 6275 | case 3 : return "UNORM"; |
| 6276 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6277 | } |
| 6278 | case Format::eEtc2R8G8B8UnormBlock: |
| 6279 | switch ( component ) |
| 6280 | { |
| 6281 | case 0 : return "UNORM"; |
| 6282 | case 1 : return "UNORM"; |
| 6283 | case 2 : return "UNORM"; |
| 6284 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6285 | } |
| 6286 | case Format::eEtc2R8G8B8SrgbBlock: |
| 6287 | switch ( component ) |
| 6288 | { |
| 6289 | case 0 : return "SRGB"; |
| 6290 | case 1 : return "SRGB"; |
| 6291 | case 2 : return "SRGB"; |
| 6292 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6293 | } |
| 6294 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 6295 | switch ( component ) |
| 6296 | { |
| 6297 | case 0 : return "UNORM"; |
| 6298 | case 1 : return "UNORM"; |
| 6299 | case 2 : return "UNORM"; |
| 6300 | case 3 : return "UNORM"; |
| 6301 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6302 | } |
| 6303 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 6304 | switch ( component ) |
| 6305 | { |
| 6306 | case 0 : return "SRGB"; |
| 6307 | case 1 : return "SRGB"; |
| 6308 | case 2 : return "SRGB"; |
| 6309 | case 3 : return "UNORM"; |
| 6310 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6311 | } |
| 6312 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 6313 | switch ( component ) |
| 6314 | { |
| 6315 | case 0 : return "UNORM"; |
| 6316 | case 1 : return "UNORM"; |
| 6317 | case 2 : return "UNORM"; |
| 6318 | case 3 : return "UNORM"; |
| 6319 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6320 | } |
| 6321 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 6322 | switch ( component ) |
| 6323 | { |
| 6324 | case 0 : return "SRGB"; |
| 6325 | case 1 : return "SRGB"; |
| 6326 | case 2 : return "SRGB"; |
| 6327 | case 3 : return "UNORM"; |
| 6328 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6329 | } |
| 6330 | case Format::eEacR11UnormBlock: |
| 6331 | switch ( component ) |
| 6332 | { |
| 6333 | case 0 : return "UNORM"; |
| 6334 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6335 | } |
| 6336 | case Format::eEacR11SnormBlock: |
| 6337 | switch ( component ) |
| 6338 | { |
| 6339 | case 0 : return "SNORM"; |
| 6340 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6341 | } |
| 6342 | case Format::eEacR11G11UnormBlock: |
| 6343 | switch ( component ) |
| 6344 | { |
| 6345 | case 0 : return "UNORM"; |
| 6346 | case 1 : return "UNORM"; |
| 6347 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6348 | } |
| 6349 | case Format::eEacR11G11SnormBlock: |
| 6350 | switch ( component ) |
| 6351 | { |
| 6352 | case 0 : return "SNORM"; |
| 6353 | case 1 : return "SNORM"; |
| 6354 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6355 | } |
| 6356 | case Format::eAstc4x4UnormBlock: |
| 6357 | switch ( component ) |
| 6358 | { |
| 6359 | case 0 : return "UNORM"; |
| 6360 | case 1 : return "UNORM"; |
| 6361 | case 2 : return "UNORM"; |
| 6362 | case 3 : return "UNORM"; |
| 6363 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6364 | } |
| 6365 | case Format::eAstc4x4SrgbBlock: |
| 6366 | switch ( component ) |
| 6367 | { |
| 6368 | case 0 : return "SRGB"; |
| 6369 | case 1 : return "SRGB"; |
| 6370 | case 2 : return "SRGB"; |
| 6371 | case 3 : return "UNORM"; |
| 6372 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6373 | } |
| 6374 | case Format::eAstc5x4UnormBlock: |
| 6375 | switch ( component ) |
| 6376 | { |
| 6377 | case 0 : return "UNORM"; |
| 6378 | case 1 : return "UNORM"; |
| 6379 | case 2 : return "UNORM"; |
| 6380 | case 3 : return "UNORM"; |
| 6381 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6382 | } |
| 6383 | case Format::eAstc5x4SrgbBlock: |
| 6384 | switch ( component ) |
| 6385 | { |
| 6386 | case 0 : return "SRGB"; |
| 6387 | case 1 : return "SRGB"; |
| 6388 | case 2 : return "SRGB"; |
| 6389 | case 3 : return "UNORM"; |
| 6390 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6391 | } |
| 6392 | case Format::eAstc5x5UnormBlock: |
| 6393 | switch ( component ) |
| 6394 | { |
| 6395 | case 0 : return "UNORM"; |
| 6396 | case 1 : return "UNORM"; |
| 6397 | case 2 : return "UNORM"; |
| 6398 | case 3 : return "UNORM"; |
| 6399 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6400 | } |
| 6401 | case Format::eAstc5x5SrgbBlock: |
| 6402 | switch ( component ) |
| 6403 | { |
| 6404 | case 0 : return "SRGB"; |
| 6405 | case 1 : return "SRGB"; |
| 6406 | case 2 : return "SRGB"; |
| 6407 | case 3 : return "UNORM"; |
| 6408 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6409 | } |
| 6410 | case Format::eAstc6x5UnormBlock: |
| 6411 | switch ( component ) |
| 6412 | { |
| 6413 | case 0 : return "UNORM"; |
| 6414 | case 1 : return "UNORM"; |
| 6415 | case 2 : return "UNORM"; |
| 6416 | case 3 : return "UNORM"; |
| 6417 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6418 | } |
| 6419 | case Format::eAstc6x5SrgbBlock: |
| 6420 | switch ( component ) |
| 6421 | { |
| 6422 | case 0 : return "SRGB"; |
| 6423 | case 1 : return "SRGB"; |
| 6424 | case 2 : return "SRGB"; |
| 6425 | case 3 : return "UNORM"; |
| 6426 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6427 | } |
| 6428 | case Format::eAstc6x6UnormBlock: |
| 6429 | switch ( component ) |
| 6430 | { |
| 6431 | case 0 : return "UNORM"; |
| 6432 | case 1 : return "UNORM"; |
| 6433 | case 2 : return "UNORM"; |
| 6434 | case 3 : return "UNORM"; |
| 6435 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6436 | } |
| 6437 | case Format::eAstc6x6SrgbBlock: |
| 6438 | switch ( component ) |
| 6439 | { |
| 6440 | case 0 : return "SRGB"; |
| 6441 | case 1 : return "SRGB"; |
| 6442 | case 2 : return "SRGB"; |
| 6443 | case 3 : return "UNORM"; |
| 6444 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6445 | } |
| 6446 | case Format::eAstc8x5UnormBlock: |
| 6447 | switch ( component ) |
| 6448 | { |
| 6449 | case 0 : return "UNORM"; |
| 6450 | case 1 : return "UNORM"; |
| 6451 | case 2 : return "UNORM"; |
| 6452 | case 3 : return "UNORM"; |
| 6453 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6454 | } |
| 6455 | case Format::eAstc8x5SrgbBlock: |
| 6456 | switch ( component ) |
| 6457 | { |
| 6458 | case 0 : return "SRGB"; |
| 6459 | case 1 : return "SRGB"; |
| 6460 | case 2 : return "SRGB"; |
| 6461 | case 3 : return "UNORM"; |
| 6462 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6463 | } |
| 6464 | case Format::eAstc8x6UnormBlock: |
| 6465 | switch ( component ) |
| 6466 | { |
| 6467 | case 0 : return "UNORM"; |
| 6468 | case 1 : return "UNORM"; |
| 6469 | case 2 : return "UNORM"; |
| 6470 | case 3 : return "UNORM"; |
| 6471 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6472 | } |
| 6473 | case Format::eAstc8x6SrgbBlock: |
| 6474 | switch ( component ) |
| 6475 | { |
| 6476 | case 0 : return "SRGB"; |
| 6477 | case 1 : return "SRGB"; |
| 6478 | case 2 : return "SRGB"; |
| 6479 | case 3 : return "UNORM"; |
| 6480 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6481 | } |
| 6482 | case Format::eAstc8x8UnormBlock: |
| 6483 | switch ( component ) |
| 6484 | { |
| 6485 | case 0 : return "UNORM"; |
| 6486 | case 1 : return "UNORM"; |
| 6487 | case 2 : return "UNORM"; |
| 6488 | case 3 : return "UNORM"; |
| 6489 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6490 | } |
| 6491 | case Format::eAstc8x8SrgbBlock: |
| 6492 | switch ( component ) |
| 6493 | { |
| 6494 | case 0 : return "SRGB"; |
| 6495 | case 1 : return "SRGB"; |
| 6496 | case 2 : return "SRGB"; |
| 6497 | case 3 : return "UNORM"; |
| 6498 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6499 | } |
| 6500 | case Format::eAstc10x5UnormBlock: |
| 6501 | switch ( component ) |
| 6502 | { |
| 6503 | case 0 : return "UNORM"; |
| 6504 | case 1 : return "UNORM"; |
| 6505 | case 2 : return "UNORM"; |
| 6506 | case 3 : return "UNORM"; |
| 6507 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6508 | } |
| 6509 | case Format::eAstc10x5SrgbBlock: |
| 6510 | switch ( component ) |
| 6511 | { |
| 6512 | case 0 : return "SRGB"; |
| 6513 | case 1 : return "SRGB"; |
| 6514 | case 2 : return "SRGB"; |
| 6515 | case 3 : return "UNORM"; |
| 6516 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6517 | } |
| 6518 | case Format::eAstc10x6UnormBlock: |
| 6519 | switch ( component ) |
| 6520 | { |
| 6521 | case 0 : return "UNORM"; |
| 6522 | case 1 : return "UNORM"; |
| 6523 | case 2 : return "UNORM"; |
| 6524 | case 3 : return "UNORM"; |
| 6525 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6526 | } |
| 6527 | case Format::eAstc10x6SrgbBlock: |
| 6528 | switch ( component ) |
| 6529 | { |
| 6530 | case 0 : return "SRGB"; |
| 6531 | case 1 : return "SRGB"; |
| 6532 | case 2 : return "SRGB"; |
| 6533 | case 3 : return "UNORM"; |
| 6534 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6535 | } |
| 6536 | case Format::eAstc10x8UnormBlock: |
| 6537 | switch ( component ) |
| 6538 | { |
| 6539 | case 0 : return "UNORM"; |
| 6540 | case 1 : return "UNORM"; |
| 6541 | case 2 : return "UNORM"; |
| 6542 | case 3 : return "UNORM"; |
| 6543 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6544 | } |
| 6545 | case Format::eAstc10x8SrgbBlock: |
| 6546 | switch ( component ) |
| 6547 | { |
| 6548 | case 0 : return "SRGB"; |
| 6549 | case 1 : return "SRGB"; |
| 6550 | case 2 : return "SRGB"; |
| 6551 | case 3 : return "UNORM"; |
| 6552 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6553 | } |
| 6554 | case Format::eAstc10x10UnormBlock: |
| 6555 | switch ( component ) |
| 6556 | { |
| 6557 | case 0 : return "UNORM"; |
| 6558 | case 1 : return "UNORM"; |
| 6559 | case 2 : return "UNORM"; |
| 6560 | case 3 : return "UNORM"; |
| 6561 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6562 | } |
| 6563 | case Format::eAstc10x10SrgbBlock: |
| 6564 | switch ( component ) |
| 6565 | { |
| 6566 | case 0 : return "SRGB"; |
| 6567 | case 1 : return "SRGB"; |
| 6568 | case 2 : return "SRGB"; |
| 6569 | case 3 : return "UNORM"; |
| 6570 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6571 | } |
| 6572 | case Format::eAstc12x10UnormBlock: |
| 6573 | switch ( component ) |
| 6574 | { |
| 6575 | case 0 : return "UNORM"; |
| 6576 | case 1 : return "UNORM"; |
| 6577 | case 2 : return "UNORM"; |
| 6578 | case 3 : return "UNORM"; |
| 6579 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6580 | } |
| 6581 | case Format::eAstc12x10SrgbBlock: |
| 6582 | switch ( component ) |
| 6583 | { |
| 6584 | case 0 : return "SRGB"; |
| 6585 | case 1 : return "SRGB"; |
| 6586 | case 2 : return "SRGB"; |
| 6587 | case 3 : return "UNORM"; |
| 6588 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6589 | } |
| 6590 | case Format::eAstc12x12UnormBlock: |
| 6591 | switch ( component ) |
| 6592 | { |
| 6593 | case 0 : return "UNORM"; |
| 6594 | case 1 : return "UNORM"; |
| 6595 | case 2 : return "UNORM"; |
| 6596 | case 3 : return "UNORM"; |
| 6597 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6598 | } |
| 6599 | case Format::eAstc12x12SrgbBlock: |
| 6600 | switch ( component ) |
| 6601 | { |
| 6602 | case 0 : return "SRGB"; |
| 6603 | case 1 : return "SRGB"; |
| 6604 | case 2 : return "SRGB"; |
| 6605 | case 3 : return "UNORM"; |
| 6606 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6607 | } |
| 6608 | case Format::eG8B8G8R8422Unorm: |
| 6609 | switch ( component ) |
| 6610 | { |
| 6611 | case 0 : return "UNORM"; |
| 6612 | case 1 : return "UNORM"; |
| 6613 | case 2 : return "UNORM"; |
| 6614 | case 3 : return "UNORM"; |
| 6615 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6616 | } |
| 6617 | case Format::eB8G8R8G8422Unorm: |
| 6618 | switch ( component ) |
| 6619 | { |
| 6620 | case 0 : return "UNORM"; |
| 6621 | case 1 : return "UNORM"; |
| 6622 | case 2 : return "UNORM"; |
| 6623 | case 3 : return "UNORM"; |
| 6624 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6625 | } |
| 6626 | case Format::eG8B8R83Plane420Unorm: |
| 6627 | switch ( component ) |
| 6628 | { |
| 6629 | case 0 : return "UNORM"; |
| 6630 | case 1 : return "UNORM"; |
| 6631 | case 2 : return "UNORM"; |
| 6632 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6633 | } |
| 6634 | case Format::eG8B8R82Plane420Unorm: |
| 6635 | switch ( component ) |
| 6636 | { |
| 6637 | case 0 : return "UNORM"; |
| 6638 | case 1 : return "UNORM"; |
| 6639 | case 2 : return "UNORM"; |
| 6640 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6641 | } |
| 6642 | case Format::eG8B8R83Plane422Unorm: |
| 6643 | switch ( component ) |
| 6644 | { |
| 6645 | case 0 : return "UNORM"; |
| 6646 | case 1 : return "UNORM"; |
| 6647 | case 2 : return "UNORM"; |
| 6648 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6649 | } |
| 6650 | case Format::eG8B8R82Plane422Unorm: |
| 6651 | switch ( component ) |
| 6652 | { |
| 6653 | case 0 : return "UNORM"; |
| 6654 | case 1 : return "UNORM"; |
| 6655 | case 2 : return "UNORM"; |
| 6656 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6657 | } |
| 6658 | case Format::eG8B8R83Plane444Unorm: |
| 6659 | switch ( component ) |
| 6660 | { |
| 6661 | case 0 : return "UNORM"; |
| 6662 | case 1 : return "UNORM"; |
| 6663 | case 2 : return "UNORM"; |
| 6664 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6665 | } |
| 6666 | case Format::eR10X6UnormPack16: |
| 6667 | switch ( component ) |
| 6668 | { |
| 6669 | case 0 : return "UNORM"; |
| 6670 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6671 | } |
| 6672 | case Format::eR10X6G10X6Unorm2Pack16: |
| 6673 | switch ( component ) |
| 6674 | { |
| 6675 | case 0 : return "UNORM"; |
| 6676 | case 1 : return "UNORM"; |
| 6677 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6678 | } |
| 6679 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 6680 | switch ( component ) |
| 6681 | { |
| 6682 | case 0 : return "UNORM"; |
| 6683 | case 1 : return "UNORM"; |
| 6684 | case 2 : return "UNORM"; |
| 6685 | case 3 : return "UNORM"; |
| 6686 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6687 | } |
| 6688 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 6689 | switch ( component ) |
| 6690 | { |
| 6691 | case 0 : return "UNORM"; |
| 6692 | case 1 : return "UNORM"; |
| 6693 | case 2 : return "UNORM"; |
| 6694 | case 3 : return "UNORM"; |
| 6695 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6696 | } |
| 6697 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 6698 | switch ( component ) |
| 6699 | { |
| 6700 | case 0 : return "UNORM"; |
| 6701 | case 1 : return "UNORM"; |
| 6702 | case 2 : return "UNORM"; |
| 6703 | case 3 : return "UNORM"; |
| 6704 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6705 | } |
| 6706 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 6707 | switch ( component ) |
| 6708 | { |
| 6709 | case 0 : return "UNORM"; |
| 6710 | case 1 : return "UNORM"; |
| 6711 | case 2 : return "UNORM"; |
| 6712 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6713 | } |
| 6714 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 6715 | switch ( component ) |
| 6716 | { |
| 6717 | case 0 : return "UNORM"; |
| 6718 | case 1 : return "UNORM"; |
| 6719 | case 2 : return "UNORM"; |
| 6720 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6721 | } |
| 6722 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 6723 | switch ( component ) |
| 6724 | { |
| 6725 | case 0 : return "UNORM"; |
| 6726 | case 1 : return "UNORM"; |
| 6727 | case 2 : return "UNORM"; |
| 6728 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6729 | } |
| 6730 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 6731 | switch ( component ) |
| 6732 | { |
| 6733 | case 0 : return "UNORM"; |
| 6734 | case 1 : return "UNORM"; |
| 6735 | case 2 : return "UNORM"; |
| 6736 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6737 | } |
| 6738 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 6739 | switch ( component ) |
| 6740 | { |
| 6741 | case 0 : return "UNORM"; |
| 6742 | case 1 : return "UNORM"; |
| 6743 | case 2 : return "UNORM"; |
| 6744 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6745 | } |
| 6746 | case Format::eR12X4UnormPack16: |
| 6747 | switch ( component ) |
| 6748 | { |
| 6749 | case 0 : return "UNORM"; |
| 6750 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6751 | } |
| 6752 | case Format::eR12X4G12X4Unorm2Pack16: |
| 6753 | switch ( component ) |
| 6754 | { |
| 6755 | case 0 : return "UNORM"; |
| 6756 | case 1 : return "UNORM"; |
| 6757 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6758 | } |
| 6759 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 6760 | switch ( component ) |
| 6761 | { |
| 6762 | case 0 : return "UNORM"; |
| 6763 | case 1 : return "UNORM"; |
| 6764 | case 2 : return "UNORM"; |
| 6765 | case 3 : return "UNORM"; |
| 6766 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6767 | } |
| 6768 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 6769 | switch ( component ) |
| 6770 | { |
| 6771 | case 0 : return "UNORM"; |
| 6772 | case 1 : return "UNORM"; |
| 6773 | case 2 : return "UNORM"; |
| 6774 | case 3 : return "UNORM"; |
| 6775 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6776 | } |
| 6777 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 6778 | switch ( component ) |
| 6779 | { |
| 6780 | case 0 : return "UNORM"; |
| 6781 | case 1 : return "UNORM"; |
| 6782 | case 2 : return "UNORM"; |
| 6783 | case 3 : return "UNORM"; |
| 6784 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6785 | } |
| 6786 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 6787 | switch ( component ) |
| 6788 | { |
| 6789 | case 0 : return "UNORM"; |
| 6790 | case 1 : return "UNORM"; |
| 6791 | case 2 : return "UNORM"; |
| 6792 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6793 | } |
| 6794 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 6795 | switch ( component ) |
| 6796 | { |
| 6797 | case 0 : return "UNORM"; |
| 6798 | case 1 : return "UNORM"; |
| 6799 | case 2 : return "UNORM"; |
| 6800 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6801 | } |
| 6802 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 6803 | switch ( component ) |
| 6804 | { |
| 6805 | case 0 : return "UNORM"; |
| 6806 | case 1 : return "UNORM"; |
| 6807 | case 2 : return "UNORM"; |
| 6808 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6809 | } |
| 6810 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 6811 | switch ( component ) |
| 6812 | { |
| 6813 | case 0 : return "UNORM"; |
| 6814 | case 1 : return "UNORM"; |
| 6815 | case 2 : return "UNORM"; |
| 6816 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6817 | } |
| 6818 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 6819 | switch ( component ) |
| 6820 | { |
| 6821 | case 0 : return "UNORM"; |
| 6822 | case 1 : return "UNORM"; |
| 6823 | case 2 : return "UNORM"; |
| 6824 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6825 | } |
| 6826 | case Format::eG16B16G16R16422Unorm: |
| 6827 | switch ( component ) |
| 6828 | { |
| 6829 | case 0 : return "UNORM"; |
| 6830 | case 1 : return "UNORM"; |
| 6831 | case 2 : return "UNORM"; |
| 6832 | case 3 : return "UNORM"; |
| 6833 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6834 | } |
| 6835 | case Format::eB16G16R16G16422Unorm: |
| 6836 | switch ( component ) |
| 6837 | { |
| 6838 | case 0 : return "UNORM"; |
| 6839 | case 1 : return "UNORM"; |
| 6840 | case 2 : return "UNORM"; |
| 6841 | case 3 : return "UNORM"; |
| 6842 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6843 | } |
| 6844 | case Format::eG16B16R163Plane420Unorm: |
| 6845 | switch ( component ) |
| 6846 | { |
| 6847 | case 0 : return "UNORM"; |
| 6848 | case 1 : return "UNORM"; |
| 6849 | case 2 : return "UNORM"; |
| 6850 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6851 | } |
| 6852 | case Format::eG16B16R162Plane420Unorm: |
| 6853 | switch ( component ) |
| 6854 | { |
| 6855 | case 0 : return "UNORM"; |
| 6856 | case 1 : return "UNORM"; |
| 6857 | case 2 : return "UNORM"; |
| 6858 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6859 | } |
| 6860 | case Format::eG16B16R163Plane422Unorm: |
| 6861 | switch ( component ) |
| 6862 | { |
| 6863 | case 0 : return "UNORM"; |
| 6864 | case 1 : return "UNORM"; |
| 6865 | case 2 : return "UNORM"; |
| 6866 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6867 | } |
| 6868 | case Format::eG16B16R162Plane422Unorm: |
| 6869 | switch ( component ) |
| 6870 | { |
| 6871 | case 0 : return "UNORM"; |
| 6872 | case 1 : return "UNORM"; |
| 6873 | case 2 : return "UNORM"; |
| 6874 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6875 | } |
| 6876 | case Format::eG16B16R163Plane444Unorm: |
| 6877 | switch ( component ) |
| 6878 | { |
| 6879 | case 0 : return "UNORM"; |
| 6880 | case 1 : return "UNORM"; |
| 6881 | case 2 : return "UNORM"; |
| 6882 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6883 | } |
| 6884 | case Format::eG8B8R82Plane444Unorm: |
| 6885 | switch ( component ) |
| 6886 | { |
| 6887 | case 0 : return "UNORM"; |
| 6888 | case 1 : return "UNORM"; |
| 6889 | case 2 : return "UNORM"; |
| 6890 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6891 | } |
| 6892 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 6893 | switch ( component ) |
| 6894 | { |
| 6895 | case 0 : return "UNORM"; |
| 6896 | case 1 : return "UNORM"; |
| 6897 | case 2 : return "UNORM"; |
| 6898 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6899 | } |
| 6900 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 6901 | switch ( component ) |
| 6902 | { |
| 6903 | case 0 : return "UNORM"; |
| 6904 | case 1 : return "UNORM"; |
| 6905 | case 2 : return "UNORM"; |
| 6906 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6907 | } |
| 6908 | case Format::eG16B16R162Plane444Unorm: |
| 6909 | switch ( component ) |
| 6910 | { |
| 6911 | case 0 : return "UNORM"; |
| 6912 | case 1 : return "UNORM"; |
| 6913 | case 2 : return "UNORM"; |
| 6914 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6915 | } |
| 6916 | case Format::eA4R4G4B4UnormPack16: |
| 6917 | switch ( component ) |
| 6918 | { |
| 6919 | case 0 : return "UNORM"; |
| 6920 | case 1 : return "UNORM"; |
| 6921 | case 2 : return "UNORM"; |
| 6922 | case 3 : return "UNORM"; |
| 6923 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6924 | } |
| 6925 | case Format::eA4B4G4R4UnormPack16: |
| 6926 | switch ( component ) |
| 6927 | { |
| 6928 | case 0 : return "UNORM"; |
| 6929 | case 1 : return "UNORM"; |
| 6930 | case 2 : return "UNORM"; |
| 6931 | case 3 : return "UNORM"; |
| 6932 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6933 | } |
| 6934 | case Format::eAstc4x4SfloatBlock: |
| 6935 | switch ( component ) |
| 6936 | { |
| 6937 | case 0 : return "SFLOAT"; |
| 6938 | case 1 : return "SFLOAT"; |
| 6939 | case 2 : return "SFLOAT"; |
| 6940 | case 3 : return "SFLOAT"; |
| 6941 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6942 | } |
| 6943 | case Format::eAstc5x4SfloatBlock: |
| 6944 | switch ( component ) |
| 6945 | { |
| 6946 | case 0 : return "SFLOAT"; |
| 6947 | case 1 : return "SFLOAT"; |
| 6948 | case 2 : return "SFLOAT"; |
| 6949 | case 3 : return "SFLOAT"; |
| 6950 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6951 | } |
| 6952 | case Format::eAstc5x5SfloatBlock: |
| 6953 | switch ( component ) |
| 6954 | { |
| 6955 | case 0 : return "SFLOAT"; |
| 6956 | case 1 : return "SFLOAT"; |
| 6957 | case 2 : return "SFLOAT"; |
| 6958 | case 3 : return "SFLOAT"; |
| 6959 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6960 | } |
| 6961 | case Format::eAstc6x5SfloatBlock: |
| 6962 | switch ( component ) |
| 6963 | { |
| 6964 | case 0 : return "SFLOAT"; |
| 6965 | case 1 : return "SFLOAT"; |
| 6966 | case 2 : return "SFLOAT"; |
| 6967 | case 3 : return "SFLOAT"; |
| 6968 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6969 | } |
| 6970 | case Format::eAstc6x6SfloatBlock: |
| 6971 | switch ( component ) |
| 6972 | { |
| 6973 | case 0 : return "SFLOAT"; |
| 6974 | case 1 : return "SFLOAT"; |
| 6975 | case 2 : return "SFLOAT"; |
| 6976 | case 3 : return "SFLOAT"; |
| 6977 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6978 | } |
| 6979 | case Format::eAstc8x5SfloatBlock: |
| 6980 | switch ( component ) |
| 6981 | { |
| 6982 | case 0 : return "SFLOAT"; |
| 6983 | case 1 : return "SFLOAT"; |
| 6984 | case 2 : return "SFLOAT"; |
| 6985 | case 3 : return "SFLOAT"; |
| 6986 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6987 | } |
| 6988 | case Format::eAstc8x6SfloatBlock: |
| 6989 | switch ( component ) |
| 6990 | { |
| 6991 | case 0 : return "SFLOAT"; |
| 6992 | case 1 : return "SFLOAT"; |
| 6993 | case 2 : return "SFLOAT"; |
| 6994 | case 3 : return "SFLOAT"; |
| 6995 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 6996 | } |
| 6997 | case Format::eAstc8x8SfloatBlock: |
| 6998 | switch ( component ) |
| 6999 | { |
| 7000 | case 0 : return "SFLOAT"; |
| 7001 | case 1 : return "SFLOAT"; |
| 7002 | case 2 : return "SFLOAT"; |
| 7003 | case 3 : return "SFLOAT"; |
| 7004 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7005 | } |
| 7006 | case Format::eAstc10x5SfloatBlock: |
| 7007 | switch ( component ) |
| 7008 | { |
| 7009 | case 0 : return "SFLOAT"; |
| 7010 | case 1 : return "SFLOAT"; |
| 7011 | case 2 : return "SFLOAT"; |
| 7012 | case 3 : return "SFLOAT"; |
| 7013 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7014 | } |
| 7015 | case Format::eAstc10x6SfloatBlock: |
| 7016 | switch ( component ) |
| 7017 | { |
| 7018 | case 0 : return "SFLOAT"; |
| 7019 | case 1 : return "SFLOAT"; |
| 7020 | case 2 : return "SFLOAT"; |
| 7021 | case 3 : return "SFLOAT"; |
| 7022 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7023 | } |
| 7024 | case Format::eAstc10x8SfloatBlock: |
| 7025 | switch ( component ) |
| 7026 | { |
| 7027 | case 0 : return "SFLOAT"; |
| 7028 | case 1 : return "SFLOAT"; |
| 7029 | case 2 : return "SFLOAT"; |
| 7030 | case 3 : return "SFLOAT"; |
| 7031 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7032 | } |
| 7033 | case Format::eAstc10x10SfloatBlock: |
| 7034 | switch ( component ) |
| 7035 | { |
| 7036 | case 0 : return "SFLOAT"; |
| 7037 | case 1 : return "SFLOAT"; |
| 7038 | case 2 : return "SFLOAT"; |
| 7039 | case 3 : return "SFLOAT"; |
| 7040 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7041 | } |
| 7042 | case Format::eAstc12x10SfloatBlock: |
| 7043 | switch ( component ) |
| 7044 | { |
| 7045 | case 0 : return "SFLOAT"; |
| 7046 | case 1 : return "SFLOAT"; |
| 7047 | case 2 : return "SFLOAT"; |
| 7048 | case 3 : return "SFLOAT"; |
| 7049 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7050 | } |
| 7051 | case Format::eAstc12x12SfloatBlock: |
| 7052 | switch ( component ) |
| 7053 | { |
| 7054 | case 0 : return "SFLOAT"; |
| 7055 | case 1 : return "SFLOAT"; |
| 7056 | case 2 : return "SFLOAT"; |
| 7057 | case 3 : return "SFLOAT"; |
| 7058 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7059 | } |
| 7060 | case Format::eA1B5G5R5UnormPack16: |
| 7061 | switch ( component ) |
| 7062 | { |
| 7063 | case 0 : return "UNORM"; |
| 7064 | case 1 : return "UNORM"; |
| 7065 | case 2 : return "UNORM"; |
| 7066 | case 3 : return "UNORM"; |
| 7067 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7068 | } |
| 7069 | case Format::eA8Unorm: |
| 7070 | switch ( component ) |
| 7071 | { |
| 7072 | case 0 : return "UNORM"; |
| 7073 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7074 | } |
| 7075 | case Format::ePvrtc12BppUnormBlockIMG: |
| 7076 | switch ( component ) |
| 7077 | { |
| 7078 | case 0 : return "UNORM"; |
| 7079 | case 1 : return "UNORM"; |
| 7080 | case 2 : return "UNORM"; |
| 7081 | case 3 : return "UNORM"; |
| 7082 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7083 | } |
| 7084 | case Format::ePvrtc14BppUnormBlockIMG: |
| 7085 | switch ( component ) |
| 7086 | { |
| 7087 | case 0 : return "UNORM"; |
| 7088 | case 1 : return "UNORM"; |
| 7089 | case 2 : return "UNORM"; |
| 7090 | case 3 : return "UNORM"; |
| 7091 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7092 | } |
| 7093 | case Format::ePvrtc22BppUnormBlockIMG: |
| 7094 | switch ( component ) |
| 7095 | { |
| 7096 | case 0 : return "UNORM"; |
| 7097 | case 1 : return "UNORM"; |
| 7098 | case 2 : return "UNORM"; |
| 7099 | case 3 : return "UNORM"; |
| 7100 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7101 | } |
| 7102 | case Format::ePvrtc24BppUnormBlockIMG: |
| 7103 | switch ( component ) |
| 7104 | { |
| 7105 | case 0 : return "UNORM"; |
| 7106 | case 1 : return "UNORM"; |
| 7107 | case 2 : return "UNORM"; |
| 7108 | case 3 : return "UNORM"; |
| 7109 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7110 | } |
| 7111 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 7112 | switch ( component ) |
| 7113 | { |
| 7114 | case 0 : return "SRGB"; |
| 7115 | case 1 : return "SRGB"; |
| 7116 | case 2 : return "SRGB"; |
| 7117 | case 3 : return "UNORM"; |
| 7118 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7119 | } |
| 7120 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 7121 | switch ( component ) |
| 7122 | { |
| 7123 | case 0 : return "SRGB"; |
| 7124 | case 1 : return "SRGB"; |
| 7125 | case 2 : return "SRGB"; |
| 7126 | case 3 : return "UNORM"; |
| 7127 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7128 | } |
| 7129 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 7130 | switch ( component ) |
| 7131 | { |
| 7132 | case 0 : return "SRGB"; |
| 7133 | case 1 : return "SRGB"; |
| 7134 | case 2 : return "SRGB"; |
| 7135 | case 3 : return "UNORM"; |
| 7136 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7137 | } |
| 7138 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 7139 | switch ( component ) |
| 7140 | { |
| 7141 | case 0 : return "SRGB"; |
| 7142 | case 1 : return "SRGB"; |
| 7143 | case 2 : return "SRGB"; |
| 7144 | case 3 : return "UNORM"; |
| 7145 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7146 | } |
| 7147 | case Format::eAstc3x3x3UnormBlockEXT: |
| 7148 | switch ( component ) |
| 7149 | { |
| 7150 | case 0 : return "UNORM"; |
| 7151 | case 1 : return "UNORM"; |
| 7152 | case 2 : return "UNORM"; |
| 7153 | case 3 : return "UNORM"; |
| 7154 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7155 | } |
| 7156 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 7157 | switch ( component ) |
| 7158 | { |
| 7159 | case 0 : return "SRGB"; |
| 7160 | case 1 : return "SRGB"; |
| 7161 | case 2 : return "SRGB"; |
| 7162 | case 3 : return "SRGB"; |
| 7163 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7164 | } |
| 7165 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 7166 | switch ( component ) |
| 7167 | { |
| 7168 | case 0 : return "SFLOAT"; |
| 7169 | case 1 : return "SFLOAT"; |
| 7170 | case 2 : return "SFLOAT"; |
| 7171 | case 3 : return "SFLOAT"; |
| 7172 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7173 | } |
| 7174 | case Format::eAstc4x3x3UnormBlockEXT: |
| 7175 | switch ( component ) |
| 7176 | { |
| 7177 | case 0 : return "UNORM"; |
| 7178 | case 1 : return "UNORM"; |
| 7179 | case 2 : return "UNORM"; |
| 7180 | case 3 : return "UNORM"; |
| 7181 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7182 | } |
| 7183 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 7184 | switch ( component ) |
| 7185 | { |
| 7186 | case 0 : return "SRGB"; |
| 7187 | case 1 : return "SRGB"; |
| 7188 | case 2 : return "SRGB"; |
| 7189 | case 3 : return "SRGB"; |
| 7190 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7191 | } |
| 7192 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 7193 | switch ( component ) |
| 7194 | { |
| 7195 | case 0 : return "SFLOAT"; |
| 7196 | case 1 : return "SFLOAT"; |
| 7197 | case 2 : return "SFLOAT"; |
| 7198 | case 3 : return "SFLOAT"; |
| 7199 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7200 | } |
| 7201 | case Format::eAstc4x4x3UnormBlockEXT: |
| 7202 | switch ( component ) |
| 7203 | { |
| 7204 | case 0 : return "UNORM"; |
| 7205 | case 1 : return "UNORM"; |
| 7206 | case 2 : return "UNORM"; |
| 7207 | case 3 : return "UNORM"; |
| 7208 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7209 | } |
| 7210 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 7211 | switch ( component ) |
| 7212 | { |
| 7213 | case 0 : return "SRGB"; |
| 7214 | case 1 : return "SRGB"; |
| 7215 | case 2 : return "SRGB"; |
| 7216 | case 3 : return "SRGB"; |
| 7217 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7218 | } |
| 7219 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 7220 | switch ( component ) |
| 7221 | { |
| 7222 | case 0 : return "SFLOAT"; |
| 7223 | case 1 : return "SFLOAT"; |
| 7224 | case 2 : return "SFLOAT"; |
| 7225 | case 3 : return "SFLOAT"; |
| 7226 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7227 | } |
| 7228 | case Format::eAstc4x4x4UnormBlockEXT: |
| 7229 | switch ( component ) |
| 7230 | { |
| 7231 | case 0 : return "UNORM"; |
| 7232 | case 1 : return "UNORM"; |
| 7233 | case 2 : return "UNORM"; |
| 7234 | case 3 : return "UNORM"; |
| 7235 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7236 | } |
| 7237 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 7238 | switch ( component ) |
| 7239 | { |
| 7240 | case 0 : return "SRGB"; |
| 7241 | case 1 : return "SRGB"; |
| 7242 | case 2 : return "SRGB"; |
| 7243 | case 3 : return "SRGB"; |
| 7244 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7245 | } |
| 7246 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 7247 | switch ( component ) |
| 7248 | { |
| 7249 | case 0 : return "SFLOAT"; |
| 7250 | case 1 : return "SFLOAT"; |
| 7251 | case 2 : return "SFLOAT"; |
| 7252 | case 3 : return "SFLOAT"; |
| 7253 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7254 | } |
| 7255 | case Format::eAstc5x4x4UnormBlockEXT: |
| 7256 | switch ( component ) |
| 7257 | { |
| 7258 | case 0 : return "UNORM"; |
| 7259 | case 1 : return "UNORM"; |
| 7260 | case 2 : return "UNORM"; |
| 7261 | case 3 : return "UNORM"; |
| 7262 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7263 | } |
| 7264 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 7265 | switch ( component ) |
| 7266 | { |
| 7267 | case 0 : return "SRGB"; |
| 7268 | case 1 : return "SRGB"; |
| 7269 | case 2 : return "SRGB"; |
| 7270 | case 3 : return "SRGB"; |
| 7271 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7272 | } |
| 7273 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 7274 | switch ( component ) |
| 7275 | { |
| 7276 | case 0 : return "SFLOAT"; |
| 7277 | case 1 : return "SFLOAT"; |
| 7278 | case 2 : return "SFLOAT"; |
| 7279 | case 3 : return "SFLOAT"; |
| 7280 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7281 | } |
| 7282 | case Format::eAstc5x5x4UnormBlockEXT: |
| 7283 | switch ( component ) |
| 7284 | { |
| 7285 | case 0 : return "UNORM"; |
| 7286 | case 1 : return "UNORM"; |
| 7287 | case 2 : return "UNORM"; |
| 7288 | case 3 : return "UNORM"; |
| 7289 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7290 | } |
| 7291 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 7292 | switch ( component ) |
| 7293 | { |
| 7294 | case 0 : return "SRGB"; |
| 7295 | case 1 : return "SRGB"; |
| 7296 | case 2 : return "SRGB"; |
| 7297 | case 3 : return "SRGB"; |
| 7298 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7299 | } |
| 7300 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 7301 | switch ( component ) |
| 7302 | { |
| 7303 | case 0 : return "SFLOAT"; |
| 7304 | case 1 : return "SFLOAT"; |
| 7305 | case 2 : return "SFLOAT"; |
| 7306 | case 3 : return "SFLOAT"; |
| 7307 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7308 | } |
| 7309 | case Format::eAstc5x5x5UnormBlockEXT: |
| 7310 | switch ( component ) |
| 7311 | { |
| 7312 | case 0 : return "UNORM"; |
| 7313 | case 1 : return "UNORM"; |
| 7314 | case 2 : return "UNORM"; |
| 7315 | case 3 : return "UNORM"; |
| 7316 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7317 | } |
| 7318 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 7319 | switch ( component ) |
| 7320 | { |
| 7321 | case 0 : return "SRGB"; |
| 7322 | case 1 : return "SRGB"; |
| 7323 | case 2 : return "SRGB"; |
| 7324 | case 3 : return "SRGB"; |
| 7325 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7326 | } |
| 7327 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 7328 | switch ( component ) |
| 7329 | { |
| 7330 | case 0 : return "SFLOAT"; |
| 7331 | case 1 : return "SFLOAT"; |
| 7332 | case 2 : return "SFLOAT"; |
| 7333 | case 3 : return "SFLOAT"; |
| 7334 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7335 | } |
| 7336 | case Format::eAstc6x5x5UnormBlockEXT: |
| 7337 | switch ( component ) |
| 7338 | { |
| 7339 | case 0 : return "UNORM"; |
| 7340 | case 1 : return "UNORM"; |
| 7341 | case 2 : return "UNORM"; |
| 7342 | case 3 : return "UNORM"; |
| 7343 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7344 | } |
| 7345 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 7346 | switch ( component ) |
| 7347 | { |
| 7348 | case 0 : return "SRGB"; |
| 7349 | case 1 : return "SRGB"; |
| 7350 | case 2 : return "SRGB"; |
| 7351 | case 3 : return "SRGB"; |
| 7352 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7353 | } |
| 7354 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 7355 | switch ( component ) |
| 7356 | { |
| 7357 | case 0 : return "SFLOAT"; |
| 7358 | case 1 : return "SFLOAT"; |
| 7359 | case 2 : return "SFLOAT"; |
| 7360 | case 3 : return "SFLOAT"; |
| 7361 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7362 | } |
| 7363 | case Format::eAstc6x6x5UnormBlockEXT: |
| 7364 | switch ( component ) |
| 7365 | { |
| 7366 | case 0 : return "UNORM"; |
| 7367 | case 1 : return "UNORM"; |
| 7368 | case 2 : return "UNORM"; |
| 7369 | case 3 : return "UNORM"; |
| 7370 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7371 | } |
| 7372 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 7373 | switch ( component ) |
| 7374 | { |
| 7375 | case 0 : return "SRGB"; |
| 7376 | case 1 : return "SRGB"; |
| 7377 | case 2 : return "SRGB"; |
| 7378 | case 3 : return "SRGB"; |
| 7379 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7380 | } |
| 7381 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 7382 | switch ( component ) |
| 7383 | { |
| 7384 | case 0 : return "SFLOAT"; |
| 7385 | case 1 : return "SFLOAT"; |
| 7386 | case 2 : return "SFLOAT"; |
| 7387 | case 3 : return "SFLOAT"; |
| 7388 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7389 | } |
| 7390 | case Format::eAstc6x6x6UnormBlockEXT: |
| 7391 | switch ( component ) |
| 7392 | { |
| 7393 | case 0 : return "UNORM"; |
| 7394 | case 1 : return "UNORM"; |
| 7395 | case 2 : return "UNORM"; |
| 7396 | case 3 : return "UNORM"; |
| 7397 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7398 | } |
| 7399 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 7400 | switch ( component ) |
| 7401 | { |
| 7402 | case 0 : return "SRGB"; |
| 7403 | case 1 : return "SRGB"; |
| 7404 | case 2 : return "SRGB"; |
| 7405 | case 3 : return "SRGB"; |
| 7406 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7407 | } |
| 7408 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 7409 | switch ( component ) |
| 7410 | { |
| 7411 | case 0 : return "SFLOAT"; |
| 7412 | case 1 : return "SFLOAT"; |
| 7413 | case 2 : return "SFLOAT"; |
| 7414 | case 3 : return "SFLOAT"; |
| 7415 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7416 | } |
| 7417 | case Format::eR8BoolARM: |
| 7418 | switch ( component ) |
| 7419 | { |
| 7420 | case 0 : return "BOOL"; |
| 7421 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7422 | } |
| 7423 | case Format::eR16SfloatFpencodingBfloat16ARM: |
| 7424 | switch ( component ) |
| 7425 | { |
| 7426 | case 0 : return "SFLOAT"; |
| 7427 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7428 | } |
| 7429 | case Format::eR8SfloatFpencodingFloat8E4M3ARM: |
| 7430 | switch ( component ) |
| 7431 | { |
| 7432 | case 0 : return "SFLOAT"; |
| 7433 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7434 | } |
| 7435 | case Format::eR8SfloatFpencodingFloat8E5M2ARM: |
| 7436 | switch ( component ) |
| 7437 | { |
| 7438 | case 0 : return "SFLOAT"; |
| 7439 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7440 | } |
| 7441 | case Format::eR16G16Sfixed5NV: |
| 7442 | switch ( component ) |
| 7443 | { |
| 7444 | case 0 : return "SFIXED5"; |
| 7445 | case 1 : return "SFIXED5"; |
| 7446 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7447 | } |
| 7448 | case Format::eR10X6UintPack16ARM: |
| 7449 | switch ( component ) |
| 7450 | { |
| 7451 | case 0 : return "UINT"; |
| 7452 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7453 | } |
| 7454 | case Format::eR10X6G10X6Uint2Pack16ARM: |
| 7455 | switch ( component ) |
| 7456 | { |
| 7457 | case 0 : return "UINT"; |
| 7458 | case 1 : return "UINT"; |
| 7459 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7460 | } |
| 7461 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 7462 | switch ( component ) |
| 7463 | { |
| 7464 | case 0 : return "UINT"; |
| 7465 | case 1 : return "UINT"; |
| 7466 | case 2 : return "UINT"; |
| 7467 | case 3 : return "UINT"; |
| 7468 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7469 | } |
| 7470 | case Format::eR12X4UintPack16ARM: |
| 7471 | switch ( component ) |
| 7472 | { |
| 7473 | case 0 : return "UINT"; |
| 7474 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7475 | } |
| 7476 | case Format::eR12X4G12X4Uint2Pack16ARM: |
| 7477 | switch ( component ) |
| 7478 | { |
| 7479 | case 0 : return "UINT"; |
| 7480 | case 1 : return "UINT"; |
| 7481 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7482 | } |
| 7483 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 7484 | switch ( component ) |
| 7485 | { |
| 7486 | case 0 : return "UINT"; |
| 7487 | case 1 : return "UINT"; |
| 7488 | case 2 : return "UINT"; |
| 7489 | case 3 : return "UINT"; |
| 7490 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7491 | } |
| 7492 | case Format::eR14X2UintPack16ARM: |
| 7493 | switch ( component ) |
| 7494 | { |
| 7495 | case 0 : return "UINT"; |
| 7496 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7497 | } |
| 7498 | case Format::eR14X2G14X2Uint2Pack16ARM: |
| 7499 | switch ( component ) |
| 7500 | { |
| 7501 | case 0 : return "UINT"; |
| 7502 | case 1 : return "UINT"; |
| 7503 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7504 | } |
| 7505 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 7506 | switch ( component ) |
| 7507 | { |
| 7508 | case 0 : return "UINT"; |
| 7509 | case 1 : return "UINT"; |
| 7510 | case 2 : return "UINT"; |
| 7511 | case 3 : return "UINT"; |
| 7512 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7513 | } |
| 7514 | case Format::eR14X2UnormPack16ARM: |
| 7515 | switch ( component ) |
| 7516 | { |
| 7517 | case 0 : return "UNORM"; |
| 7518 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7519 | } |
| 7520 | case Format::eR14X2G14X2Unorm2Pack16ARM: |
| 7521 | switch ( component ) |
| 7522 | { |
| 7523 | case 0 : return "UNORM"; |
| 7524 | case 1 : return "UNORM"; |
| 7525 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7526 | } |
| 7527 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 7528 | switch ( component ) |
| 7529 | { |
| 7530 | case 0 : return "UNORM"; |
| 7531 | case 1 : return "UNORM"; |
| 7532 | case 2 : return "UNORM"; |
| 7533 | case 3 : return "UNORM"; |
| 7534 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7535 | } |
| 7536 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 7537 | switch ( component ) |
| 7538 | { |
| 7539 | case 0 : return "UNORM"; |
| 7540 | case 1 : return "UNORM"; |
| 7541 | case 2 : return "UNORM"; |
| 7542 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7543 | } |
| 7544 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 7545 | switch ( component ) |
| 7546 | { |
| 7547 | case 0 : return "UNORM"; |
| 7548 | case 1 : return "UNORM"; |
| 7549 | case 2 : return "UNORM"; |
| 7550 | default: VULKAN_HPP_ASSERT( false ); return ""; |
| 7551 | } |
| 7552 | |
| 7553 | default: return ""; |
| 7554 | } |
| 7555 | } |
| 7556 | |
| 7557 | // The plane this component lies in. |
| 7558 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentPlaneIndex( Format format, uint8_t component ) |
| 7559 | { |
| 7560 | switch ( format ) |
| 7561 | { |
| 7562 | case Format::eG8B8R83Plane420Unorm: |
| 7563 | switch ( component ) |
| 7564 | { |
| 7565 | case 0 : return 0; |
| 7566 | case 1 : return 1; |
| 7567 | case 2 : return 2; |
| 7568 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7569 | } |
| 7570 | case Format::eG8B8R82Plane420Unorm: |
| 7571 | switch ( component ) |
| 7572 | { |
| 7573 | case 0 : return 0; |
| 7574 | case 1 : return 1; |
| 7575 | case 2 : return 1; |
| 7576 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7577 | } |
| 7578 | case Format::eG8B8R83Plane422Unorm: |
| 7579 | switch ( component ) |
| 7580 | { |
| 7581 | case 0 : return 0; |
| 7582 | case 1 : return 1; |
| 7583 | case 2 : return 2; |
| 7584 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7585 | } |
| 7586 | case Format::eG8B8R82Plane422Unorm: |
| 7587 | switch ( component ) |
| 7588 | { |
| 7589 | case 0 : return 0; |
| 7590 | case 1 : return 1; |
| 7591 | case 2 : return 1; |
| 7592 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7593 | } |
| 7594 | case Format::eG8B8R83Plane444Unorm: |
| 7595 | switch ( component ) |
| 7596 | { |
| 7597 | case 0 : return 0; |
| 7598 | case 1 : return 1; |
| 7599 | case 2 : return 2; |
| 7600 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7601 | } |
| 7602 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 7603 | switch ( component ) |
| 7604 | { |
| 7605 | case 0 : return 0; |
| 7606 | case 1 : return 1; |
| 7607 | case 2 : return 2; |
| 7608 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7609 | } |
| 7610 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 7611 | switch ( component ) |
| 7612 | { |
| 7613 | case 0 : return 0; |
| 7614 | case 1 : return 1; |
| 7615 | case 2 : return 1; |
| 7616 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7617 | } |
| 7618 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 7619 | switch ( component ) |
| 7620 | { |
| 7621 | case 0 : return 0; |
| 7622 | case 1 : return 1; |
| 7623 | case 2 : return 2; |
| 7624 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7625 | } |
| 7626 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 7627 | switch ( component ) |
| 7628 | { |
| 7629 | case 0 : return 0; |
| 7630 | case 1 : return 1; |
| 7631 | case 2 : return 1; |
| 7632 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7633 | } |
| 7634 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 7635 | switch ( component ) |
| 7636 | { |
| 7637 | case 0 : return 0; |
| 7638 | case 1 : return 1; |
| 7639 | case 2 : return 2; |
| 7640 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7641 | } |
| 7642 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 7643 | switch ( component ) |
| 7644 | { |
| 7645 | case 0 : return 0; |
| 7646 | case 1 : return 1; |
| 7647 | case 2 : return 2; |
| 7648 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7649 | } |
| 7650 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 7651 | switch ( component ) |
| 7652 | { |
| 7653 | case 0 : return 0; |
| 7654 | case 1 : return 1; |
| 7655 | case 2 : return 1; |
| 7656 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7657 | } |
| 7658 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 7659 | switch ( component ) |
| 7660 | { |
| 7661 | case 0 : return 0; |
| 7662 | case 1 : return 1; |
| 7663 | case 2 : return 2; |
| 7664 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7665 | } |
| 7666 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 7667 | switch ( component ) |
| 7668 | { |
| 7669 | case 0 : return 0; |
| 7670 | case 1 : return 1; |
| 7671 | case 2 : return 1; |
| 7672 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7673 | } |
| 7674 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 7675 | switch ( component ) |
| 7676 | { |
| 7677 | case 0 : return 0; |
| 7678 | case 1 : return 1; |
| 7679 | case 2 : return 2; |
| 7680 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7681 | } |
| 7682 | case Format::eG16B16R163Plane420Unorm: |
| 7683 | switch ( component ) |
| 7684 | { |
| 7685 | case 0 : return 0; |
| 7686 | case 1 : return 1; |
| 7687 | case 2 : return 2; |
| 7688 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7689 | } |
| 7690 | case Format::eG16B16R162Plane420Unorm: |
| 7691 | switch ( component ) |
| 7692 | { |
| 7693 | case 0 : return 0; |
| 7694 | case 1 : return 1; |
| 7695 | case 2 : return 1; |
| 7696 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7697 | } |
| 7698 | case Format::eG16B16R163Plane422Unorm: |
| 7699 | switch ( component ) |
| 7700 | { |
| 7701 | case 0 : return 0; |
| 7702 | case 1 : return 1; |
| 7703 | case 2 : return 2; |
| 7704 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7705 | } |
| 7706 | case Format::eG16B16R162Plane422Unorm: |
| 7707 | switch ( component ) |
| 7708 | { |
| 7709 | case 0 : return 0; |
| 7710 | case 1 : return 1; |
| 7711 | case 2 : return 1; |
| 7712 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7713 | } |
| 7714 | case Format::eG16B16R163Plane444Unorm: |
| 7715 | switch ( component ) |
| 7716 | { |
| 7717 | case 0 : return 0; |
| 7718 | case 1 : return 1; |
| 7719 | case 2 : return 2; |
| 7720 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7721 | } |
| 7722 | case Format::eG8B8R82Plane444Unorm: |
| 7723 | switch ( component ) |
| 7724 | { |
| 7725 | case 0 : return 0; |
| 7726 | case 1 : return 1; |
| 7727 | case 2 : return 1; |
| 7728 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7729 | } |
| 7730 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 7731 | switch ( component ) |
| 7732 | { |
| 7733 | case 0 : return 0; |
| 7734 | case 1 : return 1; |
| 7735 | case 2 : return 1; |
| 7736 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7737 | } |
| 7738 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 7739 | switch ( component ) |
| 7740 | { |
| 7741 | case 0 : return 0; |
| 7742 | case 1 : return 1; |
| 7743 | case 2 : return 1; |
| 7744 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7745 | } |
| 7746 | case Format::eG16B16R162Plane444Unorm: |
| 7747 | switch ( component ) |
| 7748 | { |
| 7749 | case 0 : return 0; |
| 7750 | case 1 : return 1; |
| 7751 | case 2 : return 1; |
| 7752 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7753 | } |
| 7754 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 7755 | switch ( component ) |
| 7756 | { |
| 7757 | case 0 : return 0; |
| 7758 | case 1 : return 1; |
| 7759 | case 2 : return 1; |
| 7760 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7761 | } |
| 7762 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 7763 | switch ( component ) |
| 7764 | { |
| 7765 | case 0 : return 0; |
| 7766 | case 1 : return 1; |
| 7767 | case 2 : return 1; |
| 7768 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 7769 | } |
| 7770 | |
| 7771 | default: return 0; |
| 7772 | } |
| 7773 | } |
| 7774 | |
| 7775 | // True, if the components of this format are compressed, otherwise false. |
| 7776 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool componentsAreCompressed( Format format ) |
| 7777 | { |
| 7778 | switch ( format ) |
| 7779 | { |
| 7780 | case Format::eBc1RgbUnormBlock: |
| 7781 | case Format::eBc1RgbSrgbBlock: |
| 7782 | case Format::eBc1RgbaUnormBlock: |
| 7783 | case Format::eBc1RgbaSrgbBlock: |
| 7784 | case Format::eBc2UnormBlock: |
| 7785 | case Format::eBc2SrgbBlock: |
| 7786 | case Format::eBc3UnormBlock: |
| 7787 | case Format::eBc3SrgbBlock: |
| 7788 | case Format::eBc4UnormBlock: |
| 7789 | case Format::eBc4SnormBlock: |
| 7790 | case Format::eBc5UnormBlock: |
| 7791 | case Format::eBc5SnormBlock: |
| 7792 | case Format::eBc6HUfloatBlock: |
| 7793 | case Format::eBc6HSfloatBlock: |
| 7794 | case Format::eBc7UnormBlock: |
| 7795 | case Format::eBc7SrgbBlock: |
| 7796 | case Format::eEtc2R8G8B8UnormBlock: |
| 7797 | case Format::eEtc2R8G8B8SrgbBlock: |
| 7798 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 7799 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 7800 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 7801 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 7802 | case Format::eAstc4x4UnormBlock: |
| 7803 | case Format::eAstc4x4SrgbBlock: |
| 7804 | case Format::eAstc5x4UnormBlock: |
| 7805 | case Format::eAstc5x4SrgbBlock: |
| 7806 | case Format::eAstc5x5UnormBlock: |
| 7807 | case Format::eAstc5x5SrgbBlock: |
| 7808 | case Format::eAstc6x5UnormBlock: |
| 7809 | case Format::eAstc6x5SrgbBlock: |
| 7810 | case Format::eAstc6x6UnormBlock: |
| 7811 | case Format::eAstc6x6SrgbBlock: |
| 7812 | case Format::eAstc8x5UnormBlock: |
| 7813 | case Format::eAstc8x5SrgbBlock: |
| 7814 | case Format::eAstc8x6UnormBlock: |
| 7815 | case Format::eAstc8x6SrgbBlock: |
| 7816 | case Format::eAstc8x8UnormBlock: |
| 7817 | case Format::eAstc8x8SrgbBlock: |
| 7818 | case Format::eAstc10x5UnormBlock: |
| 7819 | case Format::eAstc10x5SrgbBlock: |
| 7820 | case Format::eAstc10x6UnormBlock: |
| 7821 | case Format::eAstc10x6SrgbBlock: |
| 7822 | case Format::eAstc10x8UnormBlock: |
| 7823 | case Format::eAstc10x8SrgbBlock: |
| 7824 | case Format::eAstc10x10UnormBlock: |
| 7825 | case Format::eAstc10x10SrgbBlock: |
| 7826 | case Format::eAstc12x10UnormBlock: |
| 7827 | case Format::eAstc12x10SrgbBlock: |
| 7828 | case Format::eAstc12x12UnormBlock: |
| 7829 | case Format::eAstc12x12SrgbBlock: |
| 7830 | case Format::eAstc4x4SfloatBlock: |
| 7831 | case Format::eAstc5x4SfloatBlock: |
| 7832 | case Format::eAstc5x5SfloatBlock: |
| 7833 | case Format::eAstc6x5SfloatBlock: |
| 7834 | case Format::eAstc6x6SfloatBlock: |
| 7835 | case Format::eAstc8x5SfloatBlock: |
| 7836 | case Format::eAstc8x6SfloatBlock: |
| 7837 | case Format::eAstc8x8SfloatBlock: |
| 7838 | case Format::eAstc10x5SfloatBlock: |
| 7839 | case Format::eAstc10x6SfloatBlock: |
| 7840 | case Format::eAstc10x8SfloatBlock: |
| 7841 | case Format::eAstc10x10SfloatBlock: |
| 7842 | case Format::eAstc12x10SfloatBlock: |
| 7843 | case Format::eAstc12x12SfloatBlock: |
| 7844 | case Format::ePvrtc12BppUnormBlockIMG: |
| 7845 | case Format::ePvrtc14BppUnormBlockIMG: |
| 7846 | case Format::ePvrtc22BppUnormBlockIMG: |
| 7847 | case Format::ePvrtc24BppUnormBlockIMG: |
| 7848 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 7849 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 7850 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 7851 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 7852 | case Format::eAstc3x3x3UnormBlockEXT: |
| 7853 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 7854 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 7855 | case Format::eAstc4x3x3UnormBlockEXT: |
| 7856 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 7857 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 7858 | case Format::eAstc4x4x3UnormBlockEXT: |
| 7859 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 7860 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 7861 | case Format::eAstc4x4x4UnormBlockEXT: |
| 7862 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 7863 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 7864 | case Format::eAstc5x4x4UnormBlockEXT: |
| 7865 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 7866 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 7867 | case Format::eAstc5x5x4UnormBlockEXT: |
| 7868 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 7869 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 7870 | case Format::eAstc5x5x5UnormBlockEXT: |
| 7871 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 7872 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 7873 | case Format::eAstc6x5x5UnormBlockEXT: |
| 7874 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 7875 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 7876 | case Format::eAstc6x6x5UnormBlockEXT: |
| 7877 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 7878 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 7879 | case Format::eAstc6x6x6UnormBlockEXT: |
| 7880 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 7881 | case Format::eAstc6x6x6SfloatBlockEXT: return true; |
| 7882 | default : return false; |
| 7883 | } |
| 7884 | } |
| 7885 | |
| 7886 | // A textual description of the compression scheme, or an empty string if it is not compressed |
| 7887 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * compressionScheme( Format format ) |
| 7888 | { |
| 7889 | switch ( format ) |
| 7890 | { |
| 7891 | case Format::eBc1RgbUnormBlock : return "BC"; |
| 7892 | case Format::eBc1RgbSrgbBlock : return "BC"; |
| 7893 | case Format::eBc1RgbaUnormBlock : return "BC"; |
| 7894 | case Format::eBc1RgbaSrgbBlock : return "BC"; |
| 7895 | case Format::eBc2UnormBlock : return "BC"; |
| 7896 | case Format::eBc2SrgbBlock : return "BC"; |
| 7897 | case Format::eBc3UnormBlock : return "BC"; |
| 7898 | case Format::eBc3SrgbBlock : return "BC"; |
| 7899 | case Format::eBc4UnormBlock : return "BC"; |
| 7900 | case Format::eBc4SnormBlock : return "BC"; |
| 7901 | case Format::eBc5UnormBlock : return "BC"; |
| 7902 | case Format::eBc5SnormBlock : return "BC"; |
| 7903 | case Format::eBc6HUfloatBlock : return "BC"; |
| 7904 | case Format::eBc6HSfloatBlock : return "BC"; |
| 7905 | case Format::eBc7UnormBlock : return "BC"; |
| 7906 | case Format::eBc7SrgbBlock : return "BC"; |
| 7907 | case Format::eEtc2R8G8B8UnormBlock : return "ETC2"; |
| 7908 | case Format::eEtc2R8G8B8SrgbBlock : return "ETC2"; |
| 7909 | case Format::eEtc2R8G8B8A1UnormBlock : return "ETC2"; |
| 7910 | case Format::eEtc2R8G8B8A1SrgbBlock : return "ETC2"; |
| 7911 | case Format::eEtc2R8G8B8A8UnormBlock : return "ETC2"; |
| 7912 | case Format::eEtc2R8G8B8A8SrgbBlock : return "ETC2"; |
| 7913 | case Format::eEacR11UnormBlock : return "EAC"; |
| 7914 | case Format::eEacR11SnormBlock : return "EAC"; |
| 7915 | case Format::eEacR11G11UnormBlock : return "EAC"; |
| 7916 | case Format::eEacR11G11SnormBlock : return "EAC"; |
| 7917 | case Format::eAstc4x4UnormBlock : return "ASTC LDR"; |
| 7918 | case Format::eAstc4x4SrgbBlock : return "ASTC LDR"; |
| 7919 | case Format::eAstc5x4UnormBlock : return "ASTC LDR"; |
| 7920 | case Format::eAstc5x4SrgbBlock : return "ASTC LDR"; |
| 7921 | case Format::eAstc5x5UnormBlock : return "ASTC LDR"; |
| 7922 | case Format::eAstc5x5SrgbBlock : return "ASTC LDR"; |
| 7923 | case Format::eAstc6x5UnormBlock : return "ASTC LDR"; |
| 7924 | case Format::eAstc6x5SrgbBlock : return "ASTC LDR"; |
| 7925 | case Format::eAstc6x6UnormBlock : return "ASTC LDR"; |
| 7926 | case Format::eAstc6x6SrgbBlock : return "ASTC LDR"; |
| 7927 | case Format::eAstc8x5UnormBlock : return "ASTC LDR"; |
| 7928 | case Format::eAstc8x5SrgbBlock : return "ASTC LDR"; |
| 7929 | case Format::eAstc8x6UnormBlock : return "ASTC LDR"; |
| 7930 | case Format::eAstc8x6SrgbBlock : return "ASTC LDR"; |
| 7931 | case Format::eAstc8x8UnormBlock : return "ASTC LDR"; |
| 7932 | case Format::eAstc8x8SrgbBlock : return "ASTC LDR"; |
| 7933 | case Format::eAstc10x5UnormBlock : return "ASTC LDR"; |
| 7934 | case Format::eAstc10x5SrgbBlock : return "ASTC LDR"; |
| 7935 | case Format::eAstc10x6UnormBlock : return "ASTC LDR"; |
| 7936 | case Format::eAstc10x6SrgbBlock : return "ASTC LDR"; |
| 7937 | case Format::eAstc10x8UnormBlock : return "ASTC LDR"; |
| 7938 | case Format::eAstc10x8SrgbBlock : return "ASTC LDR"; |
| 7939 | case Format::eAstc10x10UnormBlock : return "ASTC LDR"; |
| 7940 | case Format::eAstc10x10SrgbBlock : return "ASTC LDR"; |
| 7941 | case Format::eAstc12x10UnormBlock : return "ASTC LDR"; |
| 7942 | case Format::eAstc12x10SrgbBlock : return "ASTC LDR"; |
| 7943 | case Format::eAstc12x12UnormBlock : return "ASTC LDR"; |
| 7944 | case Format::eAstc12x12SrgbBlock : return "ASTC LDR"; |
| 7945 | case Format::eAstc4x4SfloatBlock : return "ASTC HDR"; |
| 7946 | case Format::eAstc5x4SfloatBlock : return "ASTC HDR"; |
| 7947 | case Format::eAstc5x5SfloatBlock : return "ASTC HDR"; |
| 7948 | case Format::eAstc6x5SfloatBlock : return "ASTC HDR"; |
| 7949 | case Format::eAstc6x6SfloatBlock : return "ASTC HDR"; |
| 7950 | case Format::eAstc8x5SfloatBlock : return "ASTC HDR"; |
| 7951 | case Format::eAstc8x6SfloatBlock : return "ASTC HDR"; |
| 7952 | case Format::eAstc8x8SfloatBlock : return "ASTC HDR"; |
| 7953 | case Format::eAstc10x5SfloatBlock : return "ASTC HDR"; |
| 7954 | case Format::eAstc10x6SfloatBlock : return "ASTC HDR"; |
| 7955 | case Format::eAstc10x8SfloatBlock : return "ASTC HDR"; |
| 7956 | case Format::eAstc10x10SfloatBlock : return "ASTC HDR"; |
| 7957 | case Format::eAstc12x10SfloatBlock : return "ASTC HDR"; |
| 7958 | case Format::eAstc12x12SfloatBlock : return "ASTC HDR"; |
| 7959 | case Format::ePvrtc12BppUnormBlockIMG: return "PVRTC"; |
| 7960 | case Format::ePvrtc14BppUnormBlockIMG: return "PVRTC"; |
| 7961 | case Format::ePvrtc22BppUnormBlockIMG: return "PVRTC"; |
| 7962 | case Format::ePvrtc24BppUnormBlockIMG: return "PVRTC"; |
| 7963 | case Format::ePvrtc12BppSrgbBlockIMG : return "PVRTC"; |
| 7964 | case Format::ePvrtc14BppSrgbBlockIMG : return "PVRTC"; |
| 7965 | case Format::ePvrtc22BppSrgbBlockIMG : return "PVRTC"; |
| 7966 | case Format::ePvrtc24BppSrgbBlockIMG : return "PVRTC"; |
| 7967 | case Format::eAstc3x3x3UnormBlockEXT : return "ASTC LDR"; |
| 7968 | case Format::eAstc3x3x3SrgbBlockEXT : return "ASTC LDR"; |
| 7969 | case Format::eAstc3x3x3SfloatBlockEXT: return "ASTC HDR"; |
| 7970 | case Format::eAstc4x3x3UnormBlockEXT : return "ASTC LDR"; |
| 7971 | case Format::eAstc4x3x3SrgbBlockEXT : return "ASTC LDR"; |
| 7972 | case Format::eAstc4x3x3SfloatBlockEXT: return "ASTC HDR"; |
| 7973 | case Format::eAstc4x4x3UnormBlockEXT : return "ASTC LDR"; |
| 7974 | case Format::eAstc4x4x3SrgbBlockEXT : return "ASTC LDR"; |
| 7975 | case Format::eAstc4x4x3SfloatBlockEXT: return "ASTC HDR"; |
| 7976 | case Format::eAstc4x4x4UnormBlockEXT : return "ASTC LDR"; |
| 7977 | case Format::eAstc4x4x4SrgbBlockEXT : return "ASTC LDR"; |
| 7978 | case Format::eAstc4x4x4SfloatBlockEXT: return "ASTC HDR"; |
| 7979 | case Format::eAstc5x4x4UnormBlockEXT : return "ASTC LDR"; |
| 7980 | case Format::eAstc5x4x4SrgbBlockEXT : return "ASTC LDR"; |
| 7981 | case Format::eAstc5x4x4SfloatBlockEXT: return "ASTC HDR"; |
| 7982 | case Format::eAstc5x5x4UnormBlockEXT : return "ASTC LDR"; |
| 7983 | case Format::eAstc5x5x4SrgbBlockEXT : return "ASTC LDR"; |
| 7984 | case Format::eAstc5x5x4SfloatBlockEXT: return "ASTC HDR"; |
| 7985 | case Format::eAstc5x5x5UnormBlockEXT : return "ASTC LDR"; |
| 7986 | case Format::eAstc5x5x5SrgbBlockEXT : return "ASTC LDR"; |
| 7987 | case Format::eAstc5x5x5SfloatBlockEXT: return "ASTC HDR"; |
| 7988 | case Format::eAstc6x5x5UnormBlockEXT : return "ASTC LDR"; |
| 7989 | case Format::eAstc6x5x5SrgbBlockEXT : return "ASTC LDR"; |
| 7990 | case Format::eAstc6x5x5SfloatBlockEXT: return "ASTC HDR"; |
| 7991 | case Format::eAstc6x6x5UnormBlockEXT : return "ASTC LDR"; |
| 7992 | case Format::eAstc6x6x5SrgbBlockEXT : return "ASTC LDR"; |
| 7993 | case Format::eAstc6x6x5SfloatBlockEXT: return "ASTC HDR"; |
| 7994 | case Format::eAstc6x6x6UnormBlockEXT : return "ASTC LDR"; |
| 7995 | case Format::eAstc6x6x6SrgbBlockEXT : return "ASTC LDR"; |
| 7996 | case Format::eAstc6x6x6SfloatBlockEXT: return "ASTC HDR"; |
| 7997 | |
| 7998 | default: return ""; |
| 7999 | } |
| 8000 | } |
| 8001 | |
| 8002 | // Get all formats |
| 8003 | VULKAN_HPP_INLINE std::vector<Format> const & getAllFormats() |
| 8004 | { |
| 8005 | static std::vector<Format> allFormats = { Format::eR4G4UnormPack8, |
| 8006 | Format::eR4G4B4A4UnormPack16, |
| 8007 | Format::eB4G4R4A4UnormPack16, |
| 8008 | Format::eR5G6B5UnormPack16, |
| 8009 | Format::eB5G6R5UnormPack16, |
| 8010 | Format::eR5G5B5A1UnormPack16, |
| 8011 | Format::eB5G5R5A1UnormPack16, |
| 8012 | Format::eA1R5G5B5UnormPack16, |
| 8013 | Format::eR8Unorm, |
| 8014 | Format::eR8Snorm, |
| 8015 | Format::eR8Uscaled, |
| 8016 | Format::eR8Sscaled, |
| 8017 | Format::eR8Uint, |
| 8018 | Format::eR8Sint, |
| 8019 | Format::eR8Srgb, |
| 8020 | Format::eR8G8Unorm, |
| 8021 | Format::eR8G8Snorm, |
| 8022 | Format::eR8G8Uscaled, |
| 8023 | Format::eR8G8Sscaled, |
| 8024 | Format::eR8G8Uint, |
| 8025 | Format::eR8G8Sint, |
| 8026 | Format::eR8G8Srgb, |
| 8027 | Format::eR8G8B8Unorm, |
| 8028 | Format::eR8G8B8Snorm, |
| 8029 | Format::eR8G8B8Uscaled, |
| 8030 | Format::eR8G8B8Sscaled, |
| 8031 | Format::eR8G8B8Uint, |
| 8032 | Format::eR8G8B8Sint, |
| 8033 | Format::eR8G8B8Srgb, |
| 8034 | Format::eB8G8R8Unorm, |
| 8035 | Format::eB8G8R8Snorm, |
| 8036 | Format::eB8G8R8Uscaled, |
| 8037 | Format::eB8G8R8Sscaled, |
| 8038 | Format::eB8G8R8Uint, |
| 8039 | Format::eB8G8R8Sint, |
| 8040 | Format::eB8G8R8Srgb, |
| 8041 | Format::eR8G8B8A8Unorm, |
| 8042 | Format::eR8G8B8A8Snorm, |
| 8043 | Format::eR8G8B8A8Uscaled, |
| 8044 | Format::eR8G8B8A8Sscaled, |
| 8045 | Format::eR8G8B8A8Uint, |
| 8046 | Format::eR8G8B8A8Sint, |
| 8047 | Format::eR8G8B8A8Srgb, |
| 8048 | Format::eB8G8R8A8Unorm, |
| 8049 | Format::eB8G8R8A8Snorm, |
| 8050 | Format::eB8G8R8A8Uscaled, |
| 8051 | Format::eB8G8R8A8Sscaled, |
| 8052 | Format::eB8G8R8A8Uint, |
| 8053 | Format::eB8G8R8A8Sint, |
| 8054 | Format::eB8G8R8A8Srgb, |
| 8055 | Format::eA8B8G8R8UnormPack32, |
| 8056 | Format::eA8B8G8R8SnormPack32, |
| 8057 | Format::eA8B8G8R8UscaledPack32, |
| 8058 | Format::eA8B8G8R8SscaledPack32, |
| 8059 | Format::eA8B8G8R8UintPack32, |
| 8060 | Format::eA8B8G8R8SintPack32, |
| 8061 | Format::eA8B8G8R8SrgbPack32, |
| 8062 | Format::eA2R10G10B10UnormPack32, |
| 8063 | Format::eA2R10G10B10SnormPack32, |
| 8064 | Format::eA2R10G10B10UscaledPack32, |
| 8065 | Format::eA2R10G10B10SscaledPack32, |
| 8066 | Format::eA2R10G10B10UintPack32, |
| 8067 | Format::eA2R10G10B10SintPack32, |
| 8068 | Format::eA2B10G10R10UnormPack32, |
| 8069 | Format::eA2B10G10R10SnormPack32, |
| 8070 | Format::eA2B10G10R10UscaledPack32, |
| 8071 | Format::eA2B10G10R10SscaledPack32, |
| 8072 | Format::eA2B10G10R10UintPack32, |
| 8073 | Format::eA2B10G10R10SintPack32, |
| 8074 | Format::eR16Unorm, |
| 8075 | Format::eR16Snorm, |
| 8076 | Format::eR16Uscaled, |
| 8077 | Format::eR16Sscaled, |
| 8078 | Format::eR16Uint, |
| 8079 | Format::eR16Sint, |
| 8080 | Format::eR16Sfloat, |
| 8081 | Format::eR16G16Unorm, |
| 8082 | Format::eR16G16Snorm, |
| 8083 | Format::eR16G16Uscaled, |
| 8084 | Format::eR16G16Sscaled, |
| 8085 | Format::eR16G16Uint, |
| 8086 | Format::eR16G16Sint, |
| 8087 | Format::eR16G16Sfloat, |
| 8088 | Format::eR16G16B16Unorm, |
| 8089 | Format::eR16G16B16Snorm, |
| 8090 | Format::eR16G16B16Uscaled, |
| 8091 | Format::eR16G16B16Sscaled, |
| 8092 | Format::eR16G16B16Uint, |
| 8093 | Format::eR16G16B16Sint, |
| 8094 | Format::eR16G16B16Sfloat, |
| 8095 | Format::eR16G16B16A16Unorm, |
| 8096 | Format::eR16G16B16A16Snorm, |
| 8097 | Format::eR16G16B16A16Uscaled, |
| 8098 | Format::eR16G16B16A16Sscaled, |
| 8099 | Format::eR16G16B16A16Uint, |
| 8100 | Format::eR16G16B16A16Sint, |
| 8101 | Format::eR16G16B16A16Sfloat, |
| 8102 | Format::eR32Uint, |
| 8103 | Format::eR32Sint, |
| 8104 | Format::eR32Sfloat, |
| 8105 | Format::eR32G32Uint, |
| 8106 | Format::eR32G32Sint, |
| 8107 | Format::eR32G32Sfloat, |
| 8108 | Format::eR32G32B32Uint, |
| 8109 | Format::eR32G32B32Sint, |
| 8110 | Format::eR32G32B32Sfloat, |
| 8111 | Format::eR32G32B32A32Uint, |
| 8112 | Format::eR32G32B32A32Sint, |
| 8113 | Format::eR32G32B32A32Sfloat, |
| 8114 | Format::eR64Uint, |
| 8115 | Format::eR64Sint, |
| 8116 | Format::eR64Sfloat, |
| 8117 | Format::eR64G64Uint, |
| 8118 | Format::eR64G64Sint, |
| 8119 | Format::eR64G64Sfloat, |
| 8120 | Format::eR64G64B64Uint, |
| 8121 | Format::eR64G64B64Sint, |
| 8122 | Format::eR64G64B64Sfloat, |
| 8123 | Format::eR64G64B64A64Uint, |
| 8124 | Format::eR64G64B64A64Sint, |
| 8125 | Format::eR64G64B64A64Sfloat, |
| 8126 | Format::eB10G11R11UfloatPack32, |
| 8127 | Format::eE5B9G9R9UfloatPack32, |
| 8128 | Format::eD16Unorm, |
| 8129 | Format::eX8D24UnormPack32, |
| 8130 | Format::eD32Sfloat, |
| 8131 | Format::eS8Uint, |
| 8132 | Format::eD16UnormS8Uint, |
| 8133 | Format::eD24UnormS8Uint, |
| 8134 | Format::eD32SfloatS8Uint, |
| 8135 | Format::eBc1RgbUnormBlock, |
| 8136 | Format::eBc1RgbSrgbBlock, |
| 8137 | Format::eBc1RgbaUnormBlock, |
| 8138 | Format::eBc1RgbaSrgbBlock, |
| 8139 | Format::eBc2UnormBlock, |
| 8140 | Format::eBc2SrgbBlock, |
| 8141 | Format::eBc3UnormBlock, |
| 8142 | Format::eBc3SrgbBlock, |
| 8143 | Format::eBc4UnormBlock, |
| 8144 | Format::eBc4SnormBlock, |
| 8145 | Format::eBc5UnormBlock, |
| 8146 | Format::eBc5SnormBlock, |
| 8147 | Format::eBc6HUfloatBlock, |
| 8148 | Format::eBc6HSfloatBlock, |
| 8149 | Format::eBc7UnormBlock, |
| 8150 | Format::eBc7SrgbBlock, |
| 8151 | Format::eEtc2R8G8B8UnormBlock, |
| 8152 | Format::eEtc2R8G8B8SrgbBlock, |
| 8153 | Format::eEtc2R8G8B8A1UnormBlock, |
| 8154 | Format::eEtc2R8G8B8A1SrgbBlock, |
| 8155 | Format::eEtc2R8G8B8A8UnormBlock, |
| 8156 | Format::eEtc2R8G8B8A8SrgbBlock, |
| 8157 | Format::eEacR11UnormBlock, |
| 8158 | Format::eEacR11SnormBlock, |
| 8159 | Format::eEacR11G11UnormBlock, |
| 8160 | Format::eEacR11G11SnormBlock, |
| 8161 | Format::eAstc4x4UnormBlock, |
| 8162 | Format::eAstc4x4SrgbBlock, |
| 8163 | Format::eAstc5x4UnormBlock, |
| 8164 | Format::eAstc5x4SrgbBlock, |
| 8165 | Format::eAstc5x5UnormBlock, |
| 8166 | Format::eAstc5x5SrgbBlock, |
| 8167 | Format::eAstc6x5UnormBlock, |
| 8168 | Format::eAstc6x5SrgbBlock, |
| 8169 | Format::eAstc6x6UnormBlock, |
| 8170 | Format::eAstc6x6SrgbBlock, |
| 8171 | Format::eAstc8x5UnormBlock, |
| 8172 | Format::eAstc8x5SrgbBlock, |
| 8173 | Format::eAstc8x6UnormBlock, |
| 8174 | Format::eAstc8x6SrgbBlock, |
| 8175 | Format::eAstc8x8UnormBlock, |
| 8176 | Format::eAstc8x8SrgbBlock, |
| 8177 | Format::eAstc10x5UnormBlock, |
| 8178 | Format::eAstc10x5SrgbBlock, |
| 8179 | Format::eAstc10x6UnormBlock, |
| 8180 | Format::eAstc10x6SrgbBlock, |
| 8181 | Format::eAstc10x8UnormBlock, |
| 8182 | Format::eAstc10x8SrgbBlock, |
| 8183 | Format::eAstc10x10UnormBlock, |
| 8184 | Format::eAstc10x10SrgbBlock, |
| 8185 | Format::eAstc12x10UnormBlock, |
| 8186 | Format::eAstc12x10SrgbBlock, |
| 8187 | Format::eAstc12x12UnormBlock, |
| 8188 | Format::eAstc12x12SrgbBlock, |
| 8189 | Format::eG8B8G8R8422Unorm, |
| 8190 | Format::eB8G8R8G8422Unorm, |
| 8191 | Format::eG8B8R83Plane420Unorm, |
| 8192 | Format::eG8B8R82Plane420Unorm, |
| 8193 | Format::eG8B8R83Plane422Unorm, |
| 8194 | Format::eG8B8R82Plane422Unorm, |
| 8195 | Format::eG8B8R83Plane444Unorm, |
| 8196 | Format::eR10X6UnormPack16, |
| 8197 | Format::eR10X6G10X6Unorm2Pack16, |
| 8198 | Format::eR10X6G10X6B10X6A10X6Unorm4Pack16, |
| 8199 | Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16, |
| 8200 | Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16, |
| 8201 | Format::eG10X6B10X6R10X63Plane420Unorm3Pack16, |
| 8202 | Format::eG10X6B10X6R10X62Plane420Unorm3Pack16, |
| 8203 | Format::eG10X6B10X6R10X63Plane422Unorm3Pack16, |
| 8204 | Format::eG10X6B10X6R10X62Plane422Unorm3Pack16, |
| 8205 | Format::eG10X6B10X6R10X63Plane444Unorm3Pack16, |
| 8206 | Format::eR12X4UnormPack16, |
| 8207 | Format::eR12X4G12X4Unorm2Pack16, |
| 8208 | Format::eR12X4G12X4B12X4A12X4Unorm4Pack16, |
| 8209 | Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16, |
| 8210 | Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16, |
| 8211 | Format::eG12X4B12X4R12X43Plane420Unorm3Pack16, |
| 8212 | Format::eG12X4B12X4R12X42Plane420Unorm3Pack16, |
| 8213 | Format::eG12X4B12X4R12X43Plane422Unorm3Pack16, |
| 8214 | Format::eG12X4B12X4R12X42Plane422Unorm3Pack16, |
| 8215 | Format::eG12X4B12X4R12X43Plane444Unorm3Pack16, |
| 8216 | Format::eG16B16G16R16422Unorm, |
| 8217 | Format::eB16G16R16G16422Unorm, |
| 8218 | Format::eG16B16R163Plane420Unorm, |
| 8219 | Format::eG16B16R162Plane420Unorm, |
| 8220 | Format::eG16B16R163Plane422Unorm, |
| 8221 | Format::eG16B16R162Plane422Unorm, |
| 8222 | Format::eG16B16R163Plane444Unorm, |
| 8223 | Format::eG8B8R82Plane444Unorm, |
| 8224 | Format::eG10X6B10X6R10X62Plane444Unorm3Pack16, |
| 8225 | Format::eG12X4B12X4R12X42Plane444Unorm3Pack16, |
| 8226 | Format::eG16B16R162Plane444Unorm, |
| 8227 | Format::eA4R4G4B4UnormPack16, |
| 8228 | Format::eA4B4G4R4UnormPack16, |
| 8229 | Format::eAstc4x4SfloatBlock, |
| 8230 | Format::eAstc5x4SfloatBlock, |
| 8231 | Format::eAstc5x5SfloatBlock, |
| 8232 | Format::eAstc6x5SfloatBlock, |
| 8233 | Format::eAstc6x6SfloatBlock, |
| 8234 | Format::eAstc8x5SfloatBlock, |
| 8235 | Format::eAstc8x6SfloatBlock, |
| 8236 | Format::eAstc8x8SfloatBlock, |
| 8237 | Format::eAstc10x5SfloatBlock, |
| 8238 | Format::eAstc10x6SfloatBlock, |
| 8239 | Format::eAstc10x8SfloatBlock, |
| 8240 | Format::eAstc10x10SfloatBlock, |
| 8241 | Format::eAstc12x10SfloatBlock, |
| 8242 | Format::eAstc12x12SfloatBlock, |
| 8243 | Format::eA1B5G5R5UnormPack16, |
| 8244 | Format::eA8Unorm, |
| 8245 | Format::ePvrtc12BppUnormBlockIMG, |
| 8246 | Format::ePvrtc14BppUnormBlockIMG, |
| 8247 | Format::ePvrtc22BppUnormBlockIMG, |
| 8248 | Format::ePvrtc24BppUnormBlockIMG, |
| 8249 | Format::ePvrtc12BppSrgbBlockIMG, |
| 8250 | Format::ePvrtc14BppSrgbBlockIMG, |
| 8251 | Format::ePvrtc22BppSrgbBlockIMG, |
| 8252 | Format::ePvrtc24BppSrgbBlockIMG, |
| 8253 | Format::eAstc3x3x3UnormBlockEXT, |
| 8254 | Format::eAstc3x3x3SrgbBlockEXT, |
| 8255 | Format::eAstc3x3x3SfloatBlockEXT, |
| 8256 | Format::eAstc4x3x3UnormBlockEXT, |
| 8257 | Format::eAstc4x3x3SrgbBlockEXT, |
| 8258 | Format::eAstc4x3x3SfloatBlockEXT, |
| 8259 | Format::eAstc4x4x3UnormBlockEXT, |
| 8260 | Format::eAstc4x4x3SrgbBlockEXT, |
| 8261 | Format::eAstc4x4x3SfloatBlockEXT, |
| 8262 | Format::eAstc4x4x4UnormBlockEXT, |
| 8263 | Format::eAstc4x4x4SrgbBlockEXT, |
| 8264 | Format::eAstc4x4x4SfloatBlockEXT, |
| 8265 | Format::eAstc5x4x4UnormBlockEXT, |
| 8266 | Format::eAstc5x4x4SrgbBlockEXT, |
| 8267 | Format::eAstc5x4x4SfloatBlockEXT, |
| 8268 | Format::eAstc5x5x4UnormBlockEXT, |
| 8269 | Format::eAstc5x5x4SrgbBlockEXT, |
| 8270 | Format::eAstc5x5x4SfloatBlockEXT, |
| 8271 | Format::eAstc5x5x5UnormBlockEXT, |
| 8272 | Format::eAstc5x5x5SrgbBlockEXT, |
| 8273 | Format::eAstc5x5x5SfloatBlockEXT, |
| 8274 | Format::eAstc6x5x5UnormBlockEXT, |
| 8275 | Format::eAstc6x5x5SrgbBlockEXT, |
| 8276 | Format::eAstc6x5x5SfloatBlockEXT, |
| 8277 | Format::eAstc6x6x5UnormBlockEXT, |
| 8278 | Format::eAstc6x6x5SrgbBlockEXT, |
| 8279 | Format::eAstc6x6x5SfloatBlockEXT, |
| 8280 | Format::eAstc6x6x6UnormBlockEXT, |
| 8281 | Format::eAstc6x6x6SrgbBlockEXT, |
| 8282 | Format::eAstc6x6x6SfloatBlockEXT, |
| 8283 | Format::eR8BoolARM, |
| 8284 | Format::eR16SfloatFpencodingBfloat16ARM, |
| 8285 | Format::eR8SfloatFpencodingFloat8E4M3ARM, |
| 8286 | Format::eR8SfloatFpencodingFloat8E5M2ARM, |
| 8287 | Format::eR16G16Sfixed5NV, |
| 8288 | Format::eR10X6UintPack16ARM, |
| 8289 | Format::eR10X6G10X6Uint2Pack16ARM, |
| 8290 | Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM, |
| 8291 | Format::eR12X4UintPack16ARM, |
| 8292 | Format::eR12X4G12X4Uint2Pack16ARM, |
| 8293 | Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM, |
| 8294 | Format::eR14X2UintPack16ARM, |
| 8295 | Format::eR14X2G14X2Uint2Pack16ARM, |
| 8296 | Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM, |
| 8297 | Format::eR14X2UnormPack16ARM, |
| 8298 | Format::eR14X2G14X2Unorm2Pack16ARM, |
| 8299 | Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM, |
| 8300 | Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM, |
| 8301 | Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM }; |
| 8302 | return allFormats; |
| 8303 | } |
| 8304 | |
| 8305 | // Get all formats with a color component |
| 8306 | VULKAN_HPP_INLINE std::vector<Format> const & getColorFormats() |
| 8307 | { |
| 8308 | static std::vector<Format> colorFormats = { Format::eR4G4UnormPack8, |
| 8309 | Format::eR4G4B4A4UnormPack16, |
| 8310 | Format::eB4G4R4A4UnormPack16, |
| 8311 | Format::eR5G6B5UnormPack16, |
| 8312 | Format::eB5G6R5UnormPack16, |
| 8313 | Format::eR5G5B5A1UnormPack16, |
| 8314 | Format::eB5G5R5A1UnormPack16, |
| 8315 | Format::eA1R5G5B5UnormPack16, |
| 8316 | Format::eR8Unorm, |
| 8317 | Format::eR8Snorm, |
| 8318 | Format::eR8Uscaled, |
| 8319 | Format::eR8Sscaled, |
| 8320 | Format::eR8Uint, |
| 8321 | Format::eR8Sint, |
| 8322 | Format::eR8Srgb, |
| 8323 | Format::eR8G8Unorm, |
| 8324 | Format::eR8G8Snorm, |
| 8325 | Format::eR8G8Uscaled, |
| 8326 | Format::eR8G8Sscaled, |
| 8327 | Format::eR8G8Uint, |
| 8328 | Format::eR8G8Sint, |
| 8329 | Format::eR8G8Srgb, |
| 8330 | Format::eR8G8B8Unorm, |
| 8331 | Format::eR8G8B8Snorm, |
| 8332 | Format::eR8G8B8Uscaled, |
| 8333 | Format::eR8G8B8Sscaled, |
| 8334 | Format::eR8G8B8Uint, |
| 8335 | Format::eR8G8B8Sint, |
| 8336 | Format::eR8G8B8Srgb, |
| 8337 | Format::eB8G8R8Unorm, |
| 8338 | Format::eB8G8R8Snorm, |
| 8339 | Format::eB8G8R8Uscaled, |
| 8340 | Format::eB8G8R8Sscaled, |
| 8341 | Format::eB8G8R8Uint, |
| 8342 | Format::eB8G8R8Sint, |
| 8343 | Format::eB8G8R8Srgb, |
| 8344 | Format::eR8G8B8A8Unorm, |
| 8345 | Format::eR8G8B8A8Snorm, |
| 8346 | Format::eR8G8B8A8Uscaled, |
| 8347 | Format::eR8G8B8A8Sscaled, |
| 8348 | Format::eR8G8B8A8Uint, |
| 8349 | Format::eR8G8B8A8Sint, |
| 8350 | Format::eR8G8B8A8Srgb, |
| 8351 | Format::eB8G8R8A8Unorm, |
| 8352 | Format::eB8G8R8A8Snorm, |
| 8353 | Format::eB8G8R8A8Uscaled, |
| 8354 | Format::eB8G8R8A8Sscaled, |
| 8355 | Format::eB8G8R8A8Uint, |
| 8356 | Format::eB8G8R8A8Sint, |
| 8357 | Format::eB8G8R8A8Srgb, |
| 8358 | Format::eA8B8G8R8UnormPack32, |
| 8359 | Format::eA8B8G8R8SnormPack32, |
| 8360 | Format::eA8B8G8R8UscaledPack32, |
| 8361 | Format::eA8B8G8R8SscaledPack32, |
| 8362 | Format::eA8B8G8R8UintPack32, |
| 8363 | Format::eA8B8G8R8SintPack32, |
| 8364 | Format::eA8B8G8R8SrgbPack32, |
| 8365 | Format::eA2R10G10B10UnormPack32, |
| 8366 | Format::eA2R10G10B10SnormPack32, |
| 8367 | Format::eA2R10G10B10UscaledPack32, |
| 8368 | Format::eA2R10G10B10SscaledPack32, |
| 8369 | Format::eA2R10G10B10UintPack32, |
| 8370 | Format::eA2R10G10B10SintPack32, |
| 8371 | Format::eA2B10G10R10UnormPack32, |
| 8372 | Format::eA2B10G10R10SnormPack32, |
| 8373 | Format::eA2B10G10R10UscaledPack32, |
| 8374 | Format::eA2B10G10R10SscaledPack32, |
| 8375 | Format::eA2B10G10R10UintPack32, |
| 8376 | Format::eA2B10G10R10SintPack32, |
| 8377 | Format::eR16Unorm, |
| 8378 | Format::eR16Snorm, |
| 8379 | Format::eR16Uscaled, |
| 8380 | Format::eR16Sscaled, |
| 8381 | Format::eR16Uint, |
| 8382 | Format::eR16Sint, |
| 8383 | Format::eR16Sfloat, |
| 8384 | Format::eR16G16Unorm, |
| 8385 | Format::eR16G16Snorm, |
| 8386 | Format::eR16G16Uscaled, |
| 8387 | Format::eR16G16Sscaled, |
| 8388 | Format::eR16G16Uint, |
| 8389 | Format::eR16G16Sint, |
| 8390 | Format::eR16G16Sfloat, |
| 8391 | Format::eR16G16B16Unorm, |
| 8392 | Format::eR16G16B16Snorm, |
| 8393 | Format::eR16G16B16Uscaled, |
| 8394 | Format::eR16G16B16Sscaled, |
| 8395 | Format::eR16G16B16Uint, |
| 8396 | Format::eR16G16B16Sint, |
| 8397 | Format::eR16G16B16Sfloat, |
| 8398 | Format::eR16G16B16A16Unorm, |
| 8399 | Format::eR16G16B16A16Snorm, |
| 8400 | Format::eR16G16B16A16Uscaled, |
| 8401 | Format::eR16G16B16A16Sscaled, |
| 8402 | Format::eR16G16B16A16Uint, |
| 8403 | Format::eR16G16B16A16Sint, |
| 8404 | Format::eR16G16B16A16Sfloat, |
| 8405 | Format::eR32Uint, |
| 8406 | Format::eR32Sint, |
| 8407 | Format::eR32Sfloat, |
| 8408 | Format::eR32G32Uint, |
| 8409 | Format::eR32G32Sint, |
| 8410 | Format::eR32G32Sfloat, |
| 8411 | Format::eR32G32B32Uint, |
| 8412 | Format::eR32G32B32Sint, |
| 8413 | Format::eR32G32B32Sfloat, |
| 8414 | Format::eR32G32B32A32Uint, |
| 8415 | Format::eR32G32B32A32Sint, |
| 8416 | Format::eR32G32B32A32Sfloat, |
| 8417 | Format::eR64Uint, |
| 8418 | Format::eR64Sint, |
| 8419 | Format::eR64Sfloat, |
| 8420 | Format::eR64G64Uint, |
| 8421 | Format::eR64G64Sint, |
| 8422 | Format::eR64G64Sfloat, |
| 8423 | Format::eR64G64B64Uint, |
| 8424 | Format::eR64G64B64Sint, |
| 8425 | Format::eR64G64B64Sfloat, |
| 8426 | Format::eR64G64B64A64Uint, |
| 8427 | Format::eR64G64B64A64Sint, |
| 8428 | Format::eR64G64B64A64Sfloat, |
| 8429 | Format::eB10G11R11UfloatPack32, |
| 8430 | Format::eE5B9G9R9UfloatPack32, |
| 8431 | Format::eBc1RgbUnormBlock, |
| 8432 | Format::eBc1RgbSrgbBlock, |
| 8433 | Format::eBc1RgbaUnormBlock, |
| 8434 | Format::eBc1RgbaSrgbBlock, |
| 8435 | Format::eBc2UnormBlock, |
| 8436 | Format::eBc2SrgbBlock, |
| 8437 | Format::eBc3UnormBlock, |
| 8438 | Format::eBc3SrgbBlock, |
| 8439 | Format::eBc4UnormBlock, |
| 8440 | Format::eBc4SnormBlock, |
| 8441 | Format::eBc5UnormBlock, |
| 8442 | Format::eBc5SnormBlock, |
| 8443 | Format::eBc6HUfloatBlock, |
| 8444 | Format::eBc6HSfloatBlock, |
| 8445 | Format::eBc7UnormBlock, |
| 8446 | Format::eBc7SrgbBlock, |
| 8447 | Format::eEtc2R8G8B8UnormBlock, |
| 8448 | Format::eEtc2R8G8B8SrgbBlock, |
| 8449 | Format::eEtc2R8G8B8A1UnormBlock, |
| 8450 | Format::eEtc2R8G8B8A1SrgbBlock, |
| 8451 | Format::eEtc2R8G8B8A8UnormBlock, |
| 8452 | Format::eEtc2R8G8B8A8SrgbBlock, |
| 8453 | Format::eEacR11UnormBlock, |
| 8454 | Format::eEacR11SnormBlock, |
| 8455 | Format::eEacR11G11UnormBlock, |
| 8456 | Format::eEacR11G11SnormBlock, |
| 8457 | Format::eAstc4x4UnormBlock, |
| 8458 | Format::eAstc4x4SrgbBlock, |
| 8459 | Format::eAstc5x4UnormBlock, |
| 8460 | Format::eAstc5x4SrgbBlock, |
| 8461 | Format::eAstc5x5UnormBlock, |
| 8462 | Format::eAstc5x5SrgbBlock, |
| 8463 | Format::eAstc6x5UnormBlock, |
| 8464 | Format::eAstc6x5SrgbBlock, |
| 8465 | Format::eAstc6x6UnormBlock, |
| 8466 | Format::eAstc6x6SrgbBlock, |
| 8467 | Format::eAstc8x5UnormBlock, |
| 8468 | Format::eAstc8x5SrgbBlock, |
| 8469 | Format::eAstc8x6UnormBlock, |
| 8470 | Format::eAstc8x6SrgbBlock, |
| 8471 | Format::eAstc8x8UnormBlock, |
| 8472 | Format::eAstc8x8SrgbBlock, |
| 8473 | Format::eAstc10x5UnormBlock, |
| 8474 | Format::eAstc10x5SrgbBlock, |
| 8475 | Format::eAstc10x6UnormBlock, |
| 8476 | Format::eAstc10x6SrgbBlock, |
| 8477 | Format::eAstc10x8UnormBlock, |
| 8478 | Format::eAstc10x8SrgbBlock, |
| 8479 | Format::eAstc10x10UnormBlock, |
| 8480 | Format::eAstc10x10SrgbBlock, |
| 8481 | Format::eAstc12x10UnormBlock, |
| 8482 | Format::eAstc12x10SrgbBlock, |
| 8483 | Format::eAstc12x12UnormBlock, |
| 8484 | Format::eAstc12x12SrgbBlock, |
| 8485 | Format::eG8B8G8R8422Unorm, |
| 8486 | Format::eB8G8R8G8422Unorm, |
| 8487 | Format::eG8B8R83Plane420Unorm, |
| 8488 | Format::eG8B8R82Plane420Unorm, |
| 8489 | Format::eG8B8R83Plane422Unorm, |
| 8490 | Format::eG8B8R82Plane422Unorm, |
| 8491 | Format::eG8B8R83Plane444Unorm, |
| 8492 | Format::eR10X6UnormPack16, |
| 8493 | Format::eR10X6G10X6Unorm2Pack16, |
| 8494 | Format::eR10X6G10X6B10X6A10X6Unorm4Pack16, |
| 8495 | Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16, |
| 8496 | Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16, |
| 8497 | Format::eG10X6B10X6R10X63Plane420Unorm3Pack16, |
| 8498 | Format::eG10X6B10X6R10X62Plane420Unorm3Pack16, |
| 8499 | Format::eG10X6B10X6R10X63Plane422Unorm3Pack16, |
| 8500 | Format::eG10X6B10X6R10X62Plane422Unorm3Pack16, |
| 8501 | Format::eG10X6B10X6R10X63Plane444Unorm3Pack16, |
| 8502 | Format::eR12X4UnormPack16, |
| 8503 | Format::eR12X4G12X4Unorm2Pack16, |
| 8504 | Format::eR12X4G12X4B12X4A12X4Unorm4Pack16, |
| 8505 | Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16, |
| 8506 | Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16, |
| 8507 | Format::eG12X4B12X4R12X43Plane420Unorm3Pack16, |
| 8508 | Format::eG12X4B12X4R12X42Plane420Unorm3Pack16, |
| 8509 | Format::eG12X4B12X4R12X43Plane422Unorm3Pack16, |
| 8510 | Format::eG12X4B12X4R12X42Plane422Unorm3Pack16, |
| 8511 | Format::eG12X4B12X4R12X43Plane444Unorm3Pack16, |
| 8512 | Format::eG16B16G16R16422Unorm, |
| 8513 | Format::eB16G16R16G16422Unorm, |
| 8514 | Format::eG16B16R163Plane420Unorm, |
| 8515 | Format::eG16B16R162Plane420Unorm, |
| 8516 | Format::eG16B16R163Plane422Unorm, |
| 8517 | Format::eG16B16R162Plane422Unorm, |
| 8518 | Format::eG16B16R163Plane444Unorm, |
| 8519 | Format::eG8B8R82Plane444Unorm, |
| 8520 | Format::eG10X6B10X6R10X62Plane444Unorm3Pack16, |
| 8521 | Format::eG12X4B12X4R12X42Plane444Unorm3Pack16, |
| 8522 | Format::eG16B16R162Plane444Unorm, |
| 8523 | Format::eA4R4G4B4UnormPack16, |
| 8524 | Format::eA4B4G4R4UnormPack16, |
| 8525 | Format::eAstc4x4SfloatBlock, |
| 8526 | Format::eAstc5x4SfloatBlock, |
| 8527 | Format::eAstc5x5SfloatBlock, |
| 8528 | Format::eAstc6x5SfloatBlock, |
| 8529 | Format::eAstc6x6SfloatBlock, |
| 8530 | Format::eAstc8x5SfloatBlock, |
| 8531 | Format::eAstc8x6SfloatBlock, |
| 8532 | Format::eAstc8x8SfloatBlock, |
| 8533 | Format::eAstc10x5SfloatBlock, |
| 8534 | Format::eAstc10x6SfloatBlock, |
| 8535 | Format::eAstc10x8SfloatBlock, |
| 8536 | Format::eAstc10x10SfloatBlock, |
| 8537 | Format::eAstc12x10SfloatBlock, |
| 8538 | Format::eAstc12x12SfloatBlock, |
| 8539 | Format::eA1B5G5R5UnormPack16, |
| 8540 | Format::eA8Unorm, |
| 8541 | Format::ePvrtc12BppUnormBlockIMG, |
| 8542 | Format::ePvrtc14BppUnormBlockIMG, |
| 8543 | Format::ePvrtc22BppUnormBlockIMG, |
| 8544 | Format::ePvrtc24BppUnormBlockIMG, |
| 8545 | Format::ePvrtc12BppSrgbBlockIMG, |
| 8546 | Format::ePvrtc14BppSrgbBlockIMG, |
| 8547 | Format::ePvrtc22BppSrgbBlockIMG, |
| 8548 | Format::ePvrtc24BppSrgbBlockIMG, |
| 8549 | Format::eAstc3x3x3UnormBlockEXT, |
| 8550 | Format::eAstc3x3x3SrgbBlockEXT, |
| 8551 | Format::eAstc3x3x3SfloatBlockEXT, |
| 8552 | Format::eAstc4x3x3UnormBlockEXT, |
| 8553 | Format::eAstc4x3x3SrgbBlockEXT, |
| 8554 | Format::eAstc4x3x3SfloatBlockEXT, |
| 8555 | Format::eAstc4x4x3UnormBlockEXT, |
| 8556 | Format::eAstc4x4x3SrgbBlockEXT, |
| 8557 | Format::eAstc4x4x3SfloatBlockEXT, |
| 8558 | Format::eAstc4x4x4UnormBlockEXT, |
| 8559 | Format::eAstc4x4x4SrgbBlockEXT, |
| 8560 | Format::eAstc4x4x4SfloatBlockEXT, |
| 8561 | Format::eAstc5x4x4UnormBlockEXT, |
| 8562 | Format::eAstc5x4x4SrgbBlockEXT, |
| 8563 | Format::eAstc5x4x4SfloatBlockEXT, |
| 8564 | Format::eAstc5x5x4UnormBlockEXT, |
| 8565 | Format::eAstc5x5x4SrgbBlockEXT, |
| 8566 | Format::eAstc5x5x4SfloatBlockEXT, |
| 8567 | Format::eAstc5x5x5UnormBlockEXT, |
| 8568 | Format::eAstc5x5x5SrgbBlockEXT, |
| 8569 | Format::eAstc5x5x5SfloatBlockEXT, |
| 8570 | Format::eAstc6x5x5UnormBlockEXT, |
| 8571 | Format::eAstc6x5x5SrgbBlockEXT, |
| 8572 | Format::eAstc6x5x5SfloatBlockEXT, |
| 8573 | Format::eAstc6x6x5UnormBlockEXT, |
| 8574 | Format::eAstc6x6x5SrgbBlockEXT, |
| 8575 | Format::eAstc6x6x5SfloatBlockEXT, |
| 8576 | Format::eAstc6x6x6UnormBlockEXT, |
| 8577 | Format::eAstc6x6x6SrgbBlockEXT, |
| 8578 | Format::eAstc6x6x6SfloatBlockEXT, |
| 8579 | Format::eR8BoolARM, |
| 8580 | Format::eR16SfloatFpencodingBfloat16ARM, |
| 8581 | Format::eR8SfloatFpencodingFloat8E4M3ARM, |
| 8582 | Format::eR8SfloatFpencodingFloat8E5M2ARM, |
| 8583 | Format::eR16G16Sfixed5NV, |
| 8584 | Format::eR10X6UintPack16ARM, |
| 8585 | Format::eR10X6G10X6Uint2Pack16ARM, |
| 8586 | Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM, |
| 8587 | Format::eR12X4UintPack16ARM, |
| 8588 | Format::eR12X4G12X4Uint2Pack16ARM, |
| 8589 | Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM, |
| 8590 | Format::eR14X2UintPack16ARM, |
| 8591 | Format::eR14X2G14X2Uint2Pack16ARM, |
| 8592 | Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM, |
| 8593 | Format::eR14X2UnormPack16ARM, |
| 8594 | Format::eR14X2G14X2Unorm2Pack16ARM, |
| 8595 | Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM, |
| 8596 | Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM, |
| 8597 | Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM }; |
| 8598 | return colorFormats; |
| 8599 | } |
| 8600 | |
| 8601 | // Get all formats with a depth component |
| 8602 | VULKAN_HPP_INLINE std::vector<Format> const & getDepthFormats() |
| 8603 | { |
| 8604 | static std::vector<Format> depthFormats = { Format::eD16Unorm, Format::eX8D24UnormPack32, Format::eD32Sfloat, |
| 8605 | Format::eD16UnormS8Uint, Format::eD24UnormS8Uint, Format::eD32SfloatS8Uint }; |
| 8606 | return depthFormats; |
| 8607 | } |
| 8608 | |
| 8609 | // Get all formats with a depth and a stencil component |
| 8610 | VULKAN_HPP_INLINE std::vector<Format> const & getDepthStencilFormats() |
| 8611 | { |
| 8612 | static std::vector<Format> depthStencilFormats = { Format::eD16UnormS8Uint, Format::eD24UnormS8Uint, Format::eD32SfloatS8Uint }; |
| 8613 | return depthStencilFormats; |
| 8614 | } |
| 8615 | |
| 8616 | // Get all formats with a stencil component |
| 8617 | VULKAN_HPP_INLINE std::vector<Format> const & getStencilFormats() |
| 8618 | { |
| 8619 | static std::vector<Format> stencilFormats = { Format::eS8Uint, Format::eD16UnormS8Uint, Format::eD24UnormS8Uint, Format::eD32SfloatS8Uint }; |
| 8620 | return stencilFormats; |
| 8621 | } |
| 8622 | |
| 8623 | // True, if this format has an alpha component |
| 8624 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool hasAlphaComponent( Format format ) |
| 8625 | { |
| 8626 | switch ( format ) |
| 8627 | { |
| 8628 | case Format::eR4G4B4A4UnormPack16: |
| 8629 | case Format::eB4G4R4A4UnormPack16: |
| 8630 | case Format::eR5G5B5A1UnormPack16: |
| 8631 | case Format::eB5G5R5A1UnormPack16: |
| 8632 | case Format::eA1R5G5B5UnormPack16: |
| 8633 | case Format::eR8G8B8A8Unorm: |
| 8634 | case Format::eR8G8B8A8Snorm: |
| 8635 | case Format::eR8G8B8A8Uscaled: |
| 8636 | case Format::eR8G8B8A8Sscaled: |
| 8637 | case Format::eR8G8B8A8Uint: |
| 8638 | case Format::eR8G8B8A8Sint: |
| 8639 | case Format::eR8G8B8A8Srgb: |
| 8640 | case Format::eB8G8R8A8Unorm: |
| 8641 | case Format::eB8G8R8A8Snorm: |
| 8642 | case Format::eB8G8R8A8Uscaled: |
| 8643 | case Format::eB8G8R8A8Sscaled: |
| 8644 | case Format::eB8G8R8A8Uint: |
| 8645 | case Format::eB8G8R8A8Sint: |
| 8646 | case Format::eB8G8R8A8Srgb: |
| 8647 | case Format::eA8B8G8R8UnormPack32: |
| 8648 | case Format::eA8B8G8R8SnormPack32: |
| 8649 | case Format::eA8B8G8R8UscaledPack32: |
| 8650 | case Format::eA8B8G8R8SscaledPack32: |
| 8651 | case Format::eA8B8G8R8UintPack32: |
| 8652 | case Format::eA8B8G8R8SintPack32: |
| 8653 | case Format::eA8B8G8R8SrgbPack32: |
| 8654 | case Format::eA2R10G10B10UnormPack32: |
| 8655 | case Format::eA2R10G10B10SnormPack32: |
| 8656 | case Format::eA2R10G10B10UscaledPack32: |
| 8657 | case Format::eA2R10G10B10SscaledPack32: |
| 8658 | case Format::eA2R10G10B10UintPack32: |
| 8659 | case Format::eA2R10G10B10SintPack32: |
| 8660 | case Format::eA2B10G10R10UnormPack32: |
| 8661 | case Format::eA2B10G10R10SnormPack32: |
| 8662 | case Format::eA2B10G10R10UscaledPack32: |
| 8663 | case Format::eA2B10G10R10SscaledPack32: |
| 8664 | case Format::eA2B10G10R10UintPack32: |
| 8665 | case Format::eA2B10G10R10SintPack32: |
| 8666 | case Format::eR16G16B16A16Unorm: |
| 8667 | case Format::eR16G16B16A16Snorm: |
| 8668 | case Format::eR16G16B16A16Uscaled: |
| 8669 | case Format::eR16G16B16A16Sscaled: |
| 8670 | case Format::eR16G16B16A16Uint: |
| 8671 | case Format::eR16G16B16A16Sint: |
| 8672 | case Format::eR16G16B16A16Sfloat: |
| 8673 | case Format::eR32G32B32A32Uint: |
| 8674 | case Format::eR32G32B32A32Sint: |
| 8675 | case Format::eR32G32B32A32Sfloat: |
| 8676 | case Format::eR64G64B64A64Uint: |
| 8677 | case Format::eR64G64B64A64Sint: |
| 8678 | case Format::eR64G64B64A64Sfloat: |
| 8679 | case Format::eBc1RgbaUnormBlock: |
| 8680 | case Format::eBc1RgbaSrgbBlock: |
| 8681 | case Format::eBc2UnormBlock: |
| 8682 | case Format::eBc2SrgbBlock: |
| 8683 | case Format::eBc3UnormBlock: |
| 8684 | case Format::eBc3SrgbBlock: |
| 8685 | case Format::eBc7UnormBlock: |
| 8686 | case Format::eBc7SrgbBlock: |
| 8687 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 8688 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 8689 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 8690 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 8691 | case Format::eAstc4x4UnormBlock: |
| 8692 | case Format::eAstc4x4SrgbBlock: |
| 8693 | case Format::eAstc5x4UnormBlock: |
| 8694 | case Format::eAstc5x4SrgbBlock: |
| 8695 | case Format::eAstc5x5UnormBlock: |
| 8696 | case Format::eAstc5x5SrgbBlock: |
| 8697 | case Format::eAstc6x5UnormBlock: |
| 8698 | case Format::eAstc6x5SrgbBlock: |
| 8699 | case Format::eAstc6x6UnormBlock: |
| 8700 | case Format::eAstc6x6SrgbBlock: |
| 8701 | case Format::eAstc8x5UnormBlock: |
| 8702 | case Format::eAstc8x5SrgbBlock: |
| 8703 | case Format::eAstc8x6UnormBlock: |
| 8704 | case Format::eAstc8x6SrgbBlock: |
| 8705 | case Format::eAstc8x8UnormBlock: |
| 8706 | case Format::eAstc8x8SrgbBlock: |
| 8707 | case Format::eAstc10x5UnormBlock: |
| 8708 | case Format::eAstc10x5SrgbBlock: |
| 8709 | case Format::eAstc10x6UnormBlock: |
| 8710 | case Format::eAstc10x6SrgbBlock: |
| 8711 | case Format::eAstc10x8UnormBlock: |
| 8712 | case Format::eAstc10x8SrgbBlock: |
| 8713 | case Format::eAstc10x10UnormBlock: |
| 8714 | case Format::eAstc10x10SrgbBlock: |
| 8715 | case Format::eAstc12x10UnormBlock: |
| 8716 | case Format::eAstc12x10SrgbBlock: |
| 8717 | case Format::eAstc12x12UnormBlock: |
| 8718 | case Format::eAstc12x12SrgbBlock: |
| 8719 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 8720 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 8721 | case Format::eA4R4G4B4UnormPack16: |
| 8722 | case Format::eA4B4G4R4UnormPack16: |
| 8723 | case Format::eAstc4x4SfloatBlock: |
| 8724 | case Format::eAstc5x4SfloatBlock: |
| 8725 | case Format::eAstc5x5SfloatBlock: |
| 8726 | case Format::eAstc6x5SfloatBlock: |
| 8727 | case Format::eAstc6x6SfloatBlock: |
| 8728 | case Format::eAstc8x5SfloatBlock: |
| 8729 | case Format::eAstc8x6SfloatBlock: |
| 8730 | case Format::eAstc8x8SfloatBlock: |
| 8731 | case Format::eAstc10x5SfloatBlock: |
| 8732 | case Format::eAstc10x6SfloatBlock: |
| 8733 | case Format::eAstc10x8SfloatBlock: |
| 8734 | case Format::eAstc10x10SfloatBlock: |
| 8735 | case Format::eAstc12x10SfloatBlock: |
| 8736 | case Format::eAstc12x12SfloatBlock: |
| 8737 | case Format::eA1B5G5R5UnormPack16: |
| 8738 | case Format::eA8Unorm: |
| 8739 | case Format::ePvrtc12BppUnormBlockIMG: |
| 8740 | case Format::ePvrtc14BppUnormBlockIMG: |
| 8741 | case Format::ePvrtc22BppUnormBlockIMG: |
| 8742 | case Format::ePvrtc24BppUnormBlockIMG: |
| 8743 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 8744 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 8745 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 8746 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 8747 | case Format::eAstc3x3x3UnormBlockEXT: |
| 8748 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 8749 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 8750 | case Format::eAstc4x3x3UnormBlockEXT: |
| 8751 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 8752 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 8753 | case Format::eAstc4x4x3UnormBlockEXT: |
| 8754 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 8755 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 8756 | case Format::eAstc4x4x4UnormBlockEXT: |
| 8757 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 8758 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 8759 | case Format::eAstc5x4x4UnormBlockEXT: |
| 8760 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 8761 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 8762 | case Format::eAstc5x5x4UnormBlockEXT: |
| 8763 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 8764 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 8765 | case Format::eAstc5x5x5UnormBlockEXT: |
| 8766 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 8767 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 8768 | case Format::eAstc6x5x5UnormBlockEXT: |
| 8769 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 8770 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 8771 | case Format::eAstc6x6x5UnormBlockEXT: |
| 8772 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 8773 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 8774 | case Format::eAstc6x6x6UnormBlockEXT: |
| 8775 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 8776 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 8777 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 8778 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 8779 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 8780 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: return true; |
| 8781 | default : return false; |
| 8782 | } |
| 8783 | } |
| 8784 | |
| 8785 | // True, if this format has a blue component |
| 8786 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool hasBlueComponent( Format format ) |
| 8787 | { |
| 8788 | switch ( format ) |
| 8789 | { |
| 8790 | case Format::eR4G4B4A4UnormPack16: |
| 8791 | case Format::eB4G4R4A4UnormPack16: |
| 8792 | case Format::eR5G6B5UnormPack16: |
| 8793 | case Format::eB5G6R5UnormPack16: |
| 8794 | case Format::eR5G5B5A1UnormPack16: |
| 8795 | case Format::eB5G5R5A1UnormPack16: |
| 8796 | case Format::eA1R5G5B5UnormPack16: |
| 8797 | case Format::eR8G8B8Unorm: |
| 8798 | case Format::eR8G8B8Snorm: |
| 8799 | case Format::eR8G8B8Uscaled: |
| 8800 | case Format::eR8G8B8Sscaled: |
| 8801 | case Format::eR8G8B8Uint: |
| 8802 | case Format::eR8G8B8Sint: |
| 8803 | case Format::eR8G8B8Srgb: |
| 8804 | case Format::eB8G8R8Unorm: |
| 8805 | case Format::eB8G8R8Snorm: |
| 8806 | case Format::eB8G8R8Uscaled: |
| 8807 | case Format::eB8G8R8Sscaled: |
| 8808 | case Format::eB8G8R8Uint: |
| 8809 | case Format::eB8G8R8Sint: |
| 8810 | case Format::eB8G8R8Srgb: |
| 8811 | case Format::eR8G8B8A8Unorm: |
| 8812 | case Format::eR8G8B8A8Snorm: |
| 8813 | case Format::eR8G8B8A8Uscaled: |
| 8814 | case Format::eR8G8B8A8Sscaled: |
| 8815 | case Format::eR8G8B8A8Uint: |
| 8816 | case Format::eR8G8B8A8Sint: |
| 8817 | case Format::eR8G8B8A8Srgb: |
| 8818 | case Format::eB8G8R8A8Unorm: |
| 8819 | case Format::eB8G8R8A8Snorm: |
| 8820 | case Format::eB8G8R8A8Uscaled: |
| 8821 | case Format::eB8G8R8A8Sscaled: |
| 8822 | case Format::eB8G8R8A8Uint: |
| 8823 | case Format::eB8G8R8A8Sint: |
| 8824 | case Format::eB8G8R8A8Srgb: |
| 8825 | case Format::eA8B8G8R8UnormPack32: |
| 8826 | case Format::eA8B8G8R8SnormPack32: |
| 8827 | case Format::eA8B8G8R8UscaledPack32: |
| 8828 | case Format::eA8B8G8R8SscaledPack32: |
| 8829 | case Format::eA8B8G8R8UintPack32: |
| 8830 | case Format::eA8B8G8R8SintPack32: |
| 8831 | case Format::eA8B8G8R8SrgbPack32: |
| 8832 | case Format::eA2R10G10B10UnormPack32: |
| 8833 | case Format::eA2R10G10B10SnormPack32: |
| 8834 | case Format::eA2R10G10B10UscaledPack32: |
| 8835 | case Format::eA2R10G10B10SscaledPack32: |
| 8836 | case Format::eA2R10G10B10UintPack32: |
| 8837 | case Format::eA2R10G10B10SintPack32: |
| 8838 | case Format::eA2B10G10R10UnormPack32: |
| 8839 | case Format::eA2B10G10R10SnormPack32: |
| 8840 | case Format::eA2B10G10R10UscaledPack32: |
| 8841 | case Format::eA2B10G10R10SscaledPack32: |
| 8842 | case Format::eA2B10G10R10UintPack32: |
| 8843 | case Format::eA2B10G10R10SintPack32: |
| 8844 | case Format::eR16G16B16Unorm: |
| 8845 | case Format::eR16G16B16Snorm: |
| 8846 | case Format::eR16G16B16Uscaled: |
| 8847 | case Format::eR16G16B16Sscaled: |
| 8848 | case Format::eR16G16B16Uint: |
| 8849 | case Format::eR16G16B16Sint: |
| 8850 | case Format::eR16G16B16Sfloat: |
| 8851 | case Format::eR16G16B16A16Unorm: |
| 8852 | case Format::eR16G16B16A16Snorm: |
| 8853 | case Format::eR16G16B16A16Uscaled: |
| 8854 | case Format::eR16G16B16A16Sscaled: |
| 8855 | case Format::eR16G16B16A16Uint: |
| 8856 | case Format::eR16G16B16A16Sint: |
| 8857 | case Format::eR16G16B16A16Sfloat: |
| 8858 | case Format::eR32G32B32Uint: |
| 8859 | case Format::eR32G32B32Sint: |
| 8860 | case Format::eR32G32B32Sfloat: |
| 8861 | case Format::eR32G32B32A32Uint: |
| 8862 | case Format::eR32G32B32A32Sint: |
| 8863 | case Format::eR32G32B32A32Sfloat: |
| 8864 | case Format::eR64G64B64Uint: |
| 8865 | case Format::eR64G64B64Sint: |
| 8866 | case Format::eR64G64B64Sfloat: |
| 8867 | case Format::eR64G64B64A64Uint: |
| 8868 | case Format::eR64G64B64A64Sint: |
| 8869 | case Format::eR64G64B64A64Sfloat: |
| 8870 | case Format::eB10G11R11UfloatPack32: |
| 8871 | case Format::eE5B9G9R9UfloatPack32: |
| 8872 | case Format::eBc1RgbUnormBlock: |
| 8873 | case Format::eBc1RgbSrgbBlock: |
| 8874 | case Format::eBc1RgbaUnormBlock: |
| 8875 | case Format::eBc1RgbaSrgbBlock: |
| 8876 | case Format::eBc2UnormBlock: |
| 8877 | case Format::eBc2SrgbBlock: |
| 8878 | case Format::eBc3UnormBlock: |
| 8879 | case Format::eBc3SrgbBlock: |
| 8880 | case Format::eBc6HUfloatBlock: |
| 8881 | case Format::eBc6HSfloatBlock: |
| 8882 | case Format::eBc7UnormBlock: |
| 8883 | case Format::eBc7SrgbBlock: |
| 8884 | case Format::eEtc2R8G8B8UnormBlock: |
| 8885 | case Format::eEtc2R8G8B8SrgbBlock: |
| 8886 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 8887 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 8888 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 8889 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 8890 | case Format::eAstc4x4UnormBlock: |
| 8891 | case Format::eAstc4x4SrgbBlock: |
| 8892 | case Format::eAstc5x4UnormBlock: |
| 8893 | case Format::eAstc5x4SrgbBlock: |
| 8894 | case Format::eAstc5x5UnormBlock: |
| 8895 | case Format::eAstc5x5SrgbBlock: |
| 8896 | case Format::eAstc6x5UnormBlock: |
| 8897 | case Format::eAstc6x5SrgbBlock: |
| 8898 | case Format::eAstc6x6UnormBlock: |
| 8899 | case Format::eAstc6x6SrgbBlock: |
| 8900 | case Format::eAstc8x5UnormBlock: |
| 8901 | case Format::eAstc8x5SrgbBlock: |
| 8902 | case Format::eAstc8x6UnormBlock: |
| 8903 | case Format::eAstc8x6SrgbBlock: |
| 8904 | case Format::eAstc8x8UnormBlock: |
| 8905 | case Format::eAstc8x8SrgbBlock: |
| 8906 | case Format::eAstc10x5UnormBlock: |
| 8907 | case Format::eAstc10x5SrgbBlock: |
| 8908 | case Format::eAstc10x6UnormBlock: |
| 8909 | case Format::eAstc10x6SrgbBlock: |
| 8910 | case Format::eAstc10x8UnormBlock: |
| 8911 | case Format::eAstc10x8SrgbBlock: |
| 8912 | case Format::eAstc10x10UnormBlock: |
| 8913 | case Format::eAstc10x10SrgbBlock: |
| 8914 | case Format::eAstc12x10UnormBlock: |
| 8915 | case Format::eAstc12x10SrgbBlock: |
| 8916 | case Format::eAstc12x12UnormBlock: |
| 8917 | case Format::eAstc12x12SrgbBlock: |
| 8918 | case Format::eG8B8G8R8422Unorm: |
| 8919 | case Format::eB8G8R8G8422Unorm: |
| 8920 | case Format::eG8B8R83Plane420Unorm: |
| 8921 | case Format::eG8B8R82Plane420Unorm: |
| 8922 | case Format::eG8B8R83Plane422Unorm: |
| 8923 | case Format::eG8B8R82Plane422Unorm: |
| 8924 | case Format::eG8B8R83Plane444Unorm: |
| 8925 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 8926 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 8927 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 8928 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 8929 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 8930 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 8931 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 8932 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 8933 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 8934 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 8935 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 8936 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 8937 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 8938 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 8939 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 8940 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 8941 | case Format::eG16B16G16R16422Unorm: |
| 8942 | case Format::eB16G16R16G16422Unorm: |
| 8943 | case Format::eG16B16R163Plane420Unorm: |
| 8944 | case Format::eG16B16R162Plane420Unorm: |
| 8945 | case Format::eG16B16R163Plane422Unorm: |
| 8946 | case Format::eG16B16R162Plane422Unorm: |
| 8947 | case Format::eG16B16R163Plane444Unorm: |
| 8948 | case Format::eG8B8R82Plane444Unorm: |
| 8949 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 8950 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 8951 | case Format::eG16B16R162Plane444Unorm: |
| 8952 | case Format::eA4R4G4B4UnormPack16: |
| 8953 | case Format::eA4B4G4R4UnormPack16: |
| 8954 | case Format::eAstc4x4SfloatBlock: |
| 8955 | case Format::eAstc5x4SfloatBlock: |
| 8956 | case Format::eAstc5x5SfloatBlock: |
| 8957 | case Format::eAstc6x5SfloatBlock: |
| 8958 | case Format::eAstc6x6SfloatBlock: |
| 8959 | case Format::eAstc8x5SfloatBlock: |
| 8960 | case Format::eAstc8x6SfloatBlock: |
| 8961 | case Format::eAstc8x8SfloatBlock: |
| 8962 | case Format::eAstc10x5SfloatBlock: |
| 8963 | case Format::eAstc10x6SfloatBlock: |
| 8964 | case Format::eAstc10x8SfloatBlock: |
| 8965 | case Format::eAstc10x10SfloatBlock: |
| 8966 | case Format::eAstc12x10SfloatBlock: |
| 8967 | case Format::eAstc12x12SfloatBlock: |
| 8968 | case Format::eA1B5G5R5UnormPack16: |
| 8969 | case Format::ePvrtc12BppUnormBlockIMG: |
| 8970 | case Format::ePvrtc14BppUnormBlockIMG: |
| 8971 | case Format::ePvrtc22BppUnormBlockIMG: |
| 8972 | case Format::ePvrtc24BppUnormBlockIMG: |
| 8973 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 8974 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 8975 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 8976 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 8977 | case Format::eAstc3x3x3UnormBlockEXT: |
| 8978 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 8979 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 8980 | case Format::eAstc4x3x3UnormBlockEXT: |
| 8981 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 8982 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 8983 | case Format::eAstc4x4x3UnormBlockEXT: |
| 8984 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 8985 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 8986 | case Format::eAstc4x4x4UnormBlockEXT: |
| 8987 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 8988 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 8989 | case Format::eAstc5x4x4UnormBlockEXT: |
| 8990 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 8991 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 8992 | case Format::eAstc5x5x4UnormBlockEXT: |
| 8993 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 8994 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 8995 | case Format::eAstc5x5x5UnormBlockEXT: |
| 8996 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 8997 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 8998 | case Format::eAstc6x5x5UnormBlockEXT: |
| 8999 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 9000 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 9001 | case Format::eAstc6x6x5UnormBlockEXT: |
| 9002 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 9003 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 9004 | case Format::eAstc6x6x6UnormBlockEXT: |
| 9005 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 9006 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 9007 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 9008 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 9009 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 9010 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 9011 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 9012 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return true; |
| 9013 | default : return false; |
| 9014 | } |
| 9015 | } |
| 9016 | |
| 9017 | // True, if this format has a depth component |
| 9018 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool hasDepthComponent( Format format ) |
| 9019 | { |
| 9020 | switch ( format ) |
| 9021 | { |
| 9022 | case Format::eD16Unorm: |
| 9023 | case Format::eX8D24UnormPack32: |
| 9024 | case Format::eD32Sfloat: |
| 9025 | case Format::eD16UnormS8Uint: |
| 9026 | case Format::eD24UnormS8Uint: |
| 9027 | case Format::eD32SfloatS8Uint : return true; |
| 9028 | default : return false; |
| 9029 | } |
| 9030 | } |
| 9031 | |
| 9032 | // True, if this format has a green component |
| 9033 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool hasGreenComponent( Format format ) |
| 9034 | { |
| 9035 | switch ( format ) |
| 9036 | { |
| 9037 | case Format::eR4G4UnormPack8: |
| 9038 | case Format::eR4G4B4A4UnormPack16: |
| 9039 | case Format::eB4G4R4A4UnormPack16: |
| 9040 | case Format::eR5G6B5UnormPack16: |
| 9041 | case Format::eB5G6R5UnormPack16: |
| 9042 | case Format::eR5G5B5A1UnormPack16: |
| 9043 | case Format::eB5G5R5A1UnormPack16: |
| 9044 | case Format::eA1R5G5B5UnormPack16: |
| 9045 | case Format::eR8G8Unorm: |
| 9046 | case Format::eR8G8Snorm: |
| 9047 | case Format::eR8G8Uscaled: |
| 9048 | case Format::eR8G8Sscaled: |
| 9049 | case Format::eR8G8Uint: |
| 9050 | case Format::eR8G8Sint: |
| 9051 | case Format::eR8G8Srgb: |
| 9052 | case Format::eR8G8B8Unorm: |
| 9053 | case Format::eR8G8B8Snorm: |
| 9054 | case Format::eR8G8B8Uscaled: |
| 9055 | case Format::eR8G8B8Sscaled: |
| 9056 | case Format::eR8G8B8Uint: |
| 9057 | case Format::eR8G8B8Sint: |
| 9058 | case Format::eR8G8B8Srgb: |
| 9059 | case Format::eB8G8R8Unorm: |
| 9060 | case Format::eB8G8R8Snorm: |
| 9061 | case Format::eB8G8R8Uscaled: |
| 9062 | case Format::eB8G8R8Sscaled: |
| 9063 | case Format::eB8G8R8Uint: |
| 9064 | case Format::eB8G8R8Sint: |
| 9065 | case Format::eB8G8R8Srgb: |
| 9066 | case Format::eR8G8B8A8Unorm: |
| 9067 | case Format::eR8G8B8A8Snorm: |
| 9068 | case Format::eR8G8B8A8Uscaled: |
| 9069 | case Format::eR8G8B8A8Sscaled: |
| 9070 | case Format::eR8G8B8A8Uint: |
| 9071 | case Format::eR8G8B8A8Sint: |
| 9072 | case Format::eR8G8B8A8Srgb: |
| 9073 | case Format::eB8G8R8A8Unorm: |
| 9074 | case Format::eB8G8R8A8Snorm: |
| 9075 | case Format::eB8G8R8A8Uscaled: |
| 9076 | case Format::eB8G8R8A8Sscaled: |
| 9077 | case Format::eB8G8R8A8Uint: |
| 9078 | case Format::eB8G8R8A8Sint: |
| 9079 | case Format::eB8G8R8A8Srgb: |
| 9080 | case Format::eA8B8G8R8UnormPack32: |
| 9081 | case Format::eA8B8G8R8SnormPack32: |
| 9082 | case Format::eA8B8G8R8UscaledPack32: |
| 9083 | case Format::eA8B8G8R8SscaledPack32: |
| 9084 | case Format::eA8B8G8R8UintPack32: |
| 9085 | case Format::eA8B8G8R8SintPack32: |
| 9086 | case Format::eA8B8G8R8SrgbPack32: |
| 9087 | case Format::eA2R10G10B10UnormPack32: |
| 9088 | case Format::eA2R10G10B10SnormPack32: |
| 9089 | case Format::eA2R10G10B10UscaledPack32: |
| 9090 | case Format::eA2R10G10B10SscaledPack32: |
| 9091 | case Format::eA2R10G10B10UintPack32: |
| 9092 | case Format::eA2R10G10B10SintPack32: |
| 9093 | case Format::eA2B10G10R10UnormPack32: |
| 9094 | case Format::eA2B10G10R10SnormPack32: |
| 9095 | case Format::eA2B10G10R10UscaledPack32: |
| 9096 | case Format::eA2B10G10R10SscaledPack32: |
| 9097 | case Format::eA2B10G10R10UintPack32: |
| 9098 | case Format::eA2B10G10R10SintPack32: |
| 9099 | case Format::eR16G16Unorm: |
| 9100 | case Format::eR16G16Snorm: |
| 9101 | case Format::eR16G16Uscaled: |
| 9102 | case Format::eR16G16Sscaled: |
| 9103 | case Format::eR16G16Uint: |
| 9104 | case Format::eR16G16Sint: |
| 9105 | case Format::eR16G16Sfloat: |
| 9106 | case Format::eR16G16B16Unorm: |
| 9107 | case Format::eR16G16B16Snorm: |
| 9108 | case Format::eR16G16B16Uscaled: |
| 9109 | case Format::eR16G16B16Sscaled: |
| 9110 | case Format::eR16G16B16Uint: |
| 9111 | case Format::eR16G16B16Sint: |
| 9112 | case Format::eR16G16B16Sfloat: |
| 9113 | case Format::eR16G16B16A16Unorm: |
| 9114 | case Format::eR16G16B16A16Snorm: |
| 9115 | case Format::eR16G16B16A16Uscaled: |
| 9116 | case Format::eR16G16B16A16Sscaled: |
| 9117 | case Format::eR16G16B16A16Uint: |
| 9118 | case Format::eR16G16B16A16Sint: |
| 9119 | case Format::eR16G16B16A16Sfloat: |
| 9120 | case Format::eR32G32Uint: |
| 9121 | case Format::eR32G32Sint: |
| 9122 | case Format::eR32G32Sfloat: |
| 9123 | case Format::eR32G32B32Uint: |
| 9124 | case Format::eR32G32B32Sint: |
| 9125 | case Format::eR32G32B32Sfloat: |
| 9126 | case Format::eR32G32B32A32Uint: |
| 9127 | case Format::eR32G32B32A32Sint: |
| 9128 | case Format::eR32G32B32A32Sfloat: |
| 9129 | case Format::eR64G64Uint: |
| 9130 | case Format::eR64G64Sint: |
| 9131 | case Format::eR64G64Sfloat: |
| 9132 | case Format::eR64G64B64Uint: |
| 9133 | case Format::eR64G64B64Sint: |
| 9134 | case Format::eR64G64B64Sfloat: |
| 9135 | case Format::eR64G64B64A64Uint: |
| 9136 | case Format::eR64G64B64A64Sint: |
| 9137 | case Format::eR64G64B64A64Sfloat: |
| 9138 | case Format::eB10G11R11UfloatPack32: |
| 9139 | case Format::eE5B9G9R9UfloatPack32: |
| 9140 | case Format::eBc1RgbUnormBlock: |
| 9141 | case Format::eBc1RgbSrgbBlock: |
| 9142 | case Format::eBc1RgbaUnormBlock: |
| 9143 | case Format::eBc1RgbaSrgbBlock: |
| 9144 | case Format::eBc2UnormBlock: |
| 9145 | case Format::eBc2SrgbBlock: |
| 9146 | case Format::eBc3UnormBlock: |
| 9147 | case Format::eBc3SrgbBlock: |
| 9148 | case Format::eBc5UnormBlock: |
| 9149 | case Format::eBc5SnormBlock: |
| 9150 | case Format::eBc6HUfloatBlock: |
| 9151 | case Format::eBc6HSfloatBlock: |
| 9152 | case Format::eBc7UnormBlock: |
| 9153 | case Format::eBc7SrgbBlock: |
| 9154 | case Format::eEtc2R8G8B8UnormBlock: |
| 9155 | case Format::eEtc2R8G8B8SrgbBlock: |
| 9156 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 9157 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 9158 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 9159 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 9160 | case Format::eEacR11G11UnormBlock: |
| 9161 | case Format::eEacR11G11SnormBlock: |
| 9162 | case Format::eAstc4x4UnormBlock: |
| 9163 | case Format::eAstc4x4SrgbBlock: |
| 9164 | case Format::eAstc5x4UnormBlock: |
| 9165 | case Format::eAstc5x4SrgbBlock: |
| 9166 | case Format::eAstc5x5UnormBlock: |
| 9167 | case Format::eAstc5x5SrgbBlock: |
| 9168 | case Format::eAstc6x5UnormBlock: |
| 9169 | case Format::eAstc6x5SrgbBlock: |
| 9170 | case Format::eAstc6x6UnormBlock: |
| 9171 | case Format::eAstc6x6SrgbBlock: |
| 9172 | case Format::eAstc8x5UnormBlock: |
| 9173 | case Format::eAstc8x5SrgbBlock: |
| 9174 | case Format::eAstc8x6UnormBlock: |
| 9175 | case Format::eAstc8x6SrgbBlock: |
| 9176 | case Format::eAstc8x8UnormBlock: |
| 9177 | case Format::eAstc8x8SrgbBlock: |
| 9178 | case Format::eAstc10x5UnormBlock: |
| 9179 | case Format::eAstc10x5SrgbBlock: |
| 9180 | case Format::eAstc10x6UnormBlock: |
| 9181 | case Format::eAstc10x6SrgbBlock: |
| 9182 | case Format::eAstc10x8UnormBlock: |
| 9183 | case Format::eAstc10x8SrgbBlock: |
| 9184 | case Format::eAstc10x10UnormBlock: |
| 9185 | case Format::eAstc10x10SrgbBlock: |
| 9186 | case Format::eAstc12x10UnormBlock: |
| 9187 | case Format::eAstc12x10SrgbBlock: |
| 9188 | case Format::eAstc12x12UnormBlock: |
| 9189 | case Format::eAstc12x12SrgbBlock: |
| 9190 | case Format::eG8B8G8R8422Unorm: |
| 9191 | case Format::eB8G8R8G8422Unorm: |
| 9192 | case Format::eG8B8R83Plane420Unorm: |
| 9193 | case Format::eG8B8R82Plane420Unorm: |
| 9194 | case Format::eG8B8R83Plane422Unorm: |
| 9195 | case Format::eG8B8R82Plane422Unorm: |
| 9196 | case Format::eG8B8R83Plane444Unorm: |
| 9197 | case Format::eR10X6G10X6Unorm2Pack16: |
| 9198 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 9199 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 9200 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 9201 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 9202 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 9203 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 9204 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 9205 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 9206 | case Format::eR12X4G12X4Unorm2Pack16: |
| 9207 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 9208 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 9209 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 9210 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 9211 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 9212 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 9213 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 9214 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 9215 | case Format::eG16B16G16R16422Unorm: |
| 9216 | case Format::eB16G16R16G16422Unorm: |
| 9217 | case Format::eG16B16R163Plane420Unorm: |
| 9218 | case Format::eG16B16R162Plane420Unorm: |
| 9219 | case Format::eG16B16R163Plane422Unorm: |
| 9220 | case Format::eG16B16R162Plane422Unorm: |
| 9221 | case Format::eG16B16R163Plane444Unorm: |
| 9222 | case Format::eG8B8R82Plane444Unorm: |
| 9223 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 9224 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 9225 | case Format::eG16B16R162Plane444Unorm: |
| 9226 | case Format::eA4R4G4B4UnormPack16: |
| 9227 | case Format::eA4B4G4R4UnormPack16: |
| 9228 | case Format::eAstc4x4SfloatBlock: |
| 9229 | case Format::eAstc5x4SfloatBlock: |
| 9230 | case Format::eAstc5x5SfloatBlock: |
| 9231 | case Format::eAstc6x5SfloatBlock: |
| 9232 | case Format::eAstc6x6SfloatBlock: |
| 9233 | case Format::eAstc8x5SfloatBlock: |
| 9234 | case Format::eAstc8x6SfloatBlock: |
| 9235 | case Format::eAstc8x8SfloatBlock: |
| 9236 | case Format::eAstc10x5SfloatBlock: |
| 9237 | case Format::eAstc10x6SfloatBlock: |
| 9238 | case Format::eAstc10x8SfloatBlock: |
| 9239 | case Format::eAstc10x10SfloatBlock: |
| 9240 | case Format::eAstc12x10SfloatBlock: |
| 9241 | case Format::eAstc12x12SfloatBlock: |
| 9242 | case Format::eA1B5G5R5UnormPack16: |
| 9243 | case Format::ePvrtc12BppUnormBlockIMG: |
| 9244 | case Format::ePvrtc14BppUnormBlockIMG: |
| 9245 | case Format::ePvrtc22BppUnormBlockIMG: |
| 9246 | case Format::ePvrtc24BppUnormBlockIMG: |
| 9247 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 9248 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 9249 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 9250 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 9251 | case Format::eAstc3x3x3UnormBlockEXT: |
| 9252 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 9253 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 9254 | case Format::eAstc4x3x3UnormBlockEXT: |
| 9255 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 9256 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 9257 | case Format::eAstc4x4x3UnormBlockEXT: |
| 9258 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 9259 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 9260 | case Format::eAstc4x4x4UnormBlockEXT: |
| 9261 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 9262 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 9263 | case Format::eAstc5x4x4UnormBlockEXT: |
| 9264 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 9265 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 9266 | case Format::eAstc5x5x4UnormBlockEXT: |
| 9267 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 9268 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 9269 | case Format::eAstc5x5x5UnormBlockEXT: |
| 9270 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 9271 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 9272 | case Format::eAstc6x5x5UnormBlockEXT: |
| 9273 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 9274 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 9275 | case Format::eAstc6x6x5UnormBlockEXT: |
| 9276 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 9277 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 9278 | case Format::eAstc6x6x6UnormBlockEXT: |
| 9279 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 9280 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 9281 | case Format::eR16G16Sfixed5NV: |
| 9282 | case Format::eR10X6G10X6Uint2Pack16ARM: |
| 9283 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 9284 | case Format::eR12X4G12X4Uint2Pack16ARM: |
| 9285 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 9286 | case Format::eR14X2G14X2Uint2Pack16ARM: |
| 9287 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 9288 | case Format::eR14X2G14X2Unorm2Pack16ARM: |
| 9289 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 9290 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 9291 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return true; |
| 9292 | default : return false; |
| 9293 | } |
| 9294 | } |
| 9295 | |
| 9296 | // True, if this format has a red component |
| 9297 | VULKAN_HPP_CONSTEXPR_14 bool hasRedComponent( Format format ) |
| 9298 | { |
| 9299 | switch ( format ) |
| 9300 | { |
| 9301 | case Format::eR4G4UnormPack8: |
| 9302 | case Format::eR4G4B4A4UnormPack16: |
| 9303 | case Format::eB4G4R4A4UnormPack16: |
| 9304 | case Format::eR5G6B5UnormPack16: |
| 9305 | case Format::eB5G6R5UnormPack16: |
| 9306 | case Format::eR5G5B5A1UnormPack16: |
| 9307 | case Format::eB5G5R5A1UnormPack16: |
| 9308 | case Format::eA1R5G5B5UnormPack16: |
| 9309 | case Format::eR8Unorm: |
| 9310 | case Format::eR8Snorm: |
| 9311 | case Format::eR8Uscaled: |
| 9312 | case Format::eR8Sscaled: |
| 9313 | case Format::eR8Uint: |
| 9314 | case Format::eR8Sint: |
| 9315 | case Format::eR8Srgb: |
| 9316 | case Format::eR8G8Unorm: |
| 9317 | case Format::eR8G8Snorm: |
| 9318 | case Format::eR8G8Uscaled: |
| 9319 | case Format::eR8G8Sscaled: |
| 9320 | case Format::eR8G8Uint: |
| 9321 | case Format::eR8G8Sint: |
| 9322 | case Format::eR8G8Srgb: |
| 9323 | case Format::eR8G8B8Unorm: |
| 9324 | case Format::eR8G8B8Snorm: |
| 9325 | case Format::eR8G8B8Uscaled: |
| 9326 | case Format::eR8G8B8Sscaled: |
| 9327 | case Format::eR8G8B8Uint: |
| 9328 | case Format::eR8G8B8Sint: |
| 9329 | case Format::eR8G8B8Srgb: |
| 9330 | case Format::eB8G8R8Unorm: |
| 9331 | case Format::eB8G8R8Snorm: |
| 9332 | case Format::eB8G8R8Uscaled: |
| 9333 | case Format::eB8G8R8Sscaled: |
| 9334 | case Format::eB8G8R8Uint: |
| 9335 | case Format::eB8G8R8Sint: |
| 9336 | case Format::eB8G8R8Srgb: |
| 9337 | case Format::eR8G8B8A8Unorm: |
| 9338 | case Format::eR8G8B8A8Snorm: |
| 9339 | case Format::eR8G8B8A8Uscaled: |
| 9340 | case Format::eR8G8B8A8Sscaled: |
| 9341 | case Format::eR8G8B8A8Uint: |
| 9342 | case Format::eR8G8B8A8Sint: |
| 9343 | case Format::eR8G8B8A8Srgb: |
| 9344 | case Format::eB8G8R8A8Unorm: |
| 9345 | case Format::eB8G8R8A8Snorm: |
| 9346 | case Format::eB8G8R8A8Uscaled: |
| 9347 | case Format::eB8G8R8A8Sscaled: |
| 9348 | case Format::eB8G8R8A8Uint: |
| 9349 | case Format::eB8G8R8A8Sint: |
| 9350 | case Format::eB8G8R8A8Srgb: |
| 9351 | case Format::eA8B8G8R8UnormPack32: |
| 9352 | case Format::eA8B8G8R8SnormPack32: |
| 9353 | case Format::eA8B8G8R8UscaledPack32: |
| 9354 | case Format::eA8B8G8R8SscaledPack32: |
| 9355 | case Format::eA8B8G8R8UintPack32: |
| 9356 | case Format::eA8B8G8R8SintPack32: |
| 9357 | case Format::eA8B8G8R8SrgbPack32: |
| 9358 | case Format::eA2R10G10B10UnormPack32: |
| 9359 | case Format::eA2R10G10B10SnormPack32: |
| 9360 | case Format::eA2R10G10B10UscaledPack32: |
| 9361 | case Format::eA2R10G10B10SscaledPack32: |
| 9362 | case Format::eA2R10G10B10UintPack32: |
| 9363 | case Format::eA2R10G10B10SintPack32: |
| 9364 | case Format::eA2B10G10R10UnormPack32: |
| 9365 | case Format::eA2B10G10R10SnormPack32: |
| 9366 | case Format::eA2B10G10R10UscaledPack32: |
| 9367 | case Format::eA2B10G10R10SscaledPack32: |
| 9368 | case Format::eA2B10G10R10UintPack32: |
| 9369 | case Format::eA2B10G10R10SintPack32: |
| 9370 | case Format::eR16Unorm: |
| 9371 | case Format::eR16Snorm: |
| 9372 | case Format::eR16Uscaled: |
| 9373 | case Format::eR16Sscaled: |
| 9374 | case Format::eR16Uint: |
| 9375 | case Format::eR16Sint: |
| 9376 | case Format::eR16Sfloat: |
| 9377 | case Format::eR16G16Unorm: |
| 9378 | case Format::eR16G16Snorm: |
| 9379 | case Format::eR16G16Uscaled: |
| 9380 | case Format::eR16G16Sscaled: |
| 9381 | case Format::eR16G16Uint: |
| 9382 | case Format::eR16G16Sint: |
| 9383 | case Format::eR16G16Sfloat: |
| 9384 | case Format::eR16G16B16Unorm: |
| 9385 | case Format::eR16G16B16Snorm: |
| 9386 | case Format::eR16G16B16Uscaled: |
| 9387 | case Format::eR16G16B16Sscaled: |
| 9388 | case Format::eR16G16B16Uint: |
| 9389 | case Format::eR16G16B16Sint: |
| 9390 | case Format::eR16G16B16Sfloat: |
| 9391 | case Format::eR16G16B16A16Unorm: |
| 9392 | case Format::eR16G16B16A16Snorm: |
| 9393 | case Format::eR16G16B16A16Uscaled: |
| 9394 | case Format::eR16G16B16A16Sscaled: |
| 9395 | case Format::eR16G16B16A16Uint: |
| 9396 | case Format::eR16G16B16A16Sint: |
| 9397 | case Format::eR16G16B16A16Sfloat: |
| 9398 | case Format::eR32Uint: |
| 9399 | case Format::eR32Sint: |
| 9400 | case Format::eR32Sfloat: |
| 9401 | case Format::eR32G32Uint: |
| 9402 | case Format::eR32G32Sint: |
| 9403 | case Format::eR32G32Sfloat: |
| 9404 | case Format::eR32G32B32Uint: |
| 9405 | case Format::eR32G32B32Sint: |
| 9406 | case Format::eR32G32B32Sfloat: |
| 9407 | case Format::eR32G32B32A32Uint: |
| 9408 | case Format::eR32G32B32A32Sint: |
| 9409 | case Format::eR32G32B32A32Sfloat: |
| 9410 | case Format::eR64Uint: |
| 9411 | case Format::eR64Sint: |
| 9412 | case Format::eR64Sfloat: |
| 9413 | case Format::eR64G64Uint: |
| 9414 | case Format::eR64G64Sint: |
| 9415 | case Format::eR64G64Sfloat: |
| 9416 | case Format::eR64G64B64Uint: |
| 9417 | case Format::eR64G64B64Sint: |
| 9418 | case Format::eR64G64B64Sfloat: |
| 9419 | case Format::eR64G64B64A64Uint: |
| 9420 | case Format::eR64G64B64A64Sint: |
| 9421 | case Format::eR64G64B64A64Sfloat: |
| 9422 | case Format::eB10G11R11UfloatPack32: |
| 9423 | case Format::eE5B9G9R9UfloatPack32: |
| 9424 | case Format::eBc1RgbUnormBlock: |
| 9425 | case Format::eBc1RgbSrgbBlock: |
| 9426 | case Format::eBc1RgbaUnormBlock: |
| 9427 | case Format::eBc1RgbaSrgbBlock: |
| 9428 | case Format::eBc2UnormBlock: |
| 9429 | case Format::eBc2SrgbBlock: |
| 9430 | case Format::eBc3UnormBlock: |
| 9431 | case Format::eBc3SrgbBlock: |
| 9432 | case Format::eBc4UnormBlock: |
| 9433 | case Format::eBc4SnormBlock: |
| 9434 | case Format::eBc5UnormBlock: |
| 9435 | case Format::eBc5SnormBlock: |
| 9436 | case Format::eBc6HUfloatBlock: |
| 9437 | case Format::eBc6HSfloatBlock: |
| 9438 | case Format::eBc7UnormBlock: |
| 9439 | case Format::eBc7SrgbBlock: |
| 9440 | case Format::eEtc2R8G8B8UnormBlock: |
| 9441 | case Format::eEtc2R8G8B8SrgbBlock: |
| 9442 | case Format::eEtc2R8G8B8A1UnormBlock: |
| 9443 | case Format::eEtc2R8G8B8A1SrgbBlock: |
| 9444 | case Format::eEtc2R8G8B8A8UnormBlock: |
| 9445 | case Format::eEtc2R8G8B8A8SrgbBlock: |
| 9446 | case Format::eEacR11UnormBlock: |
| 9447 | case Format::eEacR11SnormBlock: |
| 9448 | case Format::eEacR11G11UnormBlock: |
| 9449 | case Format::eEacR11G11SnormBlock: |
| 9450 | case Format::eAstc4x4UnormBlock: |
| 9451 | case Format::eAstc4x4SrgbBlock: |
| 9452 | case Format::eAstc5x4UnormBlock: |
| 9453 | case Format::eAstc5x4SrgbBlock: |
| 9454 | case Format::eAstc5x5UnormBlock: |
| 9455 | case Format::eAstc5x5SrgbBlock: |
| 9456 | case Format::eAstc6x5UnormBlock: |
| 9457 | case Format::eAstc6x5SrgbBlock: |
| 9458 | case Format::eAstc6x6UnormBlock: |
| 9459 | case Format::eAstc6x6SrgbBlock: |
| 9460 | case Format::eAstc8x5UnormBlock: |
| 9461 | case Format::eAstc8x5SrgbBlock: |
| 9462 | case Format::eAstc8x6UnormBlock: |
| 9463 | case Format::eAstc8x6SrgbBlock: |
| 9464 | case Format::eAstc8x8UnormBlock: |
| 9465 | case Format::eAstc8x8SrgbBlock: |
| 9466 | case Format::eAstc10x5UnormBlock: |
| 9467 | case Format::eAstc10x5SrgbBlock: |
| 9468 | case Format::eAstc10x6UnormBlock: |
| 9469 | case Format::eAstc10x6SrgbBlock: |
| 9470 | case Format::eAstc10x8UnormBlock: |
| 9471 | case Format::eAstc10x8SrgbBlock: |
| 9472 | case Format::eAstc10x10UnormBlock: |
| 9473 | case Format::eAstc10x10SrgbBlock: |
| 9474 | case Format::eAstc12x10UnormBlock: |
| 9475 | case Format::eAstc12x10SrgbBlock: |
| 9476 | case Format::eAstc12x12UnormBlock: |
| 9477 | case Format::eAstc12x12SrgbBlock: |
| 9478 | case Format::eG8B8G8R8422Unorm: |
| 9479 | case Format::eB8G8R8G8422Unorm: |
| 9480 | case Format::eG8B8R83Plane420Unorm: |
| 9481 | case Format::eG8B8R82Plane420Unorm: |
| 9482 | case Format::eG8B8R83Plane422Unorm: |
| 9483 | case Format::eG8B8R82Plane422Unorm: |
| 9484 | case Format::eG8B8R83Plane444Unorm: |
| 9485 | case Format::eR10X6UnormPack16: |
| 9486 | case Format::eR10X6G10X6Unorm2Pack16: |
| 9487 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| 9488 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| 9489 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| 9490 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 9491 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 9492 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 9493 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 9494 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 9495 | case Format::eR12X4UnormPack16: |
| 9496 | case Format::eR12X4G12X4Unorm2Pack16: |
| 9497 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| 9498 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| 9499 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| 9500 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 9501 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 9502 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 9503 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 9504 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 9505 | case Format::eG16B16G16R16422Unorm: |
| 9506 | case Format::eB16G16R16G16422Unorm: |
| 9507 | case Format::eG16B16R163Plane420Unorm: |
| 9508 | case Format::eG16B16R162Plane420Unorm: |
| 9509 | case Format::eG16B16R163Plane422Unorm: |
| 9510 | case Format::eG16B16R162Plane422Unorm: |
| 9511 | case Format::eG16B16R163Plane444Unorm: |
| 9512 | case Format::eG8B8R82Plane444Unorm: |
| 9513 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 9514 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 9515 | case Format::eG16B16R162Plane444Unorm: |
| 9516 | case Format::eA4R4G4B4UnormPack16: |
| 9517 | case Format::eA4B4G4R4UnormPack16: |
| 9518 | case Format::eAstc4x4SfloatBlock: |
| 9519 | case Format::eAstc5x4SfloatBlock: |
| 9520 | case Format::eAstc5x5SfloatBlock: |
| 9521 | case Format::eAstc6x5SfloatBlock: |
| 9522 | case Format::eAstc6x6SfloatBlock: |
| 9523 | case Format::eAstc8x5SfloatBlock: |
| 9524 | case Format::eAstc8x6SfloatBlock: |
| 9525 | case Format::eAstc8x8SfloatBlock: |
| 9526 | case Format::eAstc10x5SfloatBlock: |
| 9527 | case Format::eAstc10x6SfloatBlock: |
| 9528 | case Format::eAstc10x8SfloatBlock: |
| 9529 | case Format::eAstc10x10SfloatBlock: |
| 9530 | case Format::eAstc12x10SfloatBlock: |
| 9531 | case Format::eAstc12x12SfloatBlock: |
| 9532 | case Format::eA1B5G5R5UnormPack16: |
| 9533 | case Format::ePvrtc12BppUnormBlockIMG: |
| 9534 | case Format::ePvrtc14BppUnormBlockIMG: |
| 9535 | case Format::ePvrtc22BppUnormBlockIMG: |
| 9536 | case Format::ePvrtc24BppUnormBlockIMG: |
| 9537 | case Format::ePvrtc12BppSrgbBlockIMG: |
| 9538 | case Format::ePvrtc14BppSrgbBlockIMG: |
| 9539 | case Format::ePvrtc22BppSrgbBlockIMG: |
| 9540 | case Format::ePvrtc24BppSrgbBlockIMG: |
| 9541 | case Format::eAstc3x3x3UnormBlockEXT: |
| 9542 | case Format::eAstc3x3x3SrgbBlockEXT: |
| 9543 | case Format::eAstc3x3x3SfloatBlockEXT: |
| 9544 | case Format::eAstc4x3x3UnormBlockEXT: |
| 9545 | case Format::eAstc4x3x3SrgbBlockEXT: |
| 9546 | case Format::eAstc4x3x3SfloatBlockEXT: |
| 9547 | case Format::eAstc4x4x3UnormBlockEXT: |
| 9548 | case Format::eAstc4x4x3SrgbBlockEXT: |
| 9549 | case Format::eAstc4x4x3SfloatBlockEXT: |
| 9550 | case Format::eAstc4x4x4UnormBlockEXT: |
| 9551 | case Format::eAstc4x4x4SrgbBlockEXT: |
| 9552 | case Format::eAstc4x4x4SfloatBlockEXT: |
| 9553 | case Format::eAstc5x4x4UnormBlockEXT: |
| 9554 | case Format::eAstc5x4x4SrgbBlockEXT: |
| 9555 | case Format::eAstc5x4x4SfloatBlockEXT: |
| 9556 | case Format::eAstc5x5x4UnormBlockEXT: |
| 9557 | case Format::eAstc5x5x4SrgbBlockEXT: |
| 9558 | case Format::eAstc5x5x4SfloatBlockEXT: |
| 9559 | case Format::eAstc5x5x5UnormBlockEXT: |
| 9560 | case Format::eAstc5x5x5SrgbBlockEXT: |
| 9561 | case Format::eAstc5x5x5SfloatBlockEXT: |
| 9562 | case Format::eAstc6x5x5UnormBlockEXT: |
| 9563 | case Format::eAstc6x5x5SrgbBlockEXT: |
| 9564 | case Format::eAstc6x5x5SfloatBlockEXT: |
| 9565 | case Format::eAstc6x6x5UnormBlockEXT: |
| 9566 | case Format::eAstc6x6x5SrgbBlockEXT: |
| 9567 | case Format::eAstc6x6x5SfloatBlockEXT: |
| 9568 | case Format::eAstc6x6x6UnormBlockEXT: |
| 9569 | case Format::eAstc6x6x6SrgbBlockEXT: |
| 9570 | case Format::eAstc6x6x6SfloatBlockEXT: |
| 9571 | case Format::eR8BoolARM: |
| 9572 | case Format::eR16SfloatFpencodingBfloat16ARM: |
| 9573 | case Format::eR8SfloatFpencodingFloat8E4M3ARM: |
| 9574 | case Format::eR8SfloatFpencodingFloat8E5M2ARM: |
| 9575 | case Format::eR16G16Sfixed5NV: |
| 9576 | case Format::eR10X6UintPack16ARM: |
| 9577 | case Format::eR10X6G10X6Uint2Pack16ARM: |
| 9578 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM: |
| 9579 | case Format::eR12X4UintPack16ARM: |
| 9580 | case Format::eR12X4G12X4Uint2Pack16ARM: |
| 9581 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM: |
| 9582 | case Format::eR14X2UintPack16ARM: |
| 9583 | case Format::eR14X2G14X2Uint2Pack16ARM: |
| 9584 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM: |
| 9585 | case Format::eR14X2UnormPack16ARM: |
| 9586 | case Format::eR14X2G14X2Unorm2Pack16ARM: |
| 9587 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM: |
| 9588 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 9589 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return true; |
| 9590 | default : return false; |
| 9591 | } |
| 9592 | } |
| 9593 | |
| 9594 | // True, if this format has a stencil component |
| 9595 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool hasStencilComponent( Format format ) |
| 9596 | { |
| 9597 | switch ( format ) |
| 9598 | { |
| 9599 | case Format::eS8Uint: |
| 9600 | case Format::eD16UnormS8Uint: |
| 9601 | case Format::eD24UnormS8Uint: |
| 9602 | case Format::eD32SfloatS8Uint: return true; |
| 9603 | default : return false; |
| 9604 | } |
| 9605 | } |
| 9606 | |
| 9607 | // True, if this format is a color. |
| 9608 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool isColor( Format format ) |
| 9609 | { |
| 9610 | return hasRedComponent( format ) || hasGreenComponent( format ) || hasBlueComponent( format ) || hasAlphaComponent( format ); |
| 9611 | } |
| 9612 | |
| 9613 | // True, if this format is a compressed one. |
| 9614 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool isCompressed( Format format ) |
| 9615 | { |
| 9616 | return ( *compressionScheme( format ) != 0 ); |
| 9617 | } |
| 9618 | |
| 9619 | // The number of bits into which the format is packed. A single image element in this format |
| 9620 | // can be stored in the same space as a scalar type of this bit width. |
| 9621 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t packed( Format format ) |
| 9622 | { |
| 9623 | switch ( format ) |
| 9624 | { |
| 9625 | case Format::eR4G4UnormPack8 : return 8; |
| 9626 | case Format::eR4G4B4A4UnormPack16 : return 16; |
| 9627 | case Format::eB4G4R4A4UnormPack16 : return 16; |
| 9628 | case Format::eR5G6B5UnormPack16 : return 16; |
| 9629 | case Format::eB5G6R5UnormPack16 : return 16; |
| 9630 | case Format::eR5G5B5A1UnormPack16 : return 16; |
| 9631 | case Format::eB5G5R5A1UnormPack16 : return 16; |
| 9632 | case Format::eA1R5G5B5UnormPack16 : return 16; |
| 9633 | case Format::eA8B8G8R8UnormPack32 : return 32; |
| 9634 | case Format::eA8B8G8R8SnormPack32 : return 32; |
| 9635 | case Format::eA8B8G8R8UscaledPack32 : return 32; |
| 9636 | case Format::eA8B8G8R8SscaledPack32 : return 32; |
| 9637 | case Format::eA8B8G8R8UintPack32 : return 32; |
| 9638 | case Format::eA8B8G8R8SintPack32 : return 32; |
| 9639 | case Format::eA8B8G8R8SrgbPack32 : return 32; |
| 9640 | case Format::eA2R10G10B10UnormPack32 : return 32; |
| 9641 | case Format::eA2R10G10B10SnormPack32 : return 32; |
| 9642 | case Format::eA2R10G10B10UscaledPack32 : return 32; |
| 9643 | case Format::eA2R10G10B10SscaledPack32 : return 32; |
| 9644 | case Format::eA2R10G10B10UintPack32 : return 32; |
| 9645 | case Format::eA2R10G10B10SintPack32 : return 32; |
| 9646 | case Format::eA2B10G10R10UnormPack32 : return 32; |
| 9647 | case Format::eA2B10G10R10SnormPack32 : return 32; |
| 9648 | case Format::eA2B10G10R10UscaledPack32 : return 32; |
| 9649 | case Format::eA2B10G10R10SscaledPack32 : return 32; |
| 9650 | case Format::eA2B10G10R10UintPack32 : return 32; |
| 9651 | case Format::eA2B10G10R10SintPack32 : return 32; |
| 9652 | case Format::eB10G11R11UfloatPack32 : return 32; |
| 9653 | case Format::eE5B9G9R9UfloatPack32 : return 32; |
| 9654 | case Format::eX8D24UnormPack32 : return 32; |
| 9655 | case Format::eR10X6UnormPack16 : return 16; |
| 9656 | case Format::eR10X6G10X6Unorm2Pack16 : return 16; |
| 9657 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return 16; |
| 9658 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return 16; |
| 9659 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return 16; |
| 9660 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return 16; |
| 9661 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return 16; |
| 9662 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return 16; |
| 9663 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return 16; |
| 9664 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return 16; |
| 9665 | case Format::eR12X4UnormPack16 : return 16; |
| 9666 | case Format::eR12X4G12X4Unorm2Pack16 : return 16; |
| 9667 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return 16; |
| 9668 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return 16; |
| 9669 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return 16; |
| 9670 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return 16; |
| 9671 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return 16; |
| 9672 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return 16; |
| 9673 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return 16; |
| 9674 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return 16; |
| 9675 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return 16; |
| 9676 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return 16; |
| 9677 | case Format::eA4R4G4B4UnormPack16 : return 16; |
| 9678 | case Format::eA4B4G4R4UnormPack16 : return 16; |
| 9679 | case Format::eA1B5G5R5UnormPack16 : return 16; |
| 9680 | case Format::eR10X6UintPack16ARM : return 16; |
| 9681 | case Format::eR10X6G10X6Uint2Pack16ARM : return 16; |
| 9682 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM : return 16; |
| 9683 | case Format::eR12X4UintPack16ARM : return 16; |
| 9684 | case Format::eR12X4G12X4Uint2Pack16ARM : return 16; |
| 9685 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM : return 16; |
| 9686 | case Format::eR14X2UintPack16ARM : return 16; |
| 9687 | case Format::eR14X2G14X2Uint2Pack16ARM : return 16; |
| 9688 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM : return 16; |
| 9689 | case Format::eR14X2UnormPack16ARM : return 16; |
| 9690 | case Format::eR14X2G14X2Unorm2Pack16ARM : return 16; |
| 9691 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM : return 16; |
| 9692 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return 16; |
| 9693 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return 16; |
| 9694 | |
| 9695 | default: return 0; |
| 9696 | } |
| 9697 | } |
| 9698 | |
| 9699 | // The single-plane format that this plane is compatible with. |
| 9700 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 Format planeCompatibleFormat( Format format, uint8_t plane ) |
| 9701 | { |
| 9702 | switch ( format ) |
| 9703 | { |
| 9704 | case Format::eG8B8R83Plane420Unorm: |
| 9705 | switch ( plane ) |
| 9706 | { |
| 9707 | case 0 : return Format::eR8Unorm; |
| 9708 | case 1 : return Format::eR8Unorm; |
| 9709 | case 2 : return Format::eR8Unorm; |
| 9710 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9711 | } |
| 9712 | case Format::eG8B8R82Plane420Unorm: |
| 9713 | switch ( plane ) |
| 9714 | { |
| 9715 | case 0 : return Format::eR8Unorm; |
| 9716 | case 1 : return Format::eR8G8Unorm; |
| 9717 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9718 | } |
| 9719 | case Format::eG8B8R83Plane422Unorm: |
| 9720 | switch ( plane ) |
| 9721 | { |
| 9722 | case 0 : return Format::eR8Unorm; |
| 9723 | case 1 : return Format::eR8Unorm; |
| 9724 | case 2 : return Format::eR8Unorm; |
| 9725 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9726 | } |
| 9727 | case Format::eG8B8R82Plane422Unorm: |
| 9728 | switch ( plane ) |
| 9729 | { |
| 9730 | case 0 : return Format::eR8Unorm; |
| 9731 | case 1 : return Format::eR8G8Unorm; |
| 9732 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9733 | } |
| 9734 | case Format::eG8B8R83Plane444Unorm: |
| 9735 | switch ( plane ) |
| 9736 | { |
| 9737 | case 0 : return Format::eR8Unorm; |
| 9738 | case 1 : return Format::eR8Unorm; |
| 9739 | case 2 : return Format::eR8Unorm; |
| 9740 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9741 | } |
| 9742 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 9743 | switch ( plane ) |
| 9744 | { |
| 9745 | case 0 : return Format::eR10X6UnormPack16; |
| 9746 | case 1 : return Format::eR10X6UnormPack16; |
| 9747 | case 2 : return Format::eR10X6UnormPack16; |
| 9748 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9749 | } |
| 9750 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 9751 | switch ( plane ) |
| 9752 | { |
| 9753 | case 0 : return Format::eR10X6UnormPack16; |
| 9754 | case 1 : return Format::eR10X6G10X6Unorm2Pack16; |
| 9755 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9756 | } |
| 9757 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 9758 | switch ( plane ) |
| 9759 | { |
| 9760 | case 0 : return Format::eR10X6UnormPack16; |
| 9761 | case 1 : return Format::eR10X6UnormPack16; |
| 9762 | case 2 : return Format::eR10X6UnormPack16; |
| 9763 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9764 | } |
| 9765 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 9766 | switch ( plane ) |
| 9767 | { |
| 9768 | case 0 : return Format::eR10X6UnormPack16; |
| 9769 | case 1 : return Format::eR10X6G10X6Unorm2Pack16; |
| 9770 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9771 | } |
| 9772 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 9773 | switch ( plane ) |
| 9774 | { |
| 9775 | case 0 : return Format::eR10X6UnormPack16; |
| 9776 | case 1 : return Format::eR10X6UnormPack16; |
| 9777 | case 2 : return Format::eR10X6UnormPack16; |
| 9778 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9779 | } |
| 9780 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 9781 | switch ( plane ) |
| 9782 | { |
| 9783 | case 0 : return Format::eR12X4UnormPack16; |
| 9784 | case 1 : return Format::eR12X4UnormPack16; |
| 9785 | case 2 : return Format::eR12X4UnormPack16; |
| 9786 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9787 | } |
| 9788 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 9789 | switch ( plane ) |
| 9790 | { |
| 9791 | case 0 : return Format::eR12X4UnormPack16; |
| 9792 | case 1 : return Format::eR12X4G12X4Unorm2Pack16; |
| 9793 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9794 | } |
| 9795 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 9796 | switch ( plane ) |
| 9797 | { |
| 9798 | case 0 : return Format::eR12X4UnormPack16; |
| 9799 | case 1 : return Format::eR12X4UnormPack16; |
| 9800 | case 2 : return Format::eR12X4UnormPack16; |
| 9801 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9802 | } |
| 9803 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 9804 | switch ( plane ) |
| 9805 | { |
| 9806 | case 0 : return Format::eR12X4UnormPack16; |
| 9807 | case 1 : return Format::eR12X4G12X4Unorm2Pack16; |
| 9808 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9809 | } |
| 9810 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 9811 | switch ( plane ) |
| 9812 | { |
| 9813 | case 0 : return Format::eR12X4UnormPack16; |
| 9814 | case 1 : return Format::eR12X4UnormPack16; |
| 9815 | case 2 : return Format::eR12X4UnormPack16; |
| 9816 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9817 | } |
| 9818 | case Format::eG16B16R163Plane420Unorm: |
| 9819 | switch ( plane ) |
| 9820 | { |
| 9821 | case 0 : return Format::eR16Unorm; |
| 9822 | case 1 : return Format::eR16Unorm; |
| 9823 | case 2 : return Format::eR16Unorm; |
| 9824 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9825 | } |
| 9826 | case Format::eG16B16R162Plane420Unorm: |
| 9827 | switch ( plane ) |
| 9828 | { |
| 9829 | case 0 : return Format::eR16Unorm; |
| 9830 | case 1 : return Format::eR16G16Unorm; |
| 9831 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9832 | } |
| 9833 | case Format::eG16B16R163Plane422Unorm: |
| 9834 | switch ( plane ) |
| 9835 | { |
| 9836 | case 0 : return Format::eR16Unorm; |
| 9837 | case 1 : return Format::eR16Unorm; |
| 9838 | case 2 : return Format::eR16Unorm; |
| 9839 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9840 | } |
| 9841 | case Format::eG16B16R162Plane422Unorm: |
| 9842 | switch ( plane ) |
| 9843 | { |
| 9844 | case 0 : return Format::eR16Unorm; |
| 9845 | case 1 : return Format::eR16G16Unorm; |
| 9846 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9847 | } |
| 9848 | case Format::eG16B16R163Plane444Unorm: |
| 9849 | switch ( plane ) |
| 9850 | { |
| 9851 | case 0 : return Format::eR16Unorm; |
| 9852 | case 1 : return Format::eR16Unorm; |
| 9853 | case 2 : return Format::eR16Unorm; |
| 9854 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9855 | } |
| 9856 | case Format::eG8B8R82Plane444Unorm: |
| 9857 | switch ( plane ) |
| 9858 | { |
| 9859 | case 0 : return Format::eR8Unorm; |
| 9860 | case 1 : return Format::eR8G8Unorm; |
| 9861 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9862 | } |
| 9863 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 9864 | switch ( plane ) |
| 9865 | { |
| 9866 | case 0 : return Format::eR10X6UnormPack16; |
| 9867 | case 1 : return Format::eR10X6G10X6Unorm2Pack16; |
| 9868 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9869 | } |
| 9870 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 9871 | switch ( plane ) |
| 9872 | { |
| 9873 | case 0 : return Format::eR12X4UnormPack16; |
| 9874 | case 1 : return Format::eR12X4G12X4Unorm2Pack16; |
| 9875 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9876 | } |
| 9877 | case Format::eG16B16R162Plane444Unorm: |
| 9878 | switch ( plane ) |
| 9879 | { |
| 9880 | case 0 : return Format::eR16Unorm; |
| 9881 | case 1 : return Format::eR16G16Unorm; |
| 9882 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9883 | } |
| 9884 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 9885 | switch ( plane ) |
| 9886 | { |
| 9887 | case 0 : return Format::eR14X2UnormPack16ARM; |
| 9888 | case 1 : return Format::eR14X2G14X2Unorm2Pack16ARM; |
| 9889 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9890 | } |
| 9891 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 9892 | switch ( plane ) |
| 9893 | { |
| 9894 | case 0 : return Format::eR14X2UnormPack16ARM; |
| 9895 | case 1 : return Format::eR14X2G14X2Unorm2Pack16ARM; |
| 9896 | default: VULKAN_HPP_ASSERT( false ); return Format::eUndefined; |
| 9897 | } |
| 9898 | |
| 9899 | default: VULKAN_HPP_ASSERT( plane == 0 ); return format; |
| 9900 | } |
| 9901 | } |
| 9902 | |
| 9903 | // The number of image planes of this format. |
| 9904 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeCount( Format format ) |
| 9905 | { |
| 9906 | switch ( format ) |
| 9907 | { |
| 9908 | case Format::eG8B8R83Plane420Unorm : return 3; |
| 9909 | case Format::eG8B8R82Plane420Unorm : return 2; |
| 9910 | case Format::eG8B8R83Plane422Unorm : return 3; |
| 9911 | case Format::eG8B8R82Plane422Unorm : return 2; |
| 9912 | case Format::eG8B8R83Plane444Unorm : return 3; |
| 9913 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return 3; |
| 9914 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return 2; |
| 9915 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return 3; |
| 9916 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return 2; |
| 9917 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return 3; |
| 9918 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return 3; |
| 9919 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return 2; |
| 9920 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return 3; |
| 9921 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return 2; |
| 9922 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return 3; |
| 9923 | case Format::eG16B16R163Plane420Unorm : return 3; |
| 9924 | case Format::eG16B16R162Plane420Unorm : return 2; |
| 9925 | case Format::eG16B16R163Plane422Unorm : return 3; |
| 9926 | case Format::eG16B16R162Plane422Unorm : return 2; |
| 9927 | case Format::eG16B16R163Plane444Unorm : return 3; |
| 9928 | case Format::eG8B8R82Plane444Unorm : return 2; |
| 9929 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return 2; |
| 9930 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return 2; |
| 9931 | case Format::eG16B16R162Plane444Unorm : return 2; |
| 9932 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return 2; |
| 9933 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return 2; |
| 9934 | |
| 9935 | default: return 1; |
| 9936 | } |
| 9937 | } |
| 9938 | |
| 9939 | // The relative height of this plane. A value of k means that this plane is 1/k the height of the overall format. |
| 9940 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeHeightDivisor( Format format, uint8_t plane ) |
| 9941 | { |
| 9942 | switch ( format ) |
| 9943 | { |
| 9944 | case Format::eG8B8R83Plane420Unorm: |
| 9945 | switch ( plane ) |
| 9946 | { |
| 9947 | case 0 : return 1; |
| 9948 | case 1 : return 2; |
| 9949 | case 2 : return 2; |
| 9950 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9951 | } |
| 9952 | case Format::eG8B8R82Plane420Unorm: |
| 9953 | switch ( plane ) |
| 9954 | { |
| 9955 | case 0 : return 1; |
| 9956 | case 1 : return 2; |
| 9957 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9958 | } |
| 9959 | case Format::eG8B8R83Plane422Unorm: |
| 9960 | switch ( plane ) |
| 9961 | { |
| 9962 | case 0 : return 1; |
| 9963 | case 1 : return 1; |
| 9964 | case 2 : return 1; |
| 9965 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9966 | } |
| 9967 | case Format::eG8B8R82Plane422Unorm: |
| 9968 | switch ( plane ) |
| 9969 | { |
| 9970 | case 0 : return 1; |
| 9971 | case 1 : return 1; |
| 9972 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9973 | } |
| 9974 | case Format::eG8B8R83Plane444Unorm: |
| 9975 | switch ( plane ) |
| 9976 | { |
| 9977 | case 0 : return 1; |
| 9978 | case 1 : return 1; |
| 9979 | case 2 : return 1; |
| 9980 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9981 | } |
| 9982 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 9983 | switch ( plane ) |
| 9984 | { |
| 9985 | case 0 : return 1; |
| 9986 | case 1 : return 2; |
| 9987 | case 2 : return 2; |
| 9988 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9989 | } |
| 9990 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 9991 | switch ( plane ) |
| 9992 | { |
| 9993 | case 0 : return 1; |
| 9994 | case 1 : return 2; |
| 9995 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 9996 | } |
| 9997 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 9998 | switch ( plane ) |
| 9999 | { |
| 10000 | case 0 : return 1; |
| 10001 | case 1 : return 1; |
| 10002 | case 2 : return 1; |
| 10003 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10004 | } |
| 10005 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 10006 | switch ( plane ) |
| 10007 | { |
| 10008 | case 0 : return 1; |
| 10009 | case 1 : return 1; |
| 10010 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10011 | } |
| 10012 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 10013 | switch ( plane ) |
| 10014 | { |
| 10015 | case 0 : return 1; |
| 10016 | case 1 : return 1; |
| 10017 | case 2 : return 1; |
| 10018 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10019 | } |
| 10020 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 10021 | switch ( plane ) |
| 10022 | { |
| 10023 | case 0 : return 1; |
| 10024 | case 1 : return 2; |
| 10025 | case 2 : return 2; |
| 10026 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10027 | } |
| 10028 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 10029 | switch ( plane ) |
| 10030 | { |
| 10031 | case 0 : return 1; |
| 10032 | case 1 : return 2; |
| 10033 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10034 | } |
| 10035 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 10036 | switch ( plane ) |
| 10037 | { |
| 10038 | case 0 : return 1; |
| 10039 | case 1 : return 1; |
| 10040 | case 2 : return 1; |
| 10041 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10042 | } |
| 10043 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 10044 | switch ( plane ) |
| 10045 | { |
| 10046 | case 0 : return 1; |
| 10047 | case 1 : return 1; |
| 10048 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10049 | } |
| 10050 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 10051 | switch ( plane ) |
| 10052 | { |
| 10053 | case 0 : return 1; |
| 10054 | case 1 : return 1; |
| 10055 | case 2 : return 1; |
| 10056 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10057 | } |
| 10058 | case Format::eG16B16R163Plane420Unorm: |
| 10059 | switch ( plane ) |
| 10060 | { |
| 10061 | case 0 : return 1; |
| 10062 | case 1 : return 2; |
| 10063 | case 2 : return 2; |
| 10064 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10065 | } |
| 10066 | case Format::eG16B16R162Plane420Unorm: |
| 10067 | switch ( plane ) |
| 10068 | { |
| 10069 | case 0 : return 1; |
| 10070 | case 1 : return 2; |
| 10071 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10072 | } |
| 10073 | case Format::eG16B16R163Plane422Unorm: |
| 10074 | switch ( plane ) |
| 10075 | { |
| 10076 | case 0 : return 1; |
| 10077 | case 1 : return 1; |
| 10078 | case 2 : return 1; |
| 10079 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10080 | } |
| 10081 | case Format::eG16B16R162Plane422Unorm: |
| 10082 | switch ( plane ) |
| 10083 | { |
| 10084 | case 0 : return 1; |
| 10085 | case 1 : return 1; |
| 10086 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10087 | } |
| 10088 | case Format::eG16B16R163Plane444Unorm: |
| 10089 | switch ( plane ) |
| 10090 | { |
| 10091 | case 0 : return 1; |
| 10092 | case 1 : return 1; |
| 10093 | case 2 : return 1; |
| 10094 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10095 | } |
| 10096 | case Format::eG8B8R82Plane444Unorm: |
| 10097 | switch ( plane ) |
| 10098 | { |
| 10099 | case 0 : return 1; |
| 10100 | case 1 : return 1; |
| 10101 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10102 | } |
| 10103 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 10104 | switch ( plane ) |
| 10105 | { |
| 10106 | case 0 : return 1; |
| 10107 | case 1 : return 1; |
| 10108 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10109 | } |
| 10110 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 10111 | switch ( plane ) |
| 10112 | { |
| 10113 | case 0 : return 1; |
| 10114 | case 1 : return 1; |
| 10115 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10116 | } |
| 10117 | case Format::eG16B16R162Plane444Unorm: |
| 10118 | switch ( plane ) |
| 10119 | { |
| 10120 | case 0 : return 1; |
| 10121 | case 1 : return 1; |
| 10122 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10123 | } |
| 10124 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 10125 | switch ( plane ) |
| 10126 | { |
| 10127 | case 0 : return 1; |
| 10128 | case 1 : return 2; |
| 10129 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10130 | } |
| 10131 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 10132 | switch ( plane ) |
| 10133 | { |
| 10134 | case 0 : return 1; |
| 10135 | case 1 : return 1; |
| 10136 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10137 | } |
| 10138 | |
| 10139 | default: VULKAN_HPP_ASSERT( plane == 0 ); return 1; |
| 10140 | } |
| 10141 | } |
| 10142 | |
| 10143 | // The relative width of this plane. A value of k means that this plane is 1/k the width of the overall format. |
| 10144 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeWidthDivisor( Format format, uint8_t plane ) |
| 10145 | { |
| 10146 | switch ( format ) |
| 10147 | { |
| 10148 | case Format::eG8B8R83Plane420Unorm: |
| 10149 | switch ( plane ) |
| 10150 | { |
| 10151 | case 0 : return 1; |
| 10152 | case 1 : return 2; |
| 10153 | case 2 : return 2; |
| 10154 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10155 | } |
| 10156 | case Format::eG8B8R82Plane420Unorm: |
| 10157 | switch ( plane ) |
| 10158 | { |
| 10159 | case 0 : return 1; |
| 10160 | case 1 : return 2; |
| 10161 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10162 | } |
| 10163 | case Format::eG8B8R83Plane422Unorm: |
| 10164 | switch ( plane ) |
| 10165 | { |
| 10166 | case 0 : return 1; |
| 10167 | case 1 : return 2; |
| 10168 | case 2 : return 2; |
| 10169 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10170 | } |
| 10171 | case Format::eG8B8R82Plane422Unorm: |
| 10172 | switch ( plane ) |
| 10173 | { |
| 10174 | case 0 : return 1; |
| 10175 | case 1 : return 2; |
| 10176 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10177 | } |
| 10178 | case Format::eG8B8R83Plane444Unorm: |
| 10179 | switch ( plane ) |
| 10180 | { |
| 10181 | case 0 : return 1; |
| 10182 | case 1 : return 1; |
| 10183 | case 2 : return 1; |
| 10184 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10185 | } |
| 10186 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| 10187 | switch ( plane ) |
| 10188 | { |
| 10189 | case 0 : return 1; |
| 10190 | case 1 : return 2; |
| 10191 | case 2 : return 2; |
| 10192 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10193 | } |
| 10194 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| 10195 | switch ( plane ) |
| 10196 | { |
| 10197 | case 0 : return 1; |
| 10198 | case 1 : return 2; |
| 10199 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10200 | } |
| 10201 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| 10202 | switch ( plane ) |
| 10203 | { |
| 10204 | case 0 : return 1; |
| 10205 | case 1 : return 2; |
| 10206 | case 2 : return 2; |
| 10207 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10208 | } |
| 10209 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| 10210 | switch ( plane ) |
| 10211 | { |
| 10212 | case 0 : return 1; |
| 10213 | case 1 : return 2; |
| 10214 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10215 | } |
| 10216 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| 10217 | switch ( plane ) |
| 10218 | { |
| 10219 | case 0 : return 1; |
| 10220 | case 1 : return 1; |
| 10221 | case 2 : return 1; |
| 10222 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10223 | } |
| 10224 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| 10225 | switch ( plane ) |
| 10226 | { |
| 10227 | case 0 : return 1; |
| 10228 | case 1 : return 2; |
| 10229 | case 2 : return 2; |
| 10230 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10231 | } |
| 10232 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| 10233 | switch ( plane ) |
| 10234 | { |
| 10235 | case 0 : return 1; |
| 10236 | case 1 : return 2; |
| 10237 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10238 | } |
| 10239 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| 10240 | switch ( plane ) |
| 10241 | { |
| 10242 | case 0 : return 1; |
| 10243 | case 1 : return 2; |
| 10244 | case 2 : return 2; |
| 10245 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10246 | } |
| 10247 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| 10248 | switch ( plane ) |
| 10249 | { |
| 10250 | case 0 : return 1; |
| 10251 | case 1 : return 2; |
| 10252 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10253 | } |
| 10254 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| 10255 | switch ( plane ) |
| 10256 | { |
| 10257 | case 0 : return 1; |
| 10258 | case 1 : return 1; |
| 10259 | case 2 : return 1; |
| 10260 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10261 | } |
| 10262 | case Format::eG16B16R163Plane420Unorm: |
| 10263 | switch ( plane ) |
| 10264 | { |
| 10265 | case 0 : return 1; |
| 10266 | case 1 : return 2; |
| 10267 | case 2 : return 2; |
| 10268 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10269 | } |
| 10270 | case Format::eG16B16R162Plane420Unorm: |
| 10271 | switch ( plane ) |
| 10272 | { |
| 10273 | case 0 : return 1; |
| 10274 | case 1 : return 2; |
| 10275 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10276 | } |
| 10277 | case Format::eG16B16R163Plane422Unorm: |
| 10278 | switch ( plane ) |
| 10279 | { |
| 10280 | case 0 : return 1; |
| 10281 | case 1 : return 2; |
| 10282 | case 2 : return 2; |
| 10283 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10284 | } |
| 10285 | case Format::eG16B16R162Plane422Unorm: |
| 10286 | switch ( plane ) |
| 10287 | { |
| 10288 | case 0 : return 1; |
| 10289 | case 1 : return 2; |
| 10290 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10291 | } |
| 10292 | case Format::eG16B16R163Plane444Unorm: |
| 10293 | switch ( plane ) |
| 10294 | { |
| 10295 | case 0 : return 1; |
| 10296 | case 1 : return 1; |
| 10297 | case 2 : return 1; |
| 10298 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10299 | } |
| 10300 | case Format::eG8B8R82Plane444Unorm: |
| 10301 | switch ( plane ) |
| 10302 | { |
| 10303 | case 0 : return 1; |
| 10304 | case 1 : return 1; |
| 10305 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10306 | } |
| 10307 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| 10308 | switch ( plane ) |
| 10309 | { |
| 10310 | case 0 : return 1; |
| 10311 | case 1 : return 1; |
| 10312 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10313 | } |
| 10314 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| 10315 | switch ( plane ) |
| 10316 | { |
| 10317 | case 0 : return 1; |
| 10318 | case 1 : return 1; |
| 10319 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10320 | } |
| 10321 | case Format::eG16B16R162Plane444Unorm: |
| 10322 | switch ( plane ) |
| 10323 | { |
| 10324 | case 0 : return 1; |
| 10325 | case 1 : return 1; |
| 10326 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10327 | } |
| 10328 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: |
| 10329 | switch ( plane ) |
| 10330 | { |
| 10331 | case 0 : return 1; |
| 10332 | case 1 : return 2; |
| 10333 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10334 | } |
| 10335 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: |
| 10336 | switch ( plane ) |
| 10337 | { |
| 10338 | case 0 : return 1; |
| 10339 | case 1 : return 2; |
| 10340 | default: VULKAN_HPP_ASSERT( false ); return 1; |
| 10341 | } |
| 10342 | |
| 10343 | default: VULKAN_HPP_ASSERT( plane == 0 ); return 1; |
| 10344 | } |
| 10345 | } |
| 10346 | |
| 10347 | // The number of texels in a texel block. |
| 10348 | VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t texelsPerBlock( Format format ) |
| 10349 | { |
| 10350 | switch ( format ) |
| 10351 | { |
| 10352 | case Format::eR4G4UnormPack8 : return 1; |
| 10353 | case Format::eR4G4B4A4UnormPack16 : return 1; |
| 10354 | case Format::eB4G4R4A4UnormPack16 : return 1; |
| 10355 | case Format::eR5G6B5UnormPack16 : return 1; |
| 10356 | case Format::eB5G6R5UnormPack16 : return 1; |
| 10357 | case Format::eR5G5B5A1UnormPack16 : return 1; |
| 10358 | case Format::eB5G5R5A1UnormPack16 : return 1; |
| 10359 | case Format::eA1R5G5B5UnormPack16 : return 1; |
| 10360 | case Format::eR8Unorm : return 1; |
| 10361 | case Format::eR8Snorm : return 1; |
| 10362 | case Format::eR8Uscaled : return 1; |
| 10363 | case Format::eR8Sscaled : return 1; |
| 10364 | case Format::eR8Uint : return 1; |
| 10365 | case Format::eR8Sint : return 1; |
| 10366 | case Format::eR8Srgb : return 1; |
| 10367 | case Format::eR8G8Unorm : return 1; |
| 10368 | case Format::eR8G8Snorm : return 1; |
| 10369 | case Format::eR8G8Uscaled : return 1; |
| 10370 | case Format::eR8G8Sscaled : return 1; |
| 10371 | case Format::eR8G8Uint : return 1; |
| 10372 | case Format::eR8G8Sint : return 1; |
| 10373 | case Format::eR8G8Srgb : return 1; |
| 10374 | case Format::eR8G8B8Unorm : return 1; |
| 10375 | case Format::eR8G8B8Snorm : return 1; |
| 10376 | case Format::eR8G8B8Uscaled : return 1; |
| 10377 | case Format::eR8G8B8Sscaled : return 1; |
| 10378 | case Format::eR8G8B8Uint : return 1; |
| 10379 | case Format::eR8G8B8Sint : return 1; |
| 10380 | case Format::eR8G8B8Srgb : return 1; |
| 10381 | case Format::eB8G8R8Unorm : return 1; |
| 10382 | case Format::eB8G8R8Snorm : return 1; |
| 10383 | case Format::eB8G8R8Uscaled : return 1; |
| 10384 | case Format::eB8G8R8Sscaled : return 1; |
| 10385 | case Format::eB8G8R8Uint : return 1; |
| 10386 | case Format::eB8G8R8Sint : return 1; |
| 10387 | case Format::eB8G8R8Srgb : return 1; |
| 10388 | case Format::eR8G8B8A8Unorm : return 1; |
| 10389 | case Format::eR8G8B8A8Snorm : return 1; |
| 10390 | case Format::eR8G8B8A8Uscaled : return 1; |
| 10391 | case Format::eR8G8B8A8Sscaled : return 1; |
| 10392 | case Format::eR8G8B8A8Uint : return 1; |
| 10393 | case Format::eR8G8B8A8Sint : return 1; |
| 10394 | case Format::eR8G8B8A8Srgb : return 1; |
| 10395 | case Format::eB8G8R8A8Unorm : return 1; |
| 10396 | case Format::eB8G8R8A8Snorm : return 1; |
| 10397 | case Format::eB8G8R8A8Uscaled : return 1; |
| 10398 | case Format::eB8G8R8A8Sscaled : return 1; |
| 10399 | case Format::eB8G8R8A8Uint : return 1; |
| 10400 | case Format::eB8G8R8A8Sint : return 1; |
| 10401 | case Format::eB8G8R8A8Srgb : return 1; |
| 10402 | case Format::eA8B8G8R8UnormPack32 : return 1; |
| 10403 | case Format::eA8B8G8R8SnormPack32 : return 1; |
| 10404 | case Format::eA8B8G8R8UscaledPack32 : return 1; |
| 10405 | case Format::eA8B8G8R8SscaledPack32 : return 1; |
| 10406 | case Format::eA8B8G8R8UintPack32 : return 1; |
| 10407 | case Format::eA8B8G8R8SintPack32 : return 1; |
| 10408 | case Format::eA8B8G8R8SrgbPack32 : return 1; |
| 10409 | case Format::eA2R10G10B10UnormPack32 : return 1; |
| 10410 | case Format::eA2R10G10B10SnormPack32 : return 1; |
| 10411 | case Format::eA2R10G10B10UscaledPack32 : return 1; |
| 10412 | case Format::eA2R10G10B10SscaledPack32 : return 1; |
| 10413 | case Format::eA2R10G10B10UintPack32 : return 1; |
| 10414 | case Format::eA2R10G10B10SintPack32 : return 1; |
| 10415 | case Format::eA2B10G10R10UnormPack32 : return 1; |
| 10416 | case Format::eA2B10G10R10SnormPack32 : return 1; |
| 10417 | case Format::eA2B10G10R10UscaledPack32 : return 1; |
| 10418 | case Format::eA2B10G10R10SscaledPack32 : return 1; |
| 10419 | case Format::eA2B10G10R10UintPack32 : return 1; |
| 10420 | case Format::eA2B10G10R10SintPack32 : return 1; |
| 10421 | case Format::eR16Unorm : return 1; |
| 10422 | case Format::eR16Snorm : return 1; |
| 10423 | case Format::eR16Uscaled : return 1; |
| 10424 | case Format::eR16Sscaled : return 1; |
| 10425 | case Format::eR16Uint : return 1; |
| 10426 | case Format::eR16Sint : return 1; |
| 10427 | case Format::eR16Sfloat : return 1; |
| 10428 | case Format::eR16G16Unorm : return 1; |
| 10429 | case Format::eR16G16Snorm : return 1; |
| 10430 | case Format::eR16G16Uscaled : return 1; |
| 10431 | case Format::eR16G16Sscaled : return 1; |
| 10432 | case Format::eR16G16Uint : return 1; |
| 10433 | case Format::eR16G16Sint : return 1; |
| 10434 | case Format::eR16G16Sfloat : return 1; |
| 10435 | case Format::eR16G16B16Unorm : return 1; |
| 10436 | case Format::eR16G16B16Snorm : return 1; |
| 10437 | case Format::eR16G16B16Uscaled : return 1; |
| 10438 | case Format::eR16G16B16Sscaled : return 1; |
| 10439 | case Format::eR16G16B16Uint : return 1; |
| 10440 | case Format::eR16G16B16Sint : return 1; |
| 10441 | case Format::eR16G16B16Sfloat : return 1; |
| 10442 | case Format::eR16G16B16A16Unorm : return 1; |
| 10443 | case Format::eR16G16B16A16Snorm : return 1; |
| 10444 | case Format::eR16G16B16A16Uscaled : return 1; |
| 10445 | case Format::eR16G16B16A16Sscaled : return 1; |
| 10446 | case Format::eR16G16B16A16Uint : return 1; |
| 10447 | case Format::eR16G16B16A16Sint : return 1; |
| 10448 | case Format::eR16G16B16A16Sfloat : return 1; |
| 10449 | case Format::eR32Uint : return 1; |
| 10450 | case Format::eR32Sint : return 1; |
| 10451 | case Format::eR32Sfloat : return 1; |
| 10452 | case Format::eR32G32Uint : return 1; |
| 10453 | case Format::eR32G32Sint : return 1; |
| 10454 | case Format::eR32G32Sfloat : return 1; |
| 10455 | case Format::eR32G32B32Uint : return 1; |
| 10456 | case Format::eR32G32B32Sint : return 1; |
| 10457 | case Format::eR32G32B32Sfloat : return 1; |
| 10458 | case Format::eR32G32B32A32Uint : return 1; |
| 10459 | case Format::eR32G32B32A32Sint : return 1; |
| 10460 | case Format::eR32G32B32A32Sfloat : return 1; |
| 10461 | case Format::eR64Uint : return 1; |
| 10462 | case Format::eR64Sint : return 1; |
| 10463 | case Format::eR64Sfloat : return 1; |
| 10464 | case Format::eR64G64Uint : return 1; |
| 10465 | case Format::eR64G64Sint : return 1; |
| 10466 | case Format::eR64G64Sfloat : return 1; |
| 10467 | case Format::eR64G64B64Uint : return 1; |
| 10468 | case Format::eR64G64B64Sint : return 1; |
| 10469 | case Format::eR64G64B64Sfloat : return 1; |
| 10470 | case Format::eR64G64B64A64Uint : return 1; |
| 10471 | case Format::eR64G64B64A64Sint : return 1; |
| 10472 | case Format::eR64G64B64A64Sfloat : return 1; |
| 10473 | case Format::eB10G11R11UfloatPack32 : return 1; |
| 10474 | case Format::eE5B9G9R9UfloatPack32 : return 1; |
| 10475 | case Format::eD16Unorm : return 1; |
| 10476 | case Format::eX8D24UnormPack32 : return 1; |
| 10477 | case Format::eD32Sfloat : return 1; |
| 10478 | case Format::eS8Uint : return 1; |
| 10479 | case Format::eD16UnormS8Uint : return 1; |
| 10480 | case Format::eD24UnormS8Uint : return 1; |
| 10481 | case Format::eD32SfloatS8Uint : return 1; |
| 10482 | case Format::eBc1RgbUnormBlock : return 16; |
| 10483 | case Format::eBc1RgbSrgbBlock : return 16; |
| 10484 | case Format::eBc1RgbaUnormBlock : return 16; |
| 10485 | case Format::eBc1RgbaSrgbBlock : return 16; |
| 10486 | case Format::eBc2UnormBlock : return 16; |
| 10487 | case Format::eBc2SrgbBlock : return 16; |
| 10488 | case Format::eBc3UnormBlock : return 16; |
| 10489 | case Format::eBc3SrgbBlock : return 16; |
| 10490 | case Format::eBc4UnormBlock : return 16; |
| 10491 | case Format::eBc4SnormBlock : return 16; |
| 10492 | case Format::eBc5UnormBlock : return 16; |
| 10493 | case Format::eBc5SnormBlock : return 16; |
| 10494 | case Format::eBc6HUfloatBlock : return 16; |
| 10495 | case Format::eBc6HSfloatBlock : return 16; |
| 10496 | case Format::eBc7UnormBlock : return 16; |
| 10497 | case Format::eBc7SrgbBlock : return 16; |
| 10498 | case Format::eEtc2R8G8B8UnormBlock : return 16; |
| 10499 | case Format::eEtc2R8G8B8SrgbBlock : return 16; |
| 10500 | case Format::eEtc2R8G8B8A1UnormBlock : return 16; |
| 10501 | case Format::eEtc2R8G8B8A1SrgbBlock : return 16; |
| 10502 | case Format::eEtc2R8G8B8A8UnormBlock : return 16; |
| 10503 | case Format::eEtc2R8G8B8A8SrgbBlock : return 16; |
| 10504 | case Format::eEacR11UnormBlock : return 16; |
| 10505 | case Format::eEacR11SnormBlock : return 16; |
| 10506 | case Format::eEacR11G11UnormBlock : return 16; |
| 10507 | case Format::eEacR11G11SnormBlock : return 16; |
| 10508 | case Format::eAstc4x4UnormBlock : return 16; |
| 10509 | case Format::eAstc4x4SrgbBlock : return 16; |
| 10510 | case Format::eAstc5x4UnormBlock : return 20; |
| 10511 | case Format::eAstc5x4SrgbBlock : return 20; |
| 10512 | case Format::eAstc5x5UnormBlock : return 25; |
| 10513 | case Format::eAstc5x5SrgbBlock : return 25; |
| 10514 | case Format::eAstc6x5UnormBlock : return 30; |
| 10515 | case Format::eAstc6x5SrgbBlock : return 30; |
| 10516 | case Format::eAstc6x6UnormBlock : return 36; |
| 10517 | case Format::eAstc6x6SrgbBlock : return 36; |
| 10518 | case Format::eAstc8x5UnormBlock : return 40; |
| 10519 | case Format::eAstc8x5SrgbBlock : return 40; |
| 10520 | case Format::eAstc8x6UnormBlock : return 48; |
| 10521 | case Format::eAstc8x6SrgbBlock : return 48; |
| 10522 | case Format::eAstc8x8UnormBlock : return 64; |
| 10523 | case Format::eAstc8x8SrgbBlock : return 64; |
| 10524 | case Format::eAstc10x5UnormBlock : return 50; |
| 10525 | case Format::eAstc10x5SrgbBlock : return 50; |
| 10526 | case Format::eAstc10x6UnormBlock : return 60; |
| 10527 | case Format::eAstc10x6SrgbBlock : return 60; |
| 10528 | case Format::eAstc10x8UnormBlock : return 80; |
| 10529 | case Format::eAstc10x8SrgbBlock : return 80; |
| 10530 | case Format::eAstc10x10UnormBlock : return 100; |
| 10531 | case Format::eAstc10x10SrgbBlock : return 100; |
| 10532 | case Format::eAstc12x10UnormBlock : return 120; |
| 10533 | case Format::eAstc12x10SrgbBlock : return 120; |
| 10534 | case Format::eAstc12x12UnormBlock : return 144; |
| 10535 | case Format::eAstc12x12SrgbBlock : return 144; |
| 10536 | case Format::eG8B8G8R8422Unorm : return 1; |
| 10537 | case Format::eB8G8R8G8422Unorm : return 1; |
| 10538 | case Format::eG8B8R83Plane420Unorm : return 1; |
| 10539 | case Format::eG8B8R82Plane420Unorm : return 1; |
| 10540 | case Format::eG8B8R83Plane422Unorm : return 1; |
| 10541 | case Format::eG8B8R82Plane422Unorm : return 1; |
| 10542 | case Format::eG8B8R83Plane444Unorm : return 1; |
| 10543 | case Format::eR10X6UnormPack16 : return 1; |
| 10544 | case Format::eR10X6G10X6Unorm2Pack16 : return 1; |
| 10545 | case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return 1; |
| 10546 | case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return 1; |
| 10547 | case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return 1; |
| 10548 | case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return 1; |
| 10549 | case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return 1; |
| 10550 | case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return 1; |
| 10551 | case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return 1; |
| 10552 | case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return 1; |
| 10553 | case Format::eR12X4UnormPack16 : return 1; |
| 10554 | case Format::eR12X4G12X4Unorm2Pack16 : return 1; |
| 10555 | case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return 1; |
| 10556 | case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return 1; |
| 10557 | case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return 1; |
| 10558 | case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return 1; |
| 10559 | case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return 1; |
| 10560 | case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return 1; |
| 10561 | case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return 1; |
| 10562 | case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return 1; |
| 10563 | case Format::eG16B16G16R16422Unorm : return 1; |
| 10564 | case Format::eB16G16R16G16422Unorm : return 1; |
| 10565 | case Format::eG16B16R163Plane420Unorm : return 1; |
| 10566 | case Format::eG16B16R162Plane420Unorm : return 1; |
| 10567 | case Format::eG16B16R163Plane422Unorm : return 1; |
| 10568 | case Format::eG16B16R162Plane422Unorm : return 1; |
| 10569 | case Format::eG16B16R163Plane444Unorm : return 1; |
| 10570 | case Format::eG8B8R82Plane444Unorm : return 1; |
| 10571 | case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16 : return 1; |
| 10572 | case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16 : return 1; |
| 10573 | case Format::eG16B16R162Plane444Unorm : return 1; |
| 10574 | case Format::eA4R4G4B4UnormPack16 : return 1; |
| 10575 | case Format::eA4B4G4R4UnormPack16 : return 1; |
| 10576 | case Format::eAstc4x4SfloatBlock : return 16; |
| 10577 | case Format::eAstc5x4SfloatBlock : return 20; |
| 10578 | case Format::eAstc5x5SfloatBlock : return 25; |
| 10579 | case Format::eAstc6x5SfloatBlock : return 30; |
| 10580 | case Format::eAstc6x6SfloatBlock : return 36; |
| 10581 | case Format::eAstc8x5SfloatBlock : return 40; |
| 10582 | case Format::eAstc8x6SfloatBlock : return 48; |
| 10583 | case Format::eAstc8x8SfloatBlock : return 64; |
| 10584 | case Format::eAstc10x5SfloatBlock : return 50; |
| 10585 | case Format::eAstc10x6SfloatBlock : return 60; |
| 10586 | case Format::eAstc10x8SfloatBlock : return 80; |
| 10587 | case Format::eAstc10x10SfloatBlock : return 100; |
| 10588 | case Format::eAstc12x10SfloatBlock : return 120; |
| 10589 | case Format::eAstc12x12SfloatBlock : return 144; |
| 10590 | case Format::eA1B5G5R5UnormPack16 : return 1; |
| 10591 | case Format::eA8Unorm : return 1; |
| 10592 | case Format::ePvrtc12BppUnormBlockIMG : return 1; |
| 10593 | case Format::ePvrtc14BppUnormBlockIMG : return 1; |
| 10594 | case Format::ePvrtc22BppUnormBlockIMG : return 1; |
| 10595 | case Format::ePvrtc24BppUnormBlockIMG : return 1; |
| 10596 | case Format::ePvrtc12BppSrgbBlockIMG : return 1; |
| 10597 | case Format::ePvrtc14BppSrgbBlockIMG : return 1; |
| 10598 | case Format::ePvrtc22BppSrgbBlockIMG : return 1; |
| 10599 | case Format::ePvrtc24BppSrgbBlockIMG : return 1; |
| 10600 | case Format::eAstc3x3x3UnormBlockEXT : return 27; |
| 10601 | case Format::eAstc3x3x3SrgbBlockEXT : return 27; |
| 10602 | case Format::eAstc3x3x3SfloatBlockEXT : return 27; |
| 10603 | case Format::eAstc4x3x3UnormBlockEXT : return 36; |
| 10604 | case Format::eAstc4x3x3SrgbBlockEXT : return 36; |
| 10605 | case Format::eAstc4x3x3SfloatBlockEXT : return 36; |
| 10606 | case Format::eAstc4x4x3UnormBlockEXT : return 48; |
| 10607 | case Format::eAstc4x4x3SrgbBlockEXT : return 48; |
| 10608 | case Format::eAstc4x4x3SfloatBlockEXT : return 48; |
| 10609 | case Format::eAstc4x4x4UnormBlockEXT : return 64; |
| 10610 | case Format::eAstc4x4x4SrgbBlockEXT : return 64; |
| 10611 | case Format::eAstc4x4x4SfloatBlockEXT : return 64; |
| 10612 | case Format::eAstc5x4x4UnormBlockEXT : return 80; |
| 10613 | case Format::eAstc5x4x4SrgbBlockEXT : return 80; |
| 10614 | case Format::eAstc5x4x4SfloatBlockEXT : return 80; |
| 10615 | case Format::eAstc5x5x4UnormBlockEXT : return 100; |
| 10616 | case Format::eAstc5x5x4SrgbBlockEXT : return 100; |
| 10617 | case Format::eAstc5x5x4SfloatBlockEXT : return 100; |
| 10618 | case Format::eAstc5x5x5UnormBlockEXT : return 125; |
| 10619 | case Format::eAstc5x5x5SrgbBlockEXT : return 125; |
| 10620 | case Format::eAstc5x5x5SfloatBlockEXT : return 125; |
| 10621 | case Format::eAstc6x5x5UnormBlockEXT : return 150; |
| 10622 | case Format::eAstc6x5x5SrgbBlockEXT : return 150; |
| 10623 | case Format::eAstc6x5x5SfloatBlockEXT : return 150; |
| 10624 | case Format::eAstc6x6x5UnormBlockEXT : return 180; |
| 10625 | case Format::eAstc6x6x5SrgbBlockEXT : return 180; |
| 10626 | case Format::eAstc6x6x5SfloatBlockEXT : return 180; |
| 10627 | case Format::eAstc6x6x6UnormBlockEXT : return 216; |
| 10628 | case Format::eAstc6x6x6SrgbBlockEXT : return 216; |
| 10629 | case Format::eAstc6x6x6SfloatBlockEXT : return 216; |
| 10630 | case Format::eR8BoolARM : return 1; |
| 10631 | case Format::eR16SfloatFpencodingBfloat16ARM : return 1; |
| 10632 | case Format::eR8SfloatFpencodingFloat8E4M3ARM : return 1; |
| 10633 | case Format::eR8SfloatFpencodingFloat8E5M2ARM : return 1; |
| 10634 | case Format::eR16G16Sfixed5NV : return 1; |
| 10635 | case Format::eR10X6UintPack16ARM : return 1; |
| 10636 | case Format::eR10X6G10X6Uint2Pack16ARM : return 1; |
| 10637 | case Format::eR10X6G10X6B10X6A10X6Uint4Pack16ARM : return 1; |
| 10638 | case Format::eR12X4UintPack16ARM : return 1; |
| 10639 | case Format::eR12X4G12X4Uint2Pack16ARM : return 1; |
| 10640 | case Format::eR12X4G12X4B12X4A12X4Uint4Pack16ARM : return 1; |
| 10641 | case Format::eR14X2UintPack16ARM : return 1; |
| 10642 | case Format::eR14X2G14X2Uint2Pack16ARM : return 1; |
| 10643 | case Format::eR14X2G14X2B14X2A14X2Uint4Pack16ARM : return 1; |
| 10644 | case Format::eR14X2UnormPack16ARM : return 1; |
| 10645 | case Format::eR14X2G14X2Unorm2Pack16ARM : return 1; |
| 10646 | case Format::eR14X2G14X2B14X2A14X2Unorm4Pack16ARM : return 1; |
| 10647 | case Format::eG14X2B14X2R14X22Plane420Unorm3Pack16ARM: return 1; |
| 10648 | case Format::eG14X2B14X2R14X22Plane422Unorm3Pack16ARM: return 1; |
| 10649 | |
| 10650 | default: VULKAN_HPP_ASSERT( false ); return 0; |
| 10651 | } |
| 10652 | } |
| 10653 | |
| 10654 | } // namespace VULKAN_HPP_NAMESPACE |
| 10655 | #endif |