// DO NOT EDIT -- AUTOMATICALLY GENERATED

#include "gfx10_format_table.h"
#include "amdgfxregs.h"

#define FMT(_img_format, ...)    { .img_format = V_008F0C_GFX10_FORMAT_##_img_format,      ##__VA_ARGS__ }

const struct gfx10_format gfx10_format_table[PIPE_FORMAT_COUNT] = {
  [PIPE_FORMAT_NONE] = FMT(8_USCALED),
  [PIPE_FORMAT_B8G8R8A8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_B8G8R8X8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_B8G8R8X8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_B8G8R8X8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_B8G8R8X8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_A8R8G8B8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_A8R8G8B8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_A8R8G8B8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_X8R8G8B8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_X8R8G8B8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_X8R8G8B8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_A8B8G8R8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_X8B8G8R8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_R8G8B8X8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_R5G5B5A1_UNORM] = FMT(1_5_5_5_UNORM),
  [PIPE_FORMAT_R5G5B5X1_UNORM] = FMT(1_5_5_5_UNORM),
  [PIPE_FORMAT_B5G5R5X1_UNORM] = FMT(1_5_5_5_UNORM),
  [PIPE_FORMAT_B5G5R5A1_UNORM] = FMT(1_5_5_5_UNORM),
  [PIPE_FORMAT_X1B5G5R5_UNORM] = FMT(5_5_5_1_UNORM),
  [PIPE_FORMAT_A1R5G5B5_UNORM] = FMT(5_5_5_1_UNORM),
  [PIPE_FORMAT_X1R5G5B5_UNORM] = FMT(5_5_5_1_UNORM),
  [PIPE_FORMAT_A1B5G5R5_UNORM] = FMT(5_5_5_1_UNORM),
  [PIPE_FORMAT_R4G4B4A4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_R4G4B4X4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_B4G4R4A4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_B4G4R4X4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_A4R4G4B4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_A4B4G4R4_UNORM] = FMT(4_4_4_4_UNORM),
  [PIPE_FORMAT_R5G6B5_UNORM] = FMT(5_6_5_UNORM),
  [PIPE_FORMAT_B5G6R5_UNORM] = FMT(5_6_5_UNORM),
  [PIPE_FORMAT_R10G10B10A2_UNORM] = FMT(2_10_10_10_UNORM),
  [PIPE_FORMAT_R10G10B10X2_UNORM] = FMT(2_10_10_10_UNORM),
  [PIPE_FORMAT_B10G10R10A2_UNORM] = FMT(2_10_10_10_UNORM),
  [PIPE_FORMAT_A2R10G10B10_UNORM] = FMT(10_10_10_2_UNORM),
  [PIPE_FORMAT_A2B10G10R10_UNORM] = FMT(10_10_10_2_UNORM),
/* PIPE_FORMAT_R3G3B2_UNORM is not supported */
/* PIPE_FORMAT_B2G3R3_UNORM is not supported */
  [PIPE_FORMAT_L8_UNORM] = FMT(8_UNORM),
  [PIPE_FORMAT_A8_UNORM] = FMT(8_UNORM),
  [PIPE_FORMAT_I8_UNORM] = FMT(8_UNORM),
/* PIPE_FORMAT_L4A4_UNORM is not supported */
  [PIPE_FORMAT_L8A8_UNORM] = FMT(8_8_UNORM),
  [PIPE_FORMAT_L16_UNORM] = FMT(16_UNORM),
  [PIPE_FORMAT_A16_UNORM] = FMT(16_UNORM),
  [PIPE_FORMAT_I16_UNORM] = FMT(16_UNORM),
  [PIPE_FORMAT_L16A16_UNORM] = FMT(16_16_UNORM),
  [PIPE_FORMAT_A8_SNORM] = FMT(8_SNORM),
  [PIPE_FORMAT_L8_SNORM] = FMT(8_SNORM),
  [PIPE_FORMAT_L8A8_SNORM] = FMT(8_8_SNORM),
  [PIPE_FORMAT_I8_SNORM] = FMT(8_SNORM),
  [PIPE_FORMAT_A16_SNORM] = FMT(16_SNORM),
  [PIPE_FORMAT_L16_SNORM] = FMT(16_SNORM),
  [PIPE_FORMAT_L16A16_SNORM] = FMT(16_16_SNORM),
  [PIPE_FORMAT_I16_SNORM] = FMT(16_SNORM),
  [PIPE_FORMAT_A16_FLOAT] = FMT(16_FLOAT),
  [PIPE_FORMAT_L16_FLOAT] = FMT(16_FLOAT),
  [PIPE_FORMAT_L16A16_FLOAT] = FMT(16_16_FLOAT),
  [PIPE_FORMAT_I16_FLOAT] = FMT(16_FLOAT),
  [PIPE_FORMAT_A32_FLOAT] = FMT(32_FLOAT),
  [PIPE_FORMAT_L32_FLOAT] = FMT(32_FLOAT),
  [PIPE_FORMAT_L32A32_FLOAT] = FMT(32_32_FLOAT),
  [PIPE_FORMAT_I32_FLOAT] = FMT(32_FLOAT),
  [PIPE_FORMAT_L8_SRGB] = FMT(8_SRGB),
  [PIPE_FORMAT_R8_SRGB] = FMT(8_SRGB),
/* PIPE_FORMAT_L8A8_SRGB is not supported */
  [PIPE_FORMAT_R8G8_SRGB] = FMT(8_8_SRGB),
/* PIPE_FORMAT_R8G8B8_SRGB is not supported */
/* PIPE_FORMAT_B8G8R8_SRGB is not supported */
  [PIPE_FORMAT_R8G8B8A8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_A8B8G8R8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_X8B8G8R8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_B8G8R8A8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_B8G8R8X8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_A8R8G8B8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_X8R8G8B8_SRGB] = FMT(8_8_8_8_SRGB),
/* PIPE_FORMAT_R8SG8SB8UX8U_NORM is not supported */
/* PIPE_FORMAT_R10SG10SB10SA2U_NORM is not supported */
/* PIPE_FORMAT_R5SG5SB6U_NORM is not supported */
  [PIPE_FORMAT_S8_UINT] = FMT(8_UINT),
  [PIPE_FORMAT_Z16_UNORM] = FMT(16_UNORM),
/* PIPE_FORMAT_Z16_UNORM_S8_UINT is not supported */
/* PIPE_FORMAT_Z32_UNORM is not supported */
  [PIPE_FORMAT_Z32_FLOAT] = FMT(32_FLOAT),
  [PIPE_FORMAT_Z24_UNORM_S8_UINT] = FMT(8_24_UNORM),
  [PIPE_FORMAT_S8_UINT_Z24_UNORM] = FMT(24_8_UNORM),
  [PIPE_FORMAT_X24S8_UINT] = FMT(8_24_UINT),
  [PIPE_FORMAT_S8X24_UINT] = FMT(24_8_UINT),
  [PIPE_FORMAT_Z24X8_UNORM] = FMT(8_24_UNORM),
  [PIPE_FORMAT_X8Z24_UNORM] = FMT(24_8_UNORM),
  [PIPE_FORMAT_Z32_FLOAT_S8X24_UINT] = FMT(X24_8_32_FLOAT),
  [PIPE_FORMAT_X32_S8X24_UINT] = FMT(X24_8_32_UINT),
  [PIPE_FORMAT_Z24_UNORM_S8_UINT_AS_R8G8B8A8] = FMT(8_8_8_8_UNORM),
/* PIPE_FORMAT_UYVY is not supported */
/* PIPE_FORMAT_YUYV is not supported */
/* PIPE_FORMAT_AYUV is not supported */
/* PIPE_FORMAT_XYUV is not supported */
  [PIPE_FORMAT_R8G8_B8G8_UNORM] = FMT(GB_GR_UNORM),
  [PIPE_FORMAT_G8R8_G8B8_UNORM] = FMT(BG_RG_UNORM),
  [PIPE_FORMAT_G8R8_B8R8_UNORM] = FMT(GB_GR_UNORM),
  [PIPE_FORMAT_R8G8_R8B8_UNORM] = FMT(BG_RG_UNORM),
  [PIPE_FORMAT_R11G11B10_FLOAT] = FMT(10_11_11_FLOAT),
  [PIPE_FORMAT_R9G9B9E5_FLOAT] = FMT(5_9_9_9_FLOAT),
/* PIPE_FORMAT_R1_UNORM is not supported */
/* PIPE_FORMAT_R8G8Bx_SNORM is not supported */
  [PIPE_FORMAT_DXT1_RGB] = FMT(BC1_UNORM),
  [PIPE_FORMAT_DXT1_RGBA] = FMT(BC1_UNORM),
  [PIPE_FORMAT_DXT3_RGBA] = FMT(BC2_UNORM),
  [PIPE_FORMAT_DXT5_RGBA] = FMT(BC3_UNORM),
  [PIPE_FORMAT_DXT1_SRGB] = FMT(BC1_SRGB),
  [PIPE_FORMAT_DXT1_SRGBA] = FMT(BC1_SRGB),
  [PIPE_FORMAT_DXT3_SRGBA] = FMT(BC2_SRGB),
  [PIPE_FORMAT_DXT5_SRGBA] = FMT(BC3_SRGB),
/* PIPE_FORMAT_FXT1_RGB is not supported */
/* PIPE_FORMAT_FXT1_RGBA is not supported */
  [PIPE_FORMAT_RGTC1_UNORM] = FMT(BC4_UNORM),
  [PIPE_FORMAT_RGTC1_SNORM] = FMT(BC4_SNORM),
  [PIPE_FORMAT_RGTC2_UNORM] = FMT(BC5_UNORM),
  [PIPE_FORMAT_RGTC2_SNORM] = FMT(BC5_SNORM),
  [PIPE_FORMAT_LATC1_UNORM] = FMT(BC4_UNORM),
  [PIPE_FORMAT_LATC1_SNORM] = FMT(BC4_SNORM),
  [PIPE_FORMAT_LATC2_UNORM] = FMT(BC5_UNORM),
  [PIPE_FORMAT_LATC2_SNORM] = FMT(BC5_SNORM),
/* PIPE_FORMAT_ETC1_RGB8 is not supported */
/* PIPE_FORMAT_ETC2_RGB8 is not supported */
/* PIPE_FORMAT_ETC2_SRGB8 is not supported */
/* PIPE_FORMAT_ETC2_RGB8A1 is not supported */
/* PIPE_FORMAT_ETC2_SRGB8A1 is not supported */
/* PIPE_FORMAT_ETC2_RGBA8 is not supported */
/* PIPE_FORMAT_ETC2_SRGBA8 is not supported */
/* PIPE_FORMAT_ETC2_R11_UNORM is not supported */
/* PIPE_FORMAT_ETC2_R11_SNORM is not supported */
/* PIPE_FORMAT_ETC2_RG11_UNORM is not supported */
/* PIPE_FORMAT_ETC2_RG11_SNORM is not supported */
  [PIPE_FORMAT_BPTC_RGBA_UNORM] = FMT(BC7_UNORM),
  [PIPE_FORMAT_BPTC_SRGBA] = FMT(BC7_SRGB),
  [PIPE_FORMAT_BPTC_RGB_FLOAT] = FMT(BC6_SFLOAT),
  [PIPE_FORMAT_BPTC_RGB_UFLOAT] = FMT(BC6_UFLOAT),
/* PIPE_FORMAT_ASTC_4x4 is not supported */
/* PIPE_FORMAT_ASTC_5x4 is not supported */
/* PIPE_FORMAT_ASTC_5x5 is not supported */
/* PIPE_FORMAT_ASTC_6x5 is not supported */
/* PIPE_FORMAT_ASTC_6x6 is not supported */
/* PIPE_FORMAT_ASTC_8x5 is not supported */
/* PIPE_FORMAT_ASTC_8x6 is not supported */
/* PIPE_FORMAT_ASTC_8x8 is not supported */
/* PIPE_FORMAT_ASTC_10x5 is not supported */
/* PIPE_FORMAT_ASTC_10x6 is not supported */
/* PIPE_FORMAT_ASTC_10x8 is not supported */
/* PIPE_FORMAT_ASTC_10x10 is not supported */
/* PIPE_FORMAT_ASTC_12x10 is not supported */
/* PIPE_FORMAT_ASTC_12x12 is not supported */
/* PIPE_FORMAT_ASTC_4x4_SRGB is not supported */
/* PIPE_FORMAT_ASTC_5x4_SRGB is not supported */
/* PIPE_FORMAT_ASTC_5x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_6x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_6x6_SRGB is not supported */
/* PIPE_FORMAT_ASTC_8x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_8x6_SRGB is not supported */
/* PIPE_FORMAT_ASTC_8x8_SRGB is not supported */
/* PIPE_FORMAT_ASTC_10x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_10x6_SRGB is not supported */
/* PIPE_FORMAT_ASTC_10x8_SRGB is not supported */
/* PIPE_FORMAT_ASTC_10x10_SRGB is not supported */
/* PIPE_FORMAT_ASTC_12x10_SRGB is not supported */
/* PIPE_FORMAT_ASTC_12x12_SRGB is not supported */
/* PIPE_FORMAT_ASTC_3x3x3 is not supported */
/* PIPE_FORMAT_ASTC_4x3x3 is not supported */
/* PIPE_FORMAT_ASTC_4x4x3 is not supported */
/* PIPE_FORMAT_ASTC_4x4x4 is not supported */
/* PIPE_FORMAT_ASTC_5x4x4 is not supported */
/* PIPE_FORMAT_ASTC_5x5x4 is not supported */
/* PIPE_FORMAT_ASTC_5x5x5 is not supported */
/* PIPE_FORMAT_ASTC_6x5x5 is not supported */
/* PIPE_FORMAT_ASTC_6x6x5 is not supported */
/* PIPE_FORMAT_ASTC_6x6x6 is not supported */
/* PIPE_FORMAT_ASTC_3x3x3_SRGB is not supported */
/* PIPE_FORMAT_ASTC_4x3x3_SRGB is not supported */
/* PIPE_FORMAT_ASTC_4x4x3_SRGB is not supported */
/* PIPE_FORMAT_ASTC_4x4x4_SRGB is not supported */
/* PIPE_FORMAT_ASTC_5x4x4_SRGB is not supported */
/* PIPE_FORMAT_ASTC_5x5x4_SRGB is not supported */
/* PIPE_FORMAT_ASTC_5x5x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_6x5x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_6x6x5_SRGB is not supported */
/* PIPE_FORMAT_ASTC_6x6x6_SRGB is not supported */
/* PIPE_FORMAT_ATC_RGB is not supported */
/* PIPE_FORMAT_ATC_RGBA_EXPLICIT is not supported */
/* PIPE_FORMAT_ATC_RGBA_INTERPOLATED is not supported */
  [PIPE_FORMAT_R64_FLOAT] = FMT(32_32_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R64G64_FLOAT] = FMT(32_32_32_32_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R64G64B64_FLOAT] = FMT(32_32_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R64G64B64A64_FLOAT] = FMT(32_32_32_32_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R32_FLOAT] = FMT(32_FLOAT),
  [PIPE_FORMAT_R32G32_FLOAT] = FMT(32_32_FLOAT),
  [PIPE_FORMAT_R32G32B32_FLOAT] = FMT(32_32_32_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_FLOAT] = FMT(32_32_32_32_FLOAT),
  [PIPE_FORMAT_R32_UNORM] = FMT(32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32_UNORM] = FMT(32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32_UNORM] = FMT(32_32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_UNORM] = FMT(32_32_32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32_USCALED] = FMT(32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32_USCALED] = FMT(32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32_USCALED] = FMT(32_32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_USCALED] = FMT(32_32_32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32_SNORM] = FMT(32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32_SNORM] = FMT(32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32_SNORM] = FMT(32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_SNORM] = FMT(32_32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32_SSCALED] = FMT(32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32_SSCALED] = FMT(32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32_SSCALED] = FMT(32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_SSCALED] = FMT(32_32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R16_FLOAT] = FMT(16_FLOAT),
  [PIPE_FORMAT_R16G16_FLOAT] = FMT(16_16_FLOAT),
  [PIPE_FORMAT_R16G16B16_FLOAT] = FMT(16_FLOAT, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_FLOAT] = FMT(16_16_16_16_FLOAT),
  [PIPE_FORMAT_R16_UNORM] = FMT(16_UNORM),
  [PIPE_FORMAT_R16G16_UNORM] = FMT(16_16_UNORM),
  [PIPE_FORMAT_R16G16B16_UNORM] = FMT(16_UNORM, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_UNORM] = FMT(16_16_16_16_UNORM),
  [PIPE_FORMAT_R16_USCALED] = FMT(16_USCALED),
  [PIPE_FORMAT_R16G16_USCALED] = FMT(16_16_USCALED),
  [PIPE_FORMAT_R16G16B16_USCALED] = FMT(16_USCALED, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_USCALED] = FMT(16_16_16_16_USCALED),
  [PIPE_FORMAT_R16_SNORM] = FMT(16_SNORM),
  [PIPE_FORMAT_R16G16_SNORM] = FMT(16_16_SNORM),
  [PIPE_FORMAT_R16G16B16_SNORM] = FMT(16_SNORM, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_SNORM] = FMT(16_16_16_16_SNORM),
  [PIPE_FORMAT_R16_SSCALED] = FMT(16_SSCALED),
  [PIPE_FORMAT_R16G16_SSCALED] = FMT(16_16_SSCALED),
  [PIPE_FORMAT_R16G16B16_SSCALED] = FMT(16_SSCALED, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_SSCALED] = FMT(16_16_16_16_SSCALED),
  [PIPE_FORMAT_R8_UNORM] = FMT(8_UNORM),
  [PIPE_FORMAT_R8G8_UNORM] = FMT(8_8_UNORM),
  [PIPE_FORMAT_R8G8B8_UNORM] = FMT(8_UNORM, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8_UNORM] = FMT(8_UNORM, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_UNORM] = FMT(8_8_8_8_UNORM),
  [PIPE_FORMAT_R8_USCALED] = FMT(8_USCALED),
  [PIPE_FORMAT_R8G8_USCALED] = FMT(8_8_USCALED),
  [PIPE_FORMAT_R8G8B8_USCALED] = FMT(8_USCALED, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8_USCALED] = FMT(8_USCALED, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_USCALED] = FMT(8_8_8_8_USCALED),
  [PIPE_FORMAT_B8G8R8A8_USCALED] = FMT(8_8_8_8_USCALED),
  [PIPE_FORMAT_A8B8G8R8_USCALED] = FMT(8_8_8_8_USCALED),
  [PIPE_FORMAT_R8_SNORM] = FMT(8_SNORM),
  [PIPE_FORMAT_R8G8_SNORM] = FMT(8_8_SNORM),
  [PIPE_FORMAT_R8G8B8_SNORM] = FMT(8_SNORM, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8_SNORM] = FMT(8_SNORM, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_B8G8R8A8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_R8_SSCALED] = FMT(8_SSCALED),
  [PIPE_FORMAT_R8G8_SSCALED] = FMT(8_8_SSCALED),
  [PIPE_FORMAT_R8G8B8_SSCALED] = FMT(8_SSCALED, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8_SSCALED] = FMT(8_SSCALED, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_SSCALED] = FMT(8_8_8_8_SSCALED),
  [PIPE_FORMAT_B8G8R8A8_SSCALED] = FMT(8_8_8_8_SSCALED),
  [PIPE_FORMAT_A8B8G8R8_SSCALED] = FMT(8_8_8_8_SSCALED),
  [PIPE_FORMAT_R32_FIXED] = FMT(32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32_FIXED] = FMT(32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32_FIXED] = FMT(32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_FIXED] = FMT(32_32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R10G10B10X2_USCALED] = FMT(2_10_10_10_USCALED),
  [PIPE_FORMAT_R10G10B10X2_SNORM] = FMT(2_10_10_10_SNORM),
/* PIPE_FORMAT_YV12 is not supported */
/* PIPE_FORMAT_YV16 is not supported */
/* PIPE_FORMAT_IYUV is not supported */
/* PIPE_FORMAT_NV12 is not supported */
/* PIPE_FORMAT_NV21 is not supported */
/* PIPE_FORMAT_R8_G8B8_420_UNORM is not supported */
/* PIPE_FORMAT_G8_B8R8_420_UNORM is not supported */
/* PIPE_FORMAT_G8_B8_R8_420_UNORM is not supported */
/* PIPE_FORMAT_Y8_UNORM is not supported */
/* PIPE_FORMAT_Y8_U8_V8_422_UNORM is not supported */
/* PIPE_FORMAT_Y8_U8V8_422_UNORM is not supported */
/* PIPE_FORMAT_Y8_U8_V8_444_UNORM is not supported */
/* PIPE_FORMAT_Y16_U16_V16_420_UNORM is not supported */
/* PIPE_FORMAT_Y16_U16_V16_422_UNORM is not supported */
/* PIPE_FORMAT_Y16_U16V16_422_UNORM is not supported */
/* PIPE_FORMAT_Y16_U16_V16_444_UNORM is not supported */
/* PIPE_FORMAT_P010 is not supported */
/* PIPE_FORMAT_P012 is not supported */
/* PIPE_FORMAT_P016 is not supported */
/* PIPE_FORMAT_Y210 is not supported */
/* PIPE_FORMAT_Y212 is not supported */
/* PIPE_FORMAT_Y216 is not supported */
/* PIPE_FORMAT_Y410 is not supported */
/* PIPE_FORMAT_Y412 is not supported */
/* PIPE_FORMAT_Y416 is not supported */
/* PIPE_FORMAT_A4R4_UNORM is not supported */
/* PIPE_FORMAT_R4A4_UNORM is not supported */
  [PIPE_FORMAT_R8A8_UNORM] = FMT(8_8_UNORM),
  [PIPE_FORMAT_A8R8_UNORM] = FMT(8_8_UNORM),
  [PIPE_FORMAT_R10G10B10A2_USCALED] = FMT(2_10_10_10_USCALED),
  [PIPE_FORMAT_R10G10B10A2_SSCALED] = FMT(2_10_10_10_SSCALED),
  [PIPE_FORMAT_R10G10B10A2_SNORM] = FMT(2_10_10_10_SNORM),
  [PIPE_FORMAT_B10G10R10A2_USCALED] = FMT(2_10_10_10_USCALED),
  [PIPE_FORMAT_B10G10R10A2_SSCALED] = FMT(2_10_10_10_SSCALED),
  [PIPE_FORMAT_B10G10R10A2_SNORM] = FMT(2_10_10_10_SNORM),
  [PIPE_FORMAT_R8_UINT] = FMT(8_UINT),
  [PIPE_FORMAT_R8G8_UINT] = FMT(8_8_UINT),
  [PIPE_FORMAT_R8G8B8_UINT] = FMT(8_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_R8_SINT] = FMT(8_SINT),
  [PIPE_FORMAT_R8G8_SINT] = FMT(8_8_SINT),
  [PIPE_FORMAT_R8G8B8_SINT] = FMT(8_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R8G8B8A8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_R16_UINT] = FMT(16_UINT),
  [PIPE_FORMAT_R16G16_UINT] = FMT(16_16_UINT),
  [PIPE_FORMAT_R16G16B16_UINT] = FMT(16_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_UINT] = FMT(16_16_16_16_UINT),
  [PIPE_FORMAT_R16_SINT] = FMT(16_SINT),
  [PIPE_FORMAT_R16G16_SINT] = FMT(16_16_SINT),
  [PIPE_FORMAT_R16G16B16_SINT] = FMT(16_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R16G16B16A16_SINT] = FMT(16_16_16_16_SINT),
  [PIPE_FORMAT_R32_UINT] = FMT(32_UINT),
  [PIPE_FORMAT_R32G32_UINT] = FMT(32_32_UINT),
  [PIPE_FORMAT_R32G32B32_UINT] = FMT(32_32_32_UINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_UINT] = FMT(32_32_32_32_UINT),
  [PIPE_FORMAT_R32_SINT] = FMT(32_SINT),
  [PIPE_FORMAT_R32G32_SINT] = FMT(32_32_SINT),
  [PIPE_FORMAT_R32G32B32_SINT] = FMT(32_32_32_SINT, .buffers_only = 1),
  [PIPE_FORMAT_R32G32B32A32_SINT] = FMT(32_32_32_32_SINT),
  [PIPE_FORMAT_R64_UINT] = FMT(32_32_UINT),
/* PIPE_FORMAT_R64G64_UINT is not supported */
/* PIPE_FORMAT_R64G64B64_UINT is not supported */
/* PIPE_FORMAT_R64G64B64A64_UINT is not supported */
  [PIPE_FORMAT_R64_SINT] = FMT(32_32_SINT),
  [PIPE_FORMAT_A8_UINT] = FMT(8_UINT),
  [PIPE_FORMAT_I8_UINT] = FMT(8_UINT),
  [PIPE_FORMAT_L8_UINT] = FMT(8_UINT),
  [PIPE_FORMAT_L8A8_UINT] = FMT(8_8_UINT),
  [PIPE_FORMAT_A8_SINT] = FMT(8_SINT),
  [PIPE_FORMAT_I8_SINT] = FMT(8_SINT),
  [PIPE_FORMAT_L8_SINT] = FMT(8_SINT),
  [PIPE_FORMAT_L8A8_SINT] = FMT(8_8_SINT),
  [PIPE_FORMAT_A16_UINT] = FMT(16_UINT),
  [PIPE_FORMAT_I16_UINT] = FMT(16_UINT),
  [PIPE_FORMAT_L16_UINT] = FMT(16_UINT),
  [PIPE_FORMAT_L16A16_UINT] = FMT(16_16_UINT),
  [PIPE_FORMAT_A16_SINT] = FMT(16_SINT),
  [PIPE_FORMAT_I16_SINT] = FMT(16_SINT),
  [PIPE_FORMAT_L16_SINT] = FMT(16_SINT),
  [PIPE_FORMAT_L16A16_SINT] = FMT(16_16_SINT),
  [PIPE_FORMAT_A32_UINT] = FMT(32_UINT),
  [PIPE_FORMAT_I32_UINT] = FMT(32_UINT),
  [PIPE_FORMAT_L32_UINT] = FMT(32_UINT),
  [PIPE_FORMAT_L32A32_UINT] = FMT(32_32_UINT),
  [PIPE_FORMAT_A32_SINT] = FMT(32_SINT),
  [PIPE_FORMAT_I32_SINT] = FMT(32_SINT),
  [PIPE_FORMAT_L32_SINT] = FMT(32_SINT),
  [PIPE_FORMAT_L32A32_SINT] = FMT(32_32_SINT),
  [PIPE_FORMAT_B8G8R8_UINT] = FMT(8_UINT, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8A8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_B8G8R8_SINT] = FMT(8_SINT, .buffers_only = 1),
  [PIPE_FORMAT_B8G8R8A8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_A8R8G8B8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_A8B8G8R8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_A2R10G10B10_UINT] = FMT(10_10_10_2_UINT),
  [PIPE_FORMAT_A2B10G10R10_UINT] = FMT(10_10_10_2_UINT),
  [PIPE_FORMAT_B10G10R10A2_UINT] = FMT(2_10_10_10_UINT),
  [PIPE_FORMAT_B10G10R10A2_SINT] = FMT(2_10_10_10_SINT),
/* PIPE_FORMAT_R5G6B5_UINT is not supported */
/* PIPE_FORMAT_B5G6R5_UINT is not supported */
/* PIPE_FORMAT_R3G3B2_UINT is not supported */
/* PIPE_FORMAT_B2G3R3_UINT is not supported */
/* PIPE_FORMAT_R4G4B4A4_UINT is not supported */
/* PIPE_FORMAT_B4G4R4A4_UINT is not supported */
/* PIPE_FORMAT_A4R4G4B4_UINT is not supported */
/* PIPE_FORMAT_A4B4G4R4_UINT is not supported */
/* PIPE_FORMAT_A1R5G5B5_UINT is not supported */
/* PIPE_FORMAT_A1B5G5R5_UINT is not supported */
/* PIPE_FORMAT_R5G5B5A1_UINT is not supported */
/* PIPE_FORMAT_B5G5R5A1_UINT is not supported */
  [PIPE_FORMAT_R8G8B8X8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_R8G8B8X8_SRGB] = FMT(8_8_8_8_SRGB),
  [PIPE_FORMAT_R8G8B8X8_UINT] = FMT(8_8_8_8_UINT),
  [PIPE_FORMAT_R8G8B8X8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_B10G10R10X2_UNORM] = FMT(2_10_10_10_UNORM),
  [PIPE_FORMAT_B10G10R10X2_SNORM] = FMT(2_10_10_10_SNORM),
  [PIPE_FORMAT_R16G16B16X16_UNORM] = FMT(16_16_16_16_UNORM),
  [PIPE_FORMAT_R16G16B16X16_SNORM] = FMT(16_16_16_16_SNORM),
  [PIPE_FORMAT_R16G16B16X16_FLOAT] = FMT(16_16_16_16_FLOAT),
  [PIPE_FORMAT_R16G16B16X16_UINT] = FMT(16_16_16_16_UINT),
  [PIPE_FORMAT_R16G16B16X16_SINT] = FMT(16_16_16_16_SINT),
  [PIPE_FORMAT_R32G32B32X32_FLOAT] = FMT(32_32_32_32_FLOAT),
  [PIPE_FORMAT_R32G32B32X32_UINT] = FMT(32_32_32_32_UINT),
  [PIPE_FORMAT_R32G32B32X32_SINT] = FMT(32_32_32_32_SINT),
  [PIPE_FORMAT_R8A8_SNORM] = FMT(8_8_SNORM),
  [PIPE_FORMAT_R16A16_UNORM] = FMT(16_16_UNORM),
  [PIPE_FORMAT_R16A16_SNORM] = FMT(16_16_SNORM),
  [PIPE_FORMAT_R16A16_FLOAT] = FMT(16_16_FLOAT),
  [PIPE_FORMAT_R32A32_FLOAT] = FMT(32_32_FLOAT),
  [PIPE_FORMAT_R8A8_UINT] = FMT(8_8_UINT),
  [PIPE_FORMAT_R8A8_SINT] = FMT(8_8_SINT),
  [PIPE_FORMAT_R16A16_UINT] = FMT(16_16_UINT),
  [PIPE_FORMAT_R16A16_SINT] = FMT(16_16_SINT),
  [PIPE_FORMAT_R32A32_UINT] = FMT(32_32_UINT),
  [PIPE_FORMAT_R32A32_SINT] = FMT(32_32_SINT),
  [PIPE_FORMAT_R10G10B10A2_UINT] = FMT(2_10_10_10_UINT),
  [PIPE_FORMAT_R10G10B10A2_SINT] = FMT(2_10_10_10_SINT),
/* PIPE_FORMAT_B5G6R5_SRGB is not supported */
/* PIPE_FORMAT_R5G6B5_SRGB is not supported */
  [PIPE_FORMAT_G8R8_UNORM] = FMT(8_8_UNORM),
  [PIPE_FORMAT_G8R8_SNORM] = FMT(8_8_SNORM),
  [PIPE_FORMAT_G8R8_SINT] = FMT(8_8_SINT),
  [PIPE_FORMAT_G16R16_UNORM] = FMT(16_16_UNORM),
  [PIPE_FORMAT_G16R16_SNORM] = FMT(16_16_SNORM),
  [PIPE_FORMAT_A8B8G8R8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_A8B8G8R8_SINT] = FMT(8_8_8_8_SINT),
  [PIPE_FORMAT_X8B8G8R8_SNORM] = FMT(8_8_8_8_SNORM),
  [PIPE_FORMAT_X8B8G8R8_SINT] = FMT(8_8_8_8_SINT),
};

