| // Copyright 2015-2022 The Khronos Group Inc. |
| // |
| // SPDX-License-Identifier: Apache-2.0 OR MIT |
| // |
| |
| // This header is generated from the Khronos Vulkan XML API Registry. |
| |
| #ifndef VULKAN_FORMAT_TRAITS_HPP |
| #define VULKAN_FORMAT_TRAITS_HPP |
| |
| #include <vulkan/vulkan.hpp> |
| |
| namespace VULKAN_HPP_NAMESPACE |
| { |
| //===================== |
| //=== Format Traits === |
| //===================== |
| |
| // The texel block size in bytes. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: return 12; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: return 12; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: return 12; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: return 24; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: return 24; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: return 24; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: return 5; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: return 6; |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 8; |
| |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| } |
| |
| // The number of texels in a texel block. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t texelsPerBlock( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: return 20; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: return 20; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: return 25; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: return 25; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: return 30; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: return 30; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: return 36; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: return 36; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: return 40; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: return 40; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: return 48; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: return 48; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: return 64; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: return 64; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: return 50; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: return 50; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: return 60; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: return 60; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: return 80; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: return 80; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: return 100; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: return 100; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: return 120; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: return 120; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: return 144; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: return 144; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: return 20; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: return 25; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: return 30; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: return 36; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: return 40; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: return 48; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: return 64; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: return 50; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: return 60; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: return 80; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: return 100; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: return 120; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: return 144; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 1; |
| |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| } |
| |
| // The three-dimensional extent of a texel block. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 std::array<uint8_t, 3> blockExtent( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: return { { 5, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: return { { 5, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: return { { 5, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: return { { 5, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: return { { 6, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: return { { 6, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: return { { 6, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: return { { 6, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: return { { 8, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: return { { 8, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: return { { 8, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: return { { 8, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: return { { 8, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: return { { 8, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: return { { 10, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: return { { 10, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: return { { 10, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: return { { 10, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: return { { 10, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: return { { 10, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: return { { 10, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: return { { 10, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: return { { 12, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: return { { 12, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: return { { 12, 12, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: return { { 12, 12, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: return { { 2, 1, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: return { { 5, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: return { { 5, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: return { { 6, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: return { { 6, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: return { { 8, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: return { { 8, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: return { { 8, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: return { { 10, 5, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: return { { 10, 6, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: return { { 10, 8, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: return { { 10, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: return { { 12, 10, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: return { { 12, 12, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: return { { 8, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: return { { 8, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: return { { 8, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return { { 4, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return { { 8, 4, 1 } }; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return { { 4, 4, 1 } }; |
| |
| default: return { { 1, 1, 1 } }; |
| } |
| } |
| |
| // A textual description of the compression scheme, or an empty string if it is not compressed |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * compressionScheme( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: return "BC"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: return "ETC2"; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: return "EAC"; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: return "EAC"; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: return "EAC"; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: return "EAC"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: return "ASTC LDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: return "ASTC HDR"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return "PVRTC"; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return "PVRTC"; |
| |
| default: return ""; |
| } |
| } |
| |
| // True, if this format is a compressed one. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool isCompressed( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| return ( *VULKAN_HPP_NAMESPACE::compressionScheme( format ) != 0 ); |
| } |
| |
| // 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 width. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t packed( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: return 8; |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: return 32; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: return 16; |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: return 16; |
| |
| default: return 0; |
| } |
| } |
| |
| // True, if the components of this format are compressed, otherwise false. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool componentsAreCompressed( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return true; |
| default: return false; |
| } |
| } |
| |
| // The number of bits in this component, if not compressed, otherwise 0. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentBits( VULKAN_HPP_NAMESPACE::Format format, uint8_t component ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: |
| switch ( component ) |
| { |
| case 0: return 4; |
| case 1: return 4; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 4; |
| case 1: return 4; |
| case 2: return 4; |
| case 3: return 4; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 4; |
| case 1: return 4; |
| case 2: return 4; |
| case 3: return 4; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 5; |
| case 1: return 6; |
| case 2: return 5; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 5; |
| case 1: return 6; |
| case 2: return 5; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 5; |
| case 1: return 5; |
| case 2: return 5; |
| case 3: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 5; |
| case 1: return 5; |
| case 2: return 5; |
| case 3: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 1; |
| case 1: return 5; |
| case 2: return 5; |
| case 3: return 5; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: |
| switch ( component ) |
| { |
| case 0: return 2; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: |
| switch ( component ) |
| { |
| case 0: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| case 3: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| case 3: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 32; |
| case 2: return 32; |
| case 3: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: |
| switch ( component ) |
| { |
| case 0: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| case 3: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| case 3: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: |
| switch ( component ) |
| { |
| case 0: return 64; |
| case 1: return 64; |
| case 2: return 64; |
| case 3: return 64; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 11; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return 9; |
| case 1: return 9; |
| case 2: return 9; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: |
| switch ( component ) |
| { |
| case 0: return 24; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: |
| switch ( component ) |
| { |
| case 0: return 32; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: |
| switch ( component ) |
| { |
| case 0: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return 24; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: |
| switch ( component ) |
| { |
| case 0: return 32; |
| case 1: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return 11; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return 11; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return 11; |
| case 1: return 11; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return 11; |
| case 1: return 11; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| case 3: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| case 3: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| case 3: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| case 3: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| case 3: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| case 3: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 8; |
| case 1: return 8; |
| case 2: return 8; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 10; |
| case 1: return 10; |
| case 2: return 10; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 12; |
| case 1: return 12; |
| case 2: return 12; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 16; |
| case 1: return 16; |
| case 2: return 16; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 4; |
| case 1: return 4; |
| case 2: return 4; |
| case 3: return 4; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return 4; |
| case 1: return 4; |
| case 2: return 4; |
| case 3: return 4; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| |
| default: return 0; |
| } |
| } |
| |
| // The number of components of this format. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentCount( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: return 1; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 4; |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 4; |
| |
| default: return 0; |
| } |
| } |
| |
| // The name of the component |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentName( VULKAN_HPP_NAMESPACE::Format format, uint8_t component ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: |
| switch ( component ) |
| { |
| case 0: return "S"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| case 1: return "S"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| case 1: return "S"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: |
| switch ( component ) |
| { |
| case 0: return "D"; |
| case 1: return "S"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: |
| switch ( component ) |
| { |
| case 0: return "B"; |
| case 1: return "G"; |
| case 2: return "R"; |
| case 3: return "G"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "G"; |
| case 1: return "B"; |
| case 2: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "R"; |
| case 2: return "G"; |
| case 3: return "B"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "A"; |
| case 1: return "B"; |
| case 2: return "G"; |
| case 3: return "R"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "R"; |
| case 1: return "G"; |
| case 2: return "B"; |
| case 3: return "A"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| |
| default: return ""; |
| } |
| } |
| |
| // The numeric format of the component |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentNumericFormat( VULKAN_HPP_NAMESPACE::Format format, uint8_t component ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4UnormPack8: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR4G4B4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB4G4R4A4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G6B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G6R5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR5G5B5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB5G5R5A1UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA1R5G5B5UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR8G8B8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8A8Srgb: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8UintPack32: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SintPack32: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA8B8G8R8SrgbPack32: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10UintPack32: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2R10G10B10SintPack32: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SnormPack32: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SscaledPack32: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10UintPack32: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA2B10G10R10SintPack32: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Snorm: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| case 2: return "SNORM"; |
| case 3: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uscaled: |
| switch ( component ) |
| { |
| case 0: return "USCALED"; |
| case 1: return "USCALED"; |
| case 2: return "USCALED"; |
| case 3: return "USCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sscaled: |
| switch ( component ) |
| { |
| case 0: return "SSCALED"; |
| case 1: return "SSCALED"; |
| case 2: return "SSCALED"; |
| case 3: return "SSCALED"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR16G16B16A16Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR32G32B32A32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| case 1: return "UINT"; |
| case 2: return "UINT"; |
| case 3: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sint: |
| switch ( component ) |
| { |
| case 0: return "SINT"; |
| case 1: return "SINT"; |
| case 2: return "SINT"; |
| case 3: return "SINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR64G64B64A64Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10G11R11UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return "UFLOAT"; |
| case 1: return "UFLOAT"; |
| case 2: return "UFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eE5B9G9R9UfloatPack32: |
| switch ( component ) |
| { |
| case 0: return "UFLOAT"; |
| case 1: return "UFLOAT"; |
| case 2: return "UFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eX8D24UnormPack32: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32Sfloat: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eS8Uint: |
| switch ( component ) |
| { |
| case 0: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD16UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD24UnormS8Uint: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eD32SfloatS8Uint: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "UINT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbUnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbSrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaUnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc1RgbaSrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc2UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc2SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc3UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc3SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc4SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc5SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HUfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "UFLOAT"; |
| case 1: return "UFLOAT"; |
| case 2: return "UFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc6HSfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc7UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eBc7SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A1SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEtc2R8G8B8A8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eEacR11G11SnormBlock: |
| switch ( component ) |
| { |
| case 0: return "SNORM"; |
| case 1: return "SNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12UnormBlock: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SrgbBlock: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8G8R8422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB8G8R8G8422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16G16R16422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eB16G16R16G16422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4R4G4B4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eA4B4G4R4UnormPack16: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc4x4SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x4SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc5x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc6x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc8x8SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x5SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x6SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x8SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc10x10SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x10SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eAstc12x12SfloatBlock: |
| switch ( component ) |
| { |
| case 0: return "SFLOAT"; |
| case 1: return "SFLOAT"; |
| case 2: return "SFLOAT"; |
| case 3: return "SFLOAT"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppUnormBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "UNORM"; |
| case 1: return "UNORM"; |
| case 2: return "UNORM"; |
| case 3: return "UNORM"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc12BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: |
| switch ( component ) |
| { |
| case 0: return "SRGB"; |
| case 1: return "SRGB"; |
| case 2: return "SRGB"; |
| case 3: return "SRGB"; |
| default: VULKAN_HPP_ASSERT( false ); return ""; |
| } |
| |
| default: return ""; |
| } |
| } |
| |
| // The plane this component lies in. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentPlaneIndex( VULKAN_HPP_NAMESPACE::Format format, uint8_t component ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( component ) |
| { |
| case 0: return 0; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 0; |
| } |
| |
| default: return 0; |
| } |
| } |
| |
| // The number of image planes of this format. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeCount( VULKAN_HPP_NAMESPACE::Format format ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: return 3; |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: return 2; |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: return 2; |
| |
| default: return 1; |
| } |
| } |
| |
| // The single-plane format that this plane is compatible with. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::Format planeCompatibleFormat( VULKAN_HPP_NAMESPACE::Format format, uint8_t plane ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 2: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR8Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR8G8Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR10X6UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR10X6G10X6Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR12X4UnormPack16; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR12X4G12X4Unorm2Pack16; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return VULKAN_HPP_NAMESPACE::Format::eR16Unorm; |
| case 1: return VULKAN_HPP_NAMESPACE::Format::eR16G16Unorm; |
| default: VULKAN_HPP_ASSERT( false ); return VULKAN_HPP_NAMESPACE::Format::eUndefined; |
| } |
| |
| default: VULKAN_HPP_ASSERT( plane == 0 ); return format; |
| } |
| } |
| |
| // The relative height of this plane. A value of k means that this plane is 1/k the height of the overall format. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeHeightDivisor( VULKAN_HPP_NAMESPACE::Format format, uint8_t plane ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| |
| default: VULKAN_HPP_ASSERT( plane == 0 ); return 1; |
| } |
| } |
| |
| // The relative width of this plane. A value of k means that this plane is 1/k the width of the overall format. |
| VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeWidthDivisor( VULKAN_HPP_NAMESPACE::Format format, uint8_t plane ) |
| { |
| switch ( format ) |
| { |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane420Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| case 2: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane422Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 2; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R163Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| case 2: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG12X4B12X4R12X42Plane444Unorm3Pack16: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| case VULKAN_HPP_NAMESPACE::Format::eG16B16R162Plane444Unorm: |
| switch ( plane ) |
| { |
| case 0: return 1; |
| case 1: return 1; |
| default: VULKAN_HPP_ASSERT( false ); return 1; |
| } |
| |
| default: VULKAN_HPP_ASSERT( plane == 0 ); return 1; |
| } |
| } |
| |
| } // namespace VULKAN_HPP_NAMESPACE |
| #endif |