| // GENERATED FILE - DO NOT EDIT. |
| // Generated by gen_angle_format_table.py using data from angle_format_data.json |
| // |
| // Copyright 2017 The ANGLE Project Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| // ANGLE format enumeration. |
| |
| namespace angle |
| { |
| |
| enum class Format::ID |
| { |
| NONE, |
| A16_FLOAT, |
| A32_FLOAT, |
| A8_UNORM, |
| ASTC_10x10_SRGB_BLOCK, |
| ASTC_10x10_UNORM_BLOCK, |
| ASTC_10x5_SRGB_BLOCK, |
| ASTC_10x5_UNORM_BLOCK, |
| ASTC_10x6_SRGB_BLOCK, |
| ASTC_10x6_UNORM_BLOCK, |
| ASTC_10x8_SRGB_BLOCK, |
| ASTC_10x8_UNORM_BLOCK, |
| ASTC_12x10_SRGB_BLOCK, |
| ASTC_12x10_UNORM_BLOCK, |
| ASTC_12x12_SRGB_BLOCK, |
| ASTC_12x12_UNORM_BLOCK, |
| ASTC_4x4_SRGB_BLOCK, |
| ASTC_4x4_UNORM_BLOCK, |
| ASTC_5x4_SRGB_BLOCK, |
| ASTC_5x4_UNORM_BLOCK, |
| ASTC_5x5_SRGB_BLOCK, |
| ASTC_5x5_UNORM_BLOCK, |
| ASTC_6x5_SRGB_BLOCK, |
| ASTC_6x5_UNORM_BLOCK, |
| ASTC_6x6_SRGB_BLOCK, |
| ASTC_6x6_UNORM_BLOCK, |
| ASTC_8x5_SRGB_BLOCK, |
| ASTC_8x5_UNORM_BLOCK, |
| ASTC_8x6_SRGB_BLOCK, |
| ASTC_8x6_UNORM_BLOCK, |
| ASTC_8x8_SRGB_BLOCK, |
| ASTC_8x8_UNORM_BLOCK, |
| B4G4R4A4_UNORM, |
| B5G5R5A1_UNORM, |
| B5G6R5_UNORM, |
| B8G8R8A8_UNORM, |
| B8G8R8A8_UNORM_SRGB, |
| B8G8R8X8_UNORM, |
| BC1_RGBA_UNORM_BLOCK, |
| BC1_RGBA_UNORM_SRGB_BLOCK, |
| BC1_RGB_UNORM_BLOCK, |
| BC1_RGB_UNORM_SRGB_BLOCK, |
| BC2_RGBA_UNORM_BLOCK, |
| BC2_RGBA_UNORM_SRGB_BLOCK, |
| BC3_RGBA_UNORM_BLOCK, |
| BC3_RGBA_UNORM_SRGB_BLOCK, |
| D16_UNORM, |
| D24_UNORM, |
| D24_UNORM_S8_UINT, |
| D32_FLOAT, |
| D32_FLOAT_S8X24_UINT, |
| D32_UNORM, |
| EAC_R11G11_SNORM_BLOCK, |
| EAC_R11G11_UNORM_BLOCK, |
| EAC_R11_SNORM_BLOCK, |
| EAC_R11_UNORM_BLOCK, |
| ETC1_LOSSY_DECODE_R8G8B8_UNORM_BLOCK, |
| ETC1_R8G8B8_UNORM_BLOCK, |
| ETC2_R8G8B8A1_SRGB_BLOCK, |
| ETC2_R8G8B8A1_UNORM_BLOCK, |
| ETC2_R8G8B8A8_SRGB_BLOCK, |
| ETC2_R8G8B8A8_UNORM_BLOCK, |
| ETC2_R8G8B8_SRGB_BLOCK, |
| ETC2_R8G8B8_UNORM_BLOCK, |
| L16A16_FLOAT, |
| L16_FLOAT, |
| L32A32_FLOAT, |
| L32_FLOAT, |
| L8A8_UNORM, |
| L8_UNORM, |
| R10G10B10A2_UINT, |
| R10G10B10A2_UNORM, |
| R11G11B10_FLOAT, |
| R16G16B16A16_FLOAT, |
| R16G16B16A16_SINT, |
| R16G16B16A16_SNORM, |
| R16G16B16A16_UINT, |
| R16G16B16A16_UNORM, |
| R16G16B16_FLOAT, |
| R16G16B16_SINT, |
| R16G16B16_SNORM, |
| R16G16B16_UINT, |
| R16G16B16_UNORM, |
| R16G16_FLOAT, |
| R16G16_SINT, |
| R16G16_SNORM, |
| R16G16_UINT, |
| R16G16_UNORM, |
| R16_FLOAT, |
| R16_SINT, |
| R16_SNORM, |
| R16_UINT, |
| R16_UNORM, |
| R32G32B32A32_FLOAT, |
| R32G32B32A32_SINT, |
| R32G32B32A32_UINT, |
| R32G32B32_FLOAT, |
| R32G32B32_SINT, |
| R32G32B32_UINT, |
| R32G32_FLOAT, |
| R32G32_SINT, |
| R32G32_UINT, |
| R32_FLOAT, |
| R32_SINT, |
| R32_UINT, |
| R4G4B4A4_UNORM, |
| R5G5B5A1_UNORM, |
| R5G6B5_UNORM, |
| R8G8B8A8_SINT, |
| R8G8B8A8_SNORM, |
| R8G8B8A8_UINT, |
| R8G8B8A8_UNORM, |
| R8G8B8A8_UNORM_SRGB, |
| R8G8B8_SINT, |
| R8G8B8_SNORM, |
| R8G8B8_UINT, |
| R8G8B8_UNORM, |
| R8G8B8_UNORM_SRGB, |
| R8G8_SINT, |
| R8G8_SNORM, |
| R8G8_UINT, |
| R8G8_UNORM, |
| R8_SINT, |
| R8_SNORM, |
| R8_UINT, |
| R8_UNORM, |
| R9G9B9E5_SHAREDEXP, |
| S8_UINT |
| }; |
| |
| constexpr uint32_t kNumANGLEFormats = 128; |
| |
| } // namespace angle |