110e230b6Smaya/* This file is autogenerated by gen_format_layout.py. DO NOT EDIT! */
210e230b6Smaya
310e230b6Smaya/*
410e230b6Smaya * Copyright 2015 Intel Corporation
510e230b6Smaya *
610e230b6Smaya * Permission is hereby granted, free of charge, to any person obtaining a
710e230b6Smaya * copy of this software and associated documentation files (the "Software"),
810e230b6Smaya * to deal in the Software without restriction, including without limitation
910e230b6Smaya * the rights to use, copy, modify, merge, publish, distribute, sublicense,
1010e230b6Smaya * and/or sell copies of the Software, and to permit persons to whom the
1110e230b6Smaya * Software is furnished to do so, subject to the following conditions:
1210e230b6Smaya *
1310e230b6Smaya * The above copyright notice and this permission notice (including the next
1410e230b6Smaya * paragraph) shall be included in all copies or substantial portions of the
1510e230b6Smaya * Software.
1610e230b6Smaya *
1710e230b6Smaya * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1810e230b6Smaya * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1910e230b6Smaya * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
2010e230b6Smaya * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2110e230b6Smaya * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2210e230b6Smaya * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2310e230b6Smaya * IN THE SOFTWARE.
2410e230b6Smaya */
2510e230b6Smaya
2610e230b6Smaya#include "isl/isl.h"
2710e230b6Smaya
2896c5ddc4Srjsconst uint16_t isl_format_name_offsets[] = {
2996c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_FLOAT] = 0,
3096c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_SINT] = 30,
3196c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_UINT] = 59,
3296c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_UNORM] = 88,
3396c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_SNORM] = 118,
3496c5ddc4Srjs    [ISL_FORMAT_R64G64_FLOAT] = 148,
3596c5ddc4Srjs    [ISL_FORMAT_R32G32B32X32_FLOAT] = 172,
3696c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_SSCALED] = 202,
3796c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_USCALED] = 234,
3896c5ddc4Srjs    [ISL_FORMAT_R32G32B32A32_SFIXED] = 266,
3996c5ddc4Srjs    [ISL_FORMAT_R64G64_PASSTHRU] = 297,
4096c5ddc4Srjs    [ISL_FORMAT_R32G32B32_FLOAT] = 324,
4196c5ddc4Srjs    [ISL_FORMAT_R32G32B32_SINT] = 351,
4296c5ddc4Srjs    [ISL_FORMAT_R32G32B32_UINT] = 377,
4396c5ddc4Srjs    [ISL_FORMAT_R32G32B32_UNORM] = 403,
4496c5ddc4Srjs    [ISL_FORMAT_R32G32B32_SNORM] = 430,
4596c5ddc4Srjs    [ISL_FORMAT_R32G32B32_SSCALED] = 457,
4696c5ddc4Srjs    [ISL_FORMAT_R32G32B32_USCALED] = 486,
4796c5ddc4Srjs    [ISL_FORMAT_R32G32B32_SFIXED] = 515,
4896c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_UNORM] = 543,
4996c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_SNORM] = 573,
5096c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_SINT] = 603,
5196c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_UINT] = 632,
5296c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_FLOAT] = 661,
5396c5ddc4Srjs    [ISL_FORMAT_R32G32_FLOAT] = 691,
5496c5ddc4Srjs    [ISL_FORMAT_R32G32_SINT] = 715,
5596c5ddc4Srjs    [ISL_FORMAT_R32G32_UINT] = 738,
5696c5ddc4Srjs    [ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS] = 761,
5796c5ddc4Srjs    [ISL_FORMAT_X32_TYPELESS_G8X24_UINT] = 797,
5896c5ddc4Srjs    [ISL_FORMAT_L32A32_FLOAT] = 832,
5996c5ddc4Srjs    [ISL_FORMAT_R32G32_UNORM] = 856,
6096c5ddc4Srjs    [ISL_FORMAT_R32G32_SNORM] = 880,
6196c5ddc4Srjs    [ISL_FORMAT_R64_FLOAT] = 904,
6296c5ddc4Srjs    [ISL_FORMAT_R16G16B16X16_UNORM] = 925,
6396c5ddc4Srjs    [ISL_FORMAT_R16G16B16X16_FLOAT] = 955,
6496c5ddc4Srjs    [ISL_FORMAT_A32X32_FLOAT] = 985,
6596c5ddc4Srjs    [ISL_FORMAT_L32X32_FLOAT] = 1009,
6696c5ddc4Srjs    [ISL_FORMAT_I32X32_FLOAT] = 1033,
6796c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_SSCALED] = 1057,
6896c5ddc4Srjs    [ISL_FORMAT_R16G16B16A16_USCALED] = 1089,
6996c5ddc4Srjs    [ISL_FORMAT_R32G32_SSCALED] = 1121,
7096c5ddc4Srjs    [ISL_FORMAT_R32G32_USCALED] = 1147,
7196c5ddc4Srjs    [ISL_FORMAT_R32G32_FLOAT_LD] = 1173,
7296c5ddc4Srjs    [ISL_FORMAT_R32G32_SFIXED] = 1200,
7396c5ddc4Srjs    [ISL_FORMAT_R64_PASSTHRU] = 1225,
7496c5ddc4Srjs    [ISL_FORMAT_B8G8R8A8_UNORM] = 1249,
7596c5ddc4Srjs    [ISL_FORMAT_B8G8R8A8_UNORM_SRGB] = 1275,
7696c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_UNORM] = 1306,
7796c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_UNORM_SRGB] = 1335,
7896c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_UINT] = 1369,
7996c5ddc4Srjs    [ISL_FORMAT_R10G10B10_SNORM_A2_UNORM] = 1397,
8096c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_UNORM] = 1433,
8196c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_UNORM_SRGB] = 1459,
8296c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_SNORM] = 1490,
8396c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_SINT] = 1516,
8496c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_UINT] = 1541,
8596c5ddc4Srjs    [ISL_FORMAT_R16G16_UNORM] = 1566,
8696c5ddc4Srjs    [ISL_FORMAT_R16G16_SNORM] = 1590,
8796c5ddc4Srjs    [ISL_FORMAT_R16G16_SINT] = 1614,
8896c5ddc4Srjs    [ISL_FORMAT_R16G16_UINT] = 1637,
8996c5ddc4Srjs    [ISL_FORMAT_R16G16_FLOAT] = 1660,
9096c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_UNORM] = 1684,
9196c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_UNORM_SRGB] = 1713,
9296c5ddc4Srjs    [ISL_FORMAT_R11G11B10_FLOAT] = 1747,
9396c5ddc4Srjs    [ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM] = 1774,
9496c5ddc4Srjs    [ISL_FORMAT_R32_SINT] = 1810,
9596c5ddc4Srjs    [ISL_FORMAT_R32_UINT] = 1830,
9696c5ddc4Srjs    [ISL_FORMAT_R32_FLOAT] = 1850,
9796c5ddc4Srjs    [ISL_FORMAT_R24_UNORM_X8_TYPELESS] = 1871,
9896c5ddc4Srjs    [ISL_FORMAT_X24_TYPELESS_G8_UINT] = 1904,
9996c5ddc4Srjs    [ISL_FORMAT_L32_UNORM] = 1936,
10096c5ddc4Srjs    [ISL_FORMAT_A32_UNORM] = 1957,
10196c5ddc4Srjs    [ISL_FORMAT_L16A16_UNORM] = 1978,
10296c5ddc4Srjs    [ISL_FORMAT_I24X8_UNORM] = 2002,
10396c5ddc4Srjs    [ISL_FORMAT_L24X8_UNORM] = 2025,
10496c5ddc4Srjs    [ISL_FORMAT_A24X8_UNORM] = 2048,
10596c5ddc4Srjs    [ISL_FORMAT_I32_FLOAT] = 2071,
10696c5ddc4Srjs    [ISL_FORMAT_L32_FLOAT] = 2092,
10796c5ddc4Srjs    [ISL_FORMAT_A32_FLOAT] = 2113,
10896c5ddc4Srjs    [ISL_FORMAT_X8B8_UNORM_G8R8_SNORM] = 2134,
10996c5ddc4Srjs    [ISL_FORMAT_A8X8_UNORM_G8R8_SNORM] = 2167,
11096c5ddc4Srjs    [ISL_FORMAT_B8X8_UNORM_G8R8_SNORM] = 2200,
11196c5ddc4Srjs    [ISL_FORMAT_B8G8R8X8_UNORM] = 2233,
11296c5ddc4Srjs    [ISL_FORMAT_B8G8R8X8_UNORM_SRGB] = 2259,
11396c5ddc4Srjs    [ISL_FORMAT_R8G8B8X8_UNORM] = 2290,
11496c5ddc4Srjs    [ISL_FORMAT_R8G8B8X8_UNORM_SRGB] = 2316,
11596c5ddc4Srjs    [ISL_FORMAT_R9G9B9E5_SHAREDEXP] = 2347,
11696c5ddc4Srjs    [ISL_FORMAT_B10G10R10X2_UNORM] = 2377,
11796c5ddc4Srjs    [ISL_FORMAT_L16A16_FLOAT] = 2406,
11896c5ddc4Srjs    [ISL_FORMAT_R32_UNORM] = 2430,
11996c5ddc4Srjs    [ISL_FORMAT_R32_SNORM] = 2451,
12096c5ddc4Srjs    [ISL_FORMAT_R10G10B10X2_USCALED] = 2472,
12196c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_SSCALED] = 2503,
12296c5ddc4Srjs    [ISL_FORMAT_R8G8B8A8_USCALED] = 2531,
12396c5ddc4Srjs    [ISL_FORMAT_R16G16_SSCALED] = 2559,
12496c5ddc4Srjs    [ISL_FORMAT_R16G16_USCALED] = 2585,
12596c5ddc4Srjs    [ISL_FORMAT_R32_SSCALED] = 2611,
12696c5ddc4Srjs    [ISL_FORMAT_R32_USCALED] = 2634,
12796c5ddc4Srjs    [ISL_FORMAT_B5G6R5_UNORM] = 2657,
12896c5ddc4Srjs    [ISL_FORMAT_B5G6R5_UNORM_SRGB] = 2681,
12996c5ddc4Srjs    [ISL_FORMAT_B5G5R5A1_UNORM] = 2710,
13096c5ddc4Srjs    [ISL_FORMAT_B5G5R5A1_UNORM_SRGB] = 2736,
13196c5ddc4Srjs    [ISL_FORMAT_B4G4R4A4_UNORM] = 2767,
13296c5ddc4Srjs    [ISL_FORMAT_B4G4R4A4_UNORM_SRGB] = 2793,
13396c5ddc4Srjs    [ISL_FORMAT_R8G8_UNORM] = 2824,
13496c5ddc4Srjs    [ISL_FORMAT_R8G8_SNORM] = 2846,
13596c5ddc4Srjs    [ISL_FORMAT_R8G8_SINT] = 2868,
13696c5ddc4Srjs    [ISL_FORMAT_R8G8_UINT] = 2889,
13796c5ddc4Srjs    [ISL_FORMAT_R16_UNORM] = 2910,
13896c5ddc4Srjs    [ISL_FORMAT_R16_SNORM] = 2931,
13996c5ddc4Srjs    [ISL_FORMAT_R16_SINT] = 2952,
14096c5ddc4Srjs    [ISL_FORMAT_R16_UINT] = 2972,
14196c5ddc4Srjs    [ISL_FORMAT_R16_FLOAT] = 2992,
14296c5ddc4Srjs    [ISL_FORMAT_A8P8_UNORM_PALETTE0] = 3013,
14396c5ddc4Srjs    [ISL_FORMAT_A8P8_UNORM_PALETTE1] = 3044,
14496c5ddc4Srjs    [ISL_FORMAT_I16_UNORM] = 3075,
14596c5ddc4Srjs    [ISL_FORMAT_L16_UNORM] = 3096,
14696c5ddc4Srjs    [ISL_FORMAT_A16_UNORM] = 3117,
14796c5ddc4Srjs    [ISL_FORMAT_L8A8_UNORM] = 3138,
14896c5ddc4Srjs    [ISL_FORMAT_I16_FLOAT] = 3160,
14996c5ddc4Srjs    [ISL_FORMAT_L16_FLOAT] = 3181,
15096c5ddc4Srjs    [ISL_FORMAT_A16_FLOAT] = 3202,
15196c5ddc4Srjs    [ISL_FORMAT_L8A8_UNORM_SRGB] = 3223,
15296c5ddc4Srjs    [ISL_FORMAT_R5G5_SNORM_B6_UNORM] = 3250,
15396c5ddc4Srjs    [ISL_FORMAT_B5G5R5X1_UNORM] = 3281,
15496c5ddc4Srjs    [ISL_FORMAT_B5G5R5X1_UNORM_SRGB] = 3307,
15596c5ddc4Srjs    [ISL_FORMAT_R8G8_SSCALED] = 3338,
15696c5ddc4Srjs    [ISL_FORMAT_R8G8_USCALED] = 3362,
15796c5ddc4Srjs    [ISL_FORMAT_R16_SSCALED] = 3386,
15896c5ddc4Srjs    [ISL_FORMAT_R16_USCALED] = 3409,
15996c5ddc4Srjs    [ISL_FORMAT_P8A8_UNORM_PALETTE0] = 3432,
16096c5ddc4Srjs    [ISL_FORMAT_P8A8_UNORM_PALETTE1] = 3463,
16196c5ddc4Srjs    [ISL_FORMAT_A1B5G5R5_UNORM] = 3494,
16296c5ddc4Srjs    [ISL_FORMAT_A4B4G4R4_UNORM] = 3520,
16396c5ddc4Srjs    [ISL_FORMAT_L8A8_UINT] = 3546,
16496c5ddc4Srjs    [ISL_FORMAT_L8A8_SINT] = 3567,
16596c5ddc4Srjs    [ISL_FORMAT_R8_UNORM] = 3588,
16696c5ddc4Srjs    [ISL_FORMAT_R8_SNORM] = 3608,
16796c5ddc4Srjs    [ISL_FORMAT_R8_SINT] = 3628,
16896c5ddc4Srjs    [ISL_FORMAT_R8_UINT] = 3647,
16996c5ddc4Srjs    [ISL_FORMAT_A8_UNORM] = 3666,
17096c5ddc4Srjs    [ISL_FORMAT_I8_UNORM] = 3686,
17196c5ddc4Srjs    [ISL_FORMAT_L8_UNORM] = 3706,
17296c5ddc4Srjs    [ISL_FORMAT_P4A4_UNORM_PALETTE0] = 3726,
17396c5ddc4Srjs    [ISL_FORMAT_A4P4_UNORM_PALETTE0] = 3757,
17496c5ddc4Srjs    [ISL_FORMAT_R8_SSCALED] = 3788,
17596c5ddc4Srjs    [ISL_FORMAT_R8_USCALED] = 3810,
17696c5ddc4Srjs    [ISL_FORMAT_P8_UNORM_PALETTE0] = 3832,
17796c5ddc4Srjs    [ISL_FORMAT_L8_UNORM_SRGB] = 3861,
17896c5ddc4Srjs    [ISL_FORMAT_P8_UNORM_PALETTE1] = 3886,
17996c5ddc4Srjs    [ISL_FORMAT_P4A4_UNORM_PALETTE1] = 3915,
18096c5ddc4Srjs    [ISL_FORMAT_A4P4_UNORM_PALETTE1] = 3946,
18196c5ddc4Srjs    [ISL_FORMAT_Y8_UNORM] = 3977,
18296c5ddc4Srjs    [ISL_FORMAT_L8_UINT] = 3997,
18396c5ddc4Srjs    [ISL_FORMAT_L8_SINT] = 4016,
18496c5ddc4Srjs    [ISL_FORMAT_I8_UINT] = 4035,
18596c5ddc4Srjs    [ISL_FORMAT_I8_SINT] = 4054,
18696c5ddc4Srjs    [ISL_FORMAT_DXT1_RGB_SRGB] = 4073,
18796c5ddc4Srjs    [ISL_FORMAT_R1_UNORM] = 4098,
18896c5ddc4Srjs    [ISL_FORMAT_YCRCB_NORMAL] = 4118,
18996c5ddc4Srjs    [ISL_FORMAT_YCRCB_SWAPUVY] = 4142,
19096c5ddc4Srjs    [ISL_FORMAT_P2_UNORM_PALETTE0] = 4167,
19196c5ddc4Srjs    [ISL_FORMAT_P2_UNORM_PALETTE1] = 4196,
19296c5ddc4Srjs    [ISL_FORMAT_BC1_UNORM] = 4225,
19396c5ddc4Srjs    [ISL_FORMAT_BC2_UNORM] = 4246,
19496c5ddc4Srjs    [ISL_FORMAT_BC3_UNORM] = 4267,
19596c5ddc4Srjs    [ISL_FORMAT_BC4_UNORM] = 4288,
19696c5ddc4Srjs    [ISL_FORMAT_BC5_UNORM] = 4309,
19796c5ddc4Srjs    [ISL_FORMAT_BC1_UNORM_SRGB] = 4330,
19896c5ddc4Srjs    [ISL_FORMAT_BC2_UNORM_SRGB] = 4356,
19996c5ddc4Srjs    [ISL_FORMAT_BC3_UNORM_SRGB] = 4382,
20096c5ddc4Srjs    [ISL_FORMAT_MONO8] = 4408,
20196c5ddc4Srjs    [ISL_FORMAT_YCRCB_SWAPUV] = 4425,
20296c5ddc4Srjs    [ISL_FORMAT_YCRCB_SWAPY] = 4449,
20396c5ddc4Srjs    [ISL_FORMAT_DXT1_RGB] = 4472,
20496c5ddc4Srjs    [ISL_FORMAT_FXT1] = 4492,
20596c5ddc4Srjs    [ISL_FORMAT_R8G8B8_UNORM] = 4508,
20696c5ddc4Srjs    [ISL_FORMAT_R8G8B8_SNORM] = 4532,
20796c5ddc4Srjs    [ISL_FORMAT_R8G8B8_SSCALED] = 4556,
20896c5ddc4Srjs    [ISL_FORMAT_R8G8B8_USCALED] = 4582,
20996c5ddc4Srjs    [ISL_FORMAT_R64G64B64A64_FLOAT] = 4608,
21096c5ddc4Srjs    [ISL_FORMAT_R64G64B64_FLOAT] = 4638,
21196c5ddc4Srjs    [ISL_FORMAT_BC4_SNORM] = 4665,
21296c5ddc4Srjs    [ISL_FORMAT_BC5_SNORM] = 4686,
21396c5ddc4Srjs    [ISL_FORMAT_R16G16B16_FLOAT] = 4707,
21496c5ddc4Srjs    [ISL_FORMAT_R16G16B16_UNORM] = 4734,
21596c5ddc4Srjs    [ISL_FORMAT_R16G16B16_SNORM] = 4761,
21696c5ddc4Srjs    [ISL_FORMAT_R16G16B16_SSCALED] = 4788,
21796c5ddc4Srjs    [ISL_FORMAT_R16G16B16_USCALED] = 4817,
21896c5ddc4Srjs    [ISL_FORMAT_BC6H_SF16] = 4846,
21996c5ddc4Srjs    [ISL_FORMAT_BC7_UNORM] = 4867,
22096c5ddc4Srjs    [ISL_FORMAT_BC7_UNORM_SRGB] = 4888,
22196c5ddc4Srjs    [ISL_FORMAT_BC6H_UF16] = 4914,
22296c5ddc4Srjs    [ISL_FORMAT_PLANAR_420_8] = 4935,
22396c5ddc4Srjs    [ISL_FORMAT_PLANAR_420_10] = 4959,
22496c5ddc4Srjs    [ISL_FORMAT_PLANAR_420_12] = 4984,
22596c5ddc4Srjs    [ISL_FORMAT_PLANAR_420_16] = 5009,
22696c5ddc4Srjs    [ISL_FORMAT_R8G8B8_UNORM_SRGB] = 5034,
22796c5ddc4Srjs    [ISL_FORMAT_ETC1_RGB8] = 5063,
22896c5ddc4Srjs    [ISL_FORMAT_ETC2_RGB8] = 5084,
22996c5ddc4Srjs    [ISL_FORMAT_EAC_R11] = 5105,
23096c5ddc4Srjs    [ISL_FORMAT_EAC_RG11] = 5124,
23196c5ddc4Srjs    [ISL_FORMAT_EAC_SIGNED_R11] = 5144,
23296c5ddc4Srjs    [ISL_FORMAT_EAC_SIGNED_RG11] = 5170,
23396c5ddc4Srjs    [ISL_FORMAT_ETC2_SRGB8] = 5197,
23496c5ddc4Srjs    [ISL_FORMAT_R16G16B16_UINT] = 5219,
23596c5ddc4Srjs    [ISL_FORMAT_R16G16B16_SINT] = 5245,
23696c5ddc4Srjs    [ISL_FORMAT_R32_SFIXED] = 5271,
23796c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_SNORM] = 5293,
23896c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_USCALED] = 5322,
23996c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_SSCALED] = 5353,
24096c5ddc4Srjs    [ISL_FORMAT_R10G10B10A2_SINT] = 5384,
24196c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_SNORM] = 5412,
24296c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_USCALED] = 5441,
24396c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_SSCALED] = 5472,
24496c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_UINT] = 5503,
24596c5ddc4Srjs    [ISL_FORMAT_B10G10R10A2_SINT] = 5531,
24696c5ddc4Srjs    [ISL_FORMAT_R64G64B64A64_PASSTHRU] = 5559,
24796c5ddc4Srjs    [ISL_FORMAT_R64G64B64_PASSTHRU] = 5592,
24896c5ddc4Srjs    [ISL_FORMAT_ETC2_RGB8_PTA] = 5622,
24996c5ddc4Srjs    [ISL_FORMAT_ETC2_SRGB8_PTA] = 5647,
25096c5ddc4Srjs    [ISL_FORMAT_ETC2_EAC_RGBA8] = 5673,
25196c5ddc4Srjs    [ISL_FORMAT_ETC2_EAC_SRGB8_A8] = 5699,
25296c5ddc4Srjs    [ISL_FORMAT_R8G8B8_UINT] = 5728,
25396c5ddc4Srjs    [ISL_FORMAT_R8G8B8_SINT] = 5751,
25496c5ddc4Srjs    [ISL_FORMAT_RAW] = 5774,
25596c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB] = 5789,
25696c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB] = 5823,
25796c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB] = 5857,
25896c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB] = 5891,
25996c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB] = 5925,
26096c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB] = 5959,
26196c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB] = 5993,
26296c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB] = 6027,
26396c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB] = 6061,
26496c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB] = 6096,
26596c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB] = 6131,
26696c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB] = 6166,
26796c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB] = 6202,
26896c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB] = 6238,
26996c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16] = 6274,
27096c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16] = 6307,
27196c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16] = 6340,
27296c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16] = 6373,
27396c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16] = 6406,
27496c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16] = 6439,
27596c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16] = 6472,
27696c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16] = 6505,
27796c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16] = 6538,
27896c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16] = 6572,
27996c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16] = 6606,
28096c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16] = 6640,
28196c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16] = 6675,
28296c5ddc4Srjs    [ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16] = 6710,
28396c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16] = 6745,
28496c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16] = 6778,
28596c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16] = 6811,
28696c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16] = 6844,
28796c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16] = 6877,
28896c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16] = 6910,
28996c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16] = 6943,
29096c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16] = 6976,
29196c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16] = 7009,
29296c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16] = 7043,
29396c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16] = 7077,
29496c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16] = 7111,
29596c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16] = 7146,
29696c5ddc4Srjs    [ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16] = 7181,
29796c5ddc4Srjs    [ISL_FORMAT_HIZ] = 7216,
29896c5ddc4Srjs    [ISL_FORMAT_MCS_2X] = 7231,
29996c5ddc4Srjs    [ISL_FORMAT_MCS_4X] = 7249,
30096c5ddc4Srjs    [ISL_FORMAT_MCS_8X] = 7267,
30196c5ddc4Srjs    [ISL_FORMAT_MCS_16X] = 7285,
30296c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_32BPP_X] = 7304,
30396c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_64BPP_X] = 7332,
30496c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_128BPP_X] = 7360,
30596c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_32BPP_Y] = 7389,
30696c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_64BPP_Y] = 7417,
30796c5ddc4Srjs    [ISL_FORMAT_GFX7_CCS_128BPP_Y] = 7445,
30896c5ddc4Srjs    [ISL_FORMAT_GFX9_CCS_32BPP] = 7474,
30996c5ddc4Srjs    [ISL_FORMAT_GFX9_CCS_64BPP] = 7500,
31096c5ddc4Srjs    [ISL_FORMAT_GFX9_CCS_128BPP] = 7526,
31196c5ddc4Srjs    [ISL_FORMAT_GFX12_CCS_8BPP_Y0] = 7553,
31296c5ddc4Srjs    [ISL_FORMAT_GFX12_CCS_16BPP_Y0] = 7582,
31396c5ddc4Srjs    [ISL_FORMAT_GFX12_CCS_32BPP_Y0] = 7612,
31496c5ddc4Srjs    [ISL_FORMAT_GFX12_CCS_64BPP_Y0] = 7642,
31596c5ddc4Srjs    [ISL_FORMAT_GFX12_CCS_128BPP_Y0] = 7672,
31696c5ddc4Srjs};
31796c5ddc4Srjs
31896c5ddc4Srjsconst char isl_format_names[] = {
31996c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_FLOAT\0"
32096c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_SINT\0"
32196c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_UINT\0"
32296c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_UNORM\0"
32396c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_SNORM\0"
32496c5ddc4Srjs  "ISL_FORMAT_R64G64_FLOAT\0"
32596c5ddc4Srjs  "ISL_FORMAT_R32G32B32X32_FLOAT\0"
32696c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_SSCALED\0"
32796c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_USCALED\0"
32896c5ddc4Srjs  "ISL_FORMAT_R32G32B32A32_SFIXED\0"
32996c5ddc4Srjs  "ISL_FORMAT_R64G64_PASSTHRU\0"
33096c5ddc4Srjs  "ISL_FORMAT_R32G32B32_FLOAT\0"
33196c5ddc4Srjs  "ISL_FORMAT_R32G32B32_SINT\0"
33296c5ddc4Srjs  "ISL_FORMAT_R32G32B32_UINT\0"
33396c5ddc4Srjs  "ISL_FORMAT_R32G32B32_UNORM\0"
33496c5ddc4Srjs  "ISL_FORMAT_R32G32B32_SNORM\0"
33596c5ddc4Srjs  "ISL_FORMAT_R32G32B32_SSCALED\0"
33696c5ddc4Srjs  "ISL_FORMAT_R32G32B32_USCALED\0"
33796c5ddc4Srjs  "ISL_FORMAT_R32G32B32_SFIXED\0"
33896c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_UNORM\0"
33996c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_SNORM\0"
34096c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_SINT\0"
34196c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_UINT\0"
34296c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_FLOAT\0"
34396c5ddc4Srjs  "ISL_FORMAT_R32G32_FLOAT\0"
34496c5ddc4Srjs  "ISL_FORMAT_R32G32_SINT\0"
34596c5ddc4Srjs  "ISL_FORMAT_R32G32_UINT\0"
34696c5ddc4Srjs  "ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS\0"
34796c5ddc4Srjs  "ISL_FORMAT_X32_TYPELESS_G8X24_UINT\0"
34896c5ddc4Srjs  "ISL_FORMAT_L32A32_FLOAT\0"
34996c5ddc4Srjs  "ISL_FORMAT_R32G32_UNORM\0"
35096c5ddc4Srjs  "ISL_FORMAT_R32G32_SNORM\0"
35196c5ddc4Srjs  "ISL_FORMAT_R64_FLOAT\0"
35296c5ddc4Srjs  "ISL_FORMAT_R16G16B16X16_UNORM\0"
35396c5ddc4Srjs  "ISL_FORMAT_R16G16B16X16_FLOAT\0"
35496c5ddc4Srjs  "ISL_FORMAT_A32X32_FLOAT\0"
35596c5ddc4Srjs  "ISL_FORMAT_L32X32_FLOAT\0"
35696c5ddc4Srjs  "ISL_FORMAT_I32X32_FLOAT\0"
35796c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_SSCALED\0"
35896c5ddc4Srjs  "ISL_FORMAT_R16G16B16A16_USCALED\0"
35996c5ddc4Srjs  "ISL_FORMAT_R32G32_SSCALED\0"
36096c5ddc4Srjs  "ISL_FORMAT_R32G32_USCALED\0"
36196c5ddc4Srjs  "ISL_FORMAT_R32G32_FLOAT_LD\0"
36296c5ddc4Srjs  "ISL_FORMAT_R32G32_SFIXED\0"
36396c5ddc4Srjs  "ISL_FORMAT_R64_PASSTHRU\0"
36496c5ddc4Srjs  "ISL_FORMAT_B8G8R8A8_UNORM\0"
36596c5ddc4Srjs  "ISL_FORMAT_B8G8R8A8_UNORM_SRGB\0"
36696c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_UNORM\0"
36796c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_UNORM_SRGB\0"
36896c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_UINT\0"
36996c5ddc4Srjs  "ISL_FORMAT_R10G10B10_SNORM_A2_UNORM\0"
37096c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_UNORM\0"
37196c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_UNORM_SRGB\0"
37296c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_SNORM\0"
37396c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_SINT\0"
37496c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_UINT\0"
37596c5ddc4Srjs  "ISL_FORMAT_R16G16_UNORM\0"
37696c5ddc4Srjs  "ISL_FORMAT_R16G16_SNORM\0"
37796c5ddc4Srjs  "ISL_FORMAT_R16G16_SINT\0"
37896c5ddc4Srjs  "ISL_FORMAT_R16G16_UINT\0"
37996c5ddc4Srjs  "ISL_FORMAT_R16G16_FLOAT\0"
38096c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_UNORM\0"
38196c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_UNORM_SRGB\0"
38296c5ddc4Srjs  "ISL_FORMAT_R11G11B10_FLOAT\0"
38396c5ddc4Srjs  "ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM\0"
38496c5ddc4Srjs  "ISL_FORMAT_R32_SINT\0"
38596c5ddc4Srjs  "ISL_FORMAT_R32_UINT\0"
38696c5ddc4Srjs  "ISL_FORMAT_R32_FLOAT\0"
38796c5ddc4Srjs  "ISL_FORMAT_R24_UNORM_X8_TYPELESS\0"
38896c5ddc4Srjs  "ISL_FORMAT_X24_TYPELESS_G8_UINT\0"
38996c5ddc4Srjs  "ISL_FORMAT_L32_UNORM\0"
39096c5ddc4Srjs  "ISL_FORMAT_A32_UNORM\0"
39196c5ddc4Srjs  "ISL_FORMAT_L16A16_UNORM\0"
39296c5ddc4Srjs  "ISL_FORMAT_I24X8_UNORM\0"
39396c5ddc4Srjs  "ISL_FORMAT_L24X8_UNORM\0"
39496c5ddc4Srjs  "ISL_FORMAT_A24X8_UNORM\0"
39596c5ddc4Srjs  "ISL_FORMAT_I32_FLOAT\0"
39696c5ddc4Srjs  "ISL_FORMAT_L32_FLOAT\0"
39796c5ddc4Srjs  "ISL_FORMAT_A32_FLOAT\0"
39896c5ddc4Srjs  "ISL_FORMAT_X8B8_UNORM_G8R8_SNORM\0"
39996c5ddc4Srjs  "ISL_FORMAT_A8X8_UNORM_G8R8_SNORM\0"
40096c5ddc4Srjs  "ISL_FORMAT_B8X8_UNORM_G8R8_SNORM\0"
40196c5ddc4Srjs  "ISL_FORMAT_B8G8R8X8_UNORM\0"
40296c5ddc4Srjs  "ISL_FORMAT_B8G8R8X8_UNORM_SRGB\0"
40396c5ddc4Srjs  "ISL_FORMAT_R8G8B8X8_UNORM\0"
40496c5ddc4Srjs  "ISL_FORMAT_R8G8B8X8_UNORM_SRGB\0"
40596c5ddc4Srjs  "ISL_FORMAT_R9G9B9E5_SHAREDEXP\0"
40696c5ddc4Srjs  "ISL_FORMAT_B10G10R10X2_UNORM\0"
40796c5ddc4Srjs  "ISL_FORMAT_L16A16_FLOAT\0"
40896c5ddc4Srjs  "ISL_FORMAT_R32_UNORM\0"
40996c5ddc4Srjs  "ISL_FORMAT_R32_SNORM\0"
41096c5ddc4Srjs  "ISL_FORMAT_R10G10B10X2_USCALED\0"
41196c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_SSCALED\0"
41296c5ddc4Srjs  "ISL_FORMAT_R8G8B8A8_USCALED\0"
41396c5ddc4Srjs  "ISL_FORMAT_R16G16_SSCALED\0"
41496c5ddc4Srjs  "ISL_FORMAT_R16G16_USCALED\0"
41596c5ddc4Srjs  "ISL_FORMAT_R32_SSCALED\0"
41696c5ddc4Srjs  "ISL_FORMAT_R32_USCALED\0"
41796c5ddc4Srjs  "ISL_FORMAT_B5G6R5_UNORM\0"
41896c5ddc4Srjs  "ISL_FORMAT_B5G6R5_UNORM_SRGB\0"
41996c5ddc4Srjs  "ISL_FORMAT_B5G5R5A1_UNORM\0"
42096c5ddc4Srjs  "ISL_FORMAT_B5G5R5A1_UNORM_SRGB\0"
42196c5ddc4Srjs  "ISL_FORMAT_B4G4R4A4_UNORM\0"
42296c5ddc4Srjs  "ISL_FORMAT_B4G4R4A4_UNORM_SRGB\0"
42396c5ddc4Srjs  "ISL_FORMAT_R8G8_UNORM\0"
42496c5ddc4Srjs  "ISL_FORMAT_R8G8_SNORM\0"
42596c5ddc4Srjs  "ISL_FORMAT_R8G8_SINT\0"
42696c5ddc4Srjs  "ISL_FORMAT_R8G8_UINT\0"
42796c5ddc4Srjs  "ISL_FORMAT_R16_UNORM\0"
42896c5ddc4Srjs  "ISL_FORMAT_R16_SNORM\0"
42996c5ddc4Srjs  "ISL_FORMAT_R16_SINT\0"
43096c5ddc4Srjs  "ISL_FORMAT_R16_UINT\0"
43196c5ddc4Srjs  "ISL_FORMAT_R16_FLOAT\0"
43296c5ddc4Srjs  "ISL_FORMAT_A8P8_UNORM_PALETTE0\0"
43396c5ddc4Srjs  "ISL_FORMAT_A8P8_UNORM_PALETTE1\0"
43496c5ddc4Srjs  "ISL_FORMAT_I16_UNORM\0"
43596c5ddc4Srjs  "ISL_FORMAT_L16_UNORM\0"
43696c5ddc4Srjs  "ISL_FORMAT_A16_UNORM\0"
43796c5ddc4Srjs  "ISL_FORMAT_L8A8_UNORM\0"
43896c5ddc4Srjs  "ISL_FORMAT_I16_FLOAT\0"
43996c5ddc4Srjs  "ISL_FORMAT_L16_FLOAT\0"
44096c5ddc4Srjs  "ISL_FORMAT_A16_FLOAT\0"
44196c5ddc4Srjs  "ISL_FORMAT_L8A8_UNORM_SRGB\0"
44296c5ddc4Srjs  "ISL_FORMAT_R5G5_SNORM_B6_UNORM\0"
44396c5ddc4Srjs  "ISL_FORMAT_B5G5R5X1_UNORM\0"
44496c5ddc4Srjs  "ISL_FORMAT_B5G5R5X1_UNORM_SRGB\0"
44596c5ddc4Srjs  "ISL_FORMAT_R8G8_SSCALED\0"
44696c5ddc4Srjs  "ISL_FORMAT_R8G8_USCALED\0"
44796c5ddc4Srjs  "ISL_FORMAT_R16_SSCALED\0"
44896c5ddc4Srjs  "ISL_FORMAT_R16_USCALED\0"
44996c5ddc4Srjs  "ISL_FORMAT_P8A8_UNORM_PALETTE0\0"
45096c5ddc4Srjs  "ISL_FORMAT_P8A8_UNORM_PALETTE1\0"
45196c5ddc4Srjs  "ISL_FORMAT_A1B5G5R5_UNORM\0"
45296c5ddc4Srjs  "ISL_FORMAT_A4B4G4R4_UNORM\0"
45396c5ddc4Srjs  "ISL_FORMAT_L8A8_UINT\0"
45496c5ddc4Srjs  "ISL_FORMAT_L8A8_SINT\0"
45596c5ddc4Srjs  "ISL_FORMAT_R8_UNORM\0"
45696c5ddc4Srjs  "ISL_FORMAT_R8_SNORM\0"
45796c5ddc4Srjs  "ISL_FORMAT_R8_SINT\0"
45896c5ddc4Srjs  "ISL_FORMAT_R8_UINT\0"
45996c5ddc4Srjs  "ISL_FORMAT_A8_UNORM\0"
46096c5ddc4Srjs  "ISL_FORMAT_I8_UNORM\0"
46196c5ddc4Srjs  "ISL_FORMAT_L8_UNORM\0"
46296c5ddc4Srjs  "ISL_FORMAT_P4A4_UNORM_PALETTE0\0"
46396c5ddc4Srjs  "ISL_FORMAT_A4P4_UNORM_PALETTE0\0"
46496c5ddc4Srjs  "ISL_FORMAT_R8_SSCALED\0"
46596c5ddc4Srjs  "ISL_FORMAT_R8_USCALED\0"
46696c5ddc4Srjs  "ISL_FORMAT_P8_UNORM_PALETTE0\0"
46796c5ddc4Srjs  "ISL_FORMAT_L8_UNORM_SRGB\0"
46896c5ddc4Srjs  "ISL_FORMAT_P8_UNORM_PALETTE1\0"
46996c5ddc4Srjs  "ISL_FORMAT_P4A4_UNORM_PALETTE1\0"
47096c5ddc4Srjs  "ISL_FORMAT_A4P4_UNORM_PALETTE1\0"
47196c5ddc4Srjs  "ISL_FORMAT_Y8_UNORM\0"
47296c5ddc4Srjs  "ISL_FORMAT_L8_UINT\0"
47396c5ddc4Srjs  "ISL_FORMAT_L8_SINT\0"
47496c5ddc4Srjs  "ISL_FORMAT_I8_UINT\0"
47596c5ddc4Srjs  "ISL_FORMAT_I8_SINT\0"
47696c5ddc4Srjs  "ISL_FORMAT_DXT1_RGB_SRGB\0"
47796c5ddc4Srjs  "ISL_FORMAT_R1_UNORM\0"
47896c5ddc4Srjs  "ISL_FORMAT_YCRCB_NORMAL\0"
47996c5ddc4Srjs  "ISL_FORMAT_YCRCB_SWAPUVY\0"
48096c5ddc4Srjs  "ISL_FORMAT_P2_UNORM_PALETTE0\0"
48196c5ddc4Srjs  "ISL_FORMAT_P2_UNORM_PALETTE1\0"
48296c5ddc4Srjs  "ISL_FORMAT_BC1_UNORM\0"
48396c5ddc4Srjs  "ISL_FORMAT_BC2_UNORM\0"
48496c5ddc4Srjs  "ISL_FORMAT_BC3_UNORM\0"
48596c5ddc4Srjs  "ISL_FORMAT_BC4_UNORM\0"
48696c5ddc4Srjs  "ISL_FORMAT_BC5_UNORM\0"
48796c5ddc4Srjs  "ISL_FORMAT_BC1_UNORM_SRGB\0"
48896c5ddc4Srjs  "ISL_FORMAT_BC2_UNORM_SRGB\0"
48996c5ddc4Srjs  "ISL_FORMAT_BC3_UNORM_SRGB\0"
49096c5ddc4Srjs  "ISL_FORMAT_MONO8\0"
49196c5ddc4Srjs  "ISL_FORMAT_YCRCB_SWAPUV\0"
49296c5ddc4Srjs  "ISL_FORMAT_YCRCB_SWAPY\0"
49396c5ddc4Srjs  "ISL_FORMAT_DXT1_RGB\0"
49496c5ddc4Srjs  "ISL_FORMAT_FXT1\0"
49596c5ddc4Srjs  "ISL_FORMAT_R8G8B8_UNORM\0"
49696c5ddc4Srjs  "ISL_FORMAT_R8G8B8_SNORM\0"
49796c5ddc4Srjs  "ISL_FORMAT_R8G8B8_SSCALED\0"
49896c5ddc4Srjs  "ISL_FORMAT_R8G8B8_USCALED\0"
49996c5ddc4Srjs  "ISL_FORMAT_R64G64B64A64_FLOAT\0"
50096c5ddc4Srjs  "ISL_FORMAT_R64G64B64_FLOAT\0"
50196c5ddc4Srjs  "ISL_FORMAT_BC4_SNORM\0"
50296c5ddc4Srjs  "ISL_FORMAT_BC5_SNORM\0"
50396c5ddc4Srjs  "ISL_FORMAT_R16G16B16_FLOAT\0"
50496c5ddc4Srjs  "ISL_FORMAT_R16G16B16_UNORM\0"
50596c5ddc4Srjs  "ISL_FORMAT_R16G16B16_SNORM\0"
50696c5ddc4Srjs  "ISL_FORMAT_R16G16B16_SSCALED\0"
50796c5ddc4Srjs  "ISL_FORMAT_R16G16B16_USCALED\0"
50896c5ddc4Srjs  "ISL_FORMAT_BC6H_SF16\0"
50996c5ddc4Srjs  "ISL_FORMAT_BC7_UNORM\0"
51096c5ddc4Srjs  "ISL_FORMAT_BC7_UNORM_SRGB\0"
51196c5ddc4Srjs  "ISL_FORMAT_BC6H_UF16\0"
51296c5ddc4Srjs  "ISL_FORMAT_PLANAR_420_8\0"
51396c5ddc4Srjs  "ISL_FORMAT_PLANAR_420_10\0"
51496c5ddc4Srjs  "ISL_FORMAT_PLANAR_420_12\0"
51596c5ddc4Srjs  "ISL_FORMAT_PLANAR_420_16\0"
51696c5ddc4Srjs  "ISL_FORMAT_R8G8B8_UNORM_SRGB\0"
51796c5ddc4Srjs  "ISL_FORMAT_ETC1_RGB8\0"
51896c5ddc4Srjs  "ISL_FORMAT_ETC2_RGB8\0"
51996c5ddc4Srjs  "ISL_FORMAT_EAC_R11\0"
52096c5ddc4Srjs  "ISL_FORMAT_EAC_RG11\0"
52196c5ddc4Srjs  "ISL_FORMAT_EAC_SIGNED_R11\0"
52296c5ddc4Srjs  "ISL_FORMAT_EAC_SIGNED_RG11\0"
52396c5ddc4Srjs  "ISL_FORMAT_ETC2_SRGB8\0"
52496c5ddc4Srjs  "ISL_FORMAT_R16G16B16_UINT\0"
52596c5ddc4Srjs  "ISL_FORMAT_R16G16B16_SINT\0"
52696c5ddc4Srjs  "ISL_FORMAT_R32_SFIXED\0"
52796c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_SNORM\0"
52896c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_USCALED\0"
52996c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_SSCALED\0"
53096c5ddc4Srjs  "ISL_FORMAT_R10G10B10A2_SINT\0"
53196c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_SNORM\0"
53296c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_USCALED\0"
53396c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_SSCALED\0"
53496c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_UINT\0"
53596c5ddc4Srjs  "ISL_FORMAT_B10G10R10A2_SINT\0"
53696c5ddc4Srjs  "ISL_FORMAT_R64G64B64A64_PASSTHRU\0"
53796c5ddc4Srjs  "ISL_FORMAT_R64G64B64_PASSTHRU\0"
53896c5ddc4Srjs  "ISL_FORMAT_ETC2_RGB8_PTA\0"
53996c5ddc4Srjs  "ISL_FORMAT_ETC2_SRGB8_PTA\0"
54096c5ddc4Srjs  "ISL_FORMAT_ETC2_EAC_RGBA8\0"
54196c5ddc4Srjs  "ISL_FORMAT_ETC2_EAC_SRGB8_A8\0"
54296c5ddc4Srjs  "ISL_FORMAT_R8G8B8_UINT\0"
54396c5ddc4Srjs  "ISL_FORMAT_R8G8B8_SINT\0"
54496c5ddc4Srjs  "ISL_FORMAT_RAW\0"
54596c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB\0"
54696c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB\0"
54796c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB\0"
54896c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB\0"
54996c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB\0"
55096c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB\0"
55196c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB\0"
55296c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB\0"
55396c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB\0"
55496c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB\0"
55596c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB\0"
55696c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB\0"
55796c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB\0"
55896c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB\0"
55996c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16\0"
56096c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16\0"
56196c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16\0"
56296c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16\0"
56396c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16\0"
56496c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16\0"
56596c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16\0"
56696c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16\0"
56796c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16\0"
56896c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16\0"
56996c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16\0"
57096c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16\0"
57196c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16\0"
57296c5ddc4Srjs  "ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16\0"
57396c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16\0"
57496c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16\0"
57596c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16\0"
57696c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16\0"
57796c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16\0"
57896c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16\0"
57996c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16\0"
58096c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16\0"
58196c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16\0"
58296c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16\0"
58396c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16\0"
58496c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16\0"
58596c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16\0"
58696c5ddc4Srjs  "ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16\0"
58796c5ddc4Srjs  "ISL_FORMAT_HIZ\0"
58896c5ddc4Srjs  "ISL_FORMAT_MCS_2X\0"
58996c5ddc4Srjs  "ISL_FORMAT_MCS_4X\0"
59096c5ddc4Srjs  "ISL_FORMAT_MCS_8X\0"
59196c5ddc4Srjs  "ISL_FORMAT_MCS_16X\0"
59296c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_32BPP_X\0"
59396c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_64BPP_X\0"
59496c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_128BPP_X\0"
59596c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_32BPP_Y\0"
59696c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_64BPP_Y\0"
59796c5ddc4Srjs  "ISL_FORMAT_GFX7_CCS_128BPP_Y\0"
59896c5ddc4Srjs  "ISL_FORMAT_GFX9_CCS_32BPP\0"
59996c5ddc4Srjs  "ISL_FORMAT_GFX9_CCS_64BPP\0"
60096c5ddc4Srjs  "ISL_FORMAT_GFX9_CCS_128BPP\0"
60196c5ddc4Srjs  "ISL_FORMAT_GFX12_CCS_8BPP_Y0\0"
60296c5ddc4Srjs  "ISL_FORMAT_GFX12_CCS_16BPP_Y0\0"
60396c5ddc4Srjs  "ISL_FORMAT_GFX12_CCS_32BPP_Y0\0"
60496c5ddc4Srjs  "ISL_FORMAT_GFX12_CCS_64BPP_Y0\0"
60596c5ddc4Srjs  "ISL_FORMAT_GFX12_CCS_128BPP_Y0\0"
60696c5ddc4Srjs};
60796c5ddc4Srjs
60810e230b6Smayaconst struct isl_format_layout
60910e230b6Smayaisl_format_layouts[] = {
61010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_FLOAT] = {
61110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_FLOAT,
61210e230b6Smaya    .bpb = 128,
61310e230b6Smaya    .bw = 1,
61410e230b6Smaya    .bh = 1,
61510e230b6Smaya    .bd = 1,
61610e230b6Smaya    .channels = {
61710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
61810e230b6Smaya              .g = { ISL_SFLOAT, 32, 32 },
61910e230b6Smaya              .b = { ISL_SFLOAT, 64, 32 },
62010e230b6Smaya              .a = { ISL_SFLOAT, 96, 32 },
62110e230b6Smaya              .l = {},
62210e230b6Smaya              .i = {},
62310e230b6Smaya              .p = {},
62410e230b6Smaya    },
62596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
62610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
62710e230b6Smaya    .txc = ISL_TXC_NONE,
62810e230b6Smaya  },
62910e230b6Smaya
63010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_SINT] = {
63110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_SINT,
63210e230b6Smaya    .bpb = 128,
63310e230b6Smaya    .bw = 1,
63410e230b6Smaya    .bh = 1,
63510e230b6Smaya    .bd = 1,
63610e230b6Smaya    .channels = {
63710e230b6Smaya              .r = { ISL_SINT, 0, 32 },
63810e230b6Smaya              .g = { ISL_SINT, 32, 32 },
63910e230b6Smaya              .b = { ISL_SINT, 64, 32 },
64010e230b6Smaya              .a = { ISL_SINT, 96, 32 },
64110e230b6Smaya              .l = {},
64210e230b6Smaya              .i = {},
64310e230b6Smaya              .p = {},
64410e230b6Smaya    },
64596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
64610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
64710e230b6Smaya    .txc = ISL_TXC_NONE,
64810e230b6Smaya  },
64910e230b6Smaya
65010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_UINT] = {
65110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_UINT,
65210e230b6Smaya    .bpb = 128,
65310e230b6Smaya    .bw = 1,
65410e230b6Smaya    .bh = 1,
65510e230b6Smaya    .bd = 1,
65610e230b6Smaya    .channels = {
65710e230b6Smaya              .r = { ISL_UINT, 0, 32 },
65810e230b6Smaya              .g = { ISL_UINT, 32, 32 },
65910e230b6Smaya              .b = { ISL_UINT, 64, 32 },
66010e230b6Smaya              .a = { ISL_UINT, 96, 32 },
66110e230b6Smaya              .l = {},
66210e230b6Smaya              .i = {},
66310e230b6Smaya              .p = {},
66410e230b6Smaya    },
66596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
66610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
66710e230b6Smaya    .txc = ISL_TXC_NONE,
66810e230b6Smaya  },
66910e230b6Smaya
67010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_UNORM] = {
67110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_UNORM,
67210e230b6Smaya    .bpb = 128,
67310e230b6Smaya    .bw = 1,
67410e230b6Smaya    .bh = 1,
67510e230b6Smaya    .bd = 1,
67610e230b6Smaya    .channels = {
67710e230b6Smaya              .r = { ISL_UNORM, 0, 32 },
67810e230b6Smaya              .g = { ISL_UNORM, 32, 32 },
67910e230b6Smaya              .b = { ISL_UNORM, 64, 32 },
68010e230b6Smaya              .a = { ISL_UNORM, 96, 32 },
68110e230b6Smaya              .l = {},
68210e230b6Smaya              .i = {},
68310e230b6Smaya              .p = {},
68410e230b6Smaya    },
68596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
68610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
68710e230b6Smaya    .txc = ISL_TXC_NONE,
68810e230b6Smaya  },
68910e230b6Smaya
69010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_SNORM] = {
69110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_SNORM,
69210e230b6Smaya    .bpb = 128,
69310e230b6Smaya    .bw = 1,
69410e230b6Smaya    .bh = 1,
69510e230b6Smaya    .bd = 1,
69610e230b6Smaya    .channels = {
69710e230b6Smaya              .r = { ISL_SNORM, 0, 32 },
69810e230b6Smaya              .g = { ISL_SNORM, 32, 32 },
69910e230b6Smaya              .b = { ISL_SNORM, 64, 32 },
70010e230b6Smaya              .a = { ISL_SNORM, 96, 32 },
70110e230b6Smaya              .l = {},
70210e230b6Smaya              .i = {},
70310e230b6Smaya              .p = {},
70410e230b6Smaya    },
70596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
70610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
70710e230b6Smaya    .txc = ISL_TXC_NONE,
70810e230b6Smaya  },
70910e230b6Smaya
71010e230b6Smaya  [ISL_FORMAT_R64G64_FLOAT] = {
71110e230b6Smaya    .format = ISL_FORMAT_R64G64_FLOAT,
71210e230b6Smaya    .bpb = 128,
71310e230b6Smaya    .bw = 1,
71410e230b6Smaya    .bh = 1,
71510e230b6Smaya    .bd = 1,
71610e230b6Smaya    .channels = {
71710e230b6Smaya              .r = { ISL_SFLOAT, 0, 64 },
71810e230b6Smaya              .g = { ISL_SFLOAT, 64, 64 },
71910e230b6Smaya              .b = {},
72010e230b6Smaya              .a = {},
72110e230b6Smaya              .l = {},
72210e230b6Smaya              .i = {},
72310e230b6Smaya              .p = {},
72410e230b6Smaya    },
72596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
72610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
72710e230b6Smaya    .txc = ISL_TXC_NONE,
72810e230b6Smaya  },
72910e230b6Smaya
73010e230b6Smaya  [ISL_FORMAT_R32G32B32X32_FLOAT] = {
73110e230b6Smaya    .format = ISL_FORMAT_R32G32B32X32_FLOAT,
73210e230b6Smaya    .bpb = 128,
73310e230b6Smaya    .bw = 1,
73410e230b6Smaya    .bh = 1,
73510e230b6Smaya    .bd = 1,
73610e230b6Smaya    .channels = {
73710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
73810e230b6Smaya              .g = { ISL_SFLOAT, 32, 32 },
73910e230b6Smaya              .b = { ISL_SFLOAT, 64, 32 },
74010e230b6Smaya              .a = { ISL_VOID, 96, 32 },
74110e230b6Smaya              .l = {},
74210e230b6Smaya              .i = {},
74310e230b6Smaya              .p = {},
74410e230b6Smaya    },
74596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
74610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
74710e230b6Smaya    .txc = ISL_TXC_NONE,
74810e230b6Smaya  },
74910e230b6Smaya
75010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_SSCALED] = {
75110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_SSCALED,
75210e230b6Smaya    .bpb = 128,
75310e230b6Smaya    .bw = 1,
75410e230b6Smaya    .bh = 1,
75510e230b6Smaya    .bd = 1,
75610e230b6Smaya    .channels = {
75710e230b6Smaya              .r = { ISL_SSCALED, 0, 32 },
75810e230b6Smaya              .g = { ISL_SSCALED, 32, 32 },
75910e230b6Smaya              .b = { ISL_SSCALED, 64, 32 },
76010e230b6Smaya              .a = { ISL_SSCALED, 96, 32 },
76110e230b6Smaya              .l = {},
76210e230b6Smaya              .i = {},
76310e230b6Smaya              .p = {},
76410e230b6Smaya    },
76596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
76610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
76710e230b6Smaya    .txc = ISL_TXC_NONE,
76810e230b6Smaya  },
76910e230b6Smaya
77010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_USCALED] = {
77110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_USCALED,
77210e230b6Smaya    .bpb = 128,
77310e230b6Smaya    .bw = 1,
77410e230b6Smaya    .bh = 1,
77510e230b6Smaya    .bd = 1,
77610e230b6Smaya    .channels = {
77710e230b6Smaya              .r = { ISL_USCALED, 0, 32 },
77810e230b6Smaya              .g = { ISL_USCALED, 32, 32 },
77910e230b6Smaya              .b = { ISL_USCALED, 64, 32 },
78010e230b6Smaya              .a = { ISL_USCALED, 96, 32 },
78110e230b6Smaya              .l = {},
78210e230b6Smaya              .i = {},
78310e230b6Smaya              .p = {},
78410e230b6Smaya    },
78596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
78610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
78710e230b6Smaya    .txc = ISL_TXC_NONE,
78810e230b6Smaya  },
78910e230b6Smaya
79010e230b6Smaya  [ISL_FORMAT_R32G32B32A32_SFIXED] = {
79110e230b6Smaya    .format = ISL_FORMAT_R32G32B32A32_SFIXED,
79210e230b6Smaya    .bpb = 128,
79310e230b6Smaya    .bw = 1,
79410e230b6Smaya    .bh = 1,
79510e230b6Smaya    .bd = 1,
79610e230b6Smaya    .channels = {
79710e230b6Smaya              .r = { ISL_SFIXED, 0, 32 },
79810e230b6Smaya              .g = { ISL_SFIXED, 32, 32 },
79910e230b6Smaya              .b = { ISL_SFIXED, 64, 32 },
80010e230b6Smaya              .a = { ISL_SFIXED, 96, 32 },
80110e230b6Smaya              .l = {},
80210e230b6Smaya              .i = {},
80310e230b6Smaya              .p = {},
80410e230b6Smaya    },
80596c5ddc4Srjs    .uniform_channel_type = ISL_SFIXED,
80610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
80710e230b6Smaya    .txc = ISL_TXC_NONE,
80810e230b6Smaya  },
80910e230b6Smaya
81010e230b6Smaya  [ISL_FORMAT_R64G64_PASSTHRU] = {
81110e230b6Smaya    .format = ISL_FORMAT_R64G64_PASSTHRU,
81210e230b6Smaya    .bpb = 128,
81310e230b6Smaya    .bw = 1,
81410e230b6Smaya    .bh = 1,
81510e230b6Smaya    .bd = 1,
81610e230b6Smaya    .channels = {
81710e230b6Smaya              .r = { ISL_RAW, 0, 64 },
81810e230b6Smaya              .g = { ISL_RAW, 64, 64 },
81910e230b6Smaya              .b = {},
82010e230b6Smaya              .a = {},
82110e230b6Smaya              .l = {},
82210e230b6Smaya              .i = {},
82310e230b6Smaya              .p = {},
82410e230b6Smaya    },
82596c5ddc4Srjs    .uniform_channel_type = ISL_RAW,
82610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
82710e230b6Smaya    .txc = ISL_TXC_NONE,
82810e230b6Smaya  },
82910e230b6Smaya
83010e230b6Smaya  [ISL_FORMAT_R32G32B32_FLOAT] = {
83110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_FLOAT,
83210e230b6Smaya    .bpb = 96,
83310e230b6Smaya    .bw = 1,
83410e230b6Smaya    .bh = 1,
83510e230b6Smaya    .bd = 1,
83610e230b6Smaya    .channels = {
83710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
83810e230b6Smaya              .g = { ISL_SFLOAT, 32, 32 },
83910e230b6Smaya              .b = { ISL_SFLOAT, 64, 32 },
84010e230b6Smaya              .a = {},
84110e230b6Smaya              .l = {},
84210e230b6Smaya              .i = {},
84310e230b6Smaya              .p = {},
84410e230b6Smaya    },
84596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
84610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
84710e230b6Smaya    .txc = ISL_TXC_NONE,
84810e230b6Smaya  },
84910e230b6Smaya
85010e230b6Smaya  [ISL_FORMAT_R32G32B32_SINT] = {
85110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_SINT,
85210e230b6Smaya    .bpb = 96,
85310e230b6Smaya    .bw = 1,
85410e230b6Smaya    .bh = 1,
85510e230b6Smaya    .bd = 1,
85610e230b6Smaya    .channels = {
85710e230b6Smaya              .r = { ISL_SINT, 0, 32 },
85810e230b6Smaya              .g = { ISL_SINT, 32, 32 },
85910e230b6Smaya              .b = { ISL_SINT, 64, 32 },
86010e230b6Smaya              .a = {},
86110e230b6Smaya              .l = {},
86210e230b6Smaya              .i = {},
86310e230b6Smaya              .p = {},
86410e230b6Smaya    },
86596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
86610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
86710e230b6Smaya    .txc = ISL_TXC_NONE,
86810e230b6Smaya  },
86910e230b6Smaya
87010e230b6Smaya  [ISL_FORMAT_R32G32B32_UINT] = {
87110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_UINT,
87210e230b6Smaya    .bpb = 96,
87310e230b6Smaya    .bw = 1,
87410e230b6Smaya    .bh = 1,
87510e230b6Smaya    .bd = 1,
87610e230b6Smaya    .channels = {
87710e230b6Smaya              .r = { ISL_UINT, 0, 32 },
87810e230b6Smaya              .g = { ISL_UINT, 32, 32 },
87910e230b6Smaya              .b = { ISL_UINT, 64, 32 },
88010e230b6Smaya              .a = {},
88110e230b6Smaya              .l = {},
88210e230b6Smaya              .i = {},
88310e230b6Smaya              .p = {},
88410e230b6Smaya    },
88596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
88610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
88710e230b6Smaya    .txc = ISL_TXC_NONE,
88810e230b6Smaya  },
88910e230b6Smaya
89010e230b6Smaya  [ISL_FORMAT_R32G32B32_UNORM] = {
89110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_UNORM,
89210e230b6Smaya    .bpb = 96,
89310e230b6Smaya    .bw = 1,
89410e230b6Smaya    .bh = 1,
89510e230b6Smaya    .bd = 1,
89610e230b6Smaya    .channels = {
89710e230b6Smaya              .r = { ISL_UNORM, 0, 32 },
89810e230b6Smaya              .g = { ISL_UNORM, 32, 32 },
89910e230b6Smaya              .b = { ISL_UNORM, 64, 32 },
90010e230b6Smaya              .a = {},
90110e230b6Smaya              .l = {},
90210e230b6Smaya              .i = {},
90310e230b6Smaya              .p = {},
90410e230b6Smaya    },
90596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
90610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
90710e230b6Smaya    .txc = ISL_TXC_NONE,
90810e230b6Smaya  },
90910e230b6Smaya
91010e230b6Smaya  [ISL_FORMAT_R32G32B32_SNORM] = {
91110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_SNORM,
91210e230b6Smaya    .bpb = 96,
91310e230b6Smaya    .bw = 1,
91410e230b6Smaya    .bh = 1,
91510e230b6Smaya    .bd = 1,
91610e230b6Smaya    .channels = {
91710e230b6Smaya              .r = { ISL_SNORM, 0, 32 },
91810e230b6Smaya              .g = { ISL_SNORM, 32, 32 },
91910e230b6Smaya              .b = { ISL_SNORM, 64, 32 },
92010e230b6Smaya              .a = {},
92110e230b6Smaya              .l = {},
92210e230b6Smaya              .i = {},
92310e230b6Smaya              .p = {},
92410e230b6Smaya    },
92596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
92610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
92710e230b6Smaya    .txc = ISL_TXC_NONE,
92810e230b6Smaya  },
92910e230b6Smaya
93010e230b6Smaya  [ISL_FORMAT_R32G32B32_SSCALED] = {
93110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_SSCALED,
93210e230b6Smaya    .bpb = 96,
93310e230b6Smaya    .bw = 1,
93410e230b6Smaya    .bh = 1,
93510e230b6Smaya    .bd = 1,
93610e230b6Smaya    .channels = {
93710e230b6Smaya              .r = { ISL_SSCALED, 0, 32 },
93810e230b6Smaya              .g = { ISL_SSCALED, 32, 32 },
93910e230b6Smaya              .b = { ISL_SSCALED, 64, 32 },
94010e230b6Smaya              .a = {},
94110e230b6Smaya              .l = {},
94210e230b6Smaya              .i = {},
94310e230b6Smaya              .p = {},
94410e230b6Smaya    },
94596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
94610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
94710e230b6Smaya    .txc = ISL_TXC_NONE,
94810e230b6Smaya  },
94910e230b6Smaya
95010e230b6Smaya  [ISL_FORMAT_R32G32B32_USCALED] = {
95110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_USCALED,
95210e230b6Smaya    .bpb = 96,
95310e230b6Smaya    .bw = 1,
95410e230b6Smaya    .bh = 1,
95510e230b6Smaya    .bd = 1,
95610e230b6Smaya    .channels = {
95710e230b6Smaya              .r = { ISL_USCALED, 0, 32 },
95810e230b6Smaya              .g = { ISL_USCALED, 32, 32 },
95910e230b6Smaya              .b = { ISL_USCALED, 64, 32 },
96010e230b6Smaya              .a = {},
96110e230b6Smaya              .l = {},
96210e230b6Smaya              .i = {},
96310e230b6Smaya              .p = {},
96410e230b6Smaya    },
96596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
96610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
96710e230b6Smaya    .txc = ISL_TXC_NONE,
96810e230b6Smaya  },
96910e230b6Smaya
97010e230b6Smaya  [ISL_FORMAT_R32G32B32_SFIXED] = {
97110e230b6Smaya    .format = ISL_FORMAT_R32G32B32_SFIXED,
97210e230b6Smaya    .bpb = 96,
97310e230b6Smaya    .bw = 1,
97410e230b6Smaya    .bh = 1,
97510e230b6Smaya    .bd = 1,
97610e230b6Smaya    .channels = {
97710e230b6Smaya              .r = { ISL_SFIXED, 0, 32 },
97810e230b6Smaya              .g = { ISL_SFIXED, 32, 32 },
97910e230b6Smaya              .b = { ISL_SFIXED, 64, 32 },
98010e230b6Smaya              .a = {},
98110e230b6Smaya              .l = {},
98210e230b6Smaya              .i = {},
98310e230b6Smaya              .p = {},
98410e230b6Smaya    },
98596c5ddc4Srjs    .uniform_channel_type = ISL_SFIXED,
98610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
98710e230b6Smaya    .txc = ISL_TXC_NONE,
98810e230b6Smaya  },
98910e230b6Smaya
99010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_UNORM] = {
99110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_UNORM,
99210e230b6Smaya    .bpb = 64,
99310e230b6Smaya    .bw = 1,
99410e230b6Smaya    .bh = 1,
99510e230b6Smaya    .bd = 1,
99610e230b6Smaya    .channels = {
99710e230b6Smaya              .r = { ISL_UNORM, 0, 16 },
99810e230b6Smaya              .g = { ISL_UNORM, 16, 16 },
99910e230b6Smaya              .b = { ISL_UNORM, 32, 16 },
100010e230b6Smaya              .a = { ISL_UNORM, 48, 16 },
100110e230b6Smaya              .l = {},
100210e230b6Smaya              .i = {},
100310e230b6Smaya              .p = {},
100410e230b6Smaya    },
100596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
100610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
100710e230b6Smaya    .txc = ISL_TXC_NONE,
100810e230b6Smaya  },
100910e230b6Smaya
101010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_SNORM] = {
101110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_SNORM,
101210e230b6Smaya    .bpb = 64,
101310e230b6Smaya    .bw = 1,
101410e230b6Smaya    .bh = 1,
101510e230b6Smaya    .bd = 1,
101610e230b6Smaya    .channels = {
101710e230b6Smaya              .r = { ISL_SNORM, 0, 16 },
101810e230b6Smaya              .g = { ISL_SNORM, 16, 16 },
101910e230b6Smaya              .b = { ISL_SNORM, 32, 16 },
102010e230b6Smaya              .a = { ISL_SNORM, 48, 16 },
102110e230b6Smaya              .l = {},
102210e230b6Smaya              .i = {},
102310e230b6Smaya              .p = {},
102410e230b6Smaya    },
102596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
102610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
102710e230b6Smaya    .txc = ISL_TXC_NONE,
102810e230b6Smaya  },
102910e230b6Smaya
103010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_SINT] = {
103110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_SINT,
103210e230b6Smaya    .bpb = 64,
103310e230b6Smaya    .bw = 1,
103410e230b6Smaya    .bh = 1,
103510e230b6Smaya    .bd = 1,
103610e230b6Smaya    .channels = {
103710e230b6Smaya              .r = { ISL_SINT, 0, 16 },
103810e230b6Smaya              .g = { ISL_SINT, 16, 16 },
103910e230b6Smaya              .b = { ISL_SINT, 32, 16 },
104010e230b6Smaya              .a = { ISL_SINT, 48, 16 },
104110e230b6Smaya              .l = {},
104210e230b6Smaya              .i = {},
104310e230b6Smaya              .p = {},
104410e230b6Smaya    },
104596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
104610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
104710e230b6Smaya    .txc = ISL_TXC_NONE,
104810e230b6Smaya  },
104910e230b6Smaya
105010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_UINT] = {
105110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_UINT,
105210e230b6Smaya    .bpb = 64,
105310e230b6Smaya    .bw = 1,
105410e230b6Smaya    .bh = 1,
105510e230b6Smaya    .bd = 1,
105610e230b6Smaya    .channels = {
105710e230b6Smaya              .r = { ISL_UINT, 0, 16 },
105810e230b6Smaya              .g = { ISL_UINT, 16, 16 },
105910e230b6Smaya              .b = { ISL_UINT, 32, 16 },
106010e230b6Smaya              .a = { ISL_UINT, 48, 16 },
106110e230b6Smaya              .l = {},
106210e230b6Smaya              .i = {},
106310e230b6Smaya              .p = {},
106410e230b6Smaya    },
106596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
106610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
106710e230b6Smaya    .txc = ISL_TXC_NONE,
106810e230b6Smaya  },
106910e230b6Smaya
107010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_FLOAT] = {
107110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_FLOAT,
107210e230b6Smaya    .bpb = 64,
107310e230b6Smaya    .bw = 1,
107410e230b6Smaya    .bh = 1,
107510e230b6Smaya    .bd = 1,
107610e230b6Smaya    .channels = {
107710e230b6Smaya              .r = { ISL_SFLOAT, 0, 16 },
107810e230b6Smaya              .g = { ISL_SFLOAT, 16, 16 },
107910e230b6Smaya              .b = { ISL_SFLOAT, 32, 16 },
108010e230b6Smaya              .a = { ISL_SFLOAT, 48, 16 },
108110e230b6Smaya              .l = {},
108210e230b6Smaya              .i = {},
108310e230b6Smaya              .p = {},
108410e230b6Smaya    },
108596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
108610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
108710e230b6Smaya    .txc = ISL_TXC_NONE,
108810e230b6Smaya  },
108910e230b6Smaya
109010e230b6Smaya  [ISL_FORMAT_R32G32_FLOAT] = {
109110e230b6Smaya    .format = ISL_FORMAT_R32G32_FLOAT,
109210e230b6Smaya    .bpb = 64,
109310e230b6Smaya    .bw = 1,
109410e230b6Smaya    .bh = 1,
109510e230b6Smaya    .bd = 1,
109610e230b6Smaya    .channels = {
109710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
109810e230b6Smaya              .g = { ISL_SFLOAT, 32, 32 },
109910e230b6Smaya              .b = {},
110010e230b6Smaya              .a = {},
110110e230b6Smaya              .l = {},
110210e230b6Smaya              .i = {},
110310e230b6Smaya              .p = {},
110410e230b6Smaya    },
110596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
110610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
110710e230b6Smaya    .txc = ISL_TXC_NONE,
110810e230b6Smaya  },
110910e230b6Smaya
111010e230b6Smaya  [ISL_FORMAT_R32G32_SINT] = {
111110e230b6Smaya    .format = ISL_FORMAT_R32G32_SINT,
111210e230b6Smaya    .bpb = 64,
111310e230b6Smaya    .bw = 1,
111410e230b6Smaya    .bh = 1,
111510e230b6Smaya    .bd = 1,
111610e230b6Smaya    .channels = {
111710e230b6Smaya              .r = { ISL_SINT, 0, 32 },
111810e230b6Smaya              .g = { ISL_SINT, 32, 32 },
111910e230b6Smaya              .b = {},
112010e230b6Smaya              .a = {},
112110e230b6Smaya              .l = {},
112210e230b6Smaya              .i = {},
112310e230b6Smaya              .p = {},
112410e230b6Smaya    },
112596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
112610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
112710e230b6Smaya    .txc = ISL_TXC_NONE,
112810e230b6Smaya  },
112910e230b6Smaya
113010e230b6Smaya  [ISL_FORMAT_R32G32_UINT] = {
113110e230b6Smaya    .format = ISL_FORMAT_R32G32_UINT,
113210e230b6Smaya    .bpb = 64,
113310e230b6Smaya    .bw = 1,
113410e230b6Smaya    .bh = 1,
113510e230b6Smaya    .bd = 1,
113610e230b6Smaya    .channels = {
113710e230b6Smaya              .r = { ISL_UINT, 0, 32 },
113810e230b6Smaya              .g = { ISL_UINT, 32, 32 },
113910e230b6Smaya              .b = {},
114010e230b6Smaya              .a = {},
114110e230b6Smaya              .l = {},
114210e230b6Smaya              .i = {},
114310e230b6Smaya              .p = {},
114410e230b6Smaya    },
114596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
114610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
114710e230b6Smaya    .txc = ISL_TXC_NONE,
114810e230b6Smaya  },
114910e230b6Smaya
115010e230b6Smaya  [ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS] = {
115110e230b6Smaya    .format = ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS,
115210e230b6Smaya    .bpb = 64,
115310e230b6Smaya    .bw = 1,
115410e230b6Smaya    .bh = 1,
115510e230b6Smaya    .bd = 1,
115610e230b6Smaya    .channels = {
115710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
115810e230b6Smaya              .g = { ISL_VOID, 32, 8 },
115910e230b6Smaya              .b = { ISL_VOID, 40, 24 },
116010e230b6Smaya              .a = {},
116110e230b6Smaya              .l = {},
116210e230b6Smaya              .i = {},
116310e230b6Smaya              .p = {},
116410e230b6Smaya    },
116596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
116610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
116710e230b6Smaya    .txc = ISL_TXC_NONE,
116810e230b6Smaya  },
116910e230b6Smaya
117010e230b6Smaya  [ISL_FORMAT_X32_TYPELESS_G8X24_UINT] = {
117110e230b6Smaya    .format = ISL_FORMAT_X32_TYPELESS_G8X24_UINT,
117210e230b6Smaya    .bpb = 64,
117310e230b6Smaya    .bw = 1,
117410e230b6Smaya    .bh = 1,
117510e230b6Smaya    .bd = 1,
117610e230b6Smaya    .channels = {
117710e230b6Smaya              .r = { ISL_VOID, 0, 32 },
117810e230b6Smaya              .g = { ISL_UINT, 32, 8 },
117910e230b6Smaya              .b = { ISL_VOID, 40, 24 },
118010e230b6Smaya              .a = {},
118110e230b6Smaya              .l = {},
118210e230b6Smaya              .i = {},
118310e230b6Smaya              .p = {},
118410e230b6Smaya    },
118596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
118610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
118710e230b6Smaya    .txc = ISL_TXC_NONE,
118810e230b6Smaya  },
118910e230b6Smaya
119010e230b6Smaya  [ISL_FORMAT_L32A32_FLOAT] = {
119110e230b6Smaya    .format = ISL_FORMAT_L32A32_FLOAT,
119210e230b6Smaya    .bpb = 64,
119310e230b6Smaya    .bw = 1,
119410e230b6Smaya    .bh = 1,
119510e230b6Smaya    .bd = 1,
119610e230b6Smaya    .channels = {
119710e230b6Smaya              .r = {},
119810e230b6Smaya              .g = {},
119910e230b6Smaya              .b = {},
120010e230b6Smaya              .a = { ISL_SFLOAT, 32, 32 },
120110e230b6Smaya              .l = { ISL_SFLOAT, 0, 32 },
120210e230b6Smaya              .i = {},
120310e230b6Smaya              .p = {},
120410e230b6Smaya    },
120596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
120610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
120710e230b6Smaya    .txc = ISL_TXC_NONE,
120810e230b6Smaya  },
120910e230b6Smaya
121010e230b6Smaya  [ISL_FORMAT_R32G32_UNORM] = {
121110e230b6Smaya    .format = ISL_FORMAT_R32G32_UNORM,
121210e230b6Smaya    .bpb = 64,
121310e230b6Smaya    .bw = 1,
121410e230b6Smaya    .bh = 1,
121510e230b6Smaya    .bd = 1,
121610e230b6Smaya    .channels = {
121710e230b6Smaya              .r = { ISL_UNORM, 0, 32 },
121810e230b6Smaya              .g = { ISL_UNORM, 32, 32 },
121910e230b6Smaya              .b = {},
122010e230b6Smaya              .a = {},
122110e230b6Smaya              .l = {},
122210e230b6Smaya              .i = {},
122310e230b6Smaya              .p = {},
122410e230b6Smaya    },
122596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
122610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
122710e230b6Smaya    .txc = ISL_TXC_NONE,
122810e230b6Smaya  },
122910e230b6Smaya
123010e230b6Smaya  [ISL_FORMAT_R32G32_SNORM] = {
123110e230b6Smaya    .format = ISL_FORMAT_R32G32_SNORM,
123210e230b6Smaya    .bpb = 64,
123310e230b6Smaya    .bw = 1,
123410e230b6Smaya    .bh = 1,
123510e230b6Smaya    .bd = 1,
123610e230b6Smaya    .channels = {
123710e230b6Smaya              .r = { ISL_SNORM, 0, 32 },
123810e230b6Smaya              .g = { ISL_SNORM, 32, 32 },
123910e230b6Smaya              .b = {},
124010e230b6Smaya              .a = {},
124110e230b6Smaya              .l = {},
124210e230b6Smaya              .i = {},
124310e230b6Smaya              .p = {},
124410e230b6Smaya    },
124596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
124610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
124710e230b6Smaya    .txc = ISL_TXC_NONE,
124810e230b6Smaya  },
124910e230b6Smaya
125010e230b6Smaya  [ISL_FORMAT_R64_FLOAT] = {
125110e230b6Smaya    .format = ISL_FORMAT_R64_FLOAT,
125210e230b6Smaya    .bpb = 64,
125310e230b6Smaya    .bw = 1,
125410e230b6Smaya    .bh = 1,
125510e230b6Smaya    .bd = 1,
125610e230b6Smaya    .channels = {
125710e230b6Smaya              .r = { ISL_SFLOAT, 0, 64 },
125810e230b6Smaya              .g = {},
125910e230b6Smaya              .b = {},
126010e230b6Smaya              .a = {},
126110e230b6Smaya              .l = {},
126210e230b6Smaya              .i = {},
126310e230b6Smaya              .p = {},
126410e230b6Smaya    },
126596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
126610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
126710e230b6Smaya    .txc = ISL_TXC_NONE,
126810e230b6Smaya  },
126910e230b6Smaya
127010e230b6Smaya  [ISL_FORMAT_R16G16B16X16_UNORM] = {
127110e230b6Smaya    .format = ISL_FORMAT_R16G16B16X16_UNORM,
127210e230b6Smaya    .bpb = 64,
127310e230b6Smaya    .bw = 1,
127410e230b6Smaya    .bh = 1,
127510e230b6Smaya    .bd = 1,
127610e230b6Smaya    .channels = {
127710e230b6Smaya              .r = { ISL_UNORM, 0, 16 },
127810e230b6Smaya              .g = { ISL_UNORM, 16, 16 },
127910e230b6Smaya              .b = { ISL_UNORM, 32, 16 },
128010e230b6Smaya              .a = { ISL_VOID, 48, 16 },
128110e230b6Smaya              .l = {},
128210e230b6Smaya              .i = {},
128310e230b6Smaya              .p = {},
128410e230b6Smaya    },
128596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
128610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
128710e230b6Smaya    .txc = ISL_TXC_NONE,
128810e230b6Smaya  },
128910e230b6Smaya
129010e230b6Smaya  [ISL_FORMAT_R16G16B16X16_FLOAT] = {
129110e230b6Smaya    .format = ISL_FORMAT_R16G16B16X16_FLOAT,
129210e230b6Smaya    .bpb = 64,
129310e230b6Smaya    .bw = 1,
129410e230b6Smaya    .bh = 1,
129510e230b6Smaya    .bd = 1,
129610e230b6Smaya    .channels = {
129710e230b6Smaya              .r = { ISL_SFLOAT, 0, 16 },
129810e230b6Smaya              .g = { ISL_SFLOAT, 16, 16 },
129910e230b6Smaya              .b = { ISL_SFLOAT, 32, 16 },
130010e230b6Smaya              .a = { ISL_VOID, 48, 16 },
130110e230b6Smaya              .l = {},
130210e230b6Smaya              .i = {},
130310e230b6Smaya              .p = {},
130410e230b6Smaya    },
130596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
130610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
130710e230b6Smaya    .txc = ISL_TXC_NONE,
130810e230b6Smaya  },
130910e230b6Smaya
131010e230b6Smaya  [ISL_FORMAT_A32X32_FLOAT] = {
131110e230b6Smaya    .format = ISL_FORMAT_A32X32_FLOAT,
131210e230b6Smaya    .bpb = 64,
131310e230b6Smaya    .bw = 1,
131410e230b6Smaya    .bh = 1,
131510e230b6Smaya    .bd = 1,
131610e230b6Smaya    .channels = {
131710e230b6Smaya              .r = {},
131810e230b6Smaya              .g = {},
131910e230b6Smaya              .b = {},
132010e230b6Smaya              .a = { ISL_SFLOAT, 0, 32 },
132110e230b6Smaya              .l = { ISL_VOID, 32, 32 },
132210e230b6Smaya              .i = {},
132310e230b6Smaya              .p = {},
132410e230b6Smaya    },
132596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
132610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
132710e230b6Smaya    .txc = ISL_TXC_NONE,
132810e230b6Smaya  },
132910e230b6Smaya
133010e230b6Smaya  [ISL_FORMAT_L32X32_FLOAT] = {
133110e230b6Smaya    .format = ISL_FORMAT_L32X32_FLOAT,
133210e230b6Smaya    .bpb = 64,
133310e230b6Smaya    .bw = 1,
133410e230b6Smaya    .bh = 1,
133510e230b6Smaya    .bd = 1,
133610e230b6Smaya    .channels = {
133710e230b6Smaya              .r = {},
133810e230b6Smaya              .g = {},
133910e230b6Smaya              .b = {},
134010e230b6Smaya              .a = { ISL_VOID, 32, 32 },
134110e230b6Smaya              .l = { ISL_SFLOAT, 0, 32 },
134210e230b6Smaya              .i = {},
134310e230b6Smaya              .p = {},
134410e230b6Smaya    },
134596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
134610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
134710e230b6Smaya    .txc = ISL_TXC_NONE,
134810e230b6Smaya  },
134910e230b6Smaya
135010e230b6Smaya  [ISL_FORMAT_I32X32_FLOAT] = {
135110e230b6Smaya    .format = ISL_FORMAT_I32X32_FLOAT,
135210e230b6Smaya    .bpb = 64,
135310e230b6Smaya    .bw = 1,
135410e230b6Smaya    .bh = 1,
135510e230b6Smaya    .bd = 1,
135610e230b6Smaya    .channels = {
135710e230b6Smaya              .r = {},
135810e230b6Smaya              .g = {},
135910e230b6Smaya              .b = {},
136010e230b6Smaya              .a = { ISL_VOID, 32, 32 },
136110e230b6Smaya              .l = {},
136210e230b6Smaya              .i = { ISL_SFLOAT, 0, 32 },
136310e230b6Smaya              .p = {},
136410e230b6Smaya    },
136596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
136610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
136710e230b6Smaya    .txc = ISL_TXC_NONE,
136810e230b6Smaya  },
136910e230b6Smaya
137010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_SSCALED] = {
137110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_SSCALED,
137210e230b6Smaya    .bpb = 64,
137310e230b6Smaya    .bw = 1,
137410e230b6Smaya    .bh = 1,
137510e230b6Smaya    .bd = 1,
137610e230b6Smaya    .channels = {
137710e230b6Smaya              .r = { ISL_SSCALED, 0, 16 },
137810e230b6Smaya              .g = { ISL_SSCALED, 16, 16 },
137910e230b6Smaya              .b = { ISL_SSCALED, 32, 16 },
138010e230b6Smaya              .a = { ISL_SSCALED, 48, 16 },
138110e230b6Smaya              .l = {},
138210e230b6Smaya              .i = {},
138310e230b6Smaya              .p = {},
138410e230b6Smaya    },
138596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
138610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
138710e230b6Smaya    .txc = ISL_TXC_NONE,
138810e230b6Smaya  },
138910e230b6Smaya
139010e230b6Smaya  [ISL_FORMAT_R16G16B16A16_USCALED] = {
139110e230b6Smaya    .format = ISL_FORMAT_R16G16B16A16_USCALED,
139210e230b6Smaya    .bpb = 64,
139310e230b6Smaya    .bw = 1,
139410e230b6Smaya    .bh = 1,
139510e230b6Smaya    .bd = 1,
139610e230b6Smaya    .channels = {
139710e230b6Smaya              .r = { ISL_USCALED, 0, 16 },
139810e230b6Smaya              .g = { ISL_USCALED, 16, 16 },
139910e230b6Smaya              .b = { ISL_USCALED, 32, 16 },
140010e230b6Smaya              .a = { ISL_USCALED, 48, 16 },
140110e230b6Smaya              .l = {},
140210e230b6Smaya              .i = {},
140310e230b6Smaya              .p = {},
140410e230b6Smaya    },
140596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
140610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
140710e230b6Smaya    .txc = ISL_TXC_NONE,
140810e230b6Smaya  },
140910e230b6Smaya
141010e230b6Smaya  [ISL_FORMAT_R32G32_SSCALED] = {
141110e230b6Smaya    .format = ISL_FORMAT_R32G32_SSCALED,
141210e230b6Smaya    .bpb = 64,
141310e230b6Smaya    .bw = 1,
141410e230b6Smaya    .bh = 1,
141510e230b6Smaya    .bd = 1,
141610e230b6Smaya    .channels = {
141710e230b6Smaya              .r = { ISL_SSCALED, 0, 32 },
141810e230b6Smaya              .g = { ISL_SSCALED, 32, 32 },
141910e230b6Smaya              .b = {},
142010e230b6Smaya              .a = {},
142110e230b6Smaya              .l = {},
142210e230b6Smaya              .i = {},
142310e230b6Smaya              .p = {},
142410e230b6Smaya    },
142596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
142610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
142710e230b6Smaya    .txc = ISL_TXC_NONE,
142810e230b6Smaya  },
142910e230b6Smaya
143010e230b6Smaya  [ISL_FORMAT_R32G32_USCALED] = {
143110e230b6Smaya    .format = ISL_FORMAT_R32G32_USCALED,
143210e230b6Smaya    .bpb = 64,
143310e230b6Smaya    .bw = 1,
143410e230b6Smaya    .bh = 1,
143510e230b6Smaya    .bd = 1,
143610e230b6Smaya    .channels = {
143710e230b6Smaya              .r = { ISL_USCALED, 0, 32 },
143810e230b6Smaya              .g = { ISL_USCALED, 32, 32 },
143910e230b6Smaya              .b = {},
144010e230b6Smaya              .a = {},
144110e230b6Smaya              .l = {},
144210e230b6Smaya              .i = {},
144310e230b6Smaya              .p = {},
144410e230b6Smaya    },
144596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
144610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
144710e230b6Smaya    .txc = ISL_TXC_NONE,
144810e230b6Smaya  },
144910e230b6Smaya
145010e230b6Smaya  [ISL_FORMAT_R32G32_FLOAT_LD] = {
145110e230b6Smaya    .format = ISL_FORMAT_R32G32_FLOAT_LD,
145210e230b6Smaya    .bpb = 64,
145310e230b6Smaya    .bw = 1,
145410e230b6Smaya    .bh = 1,
145510e230b6Smaya    .bd = 1,
145610e230b6Smaya    .channels = {
145710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
145810e230b6Smaya              .g = { ISL_SFLOAT, 32, 32 },
145910e230b6Smaya              .b = {},
146010e230b6Smaya              .a = {},
146110e230b6Smaya              .l = {},
146210e230b6Smaya              .i = {},
146310e230b6Smaya              .p = {},
146410e230b6Smaya    },
146596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
146610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
146710e230b6Smaya    .txc = ISL_TXC_NONE,
146810e230b6Smaya  },
146910e230b6Smaya
147010e230b6Smaya  [ISL_FORMAT_R32G32_SFIXED] = {
147110e230b6Smaya    .format = ISL_FORMAT_R32G32_SFIXED,
147210e230b6Smaya    .bpb = 64,
147310e230b6Smaya    .bw = 1,
147410e230b6Smaya    .bh = 1,
147510e230b6Smaya    .bd = 1,
147610e230b6Smaya    .channels = {
147710e230b6Smaya              .r = { ISL_SFIXED, 0, 32 },
147810e230b6Smaya              .g = { ISL_SFIXED, 32, 32 },
147910e230b6Smaya              .b = {},
148010e230b6Smaya              .a = {},
148110e230b6Smaya              .l = {},
148210e230b6Smaya              .i = {},
148310e230b6Smaya              .p = {},
148410e230b6Smaya    },
148596c5ddc4Srjs    .uniform_channel_type = ISL_SFIXED,
148610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
148710e230b6Smaya    .txc = ISL_TXC_NONE,
148810e230b6Smaya  },
148910e230b6Smaya
149010e230b6Smaya  [ISL_FORMAT_R64_PASSTHRU] = {
149110e230b6Smaya    .format = ISL_FORMAT_R64_PASSTHRU,
149210e230b6Smaya    .bpb = 64,
149310e230b6Smaya    .bw = 1,
149410e230b6Smaya    .bh = 1,
149510e230b6Smaya    .bd = 1,
149610e230b6Smaya    .channels = {
149710e230b6Smaya              .r = { ISL_RAW, 0, 64 },
149810e230b6Smaya              .g = {},
149910e230b6Smaya              .b = {},
150010e230b6Smaya              .a = {},
150110e230b6Smaya              .l = {},
150210e230b6Smaya              .i = {},
150310e230b6Smaya              .p = {},
150410e230b6Smaya    },
150596c5ddc4Srjs    .uniform_channel_type = ISL_RAW,
150610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
150710e230b6Smaya    .txc = ISL_TXC_NONE,
150810e230b6Smaya  },
150910e230b6Smaya
151010e230b6Smaya  [ISL_FORMAT_B8G8R8A8_UNORM] = {
151110e230b6Smaya    .format = ISL_FORMAT_B8G8R8A8_UNORM,
151210e230b6Smaya    .bpb = 32,
151310e230b6Smaya    .bw = 1,
151410e230b6Smaya    .bh = 1,
151510e230b6Smaya    .bd = 1,
151610e230b6Smaya    .channels = {
151710e230b6Smaya              .r = { ISL_UNORM, 16, 8 },
151810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
151910e230b6Smaya              .b = { ISL_UNORM, 0, 8 },
152010e230b6Smaya              .a = { ISL_UNORM, 24, 8 },
152110e230b6Smaya              .l = {},
152210e230b6Smaya              .i = {},
152310e230b6Smaya              .p = {},
152410e230b6Smaya    },
152596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
152610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
152710e230b6Smaya    .txc = ISL_TXC_NONE,
152810e230b6Smaya  },
152910e230b6Smaya
153010e230b6Smaya  [ISL_FORMAT_B8G8R8A8_UNORM_SRGB] = {
153110e230b6Smaya    .format = ISL_FORMAT_B8G8R8A8_UNORM_SRGB,
153210e230b6Smaya    .bpb = 32,
153310e230b6Smaya    .bw = 1,
153410e230b6Smaya    .bh = 1,
153510e230b6Smaya    .bd = 1,
153610e230b6Smaya    .channels = {
153710e230b6Smaya              .r = { ISL_UNORM, 16, 8 },
153810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
153910e230b6Smaya              .b = { ISL_UNORM, 0, 8 },
154010e230b6Smaya              .a = { ISL_UNORM, 24, 8 },
154110e230b6Smaya              .l = {},
154210e230b6Smaya              .i = {},
154310e230b6Smaya              .p = {},
154410e230b6Smaya    },
154596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
154610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
154710e230b6Smaya    .txc = ISL_TXC_NONE,
154810e230b6Smaya  },
154910e230b6Smaya
155010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_UNORM] = {
155110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_UNORM,
155210e230b6Smaya    .bpb = 32,
155310e230b6Smaya    .bw = 1,
155410e230b6Smaya    .bh = 1,
155510e230b6Smaya    .bd = 1,
155610e230b6Smaya    .channels = {
155710e230b6Smaya              .r = { ISL_UNORM, 0, 10 },
155810e230b6Smaya              .g = { ISL_UNORM, 10, 10 },
155910e230b6Smaya              .b = { ISL_UNORM, 20, 10 },
156010e230b6Smaya              .a = { ISL_UNORM, 30, 2 },
156110e230b6Smaya              .l = {},
156210e230b6Smaya              .i = {},
156310e230b6Smaya              .p = {},
156410e230b6Smaya    },
156596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
156610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
156710e230b6Smaya    .txc = ISL_TXC_NONE,
156810e230b6Smaya  },
156910e230b6Smaya
157010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_UNORM_SRGB] = {
157110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_UNORM_SRGB,
157210e230b6Smaya    .bpb = 32,
157310e230b6Smaya    .bw = 1,
157410e230b6Smaya    .bh = 1,
157510e230b6Smaya    .bd = 1,
157610e230b6Smaya    .channels = {
157710e230b6Smaya              .r = { ISL_UNORM, 0, 10 },
157810e230b6Smaya              .g = { ISL_UNORM, 10, 10 },
157910e230b6Smaya              .b = { ISL_UNORM, 20, 10 },
158010e230b6Smaya              .a = { ISL_UNORM, 30, 2 },
158110e230b6Smaya              .l = {},
158210e230b6Smaya              .i = {},
158310e230b6Smaya              .p = {},
158410e230b6Smaya    },
158596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
158610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
158710e230b6Smaya    .txc = ISL_TXC_NONE,
158810e230b6Smaya  },
158910e230b6Smaya
159010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_UINT] = {
159110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_UINT,
159210e230b6Smaya    .bpb = 32,
159310e230b6Smaya    .bw = 1,
159410e230b6Smaya    .bh = 1,
159510e230b6Smaya    .bd = 1,
159610e230b6Smaya    .channels = {
159710e230b6Smaya              .r = { ISL_UINT, 0, 10 },
159810e230b6Smaya              .g = { ISL_UINT, 10, 10 },
159910e230b6Smaya              .b = { ISL_UINT, 20, 10 },
160010e230b6Smaya              .a = { ISL_UINT, 30, 2 },
160110e230b6Smaya              .l = {},
160210e230b6Smaya              .i = {},
160310e230b6Smaya              .p = {},
160410e230b6Smaya    },
160596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
160610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
160710e230b6Smaya    .txc = ISL_TXC_NONE,
160810e230b6Smaya  },
160910e230b6Smaya
161010e230b6Smaya  [ISL_FORMAT_R10G10B10_SNORM_A2_UNORM] = {
161110e230b6Smaya    .format = ISL_FORMAT_R10G10B10_SNORM_A2_UNORM,
161210e230b6Smaya    .bpb = 32,
161310e230b6Smaya    .bw = 1,
161410e230b6Smaya    .bh = 1,
161510e230b6Smaya    .bd = 1,
161610e230b6Smaya    .channels = {
161710e230b6Smaya              .r = { ISL_SNORM, 0, 10 },
161810e230b6Smaya              .g = { ISL_SNORM, 10, 10 },
161910e230b6Smaya              .b = { ISL_SNORM, 20, 10 },
162010e230b6Smaya              .a = { ISL_UNORM, 30, 2 },
162110e230b6Smaya              .l = {},
162210e230b6Smaya              .i = {},
162310e230b6Smaya              .p = {},
162410e230b6Smaya    },
162596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
162610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
162710e230b6Smaya    .txc = ISL_TXC_NONE,
162810e230b6Smaya  },
162910e230b6Smaya
163010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_UNORM] = {
163110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_UNORM,
163210e230b6Smaya    .bpb = 32,
163310e230b6Smaya    .bw = 1,
163410e230b6Smaya    .bh = 1,
163510e230b6Smaya    .bd = 1,
163610e230b6Smaya    .channels = {
163710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
163810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
163910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
164010e230b6Smaya              .a = { ISL_UNORM, 24, 8 },
164110e230b6Smaya              .l = {},
164210e230b6Smaya              .i = {},
164310e230b6Smaya              .p = {},
164410e230b6Smaya    },
164596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
164610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
164710e230b6Smaya    .txc = ISL_TXC_NONE,
164810e230b6Smaya  },
164910e230b6Smaya
165010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_UNORM_SRGB] = {
165110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_UNORM_SRGB,
165210e230b6Smaya    .bpb = 32,
165310e230b6Smaya    .bw = 1,
165410e230b6Smaya    .bh = 1,
165510e230b6Smaya    .bd = 1,
165610e230b6Smaya    .channels = {
165710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
165810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
165910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
166010e230b6Smaya              .a = { ISL_UNORM, 24, 8 },
166110e230b6Smaya              .l = {},
166210e230b6Smaya              .i = {},
166310e230b6Smaya              .p = {},
166410e230b6Smaya    },
166596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
166610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
166710e230b6Smaya    .txc = ISL_TXC_NONE,
166810e230b6Smaya  },
166910e230b6Smaya
167010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_SNORM] = {
167110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_SNORM,
167210e230b6Smaya    .bpb = 32,
167310e230b6Smaya    .bw = 1,
167410e230b6Smaya    .bh = 1,
167510e230b6Smaya    .bd = 1,
167610e230b6Smaya    .channels = {
167710e230b6Smaya              .r = { ISL_SNORM, 0, 8 },
167810e230b6Smaya              .g = { ISL_SNORM, 8, 8 },
167910e230b6Smaya              .b = { ISL_SNORM, 16, 8 },
168010e230b6Smaya              .a = { ISL_SNORM, 24, 8 },
168110e230b6Smaya              .l = {},
168210e230b6Smaya              .i = {},
168310e230b6Smaya              .p = {},
168410e230b6Smaya    },
168596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
168610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
168710e230b6Smaya    .txc = ISL_TXC_NONE,
168810e230b6Smaya  },
168910e230b6Smaya
169010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_SINT] = {
169110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_SINT,
169210e230b6Smaya    .bpb = 32,
169310e230b6Smaya    .bw = 1,
169410e230b6Smaya    .bh = 1,
169510e230b6Smaya    .bd = 1,
169610e230b6Smaya    .channels = {
169710e230b6Smaya              .r = { ISL_SINT, 0, 8 },
169810e230b6Smaya              .g = { ISL_SINT, 8, 8 },
169910e230b6Smaya              .b = { ISL_SINT, 16, 8 },
170010e230b6Smaya              .a = { ISL_SINT, 24, 8 },
170110e230b6Smaya              .l = {},
170210e230b6Smaya              .i = {},
170310e230b6Smaya              .p = {},
170410e230b6Smaya    },
170596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
170610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
170710e230b6Smaya    .txc = ISL_TXC_NONE,
170810e230b6Smaya  },
170910e230b6Smaya
171010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_UINT] = {
171110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_UINT,
171210e230b6Smaya    .bpb = 32,
171310e230b6Smaya    .bw = 1,
171410e230b6Smaya    .bh = 1,
171510e230b6Smaya    .bd = 1,
171610e230b6Smaya    .channels = {
171710e230b6Smaya              .r = { ISL_UINT, 0, 8 },
171810e230b6Smaya              .g = { ISL_UINT, 8, 8 },
171910e230b6Smaya              .b = { ISL_UINT, 16, 8 },
172010e230b6Smaya              .a = { ISL_UINT, 24, 8 },
172110e230b6Smaya              .l = {},
172210e230b6Smaya              .i = {},
172310e230b6Smaya              .p = {},
172410e230b6Smaya    },
172596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
172610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
172710e230b6Smaya    .txc = ISL_TXC_NONE,
172810e230b6Smaya  },
172910e230b6Smaya
173010e230b6Smaya  [ISL_FORMAT_R16G16_UNORM] = {
173110e230b6Smaya    .format = ISL_FORMAT_R16G16_UNORM,
173210e230b6Smaya    .bpb = 32,
173310e230b6Smaya    .bw = 1,
173410e230b6Smaya    .bh = 1,
173510e230b6Smaya    .bd = 1,
173610e230b6Smaya    .channels = {
173710e230b6Smaya              .r = { ISL_UNORM, 0, 16 },
173810e230b6Smaya              .g = { ISL_UNORM, 16, 16 },
173910e230b6Smaya              .b = {},
174010e230b6Smaya              .a = {},
174110e230b6Smaya              .l = {},
174210e230b6Smaya              .i = {},
174310e230b6Smaya              .p = {},
174410e230b6Smaya    },
174596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
174610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
174710e230b6Smaya    .txc = ISL_TXC_NONE,
174810e230b6Smaya  },
174910e230b6Smaya
175010e230b6Smaya  [ISL_FORMAT_R16G16_SNORM] = {
175110e230b6Smaya    .format = ISL_FORMAT_R16G16_SNORM,
175210e230b6Smaya    .bpb = 32,
175310e230b6Smaya    .bw = 1,
175410e230b6Smaya    .bh = 1,
175510e230b6Smaya    .bd = 1,
175610e230b6Smaya    .channels = {
175710e230b6Smaya              .r = { ISL_SNORM, 0, 16 },
175810e230b6Smaya              .g = { ISL_SNORM, 16, 16 },
175910e230b6Smaya              .b = {},
176010e230b6Smaya              .a = {},
176110e230b6Smaya              .l = {},
176210e230b6Smaya              .i = {},
176310e230b6Smaya              .p = {},
176410e230b6Smaya    },
176596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
176610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
176710e230b6Smaya    .txc = ISL_TXC_NONE,
176810e230b6Smaya  },
176910e230b6Smaya
177010e230b6Smaya  [ISL_FORMAT_R16G16_SINT] = {
177110e230b6Smaya    .format = ISL_FORMAT_R16G16_SINT,
177210e230b6Smaya    .bpb = 32,
177310e230b6Smaya    .bw = 1,
177410e230b6Smaya    .bh = 1,
177510e230b6Smaya    .bd = 1,
177610e230b6Smaya    .channels = {
177710e230b6Smaya              .r = { ISL_SINT, 0, 16 },
177810e230b6Smaya              .g = { ISL_SINT, 16, 16 },
177910e230b6Smaya              .b = {},
178010e230b6Smaya              .a = {},
178110e230b6Smaya              .l = {},
178210e230b6Smaya              .i = {},
178310e230b6Smaya              .p = {},
178410e230b6Smaya    },
178596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
178610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
178710e230b6Smaya    .txc = ISL_TXC_NONE,
178810e230b6Smaya  },
178910e230b6Smaya
179010e230b6Smaya  [ISL_FORMAT_R16G16_UINT] = {
179110e230b6Smaya    .format = ISL_FORMAT_R16G16_UINT,
179210e230b6Smaya    .bpb = 32,
179310e230b6Smaya    .bw = 1,
179410e230b6Smaya    .bh = 1,
179510e230b6Smaya    .bd = 1,
179610e230b6Smaya    .channels = {
179710e230b6Smaya              .r = { ISL_UINT, 0, 16 },
179810e230b6Smaya              .g = { ISL_UINT, 16, 16 },
179910e230b6Smaya              .b = {},
180010e230b6Smaya              .a = {},
180110e230b6Smaya              .l = {},
180210e230b6Smaya              .i = {},
180310e230b6Smaya              .p = {},
180410e230b6Smaya    },
180596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
180610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
180710e230b6Smaya    .txc = ISL_TXC_NONE,
180810e230b6Smaya  },
180910e230b6Smaya
181010e230b6Smaya  [ISL_FORMAT_R16G16_FLOAT] = {
181110e230b6Smaya    .format = ISL_FORMAT_R16G16_FLOAT,
181210e230b6Smaya    .bpb = 32,
181310e230b6Smaya    .bw = 1,
181410e230b6Smaya    .bh = 1,
181510e230b6Smaya    .bd = 1,
181610e230b6Smaya    .channels = {
181710e230b6Smaya              .r = { ISL_SFLOAT, 0, 16 },
181810e230b6Smaya              .g = { ISL_SFLOAT, 16, 16 },
181910e230b6Smaya              .b = {},
182010e230b6Smaya              .a = {},
182110e230b6Smaya              .l = {},
182210e230b6Smaya              .i = {},
182310e230b6Smaya              .p = {},
182410e230b6Smaya    },
182596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
182610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
182710e230b6Smaya    .txc = ISL_TXC_NONE,
182810e230b6Smaya  },
182910e230b6Smaya
183010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_UNORM] = {
183110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_UNORM,
183210e230b6Smaya    .bpb = 32,
183310e230b6Smaya    .bw = 1,
183410e230b6Smaya    .bh = 1,
183510e230b6Smaya    .bd = 1,
183610e230b6Smaya    .channels = {
183710e230b6Smaya              .r = { ISL_UNORM, 20, 10 },
183810e230b6Smaya              .g = { ISL_UNORM, 10, 10 },
183910e230b6Smaya              .b = { ISL_UNORM, 0, 10 },
184010e230b6Smaya              .a = { ISL_UNORM, 30, 2 },
184110e230b6Smaya              .l = {},
184210e230b6Smaya              .i = {},
184310e230b6Smaya              .p = {},
184410e230b6Smaya    },
184596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
184610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
184710e230b6Smaya    .txc = ISL_TXC_NONE,
184810e230b6Smaya  },
184910e230b6Smaya
185010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_UNORM_SRGB] = {
185110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_UNORM_SRGB,
185210e230b6Smaya    .bpb = 32,
185310e230b6Smaya    .bw = 1,
185410e230b6Smaya    .bh = 1,
185510e230b6Smaya    .bd = 1,
185610e230b6Smaya    .channels = {
185710e230b6Smaya              .r = { ISL_UNORM, 20, 10 },
185810e230b6Smaya              .g = { ISL_UNORM, 10, 10 },
185910e230b6Smaya              .b = { ISL_UNORM, 0, 10 },
186010e230b6Smaya              .a = { ISL_UNORM, 30, 2 },
186110e230b6Smaya              .l = {},
186210e230b6Smaya              .i = {},
186310e230b6Smaya              .p = {},
186410e230b6Smaya    },
186596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
186610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
186710e230b6Smaya    .txc = ISL_TXC_NONE,
186810e230b6Smaya  },
186910e230b6Smaya
187010e230b6Smaya  [ISL_FORMAT_R11G11B10_FLOAT] = {
187110e230b6Smaya    .format = ISL_FORMAT_R11G11B10_FLOAT,
187210e230b6Smaya    .bpb = 32,
187310e230b6Smaya    .bw = 1,
187410e230b6Smaya    .bh = 1,
187510e230b6Smaya    .bd = 1,
187610e230b6Smaya    .channels = {
187710e230b6Smaya              .r = { ISL_UFLOAT, 0, 11 },
187810e230b6Smaya              .g = { ISL_UFLOAT, 11, 11 },
187910e230b6Smaya              .b = { ISL_UFLOAT, 22, 10 },
188010e230b6Smaya              .a = {},
188110e230b6Smaya              .l = {},
188210e230b6Smaya              .i = {},
188310e230b6Smaya              .p = {},
188410e230b6Smaya    },
188596c5ddc4Srjs    .uniform_channel_type = ISL_UFLOAT,
188696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_LINEAR,
188796c5ddc4Srjs    .txc = ISL_TXC_NONE,
188896c5ddc4Srjs  },
188996c5ddc4Srjs
189096c5ddc4Srjs  [ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM] = {
189196c5ddc4Srjs    .format = ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM,
189296c5ddc4Srjs    .bpb = 32,
189396c5ddc4Srjs    .bw = 1,
189496c5ddc4Srjs    .bh = 1,
189596c5ddc4Srjs    .bd = 1,
189696c5ddc4Srjs    .channels = {
189796c5ddc4Srjs              .r = { ISL_UFLOAT, 0, 10 },
189896c5ddc4Srjs              .g = { ISL_UFLOAT, 10, 10 },
189996c5ddc4Srjs              .b = { ISL_UFLOAT, 20, 10 },
190096c5ddc4Srjs              .a = { ISL_UNORM, 30, 2 },
190196c5ddc4Srjs              .l = {},
190296c5ddc4Srjs              .i = {},
190396c5ddc4Srjs              .p = {},
190496c5ddc4Srjs    },
190596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
190610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
190710e230b6Smaya    .txc = ISL_TXC_NONE,
190810e230b6Smaya  },
190910e230b6Smaya
191010e230b6Smaya  [ISL_FORMAT_R32_SINT] = {
191110e230b6Smaya    .format = ISL_FORMAT_R32_SINT,
191210e230b6Smaya    .bpb = 32,
191310e230b6Smaya    .bw = 1,
191410e230b6Smaya    .bh = 1,
191510e230b6Smaya    .bd = 1,
191610e230b6Smaya    .channels = {
191710e230b6Smaya              .r = { ISL_SINT, 0, 32 },
191810e230b6Smaya              .g = {},
191910e230b6Smaya              .b = {},
192010e230b6Smaya              .a = {},
192110e230b6Smaya              .l = {},
192210e230b6Smaya              .i = {},
192310e230b6Smaya              .p = {},
192410e230b6Smaya    },
192596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
192610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
192710e230b6Smaya    .txc = ISL_TXC_NONE,
192810e230b6Smaya  },
192910e230b6Smaya
193010e230b6Smaya  [ISL_FORMAT_R32_UINT] = {
193110e230b6Smaya    .format = ISL_FORMAT_R32_UINT,
193210e230b6Smaya    .bpb = 32,
193310e230b6Smaya    .bw = 1,
193410e230b6Smaya    .bh = 1,
193510e230b6Smaya    .bd = 1,
193610e230b6Smaya    .channels = {
193710e230b6Smaya              .r = { ISL_UINT, 0, 32 },
193810e230b6Smaya              .g = {},
193910e230b6Smaya              .b = {},
194010e230b6Smaya              .a = {},
194110e230b6Smaya              .l = {},
194210e230b6Smaya              .i = {},
194310e230b6Smaya              .p = {},
194410e230b6Smaya    },
194596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
194610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
194710e230b6Smaya    .txc = ISL_TXC_NONE,
194810e230b6Smaya  },
194910e230b6Smaya
195010e230b6Smaya  [ISL_FORMAT_R32_FLOAT] = {
195110e230b6Smaya    .format = ISL_FORMAT_R32_FLOAT,
195210e230b6Smaya    .bpb = 32,
195310e230b6Smaya    .bw = 1,
195410e230b6Smaya    .bh = 1,
195510e230b6Smaya    .bd = 1,
195610e230b6Smaya    .channels = {
195710e230b6Smaya              .r = { ISL_SFLOAT, 0, 32 },
195810e230b6Smaya              .g = {},
195910e230b6Smaya              .b = {},
196010e230b6Smaya              .a = {},
196110e230b6Smaya              .l = {},
196210e230b6Smaya              .i = {},
196310e230b6Smaya              .p = {},
196410e230b6Smaya    },
196596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
196610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
196710e230b6Smaya    .txc = ISL_TXC_NONE,
196810e230b6Smaya  },
196910e230b6Smaya
197010e230b6Smaya  [ISL_FORMAT_R24_UNORM_X8_TYPELESS] = {
197110e230b6Smaya    .format = ISL_FORMAT_R24_UNORM_X8_TYPELESS,
197210e230b6Smaya    .bpb = 32,
197310e230b6Smaya    .bw = 1,
197410e230b6Smaya    .bh = 1,
197510e230b6Smaya    .bd = 1,
197610e230b6Smaya    .channels = {
197710e230b6Smaya              .r = { ISL_UNORM, 0, 24 },
197810e230b6Smaya              .g = { ISL_VOID, 24, 8 },
197910e230b6Smaya              .b = {},
198010e230b6Smaya              .a = {},
198110e230b6Smaya              .l = {},
198210e230b6Smaya              .i = {},
198310e230b6Smaya              .p = {},
198410e230b6Smaya    },
198596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
198610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
198710e230b6Smaya    .txc = ISL_TXC_NONE,
198810e230b6Smaya  },
198910e230b6Smaya
199010e230b6Smaya  [ISL_FORMAT_X24_TYPELESS_G8_UINT] = {
199110e230b6Smaya    .format = ISL_FORMAT_X24_TYPELESS_G8_UINT,
199210e230b6Smaya    .bpb = 32,
199310e230b6Smaya    .bw = 1,
199410e230b6Smaya    .bh = 1,
199510e230b6Smaya    .bd = 1,
199610e230b6Smaya    .channels = {
199710e230b6Smaya              .r = { ISL_VOID, 0, 24 },
199810e230b6Smaya              .g = { ISL_UINT, 24, 8 },
199910e230b6Smaya              .b = {},
200010e230b6Smaya              .a = {},
200110e230b6Smaya              .l = {},
200210e230b6Smaya              .i = {},
200310e230b6Smaya              .p = {},
200410e230b6Smaya    },
200596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
200610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
200710e230b6Smaya    .txc = ISL_TXC_NONE,
200810e230b6Smaya  },
200910e230b6Smaya
201010e230b6Smaya  [ISL_FORMAT_L32_UNORM] = {
201110e230b6Smaya    .format = ISL_FORMAT_L32_UNORM,
201210e230b6Smaya    .bpb = 32,
201310e230b6Smaya    .bw = 1,
201410e230b6Smaya    .bh = 1,
201510e230b6Smaya    .bd = 1,
201610e230b6Smaya    .channels = {
201710e230b6Smaya              .r = {},
201810e230b6Smaya              .g = {},
201910e230b6Smaya              .b = {},
202010e230b6Smaya              .a = {},
202110e230b6Smaya              .l = { ISL_UNORM, 0, 32 },
202210e230b6Smaya              .i = {},
202310e230b6Smaya              .p = {},
202410e230b6Smaya    },
202596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
202610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
202710e230b6Smaya    .txc = ISL_TXC_NONE,
202810e230b6Smaya  },
202910e230b6Smaya
203010e230b6Smaya  [ISL_FORMAT_A32_UNORM] = {
203110e230b6Smaya    .format = ISL_FORMAT_A32_UNORM,
203210e230b6Smaya    .bpb = 32,
203310e230b6Smaya    .bw = 1,
203410e230b6Smaya    .bh = 1,
203510e230b6Smaya    .bd = 1,
203610e230b6Smaya    .channels = {
203710e230b6Smaya              .r = {},
203810e230b6Smaya              .g = {},
203910e230b6Smaya              .b = {},
204010e230b6Smaya              .a = { ISL_UNORM, 0, 32 },
204110e230b6Smaya              .l = {},
204210e230b6Smaya              .i = {},
204310e230b6Smaya              .p = {},
204410e230b6Smaya    },
204596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
204610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
204710e230b6Smaya    .txc = ISL_TXC_NONE,
204810e230b6Smaya  },
204910e230b6Smaya
205010e230b6Smaya  [ISL_FORMAT_L16A16_UNORM] = {
205110e230b6Smaya    .format = ISL_FORMAT_L16A16_UNORM,
205210e230b6Smaya    .bpb = 32,
205310e230b6Smaya    .bw = 1,
205410e230b6Smaya    .bh = 1,
205510e230b6Smaya    .bd = 1,
205610e230b6Smaya    .channels = {
205710e230b6Smaya              .r = {},
205810e230b6Smaya              .g = {},
205910e230b6Smaya              .b = {},
206010e230b6Smaya              .a = { ISL_UNORM, 16, 16 },
206110e230b6Smaya              .l = { ISL_UNORM, 0, 16 },
206210e230b6Smaya              .i = {},
206310e230b6Smaya              .p = {},
206410e230b6Smaya    },
206596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
206610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
206710e230b6Smaya    .txc = ISL_TXC_NONE,
206810e230b6Smaya  },
206910e230b6Smaya
207010e230b6Smaya  [ISL_FORMAT_I24X8_UNORM] = {
207110e230b6Smaya    .format = ISL_FORMAT_I24X8_UNORM,
207210e230b6Smaya    .bpb = 32,
207310e230b6Smaya    .bw = 1,
207410e230b6Smaya    .bh = 1,
207510e230b6Smaya    .bd = 1,
207610e230b6Smaya    .channels = {
207710e230b6Smaya              .r = {},
207810e230b6Smaya              .g = {},
207910e230b6Smaya              .b = {},
208010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
208110e230b6Smaya              .l = {},
208210e230b6Smaya              .i = { ISL_UNORM, 0, 24 },
208310e230b6Smaya              .p = {},
208410e230b6Smaya    },
208596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
208610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
208710e230b6Smaya    .txc = ISL_TXC_NONE,
208810e230b6Smaya  },
208910e230b6Smaya
209010e230b6Smaya  [ISL_FORMAT_L24X8_UNORM] = {
209110e230b6Smaya    .format = ISL_FORMAT_L24X8_UNORM,
209210e230b6Smaya    .bpb = 32,
209310e230b6Smaya    .bw = 1,
209410e230b6Smaya    .bh = 1,
209510e230b6Smaya    .bd = 1,
209610e230b6Smaya    .channels = {
209710e230b6Smaya              .r = {},
209810e230b6Smaya              .g = {},
209910e230b6Smaya              .b = {},
210010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
210110e230b6Smaya              .l = { ISL_UNORM, 0, 24 },
210210e230b6Smaya              .i = {},
210310e230b6Smaya              .p = {},
210410e230b6Smaya    },
210596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
210610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
210710e230b6Smaya    .txc = ISL_TXC_NONE,
210810e230b6Smaya  },
210910e230b6Smaya
211010e230b6Smaya  [ISL_FORMAT_A24X8_UNORM] = {
211110e230b6Smaya    .format = ISL_FORMAT_A24X8_UNORM,
211210e230b6Smaya    .bpb = 32,
211310e230b6Smaya    .bw = 1,
211410e230b6Smaya    .bh = 1,
211510e230b6Smaya    .bd = 1,
211610e230b6Smaya    .channels = {
211710e230b6Smaya              .r = {},
211810e230b6Smaya              .g = {},
211910e230b6Smaya              .b = {},
212010e230b6Smaya              .a = { ISL_UNORM, 0, 24 },
212110e230b6Smaya              .l = { ISL_VOID, 24, 8 },
212210e230b6Smaya              .i = {},
212310e230b6Smaya              .p = {},
212410e230b6Smaya    },
212596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
212610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
212710e230b6Smaya    .txc = ISL_TXC_NONE,
212810e230b6Smaya  },
212910e230b6Smaya
213010e230b6Smaya  [ISL_FORMAT_I32_FLOAT] = {
213110e230b6Smaya    .format = ISL_FORMAT_I32_FLOAT,
213210e230b6Smaya    .bpb = 32,
213310e230b6Smaya    .bw = 1,
213410e230b6Smaya    .bh = 1,
213510e230b6Smaya    .bd = 1,
213610e230b6Smaya    .channels = {
213710e230b6Smaya              .r = {},
213810e230b6Smaya              .g = {},
213910e230b6Smaya              .b = {},
214010e230b6Smaya              .a = {},
214110e230b6Smaya              .l = {},
214210e230b6Smaya              .i = { ISL_SFLOAT, 0, 32 },
214310e230b6Smaya              .p = {},
214410e230b6Smaya    },
214596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
214610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
214710e230b6Smaya    .txc = ISL_TXC_NONE,
214810e230b6Smaya  },
214910e230b6Smaya
215010e230b6Smaya  [ISL_FORMAT_L32_FLOAT] = {
215110e230b6Smaya    .format = ISL_FORMAT_L32_FLOAT,
215210e230b6Smaya    .bpb = 32,
215310e230b6Smaya    .bw = 1,
215410e230b6Smaya    .bh = 1,
215510e230b6Smaya    .bd = 1,
215610e230b6Smaya    .channels = {
215710e230b6Smaya              .r = {},
215810e230b6Smaya              .g = {},
215910e230b6Smaya              .b = {},
216010e230b6Smaya              .a = {},
216110e230b6Smaya              .l = { ISL_SFLOAT, 0, 32 },
216210e230b6Smaya              .i = {},
216310e230b6Smaya              .p = {},
216410e230b6Smaya    },
216596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
216610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
216710e230b6Smaya    .txc = ISL_TXC_NONE,
216810e230b6Smaya  },
216910e230b6Smaya
217010e230b6Smaya  [ISL_FORMAT_A32_FLOAT] = {
217110e230b6Smaya    .format = ISL_FORMAT_A32_FLOAT,
217210e230b6Smaya    .bpb = 32,
217310e230b6Smaya    .bw = 1,
217410e230b6Smaya    .bh = 1,
217510e230b6Smaya    .bd = 1,
217610e230b6Smaya    .channels = {
217710e230b6Smaya              .r = {},
217810e230b6Smaya              .g = {},
217910e230b6Smaya              .b = {},
218010e230b6Smaya              .a = { ISL_SFLOAT, 0, 32 },
218110e230b6Smaya              .l = {},
218210e230b6Smaya              .i = {},
218310e230b6Smaya              .p = {},
218410e230b6Smaya    },
218596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
218610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
218710e230b6Smaya    .txc = ISL_TXC_NONE,
218810e230b6Smaya  },
218910e230b6Smaya
219010e230b6Smaya  [ISL_FORMAT_X8B8_UNORM_G8R8_SNORM] = {
219110e230b6Smaya    .format = ISL_FORMAT_X8B8_UNORM_G8R8_SNORM,
219210e230b6Smaya    .bpb = 32,
219310e230b6Smaya    .bw = 1,
219410e230b6Smaya    .bh = 1,
219510e230b6Smaya    .bd = 1,
219610e230b6Smaya    .channels = {
219710e230b6Smaya              .r = { ISL_SNORM, 24, 8 },
219810e230b6Smaya              .g = { ISL_SNORM, 16, 8 },
219910e230b6Smaya              .b = { ISL_UNORM, 8, 8 },
220010e230b6Smaya              .a = { ISL_VOID, 0, 8 },
220110e230b6Smaya              .l = {},
220210e230b6Smaya              .i = {},
220310e230b6Smaya              .p = {},
220410e230b6Smaya    },
220596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
220610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
220710e230b6Smaya    .txc = ISL_TXC_NONE,
220810e230b6Smaya  },
220910e230b6Smaya
221010e230b6Smaya  [ISL_FORMAT_A8X8_UNORM_G8R8_SNORM] = {
221110e230b6Smaya    .format = ISL_FORMAT_A8X8_UNORM_G8R8_SNORM,
221210e230b6Smaya    .bpb = 32,
221310e230b6Smaya    .bw = 1,
221410e230b6Smaya    .bh = 1,
221510e230b6Smaya    .bd = 1,
221610e230b6Smaya    .channels = {
221710e230b6Smaya              .r = { ISL_SNORM, 24, 8 },
221810e230b6Smaya              .g = { ISL_SNORM, 16, 8 },
221910e230b6Smaya              .b = { ISL_VOID, 8, 8 },
222010e230b6Smaya              .a = { ISL_UNORM, 0, 8 },
222110e230b6Smaya              .l = {},
222210e230b6Smaya              .i = {},
222310e230b6Smaya              .p = {},
222410e230b6Smaya    },
222596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
222610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
222710e230b6Smaya    .txc = ISL_TXC_NONE,
222810e230b6Smaya  },
222910e230b6Smaya
223010e230b6Smaya  [ISL_FORMAT_B8X8_UNORM_G8R8_SNORM] = {
223110e230b6Smaya    .format = ISL_FORMAT_B8X8_UNORM_G8R8_SNORM,
223210e230b6Smaya    .bpb = 32,
223310e230b6Smaya    .bw = 1,
223410e230b6Smaya    .bh = 1,
223510e230b6Smaya    .bd = 1,
223610e230b6Smaya    .channels = {
223710e230b6Smaya              .r = { ISL_SNORM, 24, 8 },
223810e230b6Smaya              .g = { ISL_SNORM, 16, 8 },
223910e230b6Smaya              .b = { ISL_UNORM, 0, 8 },
224010e230b6Smaya              .a = { ISL_VOID, 8, 8 },
224110e230b6Smaya              .l = {},
224210e230b6Smaya              .i = {},
224310e230b6Smaya              .p = {},
224410e230b6Smaya    },
224596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
224610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
224710e230b6Smaya    .txc = ISL_TXC_NONE,
224810e230b6Smaya  },
224910e230b6Smaya
225010e230b6Smaya  [ISL_FORMAT_B8G8R8X8_UNORM] = {
225110e230b6Smaya    .format = ISL_FORMAT_B8G8R8X8_UNORM,
225210e230b6Smaya    .bpb = 32,
225310e230b6Smaya    .bw = 1,
225410e230b6Smaya    .bh = 1,
225510e230b6Smaya    .bd = 1,
225610e230b6Smaya    .channels = {
225710e230b6Smaya              .r = { ISL_UNORM, 16, 8 },
225810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
225910e230b6Smaya              .b = { ISL_UNORM, 0, 8 },
226010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
226110e230b6Smaya              .l = {},
226210e230b6Smaya              .i = {},
226310e230b6Smaya              .p = {},
226410e230b6Smaya    },
226596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
226610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
226710e230b6Smaya    .txc = ISL_TXC_NONE,
226810e230b6Smaya  },
226910e230b6Smaya
227010e230b6Smaya  [ISL_FORMAT_B8G8R8X8_UNORM_SRGB] = {
227110e230b6Smaya    .format = ISL_FORMAT_B8G8R8X8_UNORM_SRGB,
227210e230b6Smaya    .bpb = 32,
227310e230b6Smaya    .bw = 1,
227410e230b6Smaya    .bh = 1,
227510e230b6Smaya    .bd = 1,
227610e230b6Smaya    .channels = {
227710e230b6Smaya              .r = { ISL_UNORM, 16, 8 },
227810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
227910e230b6Smaya              .b = { ISL_UNORM, 0, 8 },
228010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
228110e230b6Smaya              .l = {},
228210e230b6Smaya              .i = {},
228310e230b6Smaya              .p = {},
228410e230b6Smaya    },
228596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
228610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
228710e230b6Smaya    .txc = ISL_TXC_NONE,
228810e230b6Smaya  },
228910e230b6Smaya
229010e230b6Smaya  [ISL_FORMAT_R8G8B8X8_UNORM] = {
229110e230b6Smaya    .format = ISL_FORMAT_R8G8B8X8_UNORM,
229210e230b6Smaya    .bpb = 32,
229310e230b6Smaya    .bw = 1,
229410e230b6Smaya    .bh = 1,
229510e230b6Smaya    .bd = 1,
229610e230b6Smaya    .channels = {
229710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
229810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
229910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
230010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
230110e230b6Smaya              .l = {},
230210e230b6Smaya              .i = {},
230310e230b6Smaya              .p = {},
230410e230b6Smaya    },
230596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
230610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
230710e230b6Smaya    .txc = ISL_TXC_NONE,
230810e230b6Smaya  },
230910e230b6Smaya
231010e230b6Smaya  [ISL_FORMAT_R8G8B8X8_UNORM_SRGB] = {
231110e230b6Smaya    .format = ISL_FORMAT_R8G8B8X8_UNORM_SRGB,
231210e230b6Smaya    .bpb = 32,
231310e230b6Smaya    .bw = 1,
231410e230b6Smaya    .bh = 1,
231510e230b6Smaya    .bd = 1,
231610e230b6Smaya    .channels = {
231710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
231810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
231910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
232010e230b6Smaya              .a = { ISL_VOID, 24, 8 },
232110e230b6Smaya              .l = {},
232210e230b6Smaya              .i = {},
232310e230b6Smaya              .p = {},
232410e230b6Smaya    },
232596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
232610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
232710e230b6Smaya    .txc = ISL_TXC_NONE,
232810e230b6Smaya  },
232910e230b6Smaya
233010e230b6Smaya  [ISL_FORMAT_R9G9B9E5_SHAREDEXP] = {
233110e230b6Smaya    .format = ISL_FORMAT_R9G9B9E5_SHAREDEXP,
233210e230b6Smaya    .bpb = 32,
233310e230b6Smaya    .bw = 1,
233410e230b6Smaya    .bh = 1,
233510e230b6Smaya    .bd = 1,
233610e230b6Smaya    .channels = {
233710e230b6Smaya              .r = { ISL_UFLOAT, 0, 9 },
233810e230b6Smaya              .g = { ISL_UFLOAT, 9, 9 },
233910e230b6Smaya              .b = { ISL_UFLOAT, 18, 9 },
234010e230b6Smaya              .a = {},
234110e230b6Smaya              .l = {},
234210e230b6Smaya              .i = {},
234310e230b6Smaya              .p = {},
234410e230b6Smaya    },
234596c5ddc4Srjs    .uniform_channel_type = ISL_UFLOAT,
234610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
234710e230b6Smaya    .txc = ISL_TXC_NONE,
234810e230b6Smaya  },
234910e230b6Smaya
235010e230b6Smaya  [ISL_FORMAT_B10G10R10X2_UNORM] = {
235110e230b6Smaya    .format = ISL_FORMAT_B10G10R10X2_UNORM,
235210e230b6Smaya    .bpb = 32,
235310e230b6Smaya    .bw = 1,
235410e230b6Smaya    .bh = 1,
235510e230b6Smaya    .bd = 1,
235610e230b6Smaya    .channels = {
235710e230b6Smaya              .r = { ISL_UNORM, 20, 10 },
235810e230b6Smaya              .g = { ISL_UNORM, 10, 10 },
235910e230b6Smaya              .b = { ISL_UNORM, 0, 10 },
236010e230b6Smaya              .a = { ISL_VOID, 30, 2 },
236110e230b6Smaya              .l = {},
236210e230b6Smaya              .i = {},
236310e230b6Smaya              .p = {},
236410e230b6Smaya    },
236596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
236610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
236710e230b6Smaya    .txc = ISL_TXC_NONE,
236810e230b6Smaya  },
236910e230b6Smaya
237010e230b6Smaya  [ISL_FORMAT_L16A16_FLOAT] = {
237110e230b6Smaya    .format = ISL_FORMAT_L16A16_FLOAT,
237210e230b6Smaya    .bpb = 32,
237310e230b6Smaya    .bw = 1,
237410e230b6Smaya    .bh = 1,
237510e230b6Smaya    .bd = 1,
237610e230b6Smaya    .channels = {
237710e230b6Smaya              .r = {},
237810e230b6Smaya              .g = {},
237910e230b6Smaya              .b = {},
238010e230b6Smaya              .a = { ISL_SFLOAT, 16, 16 },
238110e230b6Smaya              .l = { ISL_SFLOAT, 0, 16 },
238210e230b6Smaya              .i = {},
238310e230b6Smaya              .p = {},
238410e230b6Smaya    },
238596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
238610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
238710e230b6Smaya    .txc = ISL_TXC_NONE,
238810e230b6Smaya  },
238910e230b6Smaya
239010e230b6Smaya  [ISL_FORMAT_R32_UNORM] = {
239110e230b6Smaya    .format = ISL_FORMAT_R32_UNORM,
239210e230b6Smaya    .bpb = 32,
239310e230b6Smaya    .bw = 1,
239410e230b6Smaya    .bh = 1,
239510e230b6Smaya    .bd = 1,
239610e230b6Smaya    .channels = {
239710e230b6Smaya              .r = { ISL_UNORM, 0, 32 },
239810e230b6Smaya              .g = {},
239910e230b6Smaya              .b = {},
240010e230b6Smaya              .a = {},
240110e230b6Smaya              .l = {},
240210e230b6Smaya              .i = {},
240310e230b6Smaya              .p = {},
240410e230b6Smaya    },
240596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
240610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
240710e230b6Smaya    .txc = ISL_TXC_NONE,
240810e230b6Smaya  },
240910e230b6Smaya
241010e230b6Smaya  [ISL_FORMAT_R32_SNORM] = {
241110e230b6Smaya    .format = ISL_FORMAT_R32_SNORM,
241210e230b6Smaya    .bpb = 32,
241310e230b6Smaya    .bw = 1,
241410e230b6Smaya    .bh = 1,
241510e230b6Smaya    .bd = 1,
241610e230b6Smaya    .channels = {
241710e230b6Smaya              .r = { ISL_SNORM, 0, 32 },
241810e230b6Smaya              .g = {},
241910e230b6Smaya              .b = {},
242010e230b6Smaya              .a = {},
242110e230b6Smaya              .l = {},
242210e230b6Smaya              .i = {},
242310e230b6Smaya              .p = {},
242410e230b6Smaya    },
242596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
242610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
242710e230b6Smaya    .txc = ISL_TXC_NONE,
242810e230b6Smaya  },
242910e230b6Smaya
243010e230b6Smaya  [ISL_FORMAT_R10G10B10X2_USCALED] = {
243110e230b6Smaya    .format = ISL_FORMAT_R10G10B10X2_USCALED,
243210e230b6Smaya    .bpb = 32,
243310e230b6Smaya    .bw = 1,
243410e230b6Smaya    .bh = 1,
243510e230b6Smaya    .bd = 1,
243610e230b6Smaya    .channels = {
243710e230b6Smaya              .r = { ISL_USCALED, 0, 10 },
243810e230b6Smaya              .g = { ISL_USCALED, 10, 10 },
243910e230b6Smaya              .b = { ISL_USCALED, 20, 10 },
244010e230b6Smaya              .a = { ISL_VOID, 30, 2 },
244110e230b6Smaya              .l = {},
244210e230b6Smaya              .i = {},
244310e230b6Smaya              .p = {},
244410e230b6Smaya    },
244596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
244610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
244710e230b6Smaya    .txc = ISL_TXC_NONE,
244810e230b6Smaya  },
244910e230b6Smaya
245010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_SSCALED] = {
245110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_SSCALED,
245210e230b6Smaya    .bpb = 32,
245310e230b6Smaya    .bw = 1,
245410e230b6Smaya    .bh = 1,
245510e230b6Smaya    .bd = 1,
245610e230b6Smaya    .channels = {
245710e230b6Smaya              .r = { ISL_SSCALED, 0, 8 },
245810e230b6Smaya              .g = { ISL_SSCALED, 8, 8 },
245910e230b6Smaya              .b = { ISL_SSCALED, 16, 8 },
246010e230b6Smaya              .a = { ISL_SSCALED, 24, 8 },
246110e230b6Smaya              .l = {},
246210e230b6Smaya              .i = {},
246310e230b6Smaya              .p = {},
246410e230b6Smaya    },
246596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
246610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
246710e230b6Smaya    .txc = ISL_TXC_NONE,
246810e230b6Smaya  },
246910e230b6Smaya
247010e230b6Smaya  [ISL_FORMAT_R8G8B8A8_USCALED] = {
247110e230b6Smaya    .format = ISL_FORMAT_R8G8B8A8_USCALED,
247210e230b6Smaya    .bpb = 32,
247310e230b6Smaya    .bw = 1,
247410e230b6Smaya    .bh = 1,
247510e230b6Smaya    .bd = 1,
247610e230b6Smaya    .channels = {
247710e230b6Smaya              .r = { ISL_USCALED, 0, 8 },
247810e230b6Smaya              .g = { ISL_USCALED, 8, 8 },
247910e230b6Smaya              .b = { ISL_USCALED, 16, 8 },
248010e230b6Smaya              .a = { ISL_USCALED, 24, 8 },
248110e230b6Smaya              .l = {},
248210e230b6Smaya              .i = {},
248310e230b6Smaya              .p = {},
248410e230b6Smaya    },
248596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
248610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
248710e230b6Smaya    .txc = ISL_TXC_NONE,
248810e230b6Smaya  },
248910e230b6Smaya
249010e230b6Smaya  [ISL_FORMAT_R16G16_SSCALED] = {
249110e230b6Smaya    .format = ISL_FORMAT_R16G16_SSCALED,
249210e230b6Smaya    .bpb = 32,
249310e230b6Smaya    .bw = 1,
249410e230b6Smaya    .bh = 1,
249510e230b6Smaya    .bd = 1,
249610e230b6Smaya    .channels = {
249710e230b6Smaya              .r = { ISL_SSCALED, 0, 16 },
249810e230b6Smaya              .g = { ISL_SSCALED, 16, 6 },
249910e230b6Smaya              .b = {},
250010e230b6Smaya              .a = {},
250110e230b6Smaya              .l = {},
250210e230b6Smaya              .i = {},
250310e230b6Smaya              .p = {},
250410e230b6Smaya    },
250596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
250610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
250710e230b6Smaya    .txc = ISL_TXC_NONE,
250810e230b6Smaya  },
250910e230b6Smaya
251010e230b6Smaya  [ISL_FORMAT_R16G16_USCALED] = {
251110e230b6Smaya    .format = ISL_FORMAT_R16G16_USCALED,
251210e230b6Smaya    .bpb = 32,
251310e230b6Smaya    .bw = 1,
251410e230b6Smaya    .bh = 1,
251510e230b6Smaya    .bd = 1,
251610e230b6Smaya    .channels = {
251710e230b6Smaya              .r = { ISL_USCALED, 0, 16 },
251810e230b6Smaya              .g = { ISL_USCALED, 16, 16 },
251910e230b6Smaya              .b = {},
252010e230b6Smaya              .a = {},
252110e230b6Smaya              .l = {},
252210e230b6Smaya              .i = {},
252310e230b6Smaya              .p = {},
252410e230b6Smaya    },
252596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
252610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
252710e230b6Smaya    .txc = ISL_TXC_NONE,
252810e230b6Smaya  },
252910e230b6Smaya
253010e230b6Smaya  [ISL_FORMAT_R32_SSCALED] = {
253110e230b6Smaya    .format = ISL_FORMAT_R32_SSCALED,
253210e230b6Smaya    .bpb = 32,
253310e230b6Smaya    .bw = 1,
253410e230b6Smaya    .bh = 1,
253510e230b6Smaya    .bd = 1,
253610e230b6Smaya    .channels = {
253710e230b6Smaya              .r = { ISL_SSCALED, 0, 32 },
253810e230b6Smaya              .g = {},
253910e230b6Smaya              .b = {},
254010e230b6Smaya              .a = {},
254110e230b6Smaya              .l = {},
254210e230b6Smaya              .i = {},
254310e230b6Smaya              .p = {},
254410e230b6Smaya    },
254596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
254610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
254710e230b6Smaya    .txc = ISL_TXC_NONE,
254810e230b6Smaya  },
254910e230b6Smaya
255010e230b6Smaya  [ISL_FORMAT_R32_USCALED] = {
255110e230b6Smaya    .format = ISL_FORMAT_R32_USCALED,
255210e230b6Smaya    .bpb = 32,
255310e230b6Smaya    .bw = 1,
255410e230b6Smaya    .bh = 1,
255510e230b6Smaya    .bd = 1,
255610e230b6Smaya    .channels = {
255710e230b6Smaya              .r = { ISL_USCALED, 0, 32 },
255810e230b6Smaya              .g = {},
255910e230b6Smaya              .b = {},
256010e230b6Smaya              .a = {},
256110e230b6Smaya              .l = {},
256210e230b6Smaya              .i = {},
256310e230b6Smaya              .p = {},
256410e230b6Smaya    },
256596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
256610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
256710e230b6Smaya    .txc = ISL_TXC_NONE,
256810e230b6Smaya  },
256910e230b6Smaya
257010e230b6Smaya  [ISL_FORMAT_B5G6R5_UNORM] = {
257110e230b6Smaya    .format = ISL_FORMAT_B5G6R5_UNORM,
257210e230b6Smaya    .bpb = 16,
257310e230b6Smaya    .bw = 1,
257410e230b6Smaya    .bh = 1,
257510e230b6Smaya    .bd = 1,
257610e230b6Smaya    .channels = {
257710e230b6Smaya              .r = { ISL_UNORM, 11, 5 },
257810e230b6Smaya              .g = { ISL_UNORM, 5, 6 },
257910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
258010e230b6Smaya              .a = {},
258110e230b6Smaya              .l = {},
258210e230b6Smaya              .i = {},
258310e230b6Smaya              .p = {},
258410e230b6Smaya    },
258596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
258610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
258710e230b6Smaya    .txc = ISL_TXC_NONE,
258810e230b6Smaya  },
258910e230b6Smaya
259010e230b6Smaya  [ISL_FORMAT_B5G6R5_UNORM_SRGB] = {
259110e230b6Smaya    .format = ISL_FORMAT_B5G6R5_UNORM_SRGB,
259210e230b6Smaya    .bpb = 16,
259310e230b6Smaya    .bw = 1,
259410e230b6Smaya    .bh = 1,
259510e230b6Smaya    .bd = 1,
259610e230b6Smaya    .channels = {
259710e230b6Smaya              .r = { ISL_UNORM, 11, 5 },
259810e230b6Smaya              .g = { ISL_UNORM, 5, 6 },
259910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
260010e230b6Smaya              .a = {},
260110e230b6Smaya              .l = {},
260210e230b6Smaya              .i = {},
260310e230b6Smaya              .p = {},
260410e230b6Smaya    },
260596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
260610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
260710e230b6Smaya    .txc = ISL_TXC_NONE,
260810e230b6Smaya  },
260910e230b6Smaya
261010e230b6Smaya  [ISL_FORMAT_B5G5R5A1_UNORM] = {
261110e230b6Smaya    .format = ISL_FORMAT_B5G5R5A1_UNORM,
261210e230b6Smaya    .bpb = 16,
261310e230b6Smaya    .bw = 1,
261410e230b6Smaya    .bh = 1,
261510e230b6Smaya    .bd = 1,
261610e230b6Smaya    .channels = {
261710e230b6Smaya              .r = { ISL_UNORM, 10, 5 },
261810e230b6Smaya              .g = { ISL_UNORM, 5, 5 },
261910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
262010e230b6Smaya              .a = { ISL_UNORM, 15, 1 },
262110e230b6Smaya              .l = {},
262210e230b6Smaya              .i = {},
262310e230b6Smaya              .p = {},
262410e230b6Smaya    },
262596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
262610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
262710e230b6Smaya    .txc = ISL_TXC_NONE,
262810e230b6Smaya  },
262910e230b6Smaya
263010e230b6Smaya  [ISL_FORMAT_B5G5R5A1_UNORM_SRGB] = {
263110e230b6Smaya    .format = ISL_FORMAT_B5G5R5A1_UNORM_SRGB,
263210e230b6Smaya    .bpb = 16,
263310e230b6Smaya    .bw = 1,
263410e230b6Smaya    .bh = 1,
263510e230b6Smaya    .bd = 1,
263610e230b6Smaya    .channels = {
263710e230b6Smaya              .r = { ISL_UNORM, 10, 5 },
263810e230b6Smaya              .g = { ISL_UNORM, 5, 5 },
263910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
264010e230b6Smaya              .a = { ISL_UNORM, 15, 1 },
264110e230b6Smaya              .l = {},
264210e230b6Smaya              .i = {},
264310e230b6Smaya              .p = {},
264410e230b6Smaya    },
264596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
264610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
264710e230b6Smaya    .txc = ISL_TXC_NONE,
264810e230b6Smaya  },
264910e230b6Smaya
265010e230b6Smaya  [ISL_FORMAT_B4G4R4A4_UNORM] = {
265110e230b6Smaya    .format = ISL_FORMAT_B4G4R4A4_UNORM,
265210e230b6Smaya    .bpb = 16,
265310e230b6Smaya    .bw = 1,
265410e230b6Smaya    .bh = 1,
265510e230b6Smaya    .bd = 1,
265610e230b6Smaya    .channels = {
265710e230b6Smaya              .r = { ISL_UNORM, 8, 4 },
265810e230b6Smaya              .g = { ISL_UNORM, 4, 4 },
265910e230b6Smaya              .b = { ISL_UNORM, 0, 4 },
266010e230b6Smaya              .a = { ISL_UNORM, 12, 4 },
266110e230b6Smaya              .l = {},
266210e230b6Smaya              .i = {},
266310e230b6Smaya              .p = {},
266410e230b6Smaya    },
266596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
266610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
266710e230b6Smaya    .txc = ISL_TXC_NONE,
266810e230b6Smaya  },
266910e230b6Smaya
267010e230b6Smaya  [ISL_FORMAT_B4G4R4A4_UNORM_SRGB] = {
267110e230b6Smaya    .format = ISL_FORMAT_B4G4R4A4_UNORM_SRGB,
267210e230b6Smaya    .bpb = 16,
267310e230b6Smaya    .bw = 1,
267410e230b6Smaya    .bh = 1,
267510e230b6Smaya    .bd = 1,
267610e230b6Smaya    .channels = {
267710e230b6Smaya              .r = { ISL_UNORM, 8, 4 },
267810e230b6Smaya              .g = { ISL_UNORM, 4, 4 },
267910e230b6Smaya              .b = { ISL_UNORM, 0, 4 },
268010e230b6Smaya              .a = { ISL_UNORM, 12, 4 },
268110e230b6Smaya              .l = {},
268210e230b6Smaya              .i = {},
268310e230b6Smaya              .p = {},
268410e230b6Smaya    },
268596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
268610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
268710e230b6Smaya    .txc = ISL_TXC_NONE,
268810e230b6Smaya  },
268910e230b6Smaya
269010e230b6Smaya  [ISL_FORMAT_R8G8_UNORM] = {
269110e230b6Smaya    .format = ISL_FORMAT_R8G8_UNORM,
269210e230b6Smaya    .bpb = 16,
269310e230b6Smaya    .bw = 1,
269410e230b6Smaya    .bh = 1,
269510e230b6Smaya    .bd = 1,
269610e230b6Smaya    .channels = {
269710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
269810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
269910e230b6Smaya              .b = {},
270010e230b6Smaya              .a = {},
270110e230b6Smaya              .l = {},
270210e230b6Smaya              .i = {},
270310e230b6Smaya              .p = {},
270410e230b6Smaya    },
270596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
270610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
270710e230b6Smaya    .txc = ISL_TXC_NONE,
270810e230b6Smaya  },
270910e230b6Smaya
271010e230b6Smaya  [ISL_FORMAT_R8G8_SNORM] = {
271110e230b6Smaya    .format = ISL_FORMAT_R8G8_SNORM,
271210e230b6Smaya    .bpb = 16,
271310e230b6Smaya    .bw = 1,
271410e230b6Smaya    .bh = 1,
271510e230b6Smaya    .bd = 1,
271610e230b6Smaya    .channels = {
271710e230b6Smaya              .r = { ISL_SNORM, 0, 8 },
271810e230b6Smaya              .g = { ISL_SNORM, 8, 8 },
271910e230b6Smaya              .b = {},
272010e230b6Smaya              .a = {},
272110e230b6Smaya              .l = {},
272210e230b6Smaya              .i = {},
272310e230b6Smaya              .p = {},
272410e230b6Smaya    },
272596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
272610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
272710e230b6Smaya    .txc = ISL_TXC_NONE,
272810e230b6Smaya  },
272910e230b6Smaya
273010e230b6Smaya  [ISL_FORMAT_R8G8_SINT] = {
273110e230b6Smaya    .format = ISL_FORMAT_R8G8_SINT,
273210e230b6Smaya    .bpb = 16,
273310e230b6Smaya    .bw = 1,
273410e230b6Smaya    .bh = 1,
273510e230b6Smaya    .bd = 1,
273610e230b6Smaya    .channels = {
273710e230b6Smaya              .r = { ISL_SINT, 0, 8 },
273810e230b6Smaya              .g = { ISL_SINT, 8, 8 },
273910e230b6Smaya              .b = {},
274010e230b6Smaya              .a = {},
274110e230b6Smaya              .l = {},
274210e230b6Smaya              .i = {},
274310e230b6Smaya              .p = {},
274410e230b6Smaya    },
274596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
274610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
274710e230b6Smaya    .txc = ISL_TXC_NONE,
274810e230b6Smaya  },
274910e230b6Smaya
275010e230b6Smaya  [ISL_FORMAT_R8G8_UINT] = {
275110e230b6Smaya    .format = ISL_FORMAT_R8G8_UINT,
275210e230b6Smaya    .bpb = 16,
275310e230b6Smaya    .bw = 1,
275410e230b6Smaya    .bh = 1,
275510e230b6Smaya    .bd = 1,
275610e230b6Smaya    .channels = {
275710e230b6Smaya              .r = { ISL_UINT, 0, 8 },
275810e230b6Smaya              .g = { ISL_UINT, 8, 8 },
275910e230b6Smaya              .b = {},
276010e230b6Smaya              .a = {},
276110e230b6Smaya              .l = {},
276210e230b6Smaya              .i = {},
276310e230b6Smaya              .p = {},
276410e230b6Smaya    },
276596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
276610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
276710e230b6Smaya    .txc = ISL_TXC_NONE,
276810e230b6Smaya  },
276910e230b6Smaya
277010e230b6Smaya  [ISL_FORMAT_R16_UNORM] = {
277110e230b6Smaya    .format = ISL_FORMAT_R16_UNORM,
277210e230b6Smaya    .bpb = 16,
277310e230b6Smaya    .bw = 1,
277410e230b6Smaya    .bh = 1,
277510e230b6Smaya    .bd = 1,
277610e230b6Smaya    .channels = {
277710e230b6Smaya              .r = { ISL_UNORM, 0, 16 },
277810e230b6Smaya              .g = {},
277910e230b6Smaya              .b = {},
278010e230b6Smaya              .a = {},
278110e230b6Smaya              .l = {},
278210e230b6Smaya              .i = {},
278310e230b6Smaya              .p = {},
278410e230b6Smaya    },
278596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
278610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
278710e230b6Smaya    .txc = ISL_TXC_NONE,
278810e230b6Smaya  },
278910e230b6Smaya
279010e230b6Smaya  [ISL_FORMAT_R16_SNORM] = {
279110e230b6Smaya    .format = ISL_FORMAT_R16_SNORM,
279210e230b6Smaya    .bpb = 16,
279310e230b6Smaya    .bw = 1,
279410e230b6Smaya    .bh = 1,
279510e230b6Smaya    .bd = 1,
279610e230b6Smaya    .channels = {
279710e230b6Smaya              .r = { ISL_SNORM, 0, 16 },
279810e230b6Smaya              .g = {},
279910e230b6Smaya              .b = {},
280010e230b6Smaya              .a = {},
280110e230b6Smaya              .l = {},
280210e230b6Smaya              .i = {},
280310e230b6Smaya              .p = {},
280410e230b6Smaya    },
280596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
280610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
280710e230b6Smaya    .txc = ISL_TXC_NONE,
280810e230b6Smaya  },
280910e230b6Smaya
281010e230b6Smaya  [ISL_FORMAT_R16_SINT] = {
281110e230b6Smaya    .format = ISL_FORMAT_R16_SINT,
281210e230b6Smaya    .bpb = 16,
281310e230b6Smaya    .bw = 1,
281410e230b6Smaya    .bh = 1,
281510e230b6Smaya    .bd = 1,
281610e230b6Smaya    .channels = {
281710e230b6Smaya              .r = { ISL_SINT, 0, 16 },
281810e230b6Smaya              .g = {},
281910e230b6Smaya              .b = {},
282010e230b6Smaya              .a = {},
282110e230b6Smaya              .l = {},
282210e230b6Smaya              .i = {},
282310e230b6Smaya              .p = {},
282410e230b6Smaya    },
282596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
282610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
282710e230b6Smaya    .txc = ISL_TXC_NONE,
282810e230b6Smaya  },
282910e230b6Smaya
283010e230b6Smaya  [ISL_FORMAT_R16_UINT] = {
283110e230b6Smaya    .format = ISL_FORMAT_R16_UINT,
283210e230b6Smaya    .bpb = 16,
283310e230b6Smaya    .bw = 1,
283410e230b6Smaya    .bh = 1,
283510e230b6Smaya    .bd = 1,
283610e230b6Smaya    .channels = {
283710e230b6Smaya              .r = { ISL_UINT, 0, 16 },
283810e230b6Smaya              .g = {},
283910e230b6Smaya              .b = {},
284010e230b6Smaya              .a = {},
284110e230b6Smaya              .l = {},
284210e230b6Smaya              .i = {},
284310e230b6Smaya              .p = {},
284410e230b6Smaya    },
284596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
284610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
284710e230b6Smaya    .txc = ISL_TXC_NONE,
284810e230b6Smaya  },
284910e230b6Smaya
285010e230b6Smaya  [ISL_FORMAT_R16_FLOAT] = {
285110e230b6Smaya    .format = ISL_FORMAT_R16_FLOAT,
285210e230b6Smaya    .bpb = 16,
285310e230b6Smaya    .bw = 1,
285410e230b6Smaya    .bh = 1,
285510e230b6Smaya    .bd = 1,
285610e230b6Smaya    .channels = {
285710e230b6Smaya              .r = { ISL_SFLOAT, 0, 16 },
285810e230b6Smaya              .g = {},
285910e230b6Smaya              .b = {},
286010e230b6Smaya              .a = {},
286110e230b6Smaya              .l = {},
286210e230b6Smaya              .i = {},
286310e230b6Smaya              .p = {},
286410e230b6Smaya    },
286596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
286610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
286710e230b6Smaya    .txc = ISL_TXC_NONE,
286810e230b6Smaya  },
286910e230b6Smaya
287010e230b6Smaya  [ISL_FORMAT_A8P8_UNORM_PALETTE0] = {
287110e230b6Smaya    .format = ISL_FORMAT_A8P8_UNORM_PALETTE0,
287210e230b6Smaya    .bpb = 16,
287310e230b6Smaya    .bw = 1,
287410e230b6Smaya    .bh = 1,
287510e230b6Smaya    .bd = 1,
287610e230b6Smaya    .channels = {
287710e230b6Smaya              .r = {},
287810e230b6Smaya              .g = {},
287910e230b6Smaya              .b = {},
288010e230b6Smaya              .a = { ISL_UNORM, 0, 8 },
288110e230b6Smaya              .l = {},
288210e230b6Smaya              .i = {},
288310e230b6Smaya              .p = { ISL_UNORM, 8, 8 },
288410e230b6Smaya    },
288596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
288610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
288710e230b6Smaya    .txc = ISL_TXC_NONE,
288810e230b6Smaya  },
288910e230b6Smaya
289010e230b6Smaya  [ISL_FORMAT_A8P8_UNORM_PALETTE1] = {
289110e230b6Smaya    .format = ISL_FORMAT_A8P8_UNORM_PALETTE1,
289210e230b6Smaya    .bpb = 16,
289310e230b6Smaya    .bw = 1,
289410e230b6Smaya    .bh = 1,
289510e230b6Smaya    .bd = 1,
289610e230b6Smaya    .channels = {
289710e230b6Smaya              .r = {},
289810e230b6Smaya              .g = {},
289910e230b6Smaya              .b = {},
290010e230b6Smaya              .a = { ISL_UNORM, 0, 8 },
290110e230b6Smaya              .l = {},
290210e230b6Smaya              .i = {},
290310e230b6Smaya              .p = { ISL_UNORM, 8, 8 },
290410e230b6Smaya    },
290596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
290610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
290710e230b6Smaya    .txc = ISL_TXC_NONE,
290810e230b6Smaya  },
290910e230b6Smaya
291010e230b6Smaya  [ISL_FORMAT_I16_UNORM] = {
291110e230b6Smaya    .format = ISL_FORMAT_I16_UNORM,
291210e230b6Smaya    .bpb = 16,
291310e230b6Smaya    .bw = 1,
291410e230b6Smaya    .bh = 1,
291510e230b6Smaya    .bd = 1,
291610e230b6Smaya    .channels = {
291710e230b6Smaya              .r = {},
291810e230b6Smaya              .g = {},
291910e230b6Smaya              .b = {},
292010e230b6Smaya              .a = {},
292110e230b6Smaya              .l = {},
292210e230b6Smaya              .i = { ISL_UNORM, 0, 16 },
292310e230b6Smaya              .p = {},
292410e230b6Smaya    },
292596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
292610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
292710e230b6Smaya    .txc = ISL_TXC_NONE,
292810e230b6Smaya  },
292910e230b6Smaya
293010e230b6Smaya  [ISL_FORMAT_L16_UNORM] = {
293110e230b6Smaya    .format = ISL_FORMAT_L16_UNORM,
293210e230b6Smaya    .bpb = 16,
293310e230b6Smaya    .bw = 1,
293410e230b6Smaya    .bh = 1,
293510e230b6Smaya    .bd = 1,
293610e230b6Smaya    .channels = {
293710e230b6Smaya              .r = {},
293810e230b6Smaya              .g = {},
293910e230b6Smaya              .b = {},
294010e230b6Smaya              .a = {},
294110e230b6Smaya              .l = { ISL_UNORM, 0, 16 },
294210e230b6Smaya              .i = {},
294310e230b6Smaya              .p = {},
294410e230b6Smaya    },
294596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
294610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
294710e230b6Smaya    .txc = ISL_TXC_NONE,
294810e230b6Smaya  },
294910e230b6Smaya
295010e230b6Smaya  [ISL_FORMAT_A16_UNORM] = {
295110e230b6Smaya    .format = ISL_FORMAT_A16_UNORM,
295210e230b6Smaya    .bpb = 16,
295310e230b6Smaya    .bw = 1,
295410e230b6Smaya    .bh = 1,
295510e230b6Smaya    .bd = 1,
295610e230b6Smaya    .channels = {
295710e230b6Smaya              .r = {},
295810e230b6Smaya              .g = {},
295910e230b6Smaya              .b = {},
296010e230b6Smaya              .a = { ISL_UNORM, 0, 16 },
296110e230b6Smaya              .l = {},
296210e230b6Smaya              .i = {},
296310e230b6Smaya              .p = {},
296410e230b6Smaya    },
296596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
296610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
296710e230b6Smaya    .txc = ISL_TXC_NONE,
296810e230b6Smaya  },
296910e230b6Smaya
297010e230b6Smaya  [ISL_FORMAT_L8A8_UNORM] = {
297110e230b6Smaya    .format = ISL_FORMAT_L8A8_UNORM,
297210e230b6Smaya    .bpb = 16,
297310e230b6Smaya    .bw = 1,
297410e230b6Smaya    .bh = 1,
297510e230b6Smaya    .bd = 1,
297610e230b6Smaya    .channels = {
297710e230b6Smaya              .r = {},
297810e230b6Smaya              .g = {},
297910e230b6Smaya              .b = {},
298010e230b6Smaya              .a = { ISL_UNORM, 8, 8 },
298110e230b6Smaya              .l = { ISL_UNORM, 0, 8 },
298210e230b6Smaya              .i = {},
298310e230b6Smaya              .p = {},
298410e230b6Smaya    },
298596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
298610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
298710e230b6Smaya    .txc = ISL_TXC_NONE,
298810e230b6Smaya  },
298910e230b6Smaya
299010e230b6Smaya  [ISL_FORMAT_I16_FLOAT] = {
299110e230b6Smaya    .format = ISL_FORMAT_I16_FLOAT,
299210e230b6Smaya    .bpb = 16,
299310e230b6Smaya    .bw = 1,
299410e230b6Smaya    .bh = 1,
299510e230b6Smaya    .bd = 1,
299610e230b6Smaya    .channels = {
299710e230b6Smaya              .r = {},
299810e230b6Smaya              .g = {},
299910e230b6Smaya              .b = {},
300010e230b6Smaya              .a = {},
300110e230b6Smaya              .l = {},
300210e230b6Smaya              .i = { ISL_SFLOAT, 0, 16 },
300310e230b6Smaya              .p = {},
300410e230b6Smaya    },
300596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
300610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
300710e230b6Smaya    .txc = ISL_TXC_NONE,
300810e230b6Smaya  },
300910e230b6Smaya
301010e230b6Smaya  [ISL_FORMAT_L16_FLOAT] = {
301110e230b6Smaya    .format = ISL_FORMAT_L16_FLOAT,
301210e230b6Smaya    .bpb = 16,
301310e230b6Smaya    .bw = 1,
301410e230b6Smaya    .bh = 1,
301510e230b6Smaya    .bd = 1,
301610e230b6Smaya    .channels = {
301710e230b6Smaya              .r = {},
301810e230b6Smaya              .g = {},
301910e230b6Smaya              .b = {},
302010e230b6Smaya              .a = {},
302110e230b6Smaya              .l = { ISL_SFLOAT, 0, 16 },
302210e230b6Smaya              .i = {},
302310e230b6Smaya              .p = {},
302410e230b6Smaya    },
302596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
302610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
302710e230b6Smaya    .txc = ISL_TXC_NONE,
302810e230b6Smaya  },
302910e230b6Smaya
303010e230b6Smaya  [ISL_FORMAT_A16_FLOAT] = {
303110e230b6Smaya    .format = ISL_FORMAT_A16_FLOAT,
303210e230b6Smaya    .bpb = 16,
303310e230b6Smaya    .bw = 1,
303410e230b6Smaya    .bh = 1,
303510e230b6Smaya    .bd = 1,
303610e230b6Smaya    .channels = {
303710e230b6Smaya              .r = {},
303810e230b6Smaya              .g = {},
303910e230b6Smaya              .b = {},
304010e230b6Smaya              .a = { ISL_SFLOAT, 0, 16 },
304110e230b6Smaya              .l = {},
304210e230b6Smaya              .i = {},
304310e230b6Smaya              .p = {},
304410e230b6Smaya    },
304596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
304610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
304710e230b6Smaya    .txc = ISL_TXC_NONE,
304810e230b6Smaya  },
304910e230b6Smaya
305010e230b6Smaya  [ISL_FORMAT_L8A8_UNORM_SRGB] = {
305110e230b6Smaya    .format = ISL_FORMAT_L8A8_UNORM_SRGB,
305210e230b6Smaya    .bpb = 16,
305310e230b6Smaya    .bw = 1,
305410e230b6Smaya    .bh = 1,
305510e230b6Smaya    .bd = 1,
305610e230b6Smaya    .channels = {
305710e230b6Smaya              .r = {},
305810e230b6Smaya              .g = {},
305910e230b6Smaya              .b = {},
306010e230b6Smaya              .a = { ISL_UNORM, 8, 8 },
306110e230b6Smaya              .l = { ISL_UNORM, 0, 8 },
306210e230b6Smaya              .i = {},
306310e230b6Smaya              .p = {},
306410e230b6Smaya    },
306596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
306610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
306710e230b6Smaya    .txc = ISL_TXC_NONE,
306810e230b6Smaya  },
306910e230b6Smaya
307010e230b6Smaya  [ISL_FORMAT_R5G5_SNORM_B6_UNORM] = {
307110e230b6Smaya    .format = ISL_FORMAT_R5G5_SNORM_B6_UNORM,
307210e230b6Smaya    .bpb = 16,
307310e230b6Smaya    .bw = 1,
307410e230b6Smaya    .bh = 1,
307510e230b6Smaya    .bd = 1,
307610e230b6Smaya    .channels = {
307710e230b6Smaya              .r = { ISL_SNORM, 0, 5 },
307810e230b6Smaya              .g = { ISL_SNORM, 5, 5 },
307910e230b6Smaya              .b = { ISL_UNORM, 10, 6 },
308010e230b6Smaya              .a = {},
308110e230b6Smaya              .l = {},
308210e230b6Smaya              .i = {},
308310e230b6Smaya              .p = {},
308410e230b6Smaya    },
308596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
308610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
308710e230b6Smaya    .txc = ISL_TXC_NONE,
308810e230b6Smaya  },
308910e230b6Smaya
309010e230b6Smaya  [ISL_FORMAT_B5G5R5X1_UNORM] = {
309110e230b6Smaya    .format = ISL_FORMAT_B5G5R5X1_UNORM,
309210e230b6Smaya    .bpb = 16,
309310e230b6Smaya    .bw = 1,
309410e230b6Smaya    .bh = 1,
309510e230b6Smaya    .bd = 1,
309610e230b6Smaya    .channels = {
309710e230b6Smaya              .r = { ISL_UNORM, 10, 5 },
309810e230b6Smaya              .g = { ISL_UNORM, 5, 5 },
309910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
310010e230b6Smaya              .a = { ISL_VOID, 15, 1 },
310110e230b6Smaya              .l = {},
310210e230b6Smaya              .i = {},
310310e230b6Smaya              .p = {},
310410e230b6Smaya    },
310596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
310610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
310710e230b6Smaya    .txc = ISL_TXC_NONE,
310810e230b6Smaya  },
310910e230b6Smaya
311010e230b6Smaya  [ISL_FORMAT_B5G5R5X1_UNORM_SRGB] = {
311110e230b6Smaya    .format = ISL_FORMAT_B5G5R5X1_UNORM_SRGB,
311210e230b6Smaya    .bpb = 16,
311310e230b6Smaya    .bw = 1,
311410e230b6Smaya    .bh = 1,
311510e230b6Smaya    .bd = 1,
311610e230b6Smaya    .channels = {
311710e230b6Smaya              .r = { ISL_UNORM, 10, 5 },
311810e230b6Smaya              .g = { ISL_UNORM, 5, 5 },
311910e230b6Smaya              .b = { ISL_UNORM, 0, 5 },
312010e230b6Smaya              .a = { ISL_VOID, 15, 1 },
312110e230b6Smaya              .l = {},
312210e230b6Smaya              .i = {},
312310e230b6Smaya              .p = {},
312410e230b6Smaya    },
312596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
312610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
312710e230b6Smaya    .txc = ISL_TXC_NONE,
312810e230b6Smaya  },
312910e230b6Smaya
313010e230b6Smaya  [ISL_FORMAT_R8G8_SSCALED] = {
313110e230b6Smaya    .format = ISL_FORMAT_R8G8_SSCALED,
313210e230b6Smaya    .bpb = 16,
313310e230b6Smaya    .bw = 1,
313410e230b6Smaya    .bh = 1,
313510e230b6Smaya    .bd = 1,
313610e230b6Smaya    .channels = {
313710e230b6Smaya              .r = { ISL_SSCALED, 0, 8 },
313810e230b6Smaya              .g = { ISL_SSCALED, 8, 8 },
313910e230b6Smaya              .b = {},
314010e230b6Smaya              .a = {},
314110e230b6Smaya              .l = {},
314210e230b6Smaya              .i = {},
314310e230b6Smaya              .p = {},
314410e230b6Smaya    },
314596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
314610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
314710e230b6Smaya    .txc = ISL_TXC_NONE,
314810e230b6Smaya  },
314910e230b6Smaya
315010e230b6Smaya  [ISL_FORMAT_R8G8_USCALED] = {
315110e230b6Smaya    .format = ISL_FORMAT_R8G8_USCALED,
315210e230b6Smaya    .bpb = 16,
315310e230b6Smaya    .bw = 1,
315410e230b6Smaya    .bh = 1,
315510e230b6Smaya    .bd = 1,
315610e230b6Smaya    .channels = {
315710e230b6Smaya              .r = { ISL_USCALED, 0, 8 },
315810e230b6Smaya              .g = { ISL_USCALED, 8, 8 },
315910e230b6Smaya              .b = {},
316010e230b6Smaya              .a = {},
316110e230b6Smaya              .l = {},
316210e230b6Smaya              .i = {},
316310e230b6Smaya              .p = {},
316410e230b6Smaya    },
316596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
316610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
316710e230b6Smaya    .txc = ISL_TXC_NONE,
316810e230b6Smaya  },
316910e230b6Smaya
317010e230b6Smaya  [ISL_FORMAT_R16_SSCALED] = {
317110e230b6Smaya    .format = ISL_FORMAT_R16_SSCALED,
317210e230b6Smaya    .bpb = 16,
317310e230b6Smaya    .bw = 1,
317410e230b6Smaya    .bh = 1,
317510e230b6Smaya    .bd = 1,
317610e230b6Smaya    .channels = {
317710e230b6Smaya              .r = { ISL_SSCALED, 0, 16 },
317810e230b6Smaya              .g = {},
317910e230b6Smaya              .b = {},
318010e230b6Smaya              .a = {},
318110e230b6Smaya              .l = {},
318210e230b6Smaya              .i = {},
318310e230b6Smaya              .p = {},
318410e230b6Smaya    },
318596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
318610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
318710e230b6Smaya    .txc = ISL_TXC_NONE,
318810e230b6Smaya  },
318910e230b6Smaya
319010e230b6Smaya  [ISL_FORMAT_R16_USCALED] = {
319110e230b6Smaya    .format = ISL_FORMAT_R16_USCALED,
319210e230b6Smaya    .bpb = 16,
319310e230b6Smaya    .bw = 1,
319410e230b6Smaya    .bh = 1,
319510e230b6Smaya    .bd = 1,
319610e230b6Smaya    .channels = {
319710e230b6Smaya              .r = { ISL_USCALED, 0, 16 },
319810e230b6Smaya              .g = {},
319910e230b6Smaya              .b = {},
320010e230b6Smaya              .a = {},
320110e230b6Smaya              .l = {},
320210e230b6Smaya              .i = {},
320310e230b6Smaya              .p = {},
320410e230b6Smaya    },
320596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
320610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
320710e230b6Smaya    .txc = ISL_TXC_NONE,
320810e230b6Smaya  },
320910e230b6Smaya
321010e230b6Smaya  [ISL_FORMAT_P8A8_UNORM_PALETTE0] = {
321110e230b6Smaya    .format = ISL_FORMAT_P8A8_UNORM_PALETTE0,
321210e230b6Smaya    .bpb = 16,
321310e230b6Smaya    .bw = 1,
321410e230b6Smaya    .bh = 1,
321510e230b6Smaya    .bd = 1,
321610e230b6Smaya    .channels = {
321710e230b6Smaya              .r = {},
321810e230b6Smaya              .g = {},
321910e230b6Smaya              .b = {},
322010e230b6Smaya              .a = { ISL_UNORM, 8, 8 },
322110e230b6Smaya              .l = {},
322210e230b6Smaya              .i = {},
322310e230b6Smaya              .p = { ISL_UNORM, 0, 8 },
322410e230b6Smaya    },
322596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
322610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
322710e230b6Smaya    .txc = ISL_TXC_NONE,
322810e230b6Smaya  },
322910e230b6Smaya
323010e230b6Smaya  [ISL_FORMAT_P8A8_UNORM_PALETTE1] = {
323110e230b6Smaya    .format = ISL_FORMAT_P8A8_UNORM_PALETTE1,
323210e230b6Smaya    .bpb = 16,
323310e230b6Smaya    .bw = 1,
323410e230b6Smaya    .bh = 1,
323510e230b6Smaya    .bd = 1,
323610e230b6Smaya    .channels = {
323710e230b6Smaya              .r = {},
323810e230b6Smaya              .g = {},
323910e230b6Smaya              .b = {},
324010e230b6Smaya              .a = { ISL_UNORM, 8, 8 },
324110e230b6Smaya              .l = {},
324210e230b6Smaya              .i = {},
324310e230b6Smaya              .p = { ISL_UNORM, 0, 8 },
324410e230b6Smaya    },
324596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
324610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
324710e230b6Smaya    .txc = ISL_TXC_NONE,
324810e230b6Smaya  },
324910e230b6Smaya
325010e230b6Smaya  [ISL_FORMAT_A1B5G5R5_UNORM] = {
325110e230b6Smaya    .format = ISL_FORMAT_A1B5G5R5_UNORM,
325210e230b6Smaya    .bpb = 16,
325310e230b6Smaya    .bw = 1,
325410e230b6Smaya    .bh = 1,
325510e230b6Smaya    .bd = 1,
325610e230b6Smaya    .channels = {
325710e230b6Smaya              .r = { ISL_UNORM, 11, 5 },
325810e230b6Smaya              .g = { ISL_UNORM, 6, 5 },
325910e230b6Smaya              .b = { ISL_UNORM, 1, 5 },
326010e230b6Smaya              .a = { ISL_UNORM, 0, 1 },
326110e230b6Smaya              .l = {},
326210e230b6Smaya              .i = {},
326310e230b6Smaya              .p = {},
326410e230b6Smaya    },
326596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
326610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
326710e230b6Smaya    .txc = ISL_TXC_NONE,
326810e230b6Smaya  },
326910e230b6Smaya
327010e230b6Smaya  [ISL_FORMAT_A4B4G4R4_UNORM] = {
327110e230b6Smaya    .format = ISL_FORMAT_A4B4G4R4_UNORM,
327210e230b6Smaya    .bpb = 16,
327310e230b6Smaya    .bw = 1,
327410e230b6Smaya    .bh = 1,
327510e230b6Smaya    .bd = 1,
327610e230b6Smaya    .channels = {
327710e230b6Smaya              .r = { ISL_UNORM, 12, 4 },
327810e230b6Smaya              .g = { ISL_UNORM, 8, 4 },
327910e230b6Smaya              .b = { ISL_UNORM, 4, 4 },
328010e230b6Smaya              .a = { ISL_UNORM, 0, 4 },
328110e230b6Smaya              .l = {},
328210e230b6Smaya              .i = {},
328310e230b6Smaya              .p = {},
328410e230b6Smaya    },
328596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
328610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
328710e230b6Smaya    .txc = ISL_TXC_NONE,
328810e230b6Smaya  },
328910e230b6Smaya
329010e230b6Smaya  [ISL_FORMAT_L8A8_UINT] = {
329110e230b6Smaya    .format = ISL_FORMAT_L8A8_UINT,
329210e230b6Smaya    .bpb = 16,
329310e230b6Smaya    .bw = 1,
329410e230b6Smaya    .bh = 1,
329510e230b6Smaya    .bd = 1,
329610e230b6Smaya    .channels = {
329710e230b6Smaya              .r = {},
329810e230b6Smaya              .g = {},
329910e230b6Smaya              .b = {},
330010e230b6Smaya              .a = { ISL_UINT, 8, 8 },
330110e230b6Smaya              .l = { ISL_UINT, 0, 8 },
330210e230b6Smaya              .i = {},
330310e230b6Smaya              .p = {},
330410e230b6Smaya    },
330596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
330610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
330710e230b6Smaya    .txc = ISL_TXC_NONE,
330810e230b6Smaya  },
330910e230b6Smaya
331010e230b6Smaya  [ISL_FORMAT_L8A8_SINT] = {
331110e230b6Smaya    .format = ISL_FORMAT_L8A8_SINT,
331210e230b6Smaya    .bpb = 16,
331310e230b6Smaya    .bw = 1,
331410e230b6Smaya    .bh = 1,
331510e230b6Smaya    .bd = 1,
331610e230b6Smaya    .channels = {
331710e230b6Smaya              .r = {},
331810e230b6Smaya              .g = {},
331910e230b6Smaya              .b = {},
332010e230b6Smaya              .a = { ISL_SINT, 8, 8 },
332110e230b6Smaya              .l = { ISL_SINT, 0, 8 },
332210e230b6Smaya              .i = {},
332310e230b6Smaya              .p = {},
332410e230b6Smaya    },
332596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
332610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
332710e230b6Smaya    .txc = ISL_TXC_NONE,
332810e230b6Smaya  },
332910e230b6Smaya
333010e230b6Smaya  [ISL_FORMAT_R8_UNORM] = {
333110e230b6Smaya    .format = ISL_FORMAT_R8_UNORM,
333210e230b6Smaya    .bpb = 8,
333310e230b6Smaya    .bw = 1,
333410e230b6Smaya    .bh = 1,
333510e230b6Smaya    .bd = 1,
333610e230b6Smaya    .channels = {
333710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
333810e230b6Smaya              .g = {},
333910e230b6Smaya              .b = {},
334010e230b6Smaya              .a = {},
334110e230b6Smaya              .l = {},
334210e230b6Smaya              .i = {},
334310e230b6Smaya              .p = {},
334410e230b6Smaya    },
334596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
334610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
334710e230b6Smaya    .txc = ISL_TXC_NONE,
334810e230b6Smaya  },
334910e230b6Smaya
335010e230b6Smaya  [ISL_FORMAT_R8_SNORM] = {
335110e230b6Smaya    .format = ISL_FORMAT_R8_SNORM,
335210e230b6Smaya    .bpb = 8,
335310e230b6Smaya    .bw = 1,
335410e230b6Smaya    .bh = 1,
335510e230b6Smaya    .bd = 1,
335610e230b6Smaya    .channels = {
335710e230b6Smaya              .r = { ISL_SNORM, 0, 8 },
335810e230b6Smaya              .g = {},
335910e230b6Smaya              .b = {},
336010e230b6Smaya              .a = {},
336110e230b6Smaya              .l = {},
336210e230b6Smaya              .i = {},
336310e230b6Smaya              .p = {},
336410e230b6Smaya    },
336596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
336610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
336710e230b6Smaya    .txc = ISL_TXC_NONE,
336810e230b6Smaya  },
336910e230b6Smaya
337010e230b6Smaya  [ISL_FORMAT_R8_SINT] = {
337110e230b6Smaya    .format = ISL_FORMAT_R8_SINT,
337210e230b6Smaya    .bpb = 8,
337310e230b6Smaya    .bw = 1,
337410e230b6Smaya    .bh = 1,
337510e230b6Smaya    .bd = 1,
337610e230b6Smaya    .channels = {
337710e230b6Smaya              .r = { ISL_SINT, 0, 8 },
337810e230b6Smaya              .g = {},
337910e230b6Smaya              .b = {},
338010e230b6Smaya              .a = {},
338110e230b6Smaya              .l = {},
338210e230b6Smaya              .i = {},
338310e230b6Smaya              .p = {},
338410e230b6Smaya    },
338596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
338610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
338710e230b6Smaya    .txc = ISL_TXC_NONE,
338810e230b6Smaya  },
338910e230b6Smaya
339010e230b6Smaya  [ISL_FORMAT_R8_UINT] = {
339110e230b6Smaya    .format = ISL_FORMAT_R8_UINT,
339210e230b6Smaya    .bpb = 8,
339310e230b6Smaya    .bw = 1,
339410e230b6Smaya    .bh = 1,
339510e230b6Smaya    .bd = 1,
339610e230b6Smaya    .channels = {
339710e230b6Smaya              .r = { ISL_UINT, 0, 8 },
339810e230b6Smaya              .g = {},
339910e230b6Smaya              .b = {},
340010e230b6Smaya              .a = {},
340110e230b6Smaya              .l = {},
340210e230b6Smaya              .i = {},
340310e230b6Smaya              .p = {},
340410e230b6Smaya    },
340596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
340610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
340710e230b6Smaya    .txc = ISL_TXC_NONE,
340810e230b6Smaya  },
340910e230b6Smaya
341010e230b6Smaya  [ISL_FORMAT_A8_UNORM] = {
341110e230b6Smaya    .format = ISL_FORMAT_A8_UNORM,
341210e230b6Smaya    .bpb = 8,
341310e230b6Smaya    .bw = 1,
341410e230b6Smaya    .bh = 1,
341510e230b6Smaya    .bd = 1,
341610e230b6Smaya    .channels = {
341710e230b6Smaya              .r = {},
341810e230b6Smaya              .g = {},
341910e230b6Smaya              .b = {},
342010e230b6Smaya              .a = { ISL_UNORM, 0, 8 },
342110e230b6Smaya              .l = {},
342210e230b6Smaya              .i = {},
342310e230b6Smaya              .p = {},
342410e230b6Smaya    },
342596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
342610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
342710e230b6Smaya    .txc = ISL_TXC_NONE,
342810e230b6Smaya  },
342910e230b6Smaya
343010e230b6Smaya  [ISL_FORMAT_I8_UNORM] = {
343110e230b6Smaya    .format = ISL_FORMAT_I8_UNORM,
343210e230b6Smaya    .bpb = 8,
343310e230b6Smaya    .bw = 1,
343410e230b6Smaya    .bh = 1,
343510e230b6Smaya    .bd = 1,
343610e230b6Smaya    .channels = {
343710e230b6Smaya              .r = {},
343810e230b6Smaya              .g = {},
343910e230b6Smaya              .b = {},
344010e230b6Smaya              .a = {},
344110e230b6Smaya              .l = {},
344210e230b6Smaya              .i = { ISL_UNORM, 0, 8 },
344310e230b6Smaya              .p = {},
344410e230b6Smaya    },
344596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
344610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
344710e230b6Smaya    .txc = ISL_TXC_NONE,
344810e230b6Smaya  },
344910e230b6Smaya
345010e230b6Smaya  [ISL_FORMAT_L8_UNORM] = {
345110e230b6Smaya    .format = ISL_FORMAT_L8_UNORM,
345210e230b6Smaya    .bpb = 8,
345310e230b6Smaya    .bw = 1,
345410e230b6Smaya    .bh = 1,
345510e230b6Smaya    .bd = 1,
345610e230b6Smaya    .channels = {
345710e230b6Smaya              .r = {},
345810e230b6Smaya              .g = {},
345910e230b6Smaya              .b = {},
346010e230b6Smaya              .a = {},
346110e230b6Smaya              .l = { ISL_UNORM, 0, 8 },
346210e230b6Smaya              .i = {},
346310e230b6Smaya              .p = {},
346410e230b6Smaya    },
346596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
346610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
346710e230b6Smaya    .txc = ISL_TXC_NONE,
346810e230b6Smaya  },
346910e230b6Smaya
347010e230b6Smaya  [ISL_FORMAT_P4A4_UNORM_PALETTE0] = {
347110e230b6Smaya    .format = ISL_FORMAT_P4A4_UNORM_PALETTE0,
347210e230b6Smaya    .bpb = 8,
347310e230b6Smaya    .bw = 1,
347410e230b6Smaya    .bh = 1,
347510e230b6Smaya    .bd = 1,
347610e230b6Smaya    .channels = {
347710e230b6Smaya              .r = {},
347810e230b6Smaya              .g = {},
347910e230b6Smaya              .b = {},
348010e230b6Smaya              .a = { ISL_UNORM, 4, 4 },
348110e230b6Smaya              .l = {},
348210e230b6Smaya              .i = {},
348310e230b6Smaya              .p = { ISL_UNORM, 0, 4 },
348410e230b6Smaya    },
348596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
348610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
348710e230b6Smaya    .txc = ISL_TXC_NONE,
348810e230b6Smaya  },
348910e230b6Smaya
349010e230b6Smaya  [ISL_FORMAT_A4P4_UNORM_PALETTE0] = {
349110e230b6Smaya    .format = ISL_FORMAT_A4P4_UNORM_PALETTE0,
349210e230b6Smaya    .bpb = 8,
349310e230b6Smaya    .bw = 1,
349410e230b6Smaya    .bh = 1,
349510e230b6Smaya    .bd = 1,
349610e230b6Smaya    .channels = {
349710e230b6Smaya              .r = {},
349810e230b6Smaya              .g = {},
349910e230b6Smaya              .b = {},
350010e230b6Smaya              .a = { ISL_UNORM, 0, 4 },
350110e230b6Smaya              .l = {},
350210e230b6Smaya              .i = {},
350310e230b6Smaya              .p = { ISL_UNORM, 4, 4 },
350410e230b6Smaya    },
350596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
350610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
350710e230b6Smaya    .txc = ISL_TXC_NONE,
350810e230b6Smaya  },
350910e230b6Smaya
351010e230b6Smaya  [ISL_FORMAT_R8_SSCALED] = {
351110e230b6Smaya    .format = ISL_FORMAT_R8_SSCALED,
351210e230b6Smaya    .bpb = 8,
351310e230b6Smaya    .bw = 1,
351410e230b6Smaya    .bh = 1,
351510e230b6Smaya    .bd = 1,
351610e230b6Smaya    .channels = {
351710e230b6Smaya              .r = { ISL_SSCALED, 0, 8 },
351810e230b6Smaya              .g = {},
351910e230b6Smaya              .b = {},
352010e230b6Smaya              .a = {},
352110e230b6Smaya              .l = {},
352210e230b6Smaya              .i = {},
352310e230b6Smaya              .p = {},
352410e230b6Smaya    },
352596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
352610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
352710e230b6Smaya    .txc = ISL_TXC_NONE,
352810e230b6Smaya  },
352910e230b6Smaya
353010e230b6Smaya  [ISL_FORMAT_R8_USCALED] = {
353110e230b6Smaya    .format = ISL_FORMAT_R8_USCALED,
353210e230b6Smaya    .bpb = 8,
353310e230b6Smaya    .bw = 1,
353410e230b6Smaya    .bh = 1,
353510e230b6Smaya    .bd = 1,
353610e230b6Smaya    .channels = {
353710e230b6Smaya              .r = { ISL_USCALED, 0, 8 },
353810e230b6Smaya              .g = {},
353910e230b6Smaya              .b = {},
354010e230b6Smaya              .a = {},
354110e230b6Smaya              .l = {},
354210e230b6Smaya              .i = {},
354310e230b6Smaya              .p = {},
354410e230b6Smaya    },
354596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
354610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
354710e230b6Smaya    .txc = ISL_TXC_NONE,
354810e230b6Smaya  },
354910e230b6Smaya
355010e230b6Smaya  [ISL_FORMAT_P8_UNORM_PALETTE0] = {
355110e230b6Smaya    .format = ISL_FORMAT_P8_UNORM_PALETTE0,
355210e230b6Smaya    .bpb = 8,
355310e230b6Smaya    .bw = 1,
355410e230b6Smaya    .bh = 1,
355510e230b6Smaya    .bd = 1,
355610e230b6Smaya    .channels = {
355710e230b6Smaya              .r = {},
355810e230b6Smaya              .g = {},
355910e230b6Smaya              .b = {},
356010e230b6Smaya              .a = {},
356110e230b6Smaya              .l = {},
356210e230b6Smaya              .i = {},
356310e230b6Smaya              .p = { ISL_UNORM, 0, 8 },
356410e230b6Smaya    },
356596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
356610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
356710e230b6Smaya    .txc = ISL_TXC_NONE,
356810e230b6Smaya  },
356910e230b6Smaya
357010e230b6Smaya  [ISL_FORMAT_L8_UNORM_SRGB] = {
357110e230b6Smaya    .format = ISL_FORMAT_L8_UNORM_SRGB,
357210e230b6Smaya    .bpb = 8,
357310e230b6Smaya    .bw = 1,
357410e230b6Smaya    .bh = 1,
357510e230b6Smaya    .bd = 1,
357610e230b6Smaya    .channels = {
357710e230b6Smaya              .r = {},
357810e230b6Smaya              .g = {},
357910e230b6Smaya              .b = {},
358010e230b6Smaya              .a = {},
358110e230b6Smaya              .l = { ISL_UNORM, 0, 8 },
358210e230b6Smaya              .i = {},
358310e230b6Smaya              .p = {},
358410e230b6Smaya    },
358596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
358610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
358710e230b6Smaya    .txc = ISL_TXC_NONE,
358810e230b6Smaya  },
358910e230b6Smaya
359010e230b6Smaya  [ISL_FORMAT_P8_UNORM_PALETTE1] = {
359110e230b6Smaya    .format = ISL_FORMAT_P8_UNORM_PALETTE1,
359210e230b6Smaya    .bpb = 8,
359310e230b6Smaya    .bw = 1,
359410e230b6Smaya    .bh = 1,
359510e230b6Smaya    .bd = 1,
359610e230b6Smaya    .channels = {
359710e230b6Smaya              .r = {},
359810e230b6Smaya              .g = {},
359910e230b6Smaya              .b = {},
360010e230b6Smaya              .a = {},
360110e230b6Smaya              .l = {},
360210e230b6Smaya              .i = {},
360310e230b6Smaya              .p = { ISL_UNORM, 0, 8 },
360410e230b6Smaya    },
360596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
360610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
360710e230b6Smaya    .txc = ISL_TXC_NONE,
360810e230b6Smaya  },
360910e230b6Smaya
361010e230b6Smaya  [ISL_FORMAT_P4A4_UNORM_PALETTE1] = {
361110e230b6Smaya    .format = ISL_FORMAT_P4A4_UNORM_PALETTE1,
361210e230b6Smaya    .bpb = 8,
361310e230b6Smaya    .bw = 1,
361410e230b6Smaya    .bh = 1,
361510e230b6Smaya    .bd = 1,
361610e230b6Smaya    .channels = {
361710e230b6Smaya              .r = {},
361810e230b6Smaya              .g = {},
361910e230b6Smaya              .b = {},
362010e230b6Smaya              .a = { ISL_UNORM, 4, 4 },
362110e230b6Smaya              .l = {},
362210e230b6Smaya              .i = {},
362310e230b6Smaya              .p = { ISL_UNORM, 0, 4 },
362410e230b6Smaya    },
362596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
362610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
362710e230b6Smaya    .txc = ISL_TXC_NONE,
362810e230b6Smaya  },
362910e230b6Smaya
363010e230b6Smaya  [ISL_FORMAT_A4P4_UNORM_PALETTE1] = {
363110e230b6Smaya    .format = ISL_FORMAT_A4P4_UNORM_PALETTE1,
363210e230b6Smaya    .bpb = 8,
363310e230b6Smaya    .bw = 1,
363410e230b6Smaya    .bh = 1,
363510e230b6Smaya    .bd = 1,
363610e230b6Smaya    .channels = {
363710e230b6Smaya              .r = {},
363810e230b6Smaya              .g = {},
363910e230b6Smaya              .b = {},
364010e230b6Smaya              .a = { ISL_UNORM, 0, 4 },
364110e230b6Smaya              .l = {},
364210e230b6Smaya              .i = {},
364310e230b6Smaya              .p = { ISL_UNORM, 4, 4 },
364410e230b6Smaya    },
364596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
364610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
364710e230b6Smaya    .txc = ISL_TXC_NONE,
364810e230b6Smaya  },
364910e230b6Smaya
365010e230b6Smaya  [ISL_FORMAT_Y8_UNORM] = {
365110e230b6Smaya    .format = ISL_FORMAT_Y8_UNORM,
365296c5ddc4Srjs    .bpb = 8,
365396c5ddc4Srjs    .bw = 1,
365496c5ddc4Srjs    .bh = 1,
365596c5ddc4Srjs    .bd = 1,
365610e230b6Smaya    .channels = {
365710e230b6Smaya              .r = {},
365896c5ddc4Srjs              .g = { ISL_UNORM, -1, 8 },
365910e230b6Smaya              .b = {},
366010e230b6Smaya              .a = {},
366110e230b6Smaya              .l = {},
366210e230b6Smaya              .i = {},
366310e230b6Smaya              .p = {},
366410e230b6Smaya    },
366596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
366610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
366710e230b6Smaya    .txc = ISL_TXC_NONE,
366810e230b6Smaya  },
366910e230b6Smaya
367010e230b6Smaya  [ISL_FORMAT_L8_UINT] = {
367110e230b6Smaya    .format = ISL_FORMAT_L8_UINT,
367210e230b6Smaya    .bpb = 8,
367310e230b6Smaya    .bw = 1,
367410e230b6Smaya    .bh = 1,
367510e230b6Smaya    .bd = 1,
367610e230b6Smaya    .channels = {
367710e230b6Smaya              .r = {},
367810e230b6Smaya              .g = {},
367910e230b6Smaya              .b = {},
368010e230b6Smaya              .a = {},
368110e230b6Smaya              .l = { ISL_UINT, 0, 8 },
368210e230b6Smaya              .i = {},
368310e230b6Smaya              .p = {},
368410e230b6Smaya    },
368596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
368610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
368710e230b6Smaya    .txc = ISL_TXC_NONE,
368810e230b6Smaya  },
368910e230b6Smaya
369010e230b6Smaya  [ISL_FORMAT_L8_SINT] = {
369110e230b6Smaya    .format = ISL_FORMAT_L8_SINT,
369210e230b6Smaya    .bpb = 8,
369310e230b6Smaya    .bw = 1,
369410e230b6Smaya    .bh = 1,
369510e230b6Smaya    .bd = 1,
369610e230b6Smaya    .channels = {
369710e230b6Smaya              .r = {},
369810e230b6Smaya              .g = {},
369910e230b6Smaya              .b = {},
370010e230b6Smaya              .a = {},
370110e230b6Smaya              .l = { ISL_SINT, 0, 8 },
370210e230b6Smaya              .i = {},
370310e230b6Smaya              .p = {},
370410e230b6Smaya    },
370596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
370610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
370710e230b6Smaya    .txc = ISL_TXC_NONE,
370810e230b6Smaya  },
370910e230b6Smaya
371010e230b6Smaya  [ISL_FORMAT_I8_UINT] = {
371110e230b6Smaya    .format = ISL_FORMAT_I8_UINT,
371210e230b6Smaya    .bpb = 8,
371310e230b6Smaya    .bw = 1,
371410e230b6Smaya    .bh = 1,
371510e230b6Smaya    .bd = 1,
371610e230b6Smaya    .channels = {
371710e230b6Smaya              .r = {},
371810e230b6Smaya              .g = {},
371910e230b6Smaya              .b = {},
372010e230b6Smaya              .a = {},
372110e230b6Smaya              .l = {},
372210e230b6Smaya              .i = { ISL_UINT, 0, 8 },
372310e230b6Smaya              .p = {},
372410e230b6Smaya    },
372596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
372610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
372710e230b6Smaya    .txc = ISL_TXC_NONE,
372810e230b6Smaya  },
372910e230b6Smaya
373010e230b6Smaya  [ISL_FORMAT_I8_SINT] = {
373110e230b6Smaya    .format = ISL_FORMAT_I8_SINT,
373210e230b6Smaya    .bpb = 8,
373310e230b6Smaya    .bw = 1,
373410e230b6Smaya    .bh = 1,
373510e230b6Smaya    .bd = 1,
373610e230b6Smaya    .channels = {
373710e230b6Smaya              .r = {},
373810e230b6Smaya              .g = {},
373910e230b6Smaya              .b = {},
374010e230b6Smaya              .a = {},
374110e230b6Smaya              .l = {},
374210e230b6Smaya              .i = { ISL_SINT, 0, 8 },
374310e230b6Smaya              .p = {},
374410e230b6Smaya    },
374596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
374610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
374710e230b6Smaya    .txc = ISL_TXC_NONE,
374810e230b6Smaya  },
374910e230b6Smaya
375010e230b6Smaya  [ISL_FORMAT_DXT1_RGB_SRGB] = {
375110e230b6Smaya    .format = ISL_FORMAT_DXT1_RGB_SRGB,
375210e230b6Smaya    .bpb = 64,
375310e230b6Smaya    .bw = 4,
375410e230b6Smaya    .bh = 4,
375510e230b6Smaya    .bd = 1,
375610e230b6Smaya    .channels = {
375710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
375810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
375910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
376010e230b6Smaya              .a = {},
376110e230b6Smaya              .l = {},
376210e230b6Smaya              .i = {},
376310e230b6Smaya              .p = {},
376410e230b6Smaya    },
376596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
376610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
376710e230b6Smaya    .txc = ISL_TXC_DXT1,
376810e230b6Smaya  },
376910e230b6Smaya
377010e230b6Smaya  [ISL_FORMAT_R1_UNORM] = {
377110e230b6Smaya    .format = ISL_FORMAT_R1_UNORM,
377210e230b6Smaya    .bpb = 1,
377310e230b6Smaya    .bw = 1,
377410e230b6Smaya    .bh = 1,
377510e230b6Smaya    .bd = 1,
377610e230b6Smaya    .channels = {
377710e230b6Smaya              .r = { ISL_UNORM, 0, 1 },
377810e230b6Smaya              .g = {},
377910e230b6Smaya              .b = {},
378010e230b6Smaya              .a = {},
378110e230b6Smaya              .l = {},
378210e230b6Smaya              .i = {},
378310e230b6Smaya              .p = {},
378410e230b6Smaya    },
378596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
378610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
378710e230b6Smaya    .txc = ISL_TXC_NONE,
378810e230b6Smaya  },
378910e230b6Smaya
379010e230b6Smaya  [ISL_FORMAT_YCRCB_NORMAL] = {
379110e230b6Smaya    .format = ISL_FORMAT_YCRCB_NORMAL,
379210e230b6Smaya    .bpb = 16,
379310e230b6Smaya    .bw = 1,
379410e230b6Smaya    .bh = 1,
379510e230b6Smaya    .bd = 1,
379610e230b6Smaya    .channels = {
379710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
379810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
379910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
380010e230b6Smaya              .a = {},
380110e230b6Smaya              .l = {},
380210e230b6Smaya              .i = {},
380310e230b6Smaya              .p = {},
380410e230b6Smaya    },
380596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
380610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
380710e230b6Smaya    .txc = ISL_TXC_NONE,
380810e230b6Smaya  },
380910e230b6Smaya
381010e230b6Smaya  [ISL_FORMAT_YCRCB_SWAPUVY] = {
381110e230b6Smaya    .format = ISL_FORMAT_YCRCB_SWAPUVY,
381210e230b6Smaya    .bpb = 16,
381310e230b6Smaya    .bw = 1,
381410e230b6Smaya    .bh = 1,
381510e230b6Smaya    .bd = 1,
381610e230b6Smaya    .channels = {
381710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
381810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
381910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
382010e230b6Smaya              .a = {},
382110e230b6Smaya              .l = {},
382210e230b6Smaya              .i = {},
382310e230b6Smaya              .p = {},
382410e230b6Smaya    },
382596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
382610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
382710e230b6Smaya    .txc = ISL_TXC_NONE,
382810e230b6Smaya  },
382910e230b6Smaya
383010e230b6Smaya  [ISL_FORMAT_P2_UNORM_PALETTE0] = {
383110e230b6Smaya    .format = ISL_FORMAT_P2_UNORM_PALETTE0,
383210e230b6Smaya    .bpb = 2,
383310e230b6Smaya    .bw = 1,
383410e230b6Smaya    .bh = 1,
383510e230b6Smaya    .bd = 1,
383610e230b6Smaya    .channels = {
383710e230b6Smaya              .r = {},
383810e230b6Smaya              .g = {},
383910e230b6Smaya              .b = {},
384010e230b6Smaya              .a = {},
384110e230b6Smaya              .l = {},
384210e230b6Smaya              .i = {},
384310e230b6Smaya              .p = { ISL_UNORM, 0, 2 },
384410e230b6Smaya    },
384596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
384610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
384710e230b6Smaya    .txc = ISL_TXC_NONE,
384810e230b6Smaya  },
384910e230b6Smaya
385010e230b6Smaya  [ISL_FORMAT_P2_UNORM_PALETTE1] = {
385110e230b6Smaya    .format = ISL_FORMAT_P2_UNORM_PALETTE1,
385210e230b6Smaya    .bpb = 2,
385310e230b6Smaya    .bw = 1,
385410e230b6Smaya    .bh = 1,
385510e230b6Smaya    .bd = 1,
385610e230b6Smaya    .channels = {
385710e230b6Smaya              .r = {},
385810e230b6Smaya              .g = {},
385910e230b6Smaya              .b = {},
386010e230b6Smaya              .a = {},
386110e230b6Smaya              .l = {},
386210e230b6Smaya              .i = {},
386310e230b6Smaya              .p = { ISL_UNORM, 0, 2 },
386410e230b6Smaya    },
386596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
386610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
386710e230b6Smaya    .txc = ISL_TXC_NONE,
386810e230b6Smaya  },
386910e230b6Smaya
387010e230b6Smaya  [ISL_FORMAT_BC1_UNORM] = {
387110e230b6Smaya    .format = ISL_FORMAT_BC1_UNORM,
387210e230b6Smaya    .bpb = 64,
387310e230b6Smaya    .bw = 4,
387410e230b6Smaya    .bh = 4,
387510e230b6Smaya    .bd = 1,
387610e230b6Smaya    .channels = {
387710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
387810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
387910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
388010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
388110e230b6Smaya              .l = {},
388210e230b6Smaya              .i = {},
388310e230b6Smaya              .p = {},
388410e230b6Smaya    },
388596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
388610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
388710e230b6Smaya    .txc = ISL_TXC_DXT1,
388810e230b6Smaya  },
388910e230b6Smaya
389010e230b6Smaya  [ISL_FORMAT_BC2_UNORM] = {
389110e230b6Smaya    .format = ISL_FORMAT_BC2_UNORM,
389210e230b6Smaya    .bpb = 128,
389310e230b6Smaya    .bw = 4,
389410e230b6Smaya    .bh = 4,
389510e230b6Smaya    .bd = 1,
389610e230b6Smaya    .channels = {
389710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
389810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
389910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
390010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
390110e230b6Smaya              .l = {},
390210e230b6Smaya              .i = {},
390310e230b6Smaya              .p = {},
390410e230b6Smaya    },
390596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
390610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
390710e230b6Smaya    .txc = ISL_TXC_DXT3,
390810e230b6Smaya  },
390910e230b6Smaya
391010e230b6Smaya  [ISL_FORMAT_BC3_UNORM] = {
391110e230b6Smaya    .format = ISL_FORMAT_BC3_UNORM,
391210e230b6Smaya    .bpb = 128,
391310e230b6Smaya    .bw = 4,
391410e230b6Smaya    .bh = 4,
391510e230b6Smaya    .bd = 1,
391610e230b6Smaya    .channels = {
391710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
391810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
391910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
392010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
392110e230b6Smaya              .l = {},
392210e230b6Smaya              .i = {},
392310e230b6Smaya              .p = {},
392410e230b6Smaya    },
392596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
392610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
392710e230b6Smaya    .txc = ISL_TXC_DXT5,
392810e230b6Smaya  },
392910e230b6Smaya
393010e230b6Smaya  [ISL_FORMAT_BC4_UNORM] = {
393110e230b6Smaya    .format = ISL_FORMAT_BC4_UNORM,
393210e230b6Smaya    .bpb = 64,
393310e230b6Smaya    .bw = 4,
393410e230b6Smaya    .bh = 4,
393510e230b6Smaya    .bd = 1,
393610e230b6Smaya    .channels = {
393710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
393810e230b6Smaya              .g = {},
393910e230b6Smaya              .b = {},
394010e230b6Smaya              .a = {},
394110e230b6Smaya              .l = {},
394210e230b6Smaya              .i = {},
394310e230b6Smaya              .p = {},
394410e230b6Smaya    },
394596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
394610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
394710e230b6Smaya    .txc = ISL_TXC_RGTC1,
394810e230b6Smaya  },
394910e230b6Smaya
395010e230b6Smaya  [ISL_FORMAT_BC5_UNORM] = {
395110e230b6Smaya    .format = ISL_FORMAT_BC5_UNORM,
395210e230b6Smaya    .bpb = 128,
395310e230b6Smaya    .bw = 4,
395410e230b6Smaya    .bh = 4,
395510e230b6Smaya    .bd = 1,
395610e230b6Smaya    .channels = {
395710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
395810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
395910e230b6Smaya              .b = {},
396010e230b6Smaya              .a = {},
396110e230b6Smaya              .l = {},
396210e230b6Smaya              .i = {},
396310e230b6Smaya              .p = {},
396410e230b6Smaya    },
396596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
396610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
396710e230b6Smaya    .txc = ISL_TXC_RGTC2,
396810e230b6Smaya  },
396910e230b6Smaya
397010e230b6Smaya  [ISL_FORMAT_BC1_UNORM_SRGB] = {
397110e230b6Smaya    .format = ISL_FORMAT_BC1_UNORM_SRGB,
397210e230b6Smaya    .bpb = 64,
397310e230b6Smaya    .bw = 4,
397410e230b6Smaya    .bh = 4,
397510e230b6Smaya    .bd = 1,
397610e230b6Smaya    .channels = {
397710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
397810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
397910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
398010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
398110e230b6Smaya              .l = {},
398210e230b6Smaya              .i = {},
398310e230b6Smaya              .p = {},
398410e230b6Smaya    },
398596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
398610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
398710e230b6Smaya    .txc = ISL_TXC_DXT1,
398810e230b6Smaya  },
398910e230b6Smaya
399010e230b6Smaya  [ISL_FORMAT_BC2_UNORM_SRGB] = {
399110e230b6Smaya    .format = ISL_FORMAT_BC2_UNORM_SRGB,
399210e230b6Smaya    .bpb = 128,
399310e230b6Smaya    .bw = 4,
399410e230b6Smaya    .bh = 4,
399510e230b6Smaya    .bd = 1,
399610e230b6Smaya    .channels = {
399710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
399810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
399910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
400010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
400110e230b6Smaya              .l = {},
400210e230b6Smaya              .i = {},
400310e230b6Smaya              .p = {},
400410e230b6Smaya    },
400596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
400610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
400710e230b6Smaya    .txc = ISL_TXC_DXT3,
400810e230b6Smaya  },
400910e230b6Smaya
401010e230b6Smaya  [ISL_FORMAT_BC3_UNORM_SRGB] = {
401110e230b6Smaya    .format = ISL_FORMAT_BC3_UNORM_SRGB,
401210e230b6Smaya    .bpb = 128,
401310e230b6Smaya    .bw = 4,
401410e230b6Smaya    .bh = 4,
401510e230b6Smaya    .bd = 1,
401610e230b6Smaya    .channels = {
401710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
401810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
401910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
402010e230b6Smaya              .a = { ISL_UNORM, -1, 4 },
402110e230b6Smaya              .l = {},
402210e230b6Smaya              .i = {},
402310e230b6Smaya              .p = {},
402410e230b6Smaya    },
402596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
402610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
402710e230b6Smaya    .txc = ISL_TXC_DXT5,
402810e230b6Smaya  },
402910e230b6Smaya
403010e230b6Smaya  [ISL_FORMAT_MONO8] = {
403110e230b6Smaya    .format = ISL_FORMAT_MONO8,
403210e230b6Smaya    .bpb = 1,
403310e230b6Smaya    .bw = 1,
403410e230b6Smaya    .bh = 1,
403510e230b6Smaya    .bd = 1,
403610e230b6Smaya    .channels = {
403710e230b6Smaya              .r = {},
403810e230b6Smaya              .g = {},
403910e230b6Smaya              .b = {},
404010e230b6Smaya              .a = {},
404110e230b6Smaya              .l = {},
404210e230b6Smaya              .i = {},
404310e230b6Smaya              .p = {},
404410e230b6Smaya    },
404596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
404610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
404710e230b6Smaya    .txc = ISL_TXC_NONE,
404810e230b6Smaya  },
404910e230b6Smaya
405010e230b6Smaya  [ISL_FORMAT_YCRCB_SWAPUV] = {
405110e230b6Smaya    .format = ISL_FORMAT_YCRCB_SWAPUV,
405210e230b6Smaya    .bpb = 16,
405310e230b6Smaya    .bw = 1,
405410e230b6Smaya    .bh = 1,
405510e230b6Smaya    .bd = 1,
405610e230b6Smaya    .channels = {
405710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
405810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
405910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
406010e230b6Smaya              .a = {},
406110e230b6Smaya              .l = {},
406210e230b6Smaya              .i = {},
406310e230b6Smaya              .p = {},
406410e230b6Smaya    },
406596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
406610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
406710e230b6Smaya    .txc = ISL_TXC_NONE,
406810e230b6Smaya  },
406910e230b6Smaya
407010e230b6Smaya  [ISL_FORMAT_YCRCB_SWAPY] = {
407110e230b6Smaya    .format = ISL_FORMAT_YCRCB_SWAPY,
407210e230b6Smaya    .bpb = 16,
407310e230b6Smaya    .bw = 1,
407410e230b6Smaya    .bh = 1,
407510e230b6Smaya    .bd = 1,
407610e230b6Smaya    .channels = {
407710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
407810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
407910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
408010e230b6Smaya              .a = {},
408110e230b6Smaya              .l = {},
408210e230b6Smaya              .i = {},
408310e230b6Smaya              .p = {},
408410e230b6Smaya    },
408596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
408610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
408710e230b6Smaya    .txc = ISL_TXC_NONE,
408810e230b6Smaya  },
408910e230b6Smaya
409010e230b6Smaya  [ISL_FORMAT_DXT1_RGB] = {
409110e230b6Smaya    .format = ISL_FORMAT_DXT1_RGB,
409210e230b6Smaya    .bpb = 64,
409310e230b6Smaya    .bw = 4,
409410e230b6Smaya    .bh = 4,
409510e230b6Smaya    .bd = 1,
409610e230b6Smaya    .channels = {
409710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
409810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
409910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
410010e230b6Smaya              .a = {},
410110e230b6Smaya              .l = {},
410210e230b6Smaya              .i = {},
410310e230b6Smaya              .p = {},
410410e230b6Smaya    },
410596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
410610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
410710e230b6Smaya    .txc = ISL_TXC_DXT1,
410810e230b6Smaya  },
410910e230b6Smaya
411010e230b6Smaya  [ISL_FORMAT_FXT1] = {
411110e230b6Smaya    .format = ISL_FORMAT_FXT1,
411210e230b6Smaya    .bpb = 128,
411310e230b6Smaya    .bw = 8,
411410e230b6Smaya    .bh = 4,
411510e230b6Smaya    .bd = 1,
411610e230b6Smaya    .channels = {
411710e230b6Smaya              .r = { ISL_UNORM, -1, 4 },
411810e230b6Smaya              .g = { ISL_UNORM, -1, 4 },
411910e230b6Smaya              .b = { ISL_UNORM, -1, 4 },
412010e230b6Smaya              .a = {},
412110e230b6Smaya              .l = {},
412210e230b6Smaya              .i = {},
412310e230b6Smaya              .p = {},
412410e230b6Smaya    },
412596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
412610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
412710e230b6Smaya    .txc = ISL_TXC_FXT1,
412810e230b6Smaya  },
412910e230b6Smaya
413010e230b6Smaya  [ISL_FORMAT_R8G8B8_UNORM] = {
413110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_UNORM,
413210e230b6Smaya    .bpb = 24,
413310e230b6Smaya    .bw = 1,
413410e230b6Smaya    .bh = 1,
413510e230b6Smaya    .bd = 1,
413610e230b6Smaya    .channels = {
413710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
413810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
413910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
414010e230b6Smaya              .a = {},
414110e230b6Smaya              .l = {},
414210e230b6Smaya              .i = {},
414310e230b6Smaya              .p = {},
414410e230b6Smaya    },
414596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
414610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
414710e230b6Smaya    .txc = ISL_TXC_NONE,
414810e230b6Smaya  },
414910e230b6Smaya
415010e230b6Smaya  [ISL_FORMAT_R8G8B8_SNORM] = {
415110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_SNORM,
415210e230b6Smaya    .bpb = 24,
415310e230b6Smaya    .bw = 1,
415410e230b6Smaya    .bh = 1,
415510e230b6Smaya    .bd = 1,
415610e230b6Smaya    .channels = {
415710e230b6Smaya              .r = { ISL_SNORM, 0, 8 },
415810e230b6Smaya              .g = { ISL_SNORM, 8, 8 },
415910e230b6Smaya              .b = { ISL_SNORM, 16, 8 },
416010e230b6Smaya              .a = {},
416110e230b6Smaya              .l = {},
416210e230b6Smaya              .i = {},
416310e230b6Smaya              .p = {},
416410e230b6Smaya    },
416596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
416610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
416710e230b6Smaya    .txc = ISL_TXC_NONE,
416810e230b6Smaya  },
416910e230b6Smaya
417010e230b6Smaya  [ISL_FORMAT_R8G8B8_SSCALED] = {
417110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_SSCALED,
417210e230b6Smaya    .bpb = 24,
417310e230b6Smaya    .bw = 1,
417410e230b6Smaya    .bh = 1,
417510e230b6Smaya    .bd = 1,
417610e230b6Smaya    .channels = {
417710e230b6Smaya              .r = { ISL_SSCALED, 0, 8 },
417810e230b6Smaya              .g = { ISL_SSCALED, 8, 8 },
417910e230b6Smaya              .b = { ISL_SSCALED, 16, 8 },
418010e230b6Smaya              .a = {},
418110e230b6Smaya              .l = {},
418210e230b6Smaya              .i = {},
418310e230b6Smaya              .p = {},
418410e230b6Smaya    },
418596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
418610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
418710e230b6Smaya    .txc = ISL_TXC_NONE,
418810e230b6Smaya  },
418910e230b6Smaya
419010e230b6Smaya  [ISL_FORMAT_R8G8B8_USCALED] = {
419110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_USCALED,
419210e230b6Smaya    .bpb = 24,
419310e230b6Smaya    .bw = 1,
419410e230b6Smaya    .bh = 1,
419510e230b6Smaya    .bd = 1,
419610e230b6Smaya    .channels = {
419710e230b6Smaya              .r = { ISL_USCALED, 0, 8 },
419810e230b6Smaya              .g = { ISL_USCALED, 8, 8 },
419910e230b6Smaya              .b = { ISL_USCALED, 16, 8 },
420010e230b6Smaya              .a = {},
420110e230b6Smaya              .l = {},
420210e230b6Smaya              .i = {},
420310e230b6Smaya              .p = {},
420410e230b6Smaya    },
420596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
420610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
420710e230b6Smaya    .txc = ISL_TXC_NONE,
420810e230b6Smaya  },
420910e230b6Smaya
421010e230b6Smaya  [ISL_FORMAT_R64G64B64A64_FLOAT] = {
421110e230b6Smaya    .format = ISL_FORMAT_R64G64B64A64_FLOAT,
421210e230b6Smaya    .bpb = 256,
421310e230b6Smaya    .bw = 1,
421410e230b6Smaya    .bh = 1,
421510e230b6Smaya    .bd = 1,
421610e230b6Smaya    .channels = {
421710e230b6Smaya              .r = { ISL_SFLOAT, 0, 64 },
421810e230b6Smaya              .g = { ISL_SFLOAT, 64, 64 },
421910e230b6Smaya              .b = { ISL_SFLOAT, 128, 64 },
422010e230b6Smaya              .a = { ISL_SFLOAT, 192, 64 },
422110e230b6Smaya              .l = {},
422210e230b6Smaya              .i = {},
422310e230b6Smaya              .p = {},
422410e230b6Smaya    },
422596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
422610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
422710e230b6Smaya    .txc = ISL_TXC_NONE,
422810e230b6Smaya  },
422910e230b6Smaya
423010e230b6Smaya  [ISL_FORMAT_R64G64B64_FLOAT] = {
423110e230b6Smaya    .format = ISL_FORMAT_R64G64B64_FLOAT,
423210e230b6Smaya    .bpb = 196,
423310e230b6Smaya    .bw = 1,
423410e230b6Smaya    .bh = 1,
423510e230b6Smaya    .bd = 1,
423610e230b6Smaya    .channels = {
423710e230b6Smaya              .r = { ISL_SFLOAT, 0, 64 },
423810e230b6Smaya              .g = { ISL_SFLOAT, 64, 64 },
423910e230b6Smaya              .b = { ISL_SFLOAT, 128, 64 },
424010e230b6Smaya              .a = {},
424110e230b6Smaya              .l = {},
424210e230b6Smaya              .i = {},
424310e230b6Smaya              .p = {},
424410e230b6Smaya    },
424596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
424610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
424710e230b6Smaya    .txc = ISL_TXC_NONE,
424810e230b6Smaya  },
424910e230b6Smaya
425010e230b6Smaya  [ISL_FORMAT_BC4_SNORM] = {
425110e230b6Smaya    .format = ISL_FORMAT_BC4_SNORM,
425210e230b6Smaya    .bpb = 64,
425310e230b6Smaya    .bw = 4,
425410e230b6Smaya    .bh = 4,
425510e230b6Smaya    .bd = 1,
425610e230b6Smaya    .channels = {
425710e230b6Smaya              .r = { ISL_SNORM, -1, 8 },
425810e230b6Smaya              .g = {},
425910e230b6Smaya              .b = {},
426010e230b6Smaya              .a = {},
426110e230b6Smaya              .l = {},
426210e230b6Smaya              .i = {},
426310e230b6Smaya              .p = {},
426410e230b6Smaya    },
426596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
426610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
426710e230b6Smaya    .txc = ISL_TXC_RGTC1,
426810e230b6Smaya  },
426910e230b6Smaya
427010e230b6Smaya  [ISL_FORMAT_BC5_SNORM] = {
427110e230b6Smaya    .format = ISL_FORMAT_BC5_SNORM,
427210e230b6Smaya    .bpb = 128,
427310e230b6Smaya    .bw = 4,
427410e230b6Smaya    .bh = 4,
427510e230b6Smaya    .bd = 1,
427610e230b6Smaya    .channels = {
427710e230b6Smaya              .r = { ISL_SNORM, -1, 8 },
427810e230b6Smaya              .g = { ISL_SNORM, -1, 8 },
427910e230b6Smaya              .b = {},
428010e230b6Smaya              .a = {},
428110e230b6Smaya              .l = {},
428210e230b6Smaya              .i = {},
428310e230b6Smaya              .p = {},
428410e230b6Smaya    },
428596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
428610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
428710e230b6Smaya    .txc = ISL_TXC_RGTC2,
428810e230b6Smaya  },
428910e230b6Smaya
429010e230b6Smaya  [ISL_FORMAT_R16G16B16_FLOAT] = {
429110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_FLOAT,
429210e230b6Smaya    .bpb = 48,
429310e230b6Smaya    .bw = 1,
429410e230b6Smaya    .bh = 1,
429510e230b6Smaya    .bd = 1,
429610e230b6Smaya    .channels = {
429710e230b6Smaya              .r = { ISL_SFLOAT, 0, 16 },
429810e230b6Smaya              .g = { ISL_SFLOAT, 16, 16 },
429910e230b6Smaya              .b = { ISL_SFLOAT, 32, 16 },
430010e230b6Smaya              .a = {},
430110e230b6Smaya              .l = {},
430210e230b6Smaya              .i = {},
430310e230b6Smaya              .p = {},
430410e230b6Smaya    },
430596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
430610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
430710e230b6Smaya    .txc = ISL_TXC_NONE,
430810e230b6Smaya  },
430910e230b6Smaya
431010e230b6Smaya  [ISL_FORMAT_R16G16B16_UNORM] = {
431110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_UNORM,
431210e230b6Smaya    .bpb = 48,
431310e230b6Smaya    .bw = 1,
431410e230b6Smaya    .bh = 1,
431510e230b6Smaya    .bd = 1,
431610e230b6Smaya    .channels = {
431710e230b6Smaya              .r = { ISL_UNORM, 0, 16 },
431810e230b6Smaya              .g = { ISL_UNORM, 16, 16 },
431910e230b6Smaya              .b = { ISL_UNORM, 32, 16 },
432010e230b6Smaya              .a = {},
432110e230b6Smaya              .l = {},
432210e230b6Smaya              .i = {},
432310e230b6Smaya              .p = {},
432410e230b6Smaya    },
432596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
432610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
432710e230b6Smaya    .txc = ISL_TXC_NONE,
432810e230b6Smaya  },
432910e230b6Smaya
433010e230b6Smaya  [ISL_FORMAT_R16G16B16_SNORM] = {
433110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_SNORM,
433210e230b6Smaya    .bpb = 48,
433310e230b6Smaya    .bw = 1,
433410e230b6Smaya    .bh = 1,
433510e230b6Smaya    .bd = 1,
433610e230b6Smaya    .channels = {
433710e230b6Smaya              .r = { ISL_SNORM, 0, 16 },
433810e230b6Smaya              .g = { ISL_SNORM, 16, 16 },
433910e230b6Smaya              .b = { ISL_SNORM, 32, 16 },
434010e230b6Smaya              .a = {},
434110e230b6Smaya              .l = {},
434210e230b6Smaya              .i = {},
434310e230b6Smaya              .p = {},
434410e230b6Smaya    },
434596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
434610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
434710e230b6Smaya    .txc = ISL_TXC_NONE,
434810e230b6Smaya  },
434910e230b6Smaya
435010e230b6Smaya  [ISL_FORMAT_R16G16B16_SSCALED] = {
435110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_SSCALED,
435210e230b6Smaya    .bpb = 48,
435310e230b6Smaya    .bw = 1,
435410e230b6Smaya    .bh = 1,
435510e230b6Smaya    .bd = 1,
435610e230b6Smaya    .channels = {
435710e230b6Smaya              .r = { ISL_SSCALED, 0, 16 },
435810e230b6Smaya              .g = { ISL_SSCALED, 16, 16 },
435910e230b6Smaya              .b = { ISL_SSCALED, 32, 16 },
436010e230b6Smaya              .a = {},
436110e230b6Smaya              .l = {},
436210e230b6Smaya              .i = {},
436310e230b6Smaya              .p = {},
436410e230b6Smaya    },
436596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
436610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
436710e230b6Smaya    .txc = ISL_TXC_NONE,
436810e230b6Smaya  },
436910e230b6Smaya
437010e230b6Smaya  [ISL_FORMAT_R16G16B16_USCALED] = {
437110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_USCALED,
437210e230b6Smaya    .bpb = 48,
437310e230b6Smaya    .bw = 1,
437410e230b6Smaya    .bh = 1,
437510e230b6Smaya    .bd = 1,
437610e230b6Smaya    .channels = {
437710e230b6Smaya              .r = { ISL_USCALED, 0, 16 },
437810e230b6Smaya              .g = { ISL_USCALED, 16, 16 },
437910e230b6Smaya              .b = { ISL_USCALED, 32, 16 },
438010e230b6Smaya              .a = {},
438110e230b6Smaya              .l = {},
438210e230b6Smaya              .i = {},
438310e230b6Smaya              .p = {},
438410e230b6Smaya    },
438596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
438610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
438710e230b6Smaya    .txc = ISL_TXC_NONE,
438810e230b6Smaya  },
438910e230b6Smaya
439010e230b6Smaya  [ISL_FORMAT_BC6H_SF16] = {
439110e230b6Smaya    .format = ISL_FORMAT_BC6H_SF16,
439210e230b6Smaya    .bpb = 128,
439310e230b6Smaya    .bw = 4,
439410e230b6Smaya    .bh = 4,
439510e230b6Smaya    .bd = 1,
439610e230b6Smaya    .channels = {
439710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
439810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
439910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
440010e230b6Smaya              .a = {},
440110e230b6Smaya              .l = {},
440210e230b6Smaya              .i = {},
440310e230b6Smaya              .p = {},
440410e230b6Smaya    },
440596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
440610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
440710e230b6Smaya    .txc = ISL_TXC_BPTC,
440810e230b6Smaya  },
440910e230b6Smaya
441010e230b6Smaya  [ISL_FORMAT_BC7_UNORM] = {
441110e230b6Smaya    .format = ISL_FORMAT_BC7_UNORM,
441210e230b6Smaya    .bpb = 128,
441310e230b6Smaya    .bw = 4,
441410e230b6Smaya    .bh = 4,
441510e230b6Smaya    .bd = 1,
441610e230b6Smaya    .channels = {
441710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
441810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
441910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
442010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
442110e230b6Smaya              .l = {},
442210e230b6Smaya              .i = {},
442310e230b6Smaya              .p = {},
442410e230b6Smaya    },
442596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
442610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
442710e230b6Smaya    .txc = ISL_TXC_BPTC,
442810e230b6Smaya  },
442910e230b6Smaya
443010e230b6Smaya  [ISL_FORMAT_BC7_UNORM_SRGB] = {
443110e230b6Smaya    .format = ISL_FORMAT_BC7_UNORM_SRGB,
443210e230b6Smaya    .bpb = 128,
443310e230b6Smaya    .bw = 4,
443410e230b6Smaya    .bh = 4,
443510e230b6Smaya    .bd = 1,
443610e230b6Smaya    .channels = {
443710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
443810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
443910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
444010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
444110e230b6Smaya              .l = {},
444210e230b6Smaya              .i = {},
444310e230b6Smaya              .p = {},
444410e230b6Smaya    },
444596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
444610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
444710e230b6Smaya    .txc = ISL_TXC_BPTC,
444810e230b6Smaya  },
444910e230b6Smaya
445010e230b6Smaya  [ISL_FORMAT_BC6H_UF16] = {
445110e230b6Smaya    .format = ISL_FORMAT_BC6H_UF16,
445210e230b6Smaya    .bpb = 128,
445310e230b6Smaya    .bw = 4,
445410e230b6Smaya    .bh = 4,
445510e230b6Smaya    .bd = 1,
445610e230b6Smaya    .channels = {
445710e230b6Smaya              .r = { ISL_UFLOAT, -1, 16 },
445810e230b6Smaya              .g = { ISL_UFLOAT, -1, 16 },
445910e230b6Smaya              .b = { ISL_UFLOAT, -1, 16 },
446010e230b6Smaya              .a = {},
446110e230b6Smaya              .l = {},
446210e230b6Smaya              .i = {},
446310e230b6Smaya              .p = {},
446410e230b6Smaya    },
446596c5ddc4Srjs    .uniform_channel_type = ISL_UFLOAT,
446610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
446710e230b6Smaya    .txc = ISL_TXC_BPTC,
446810e230b6Smaya  },
446910e230b6Smaya
447010e230b6Smaya  [ISL_FORMAT_PLANAR_420_8] = {
447110e230b6Smaya    .format = ISL_FORMAT_PLANAR_420_8,
447210e230b6Smaya    .bpb = 0,
447310e230b6Smaya    .bw = 0,
447410e230b6Smaya    .bh = 0,
447510e230b6Smaya    .bd = 0,
447610e230b6Smaya    .channels = {
447710e230b6Smaya              .r = {},
447810e230b6Smaya              .g = {},
447910e230b6Smaya              .b = {},
448010e230b6Smaya              .a = {},
448110e230b6Smaya              .l = {},
448210e230b6Smaya              .i = {},
448310e230b6Smaya              .p = {},
448410e230b6Smaya    },
448596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
448696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_YUV,
448796c5ddc4Srjs    .txc = ISL_TXC_NONE,
448896c5ddc4Srjs  },
448996c5ddc4Srjs
449096c5ddc4Srjs  [ISL_FORMAT_PLANAR_420_10] = {
449196c5ddc4Srjs    .format = ISL_FORMAT_PLANAR_420_10,
449296c5ddc4Srjs    .bpb = 0,
449396c5ddc4Srjs    .bw = 0,
449496c5ddc4Srjs    .bh = 0,
449596c5ddc4Srjs    .bd = 0,
449696c5ddc4Srjs    .channels = {
449796c5ddc4Srjs              .r = {},
449896c5ddc4Srjs              .g = {},
449996c5ddc4Srjs              .b = {},
450096c5ddc4Srjs              .a = {},
450196c5ddc4Srjs              .l = {},
450296c5ddc4Srjs              .i = {},
450396c5ddc4Srjs              .p = {},
450496c5ddc4Srjs    },
450596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
450696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_YUV,
450796c5ddc4Srjs    .txc = ISL_TXC_NONE,
450896c5ddc4Srjs  },
450996c5ddc4Srjs
451096c5ddc4Srjs  [ISL_FORMAT_PLANAR_420_12] = {
451196c5ddc4Srjs    .format = ISL_FORMAT_PLANAR_420_12,
451296c5ddc4Srjs    .bpb = 0,
451396c5ddc4Srjs    .bw = 0,
451496c5ddc4Srjs    .bh = 0,
451596c5ddc4Srjs    .bd = 0,
451696c5ddc4Srjs    .channels = {
451796c5ddc4Srjs              .r = {},
451896c5ddc4Srjs              .g = {},
451996c5ddc4Srjs              .b = {},
452096c5ddc4Srjs              .a = {},
452196c5ddc4Srjs              .l = {},
452296c5ddc4Srjs              .i = {},
452396c5ddc4Srjs              .p = {},
452496c5ddc4Srjs    },
452596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
452696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_YUV,
452796c5ddc4Srjs    .txc = ISL_TXC_NONE,
452896c5ddc4Srjs  },
452996c5ddc4Srjs
453096c5ddc4Srjs  [ISL_FORMAT_PLANAR_420_16] = {
453196c5ddc4Srjs    .format = ISL_FORMAT_PLANAR_420_16,
453296c5ddc4Srjs    .bpb = 0,
453396c5ddc4Srjs    .bw = 0,
453496c5ddc4Srjs    .bh = 0,
453596c5ddc4Srjs    .bd = 0,
453696c5ddc4Srjs    .channels = {
453796c5ddc4Srjs              .r = {},
453896c5ddc4Srjs              .g = {},
453996c5ddc4Srjs              .b = {},
454096c5ddc4Srjs              .a = {},
454196c5ddc4Srjs              .l = {},
454296c5ddc4Srjs              .i = {},
454396c5ddc4Srjs              .p = {},
454496c5ddc4Srjs    },
454596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
454610e230b6Smaya    .colorspace = ISL_COLORSPACE_YUV,
454710e230b6Smaya    .txc = ISL_TXC_NONE,
454810e230b6Smaya  },
454910e230b6Smaya
455010e230b6Smaya  [ISL_FORMAT_R8G8B8_UNORM_SRGB] = {
455110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_UNORM_SRGB,
455210e230b6Smaya    .bpb = 24,
455310e230b6Smaya    .bw = 1,
455410e230b6Smaya    .bh = 1,
455510e230b6Smaya    .bd = 1,
455610e230b6Smaya    .channels = {
455710e230b6Smaya              .r = { ISL_UNORM, 0, 8 },
455810e230b6Smaya              .g = { ISL_UNORM, 8, 8 },
455910e230b6Smaya              .b = { ISL_UNORM, 16, 8 },
456010e230b6Smaya              .a = {},
456110e230b6Smaya              .l = {},
456210e230b6Smaya              .i = {},
456310e230b6Smaya              .p = {},
456410e230b6Smaya    },
456596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
456610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
456710e230b6Smaya    .txc = ISL_TXC_NONE,
456810e230b6Smaya  },
456910e230b6Smaya
457010e230b6Smaya  [ISL_FORMAT_ETC1_RGB8] = {
457110e230b6Smaya    .format = ISL_FORMAT_ETC1_RGB8,
457210e230b6Smaya    .bpb = 64,
457310e230b6Smaya    .bw = 4,
457410e230b6Smaya    .bh = 4,
457510e230b6Smaya    .bd = 1,
457610e230b6Smaya    .channels = {
457710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
457810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
457910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
458010e230b6Smaya              .a = {},
458110e230b6Smaya              .l = {},
458210e230b6Smaya              .i = {},
458310e230b6Smaya              .p = {},
458410e230b6Smaya    },
458596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
458610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
458710e230b6Smaya    .txc = ISL_TXC_ETC1,
458810e230b6Smaya  },
458910e230b6Smaya
459010e230b6Smaya  [ISL_FORMAT_ETC2_RGB8] = {
459110e230b6Smaya    .format = ISL_FORMAT_ETC2_RGB8,
459210e230b6Smaya    .bpb = 64,
459310e230b6Smaya    .bw = 4,
459410e230b6Smaya    .bh = 4,
459510e230b6Smaya    .bd = 1,
459610e230b6Smaya    .channels = {
459710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
459810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
459910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
460010e230b6Smaya              .a = {},
460110e230b6Smaya              .l = {},
460210e230b6Smaya              .i = {},
460310e230b6Smaya              .p = {},
460410e230b6Smaya    },
460596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
460610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
460710e230b6Smaya    .txc = ISL_TXC_ETC2,
460810e230b6Smaya  },
460910e230b6Smaya
461010e230b6Smaya  [ISL_FORMAT_EAC_R11] = {
461110e230b6Smaya    .format = ISL_FORMAT_EAC_R11,
461210e230b6Smaya    .bpb = 64,
461310e230b6Smaya    .bw = 4,
461410e230b6Smaya    .bh = 4,
461510e230b6Smaya    .bd = 1,
461610e230b6Smaya    .channels = {
461710e230b6Smaya              .r = { ISL_UNORM, -1, 11 },
461810e230b6Smaya              .g = {},
461910e230b6Smaya              .b = {},
462010e230b6Smaya              .a = {},
462110e230b6Smaya              .l = {},
462210e230b6Smaya              .i = {},
462310e230b6Smaya              .p = {},
462410e230b6Smaya    },
462596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
462610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
462710e230b6Smaya    .txc = ISL_TXC_ETC2,
462810e230b6Smaya  },
462910e230b6Smaya
463010e230b6Smaya  [ISL_FORMAT_EAC_RG11] = {
463110e230b6Smaya    .format = ISL_FORMAT_EAC_RG11,
463210e230b6Smaya    .bpb = 128,
463310e230b6Smaya    .bw = 4,
463410e230b6Smaya    .bh = 4,
463510e230b6Smaya    .bd = 1,
463610e230b6Smaya    .channels = {
463710e230b6Smaya              .r = { ISL_UNORM, -1, 11 },
463810e230b6Smaya              .g = { ISL_UNORM, -1, 11 },
463910e230b6Smaya              .b = {},
464010e230b6Smaya              .a = {},
464110e230b6Smaya              .l = {},
464210e230b6Smaya              .i = {},
464310e230b6Smaya              .p = {},
464410e230b6Smaya    },
464596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
464610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
464710e230b6Smaya    .txc = ISL_TXC_ETC2,
464810e230b6Smaya  },
464910e230b6Smaya
465010e230b6Smaya  [ISL_FORMAT_EAC_SIGNED_R11] = {
465110e230b6Smaya    .format = ISL_FORMAT_EAC_SIGNED_R11,
465210e230b6Smaya    .bpb = 64,
465310e230b6Smaya    .bw = 4,
465410e230b6Smaya    .bh = 4,
465510e230b6Smaya    .bd = 1,
465610e230b6Smaya    .channels = {
465710e230b6Smaya              .r = { ISL_SNORM, -1, 11 },
465810e230b6Smaya              .g = {},
465910e230b6Smaya              .b = {},
466010e230b6Smaya              .a = {},
466110e230b6Smaya              .l = {},
466210e230b6Smaya              .i = {},
466310e230b6Smaya              .p = {},
466410e230b6Smaya    },
466596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
466610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
466710e230b6Smaya    .txc = ISL_TXC_ETC2,
466810e230b6Smaya  },
466910e230b6Smaya
467010e230b6Smaya  [ISL_FORMAT_EAC_SIGNED_RG11] = {
467110e230b6Smaya    .format = ISL_FORMAT_EAC_SIGNED_RG11,
467210e230b6Smaya    .bpb = 128,
467310e230b6Smaya    .bw = 4,
467410e230b6Smaya    .bh = 4,
467510e230b6Smaya    .bd = 1,
467610e230b6Smaya    .channels = {
467710e230b6Smaya              .r = { ISL_SNORM, -1, 11 },
467810e230b6Smaya              .g = { ISL_SNORM, -1, 11 },
467910e230b6Smaya              .b = {},
468010e230b6Smaya              .a = {},
468110e230b6Smaya              .l = {},
468210e230b6Smaya              .i = {},
468310e230b6Smaya              .p = {},
468410e230b6Smaya    },
468596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
468610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
468710e230b6Smaya    .txc = ISL_TXC_ETC2,
468810e230b6Smaya  },
468910e230b6Smaya
469010e230b6Smaya  [ISL_FORMAT_ETC2_SRGB8] = {
469110e230b6Smaya    .format = ISL_FORMAT_ETC2_SRGB8,
469210e230b6Smaya    .bpb = 64,
469310e230b6Smaya    .bw = 4,
469410e230b6Smaya    .bh = 4,
469510e230b6Smaya    .bd = 1,
469610e230b6Smaya    .channels = {
469710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
469810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
469910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
470010e230b6Smaya              .a = {},
470110e230b6Smaya              .l = {},
470210e230b6Smaya              .i = {},
470310e230b6Smaya              .p = {},
470410e230b6Smaya    },
470596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
470610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
470710e230b6Smaya    .txc = ISL_TXC_ETC2,
470810e230b6Smaya  },
470910e230b6Smaya
471010e230b6Smaya  [ISL_FORMAT_R16G16B16_UINT] = {
471110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_UINT,
471210e230b6Smaya    .bpb = 48,
471310e230b6Smaya    .bw = 1,
471410e230b6Smaya    .bh = 1,
471510e230b6Smaya    .bd = 1,
471610e230b6Smaya    .channels = {
471710e230b6Smaya              .r = { ISL_UINT, 0, 16 },
471810e230b6Smaya              .g = { ISL_UINT, 16, 16 },
471910e230b6Smaya              .b = { ISL_UINT, 32, 16 },
472010e230b6Smaya              .a = {},
472110e230b6Smaya              .l = {},
472210e230b6Smaya              .i = {},
472310e230b6Smaya              .p = {},
472410e230b6Smaya    },
472596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
472610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
472710e230b6Smaya    .txc = ISL_TXC_NONE,
472810e230b6Smaya  },
472910e230b6Smaya
473010e230b6Smaya  [ISL_FORMAT_R16G16B16_SINT] = {
473110e230b6Smaya    .format = ISL_FORMAT_R16G16B16_SINT,
473210e230b6Smaya    .bpb = 48,
473310e230b6Smaya    .bw = 1,
473410e230b6Smaya    .bh = 1,
473510e230b6Smaya    .bd = 1,
473610e230b6Smaya    .channels = {
473710e230b6Smaya              .r = { ISL_SINT, 0, 16 },
473810e230b6Smaya              .g = { ISL_SINT, 16, 16 },
473910e230b6Smaya              .b = { ISL_SINT, 32, 16 },
474010e230b6Smaya              .a = {},
474110e230b6Smaya              .l = {},
474210e230b6Smaya              .i = {},
474310e230b6Smaya              .p = {},
474410e230b6Smaya    },
474596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
474610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
474710e230b6Smaya    .txc = ISL_TXC_NONE,
474810e230b6Smaya  },
474910e230b6Smaya
475010e230b6Smaya  [ISL_FORMAT_R32_SFIXED] = {
475110e230b6Smaya    .format = ISL_FORMAT_R32_SFIXED,
475210e230b6Smaya    .bpb = 32,
475310e230b6Smaya    .bw = 1,
475410e230b6Smaya    .bh = 1,
475510e230b6Smaya    .bd = 1,
475610e230b6Smaya    .channels = {
475710e230b6Smaya              .r = { ISL_SFIXED, 0, 16 },
475810e230b6Smaya              .g = {},
475910e230b6Smaya              .b = {},
476010e230b6Smaya              .a = {},
476110e230b6Smaya              .l = {},
476210e230b6Smaya              .i = {},
476310e230b6Smaya              .p = {},
476410e230b6Smaya    },
476596c5ddc4Srjs    .uniform_channel_type = ISL_SFIXED,
476610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
476710e230b6Smaya    .txc = ISL_TXC_NONE,
476810e230b6Smaya  },
476910e230b6Smaya
477010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_SNORM] = {
477110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_SNORM,
477210e230b6Smaya    .bpb = 32,
477310e230b6Smaya    .bw = 1,
477410e230b6Smaya    .bh = 1,
477510e230b6Smaya    .bd = 1,
477610e230b6Smaya    .channels = {
477710e230b6Smaya              .r = { ISL_SNORM, 0, 10 },
477810e230b6Smaya              .g = { ISL_SNORM, 10, 10 },
477910e230b6Smaya              .b = { ISL_SNORM, 20, 10 },
478010e230b6Smaya              .a = { ISL_SNORM, 30, 2 },
478110e230b6Smaya              .l = {},
478210e230b6Smaya              .i = {},
478310e230b6Smaya              .p = {},
478410e230b6Smaya    },
478596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
478610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
478710e230b6Smaya    .txc = ISL_TXC_NONE,
478810e230b6Smaya  },
478910e230b6Smaya
479010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_USCALED] = {
479110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_USCALED,
479210e230b6Smaya    .bpb = 32,
479310e230b6Smaya    .bw = 1,
479410e230b6Smaya    .bh = 1,
479510e230b6Smaya    .bd = 1,
479610e230b6Smaya    .channels = {
479710e230b6Smaya              .r = { ISL_USCALED, 0, 10 },
479810e230b6Smaya              .g = { ISL_USCALED, 10, 10 },
479910e230b6Smaya              .b = { ISL_USCALED, 20, 10 },
480010e230b6Smaya              .a = { ISL_USCALED, 30, 2 },
480110e230b6Smaya              .l = {},
480210e230b6Smaya              .i = {},
480310e230b6Smaya              .p = {},
480410e230b6Smaya    },
480596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
480610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
480710e230b6Smaya    .txc = ISL_TXC_NONE,
480810e230b6Smaya  },
480910e230b6Smaya
481010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_SSCALED] = {
481110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_SSCALED,
481210e230b6Smaya    .bpb = 32,
481310e230b6Smaya    .bw = 1,
481410e230b6Smaya    .bh = 1,
481510e230b6Smaya    .bd = 1,
481610e230b6Smaya    .channels = {
481710e230b6Smaya              .r = { ISL_SSCALED, 0, 10 },
481810e230b6Smaya              .g = { ISL_SSCALED, 10, 10 },
481910e230b6Smaya              .b = { ISL_SSCALED, 20, 10 },
482010e230b6Smaya              .a = { ISL_SSCALED, 30, 2 },
482110e230b6Smaya              .l = {},
482210e230b6Smaya              .i = {},
482310e230b6Smaya              .p = {},
482410e230b6Smaya    },
482596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
482610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
482710e230b6Smaya    .txc = ISL_TXC_NONE,
482810e230b6Smaya  },
482910e230b6Smaya
483010e230b6Smaya  [ISL_FORMAT_R10G10B10A2_SINT] = {
483110e230b6Smaya    .format = ISL_FORMAT_R10G10B10A2_SINT,
483210e230b6Smaya    .bpb = 32,
483310e230b6Smaya    .bw = 1,
483410e230b6Smaya    .bh = 1,
483510e230b6Smaya    .bd = 1,
483610e230b6Smaya    .channels = {
483710e230b6Smaya              .r = { ISL_SINT, 0, 10 },
483810e230b6Smaya              .g = { ISL_SINT, 10, 10 },
483910e230b6Smaya              .b = { ISL_SINT, 20, 10 },
484010e230b6Smaya              .a = { ISL_SINT, 30, 2 },
484110e230b6Smaya              .l = {},
484210e230b6Smaya              .i = {},
484310e230b6Smaya              .p = {},
484410e230b6Smaya    },
484596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
484610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
484710e230b6Smaya    .txc = ISL_TXC_NONE,
484810e230b6Smaya  },
484910e230b6Smaya
485010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_SNORM] = {
485110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_SNORM,
485210e230b6Smaya    .bpb = 32,
485310e230b6Smaya    .bw = 1,
485410e230b6Smaya    .bh = 1,
485510e230b6Smaya    .bd = 1,
485610e230b6Smaya    .channels = {
485710e230b6Smaya              .r = { ISL_SNORM, 0, 10 },
485810e230b6Smaya              .g = { ISL_SNORM, 10, 10 },
485910e230b6Smaya              .b = { ISL_SNORM, 20, 10 },
486010e230b6Smaya              .a = { ISL_SNORM, 30, 2 },
486110e230b6Smaya              .l = {},
486210e230b6Smaya              .i = {},
486310e230b6Smaya              .p = {},
486410e230b6Smaya    },
486596c5ddc4Srjs    .uniform_channel_type = ISL_SNORM,
486610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
486710e230b6Smaya    .txc = ISL_TXC_NONE,
486810e230b6Smaya  },
486910e230b6Smaya
487010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_USCALED] = {
487110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_USCALED,
487210e230b6Smaya    .bpb = 32,
487310e230b6Smaya    .bw = 1,
487410e230b6Smaya    .bh = 1,
487510e230b6Smaya    .bd = 1,
487610e230b6Smaya    .channels = {
487710e230b6Smaya              .r = { ISL_USCALED, 0, 10 },
487810e230b6Smaya              .g = { ISL_USCALED, 10, 10 },
487910e230b6Smaya              .b = { ISL_USCALED, 20, 10 },
488010e230b6Smaya              .a = { ISL_USCALED, 30, 2 },
488110e230b6Smaya              .l = {},
488210e230b6Smaya              .i = {},
488310e230b6Smaya              .p = {},
488410e230b6Smaya    },
488596c5ddc4Srjs    .uniform_channel_type = ISL_USCALED,
488610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
488710e230b6Smaya    .txc = ISL_TXC_NONE,
488810e230b6Smaya  },
488910e230b6Smaya
489010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_SSCALED] = {
489110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_SSCALED,
489210e230b6Smaya    .bpb = 32,
489310e230b6Smaya    .bw = 1,
489410e230b6Smaya    .bh = 1,
489510e230b6Smaya    .bd = 1,
489610e230b6Smaya    .channels = {
489710e230b6Smaya              .r = { ISL_SSCALED, 0, 10 },
489810e230b6Smaya              .g = { ISL_SSCALED, 10, 10 },
489910e230b6Smaya              .b = { ISL_SSCALED, 20, 10 },
490010e230b6Smaya              .a = { ISL_SSCALED, 30, 2 },
490110e230b6Smaya              .l = {},
490210e230b6Smaya              .i = {},
490310e230b6Smaya              .p = {},
490410e230b6Smaya    },
490596c5ddc4Srjs    .uniform_channel_type = ISL_SSCALED,
490610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
490710e230b6Smaya    .txc = ISL_TXC_NONE,
490810e230b6Smaya  },
490910e230b6Smaya
491010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_UINT] = {
491110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_UINT,
491210e230b6Smaya    .bpb = 32,
491310e230b6Smaya    .bw = 1,
491410e230b6Smaya    .bh = 1,
491510e230b6Smaya    .bd = 1,
491610e230b6Smaya    .channels = {
491710e230b6Smaya              .r = { ISL_UINT, 0, 10 },
491810e230b6Smaya              .g = { ISL_UINT, 10, 10 },
491910e230b6Smaya              .b = { ISL_UINT, 20, 10 },
492010e230b6Smaya              .a = { ISL_UINT, 30, 2 },
492110e230b6Smaya              .l = {},
492210e230b6Smaya              .i = {},
492310e230b6Smaya              .p = {},
492410e230b6Smaya    },
492596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
492610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
492710e230b6Smaya    .txc = ISL_TXC_NONE,
492810e230b6Smaya  },
492910e230b6Smaya
493010e230b6Smaya  [ISL_FORMAT_B10G10R10A2_SINT] = {
493110e230b6Smaya    .format = ISL_FORMAT_B10G10R10A2_SINT,
493210e230b6Smaya    .bpb = 32,
493310e230b6Smaya    .bw = 1,
493410e230b6Smaya    .bh = 1,
493510e230b6Smaya    .bd = 1,
493610e230b6Smaya    .channels = {
493710e230b6Smaya              .r = { ISL_SINT, 0, 10 },
493810e230b6Smaya              .g = { ISL_SINT, 10, 10 },
493910e230b6Smaya              .b = { ISL_SINT, 20, 10 },
494010e230b6Smaya              .a = { ISL_SINT, 30, 2 },
494110e230b6Smaya              .l = {},
494210e230b6Smaya              .i = {},
494310e230b6Smaya              .p = {},
494410e230b6Smaya    },
494596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
494610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
494710e230b6Smaya    .txc = ISL_TXC_NONE,
494810e230b6Smaya  },
494910e230b6Smaya
495010e230b6Smaya  [ISL_FORMAT_R64G64B64A64_PASSTHRU] = {
495110e230b6Smaya    .format = ISL_FORMAT_R64G64B64A64_PASSTHRU,
495210e230b6Smaya    .bpb = 256,
495310e230b6Smaya    .bw = 1,
495410e230b6Smaya    .bh = 1,
495510e230b6Smaya    .bd = 1,
495610e230b6Smaya    .channels = {
495710e230b6Smaya              .r = { ISL_RAW, 0, 64 },
495810e230b6Smaya              .g = { ISL_RAW, 64, 64 },
495910e230b6Smaya              .b = { ISL_RAW, 128, 64 },
496010e230b6Smaya              .a = { ISL_RAW, 192, 64 },
496110e230b6Smaya              .l = {},
496210e230b6Smaya              .i = {},
496310e230b6Smaya              .p = {},
496410e230b6Smaya    },
496596c5ddc4Srjs    .uniform_channel_type = ISL_RAW,
496610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
496710e230b6Smaya    .txc = ISL_TXC_NONE,
496810e230b6Smaya  },
496910e230b6Smaya
497010e230b6Smaya  [ISL_FORMAT_R64G64B64_PASSTHRU] = {
497110e230b6Smaya    .format = ISL_FORMAT_R64G64B64_PASSTHRU,
497210e230b6Smaya    .bpb = 192,
497310e230b6Smaya    .bw = 1,
497410e230b6Smaya    .bh = 1,
497510e230b6Smaya    .bd = 1,
497610e230b6Smaya    .channels = {
497710e230b6Smaya              .r = { ISL_RAW, 0, 64 },
497810e230b6Smaya              .g = { ISL_RAW, 64, 64 },
497910e230b6Smaya              .b = { ISL_RAW, 128, 64 },
498010e230b6Smaya              .a = {},
498110e230b6Smaya              .l = {},
498210e230b6Smaya              .i = {},
498310e230b6Smaya              .p = {},
498410e230b6Smaya    },
498596c5ddc4Srjs    .uniform_channel_type = ISL_RAW,
498610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
498710e230b6Smaya    .txc = ISL_TXC_NONE,
498810e230b6Smaya  },
498910e230b6Smaya
499010e230b6Smaya  [ISL_FORMAT_ETC2_RGB8_PTA] = {
499110e230b6Smaya    .format = ISL_FORMAT_ETC2_RGB8_PTA,
499210e230b6Smaya    .bpb = 64,
499310e230b6Smaya    .bw = 4,
499410e230b6Smaya    .bh = 4,
499510e230b6Smaya    .bd = 1,
499610e230b6Smaya    .channels = {
499710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
499810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
499910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
500010e230b6Smaya              .a = { ISL_UNORM, -1, 1 },
500110e230b6Smaya              .l = {},
500210e230b6Smaya              .i = {},
500310e230b6Smaya              .p = {},
500410e230b6Smaya    },
500596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
500610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
500710e230b6Smaya    .txc = ISL_TXC_ETC2,
500810e230b6Smaya  },
500910e230b6Smaya
501010e230b6Smaya  [ISL_FORMAT_ETC2_SRGB8_PTA] = {
501110e230b6Smaya    .format = ISL_FORMAT_ETC2_SRGB8_PTA,
501210e230b6Smaya    .bpb = 64,
501310e230b6Smaya    .bw = 4,
501410e230b6Smaya    .bh = 4,
501510e230b6Smaya    .bd = 1,
501610e230b6Smaya    .channels = {
501710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
501810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
501910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
502010e230b6Smaya              .a = { ISL_UNORM, -1, 1 },
502110e230b6Smaya              .l = {},
502210e230b6Smaya              .i = {},
502310e230b6Smaya              .p = {},
502410e230b6Smaya    },
502596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
502610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
502710e230b6Smaya    .txc = ISL_TXC_ETC2,
502810e230b6Smaya  },
502910e230b6Smaya
503010e230b6Smaya  [ISL_FORMAT_ETC2_EAC_RGBA8] = {
503110e230b6Smaya    .format = ISL_FORMAT_ETC2_EAC_RGBA8,
503210e230b6Smaya    .bpb = 128,
503310e230b6Smaya    .bw = 4,
503410e230b6Smaya    .bh = 4,
503510e230b6Smaya    .bd = 1,
503610e230b6Smaya    .channels = {
503710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
503810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
503910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
504010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
504110e230b6Smaya              .l = {},
504210e230b6Smaya              .i = {},
504310e230b6Smaya              .p = {},
504410e230b6Smaya    },
504596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
504610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
504710e230b6Smaya    .txc = ISL_TXC_ETC2,
504810e230b6Smaya  },
504910e230b6Smaya
505010e230b6Smaya  [ISL_FORMAT_ETC2_EAC_SRGB8_A8] = {
505110e230b6Smaya    .format = ISL_FORMAT_ETC2_EAC_SRGB8_A8,
505210e230b6Smaya    .bpb = 128,
505310e230b6Smaya    .bw = 4,
505410e230b6Smaya    .bh = 4,
505510e230b6Smaya    .bd = 1,
505610e230b6Smaya    .channels = {
505710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
505810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
505910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
506010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
506110e230b6Smaya              .l = {},
506210e230b6Smaya              .i = {},
506310e230b6Smaya              .p = {},
506410e230b6Smaya    },
506596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
506610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
506710e230b6Smaya    .txc = ISL_TXC_ETC2,
506810e230b6Smaya  },
506910e230b6Smaya
507010e230b6Smaya  [ISL_FORMAT_R8G8B8_UINT] = {
507110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_UINT,
507210e230b6Smaya    .bpb = 24,
507310e230b6Smaya    .bw = 1,
507410e230b6Smaya    .bh = 1,
507510e230b6Smaya    .bd = 1,
507610e230b6Smaya    .channels = {
507710e230b6Smaya              .r = { ISL_UINT, 0, 8 },
507810e230b6Smaya              .g = { ISL_UINT, 8, 8 },
507910e230b6Smaya              .b = { ISL_UINT, 16, 8 },
508010e230b6Smaya              .a = {},
508110e230b6Smaya              .l = {},
508210e230b6Smaya              .i = {},
508310e230b6Smaya              .p = {},
508410e230b6Smaya    },
508596c5ddc4Srjs    .uniform_channel_type = ISL_UINT,
508610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
508710e230b6Smaya    .txc = ISL_TXC_NONE,
508810e230b6Smaya  },
508910e230b6Smaya
509010e230b6Smaya  [ISL_FORMAT_R8G8B8_SINT] = {
509110e230b6Smaya    .format = ISL_FORMAT_R8G8B8_SINT,
509210e230b6Smaya    .bpb = 24,
509310e230b6Smaya    .bw = 1,
509410e230b6Smaya    .bh = 1,
509510e230b6Smaya    .bd = 1,
509610e230b6Smaya    .channels = {
509710e230b6Smaya              .r = { ISL_SINT, 0, 8 },
509810e230b6Smaya              .g = { ISL_SINT, 8, 8 },
509910e230b6Smaya              .b = { ISL_SINT, 16, 8 },
510010e230b6Smaya              .a = {},
510110e230b6Smaya              .l = {},
510210e230b6Smaya              .i = {},
510310e230b6Smaya              .p = {},
510410e230b6Smaya    },
510596c5ddc4Srjs    .uniform_channel_type = ISL_SINT,
510610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
510710e230b6Smaya    .txc = ISL_TXC_NONE,
510810e230b6Smaya  },
510910e230b6Smaya
511010e230b6Smaya  [ISL_FORMAT_RAW] = {
511110e230b6Smaya    .format = ISL_FORMAT_RAW,
511210e230b6Smaya    .bpb = 0,
511310e230b6Smaya    .bw = 0,
511410e230b6Smaya    .bh = 0,
511510e230b6Smaya    .bd = 0,
511610e230b6Smaya    .channels = {
511710e230b6Smaya              .r = {},
511810e230b6Smaya              .g = {},
511910e230b6Smaya              .b = {},
512010e230b6Smaya              .a = {},
512110e230b6Smaya              .l = {},
512210e230b6Smaya              .i = {},
512310e230b6Smaya              .p = {},
512410e230b6Smaya    },
512596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
512610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
512710e230b6Smaya    .txc = ISL_TXC_NONE,
512810e230b6Smaya  },
512910e230b6Smaya
513010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB] = {
513110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB,
513210e230b6Smaya    .bpb = 128,
513310e230b6Smaya    .bw = 4,
513410e230b6Smaya    .bh = 4,
513510e230b6Smaya    .bd = 1,
513610e230b6Smaya    .channels = {
513710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
513810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
513910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
514010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
514110e230b6Smaya              .l = {},
514210e230b6Smaya              .i = {},
514310e230b6Smaya              .p = {},
514410e230b6Smaya    },
514596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
514610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
514710e230b6Smaya    .txc = ISL_TXC_ASTC,
514810e230b6Smaya  },
514910e230b6Smaya
515010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB] = {
515110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB,
515210e230b6Smaya    .bpb = 128,
515310e230b6Smaya    .bw = 5,
515410e230b6Smaya    .bh = 4,
515510e230b6Smaya    .bd = 1,
515610e230b6Smaya    .channels = {
515710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
515810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
515910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
516010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
516110e230b6Smaya              .l = {},
516210e230b6Smaya              .i = {},
516310e230b6Smaya              .p = {},
516410e230b6Smaya    },
516596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
516610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
516710e230b6Smaya    .txc = ISL_TXC_ASTC,
516810e230b6Smaya  },
516910e230b6Smaya
517010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB] = {
517110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB,
517210e230b6Smaya    .bpb = 128,
517310e230b6Smaya    .bw = 5,
517410e230b6Smaya    .bh = 5,
517510e230b6Smaya    .bd = 1,
517610e230b6Smaya    .channels = {
517710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
517810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
517910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
518010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
518110e230b6Smaya              .l = {},
518210e230b6Smaya              .i = {},
518310e230b6Smaya              .p = {},
518410e230b6Smaya    },
518596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
518610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
518710e230b6Smaya    .txc = ISL_TXC_ASTC,
518810e230b6Smaya  },
518910e230b6Smaya
519010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB] = {
519110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB,
519210e230b6Smaya    .bpb = 128,
519310e230b6Smaya    .bw = 6,
519410e230b6Smaya    .bh = 5,
519510e230b6Smaya    .bd = 1,
519610e230b6Smaya    .channels = {
519710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
519810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
519910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
520010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
520110e230b6Smaya              .l = {},
520210e230b6Smaya              .i = {},
520310e230b6Smaya              .p = {},
520410e230b6Smaya    },
520596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
520610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
520710e230b6Smaya    .txc = ISL_TXC_ASTC,
520810e230b6Smaya  },
520910e230b6Smaya
521010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB] = {
521110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB,
521210e230b6Smaya    .bpb = 128,
521310e230b6Smaya    .bw = 6,
521410e230b6Smaya    .bh = 6,
521510e230b6Smaya    .bd = 1,
521610e230b6Smaya    .channels = {
521710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
521810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
521910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
522010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
522110e230b6Smaya              .l = {},
522210e230b6Smaya              .i = {},
522310e230b6Smaya              .p = {},
522410e230b6Smaya    },
522596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
522610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
522710e230b6Smaya    .txc = ISL_TXC_ASTC,
522810e230b6Smaya  },
522910e230b6Smaya
523010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB] = {
523110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB,
523210e230b6Smaya    .bpb = 128,
523310e230b6Smaya    .bw = 8,
523410e230b6Smaya    .bh = 5,
523510e230b6Smaya    .bd = 1,
523610e230b6Smaya    .channels = {
523710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
523810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
523910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
524010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
524110e230b6Smaya              .l = {},
524210e230b6Smaya              .i = {},
524310e230b6Smaya              .p = {},
524410e230b6Smaya    },
524596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
524610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
524710e230b6Smaya    .txc = ISL_TXC_ASTC,
524810e230b6Smaya  },
524910e230b6Smaya
525010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB] = {
525110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB,
525210e230b6Smaya    .bpb = 128,
525310e230b6Smaya    .bw = 8,
525410e230b6Smaya    .bh = 6,
525510e230b6Smaya    .bd = 1,
525610e230b6Smaya    .channels = {
525710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
525810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
525910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
526010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
526110e230b6Smaya              .l = {},
526210e230b6Smaya              .i = {},
526310e230b6Smaya              .p = {},
526410e230b6Smaya    },
526596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
526610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
526710e230b6Smaya    .txc = ISL_TXC_ASTC,
526810e230b6Smaya  },
526910e230b6Smaya
527010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB] = {
527110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB,
527210e230b6Smaya    .bpb = 128,
527310e230b6Smaya    .bw = 8,
527410e230b6Smaya    .bh = 8,
527510e230b6Smaya    .bd = 1,
527610e230b6Smaya    .channels = {
527710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
527810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
527910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
528010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
528110e230b6Smaya              .l = {},
528210e230b6Smaya              .i = {},
528310e230b6Smaya              .p = {},
528410e230b6Smaya    },
528596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
528610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
528710e230b6Smaya    .txc = ISL_TXC_ASTC,
528810e230b6Smaya  },
528910e230b6Smaya
529010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB] = {
529110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB,
529210e230b6Smaya    .bpb = 128,
529310e230b6Smaya    .bw = 10,
529410e230b6Smaya    .bh = 5,
529510e230b6Smaya    .bd = 1,
529610e230b6Smaya    .channels = {
529710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
529810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
529910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
530010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
530110e230b6Smaya              .l = {},
530210e230b6Smaya              .i = {},
530310e230b6Smaya              .p = {},
530410e230b6Smaya    },
530596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
530610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
530710e230b6Smaya    .txc = ISL_TXC_ASTC,
530810e230b6Smaya  },
530910e230b6Smaya
531010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB] = {
531110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB,
531210e230b6Smaya    .bpb = 128,
531310e230b6Smaya    .bw = 10,
531410e230b6Smaya    .bh = 6,
531510e230b6Smaya    .bd = 1,
531610e230b6Smaya    .channels = {
531710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
531810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
531910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
532010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
532110e230b6Smaya              .l = {},
532210e230b6Smaya              .i = {},
532310e230b6Smaya              .p = {},
532410e230b6Smaya    },
532596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
532610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
532710e230b6Smaya    .txc = ISL_TXC_ASTC,
532810e230b6Smaya  },
532910e230b6Smaya
533010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB] = {
533110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB,
533210e230b6Smaya    .bpb = 128,
533310e230b6Smaya    .bw = 10,
533410e230b6Smaya    .bh = 8,
533510e230b6Smaya    .bd = 1,
533610e230b6Smaya    .channels = {
533710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
533810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
533910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
534010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
534110e230b6Smaya              .l = {},
534210e230b6Smaya              .i = {},
534310e230b6Smaya              .p = {},
534410e230b6Smaya    },
534596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
534610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
534710e230b6Smaya    .txc = ISL_TXC_ASTC,
534810e230b6Smaya  },
534910e230b6Smaya
535010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB] = {
535110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB,
535210e230b6Smaya    .bpb = 128,
535310e230b6Smaya    .bw = 10,
535410e230b6Smaya    .bh = 10,
535510e230b6Smaya    .bd = 1,
535610e230b6Smaya    .channels = {
535710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
535810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
535910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
536010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
536110e230b6Smaya              .l = {},
536210e230b6Smaya              .i = {},
536310e230b6Smaya              .p = {},
536410e230b6Smaya    },
536596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
536610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
536710e230b6Smaya    .txc = ISL_TXC_ASTC,
536810e230b6Smaya  },
536910e230b6Smaya
537010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB] = {
537110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB,
537210e230b6Smaya    .bpb = 128,
537310e230b6Smaya    .bw = 12,
537410e230b6Smaya    .bh = 10,
537510e230b6Smaya    .bd = 1,
537610e230b6Smaya    .channels = {
537710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
537810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
537910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
538010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
538110e230b6Smaya              .l = {},
538210e230b6Smaya              .i = {},
538310e230b6Smaya              .p = {},
538410e230b6Smaya    },
538596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
538610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
538710e230b6Smaya    .txc = ISL_TXC_ASTC,
538810e230b6Smaya  },
538910e230b6Smaya
539010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB] = {
539110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB,
539210e230b6Smaya    .bpb = 128,
539310e230b6Smaya    .bw = 12,
539410e230b6Smaya    .bh = 12,
539510e230b6Smaya    .bd = 1,
539610e230b6Smaya    .channels = {
539710e230b6Smaya              .r = { ISL_UNORM, -1, 8 },
539810e230b6Smaya              .g = { ISL_UNORM, -1, 8 },
539910e230b6Smaya              .b = { ISL_UNORM, -1, 8 },
540010e230b6Smaya              .a = { ISL_UNORM, -1, 8 },
540110e230b6Smaya              .l = {},
540210e230b6Smaya              .i = {},
540310e230b6Smaya              .p = {},
540410e230b6Smaya    },
540596c5ddc4Srjs    .uniform_channel_type = ISL_UNORM,
540610e230b6Smaya    .colorspace = ISL_COLORSPACE_SRGB,
540710e230b6Smaya    .txc = ISL_TXC_ASTC,
540810e230b6Smaya  },
540910e230b6Smaya
541010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16] = {
541110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16,
541210e230b6Smaya    .bpb = 128,
541310e230b6Smaya    .bw = 4,
541410e230b6Smaya    .bh = 4,
541510e230b6Smaya    .bd = 1,
541610e230b6Smaya    .channels = {
541710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
541810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
541910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
542010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
542110e230b6Smaya              .l = {},
542210e230b6Smaya              .i = {},
542310e230b6Smaya              .p = {},
542410e230b6Smaya    },
542596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
542610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
542710e230b6Smaya    .txc = ISL_TXC_ASTC,
542810e230b6Smaya  },
542910e230b6Smaya
543010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16] = {
543110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16,
543210e230b6Smaya    .bpb = 128,
543310e230b6Smaya    .bw = 5,
543410e230b6Smaya    .bh = 4,
543510e230b6Smaya    .bd = 1,
543610e230b6Smaya    .channels = {
543710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
543810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
543910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
544010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
544110e230b6Smaya              .l = {},
544210e230b6Smaya              .i = {},
544310e230b6Smaya              .p = {},
544410e230b6Smaya    },
544596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
544610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
544710e230b6Smaya    .txc = ISL_TXC_ASTC,
544810e230b6Smaya  },
544910e230b6Smaya
545010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16] = {
545110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16,
545210e230b6Smaya    .bpb = 128,
545310e230b6Smaya    .bw = 5,
545410e230b6Smaya    .bh = 5,
545510e230b6Smaya    .bd = 1,
545610e230b6Smaya    .channels = {
545710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
545810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
545910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
546010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
546110e230b6Smaya              .l = {},
546210e230b6Smaya              .i = {},
546310e230b6Smaya              .p = {},
546410e230b6Smaya    },
546596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
546610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
546710e230b6Smaya    .txc = ISL_TXC_ASTC,
546810e230b6Smaya  },
546910e230b6Smaya
547010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16] = {
547110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16,
547210e230b6Smaya    .bpb = 128,
547310e230b6Smaya    .bw = 6,
547410e230b6Smaya    .bh = 5,
547510e230b6Smaya    .bd = 1,
547610e230b6Smaya    .channels = {
547710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
547810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
547910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
548010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
548110e230b6Smaya              .l = {},
548210e230b6Smaya              .i = {},
548310e230b6Smaya              .p = {},
548410e230b6Smaya    },
548596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
548610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
548710e230b6Smaya    .txc = ISL_TXC_ASTC,
548810e230b6Smaya  },
548910e230b6Smaya
549010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16] = {
549110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16,
549210e230b6Smaya    .bpb = 128,
549310e230b6Smaya    .bw = 6,
549410e230b6Smaya    .bh = 6,
549510e230b6Smaya    .bd = 1,
549610e230b6Smaya    .channels = {
549710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
549810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
549910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
550010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
550110e230b6Smaya              .l = {},
550210e230b6Smaya              .i = {},
550310e230b6Smaya              .p = {},
550410e230b6Smaya    },
550596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
550610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
550710e230b6Smaya    .txc = ISL_TXC_ASTC,
550810e230b6Smaya  },
550910e230b6Smaya
551010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16] = {
551110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16,
551210e230b6Smaya    .bpb = 128,
551310e230b6Smaya    .bw = 8,
551410e230b6Smaya    .bh = 5,
551510e230b6Smaya    .bd = 1,
551610e230b6Smaya    .channels = {
551710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
551810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
551910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
552010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
552110e230b6Smaya              .l = {},
552210e230b6Smaya              .i = {},
552310e230b6Smaya              .p = {},
552410e230b6Smaya    },
552596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
552610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
552710e230b6Smaya    .txc = ISL_TXC_ASTC,
552810e230b6Smaya  },
552910e230b6Smaya
553010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16] = {
553110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16,
553210e230b6Smaya    .bpb = 128,
553310e230b6Smaya    .bw = 8,
553410e230b6Smaya    .bh = 6,
553510e230b6Smaya    .bd = 1,
553610e230b6Smaya    .channels = {
553710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
553810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
553910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
554010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
554110e230b6Smaya              .l = {},
554210e230b6Smaya              .i = {},
554310e230b6Smaya              .p = {},
554410e230b6Smaya    },
554596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
554610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
554710e230b6Smaya    .txc = ISL_TXC_ASTC,
554810e230b6Smaya  },
554910e230b6Smaya
555010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16] = {
555110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16,
555210e230b6Smaya    .bpb = 128,
555310e230b6Smaya    .bw = 8,
555410e230b6Smaya    .bh = 8,
555510e230b6Smaya    .bd = 1,
555610e230b6Smaya    .channels = {
555710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
555810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
555910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
556010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
556110e230b6Smaya              .l = {},
556210e230b6Smaya              .i = {},
556310e230b6Smaya              .p = {},
556410e230b6Smaya    },
556596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
556610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
556710e230b6Smaya    .txc = ISL_TXC_ASTC,
556810e230b6Smaya  },
556910e230b6Smaya
557010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16] = {
557110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16,
557210e230b6Smaya    .bpb = 128,
557310e230b6Smaya    .bw = 10,
557410e230b6Smaya    .bh = 5,
557510e230b6Smaya    .bd = 1,
557610e230b6Smaya    .channels = {
557710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
557810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
557910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
558010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
558110e230b6Smaya              .l = {},
558210e230b6Smaya              .i = {},
558310e230b6Smaya              .p = {},
558410e230b6Smaya    },
558596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
558610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
558710e230b6Smaya    .txc = ISL_TXC_ASTC,
558810e230b6Smaya  },
558910e230b6Smaya
559010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16] = {
559110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16,
559210e230b6Smaya    .bpb = 128,
559310e230b6Smaya    .bw = 10,
559410e230b6Smaya    .bh = 6,
559510e230b6Smaya    .bd = 1,
559610e230b6Smaya    .channels = {
559710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
559810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
559910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
560010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
560110e230b6Smaya              .l = {},
560210e230b6Smaya              .i = {},
560310e230b6Smaya              .p = {},
560410e230b6Smaya    },
560596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
560610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
560710e230b6Smaya    .txc = ISL_TXC_ASTC,
560810e230b6Smaya  },
560910e230b6Smaya
561010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16] = {
561110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16,
561210e230b6Smaya    .bpb = 128,
561310e230b6Smaya    .bw = 10,
561410e230b6Smaya    .bh = 8,
561510e230b6Smaya    .bd = 1,
561610e230b6Smaya    .channels = {
561710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
561810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
561910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
562010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
562110e230b6Smaya              .l = {},
562210e230b6Smaya              .i = {},
562310e230b6Smaya              .p = {},
562410e230b6Smaya    },
562596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
562610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
562710e230b6Smaya    .txc = ISL_TXC_ASTC,
562810e230b6Smaya  },
562910e230b6Smaya
563010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16] = {
563110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16,
563210e230b6Smaya    .bpb = 128,
563310e230b6Smaya    .bw = 10,
563410e230b6Smaya    .bh = 10,
563510e230b6Smaya    .bd = 1,
563610e230b6Smaya    .channels = {
563710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
563810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
563910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
564010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
564110e230b6Smaya              .l = {},
564210e230b6Smaya              .i = {},
564310e230b6Smaya              .p = {},
564410e230b6Smaya    },
564596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
564610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
564710e230b6Smaya    .txc = ISL_TXC_ASTC,
564810e230b6Smaya  },
564910e230b6Smaya
565010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16] = {
565110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16,
565210e230b6Smaya    .bpb = 128,
565310e230b6Smaya    .bw = 12,
565410e230b6Smaya    .bh = 10,
565510e230b6Smaya    .bd = 1,
565610e230b6Smaya    .channels = {
565710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
565810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
565910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
566010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
566110e230b6Smaya              .l = {},
566210e230b6Smaya              .i = {},
566310e230b6Smaya              .p = {},
566410e230b6Smaya    },
566596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
566610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
566710e230b6Smaya    .txc = ISL_TXC_ASTC,
566810e230b6Smaya  },
566910e230b6Smaya
567010e230b6Smaya  [ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16] = {
567110e230b6Smaya    .format = ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16,
567210e230b6Smaya    .bpb = 128,
567310e230b6Smaya    .bw = 12,
567410e230b6Smaya    .bh = 12,
567510e230b6Smaya    .bd = 1,
567610e230b6Smaya    .channels = {
567710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
567810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
567910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
568010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
568110e230b6Smaya              .l = {},
568210e230b6Smaya              .i = {},
568310e230b6Smaya              .p = {},
568410e230b6Smaya    },
568596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
568610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
568710e230b6Smaya    .txc = ISL_TXC_ASTC,
568810e230b6Smaya  },
568910e230b6Smaya
569010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16] = {
569110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16,
569210e230b6Smaya    .bpb = 128,
569310e230b6Smaya    .bw = 4,
569410e230b6Smaya    .bh = 4,
569510e230b6Smaya    .bd = 1,
569610e230b6Smaya    .channels = {
569710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
569810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
569910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
570010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
570110e230b6Smaya              .l = {},
570210e230b6Smaya              .i = {},
570310e230b6Smaya              .p = {},
570410e230b6Smaya    },
570596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
570610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
570710e230b6Smaya    .txc = ISL_TXC_ASTC,
570810e230b6Smaya  },
570910e230b6Smaya
571010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16] = {
571110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16,
571210e230b6Smaya    .bpb = 128,
571310e230b6Smaya    .bw = 5,
571410e230b6Smaya    .bh = 4,
571510e230b6Smaya    .bd = 1,
571610e230b6Smaya    .channels = {
571710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
571810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
571910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
572010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
572110e230b6Smaya              .l = {},
572210e230b6Smaya              .i = {},
572310e230b6Smaya              .p = {},
572410e230b6Smaya    },
572596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
572610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
572710e230b6Smaya    .txc = ISL_TXC_ASTC,
572810e230b6Smaya  },
572910e230b6Smaya
573010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16] = {
573110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16,
573210e230b6Smaya    .bpb = 128,
573310e230b6Smaya    .bw = 5,
573410e230b6Smaya    .bh = 5,
573510e230b6Smaya    .bd = 1,
573610e230b6Smaya    .channels = {
573710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
573810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
573910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
574010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
574110e230b6Smaya              .l = {},
574210e230b6Smaya              .i = {},
574310e230b6Smaya              .p = {},
574410e230b6Smaya    },
574596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
574610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
574710e230b6Smaya    .txc = ISL_TXC_ASTC,
574810e230b6Smaya  },
574910e230b6Smaya
575010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16] = {
575110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16,
575210e230b6Smaya    .bpb = 128,
575310e230b6Smaya    .bw = 6,
575410e230b6Smaya    .bh = 5,
575510e230b6Smaya    .bd = 1,
575610e230b6Smaya    .channels = {
575710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
575810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
575910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
576010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
576110e230b6Smaya              .l = {},
576210e230b6Smaya              .i = {},
576310e230b6Smaya              .p = {},
576410e230b6Smaya    },
576596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
576610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
576710e230b6Smaya    .txc = ISL_TXC_ASTC,
576810e230b6Smaya  },
576910e230b6Smaya
577010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16] = {
577110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16,
577210e230b6Smaya    .bpb = 128,
577310e230b6Smaya    .bw = 6,
577410e230b6Smaya    .bh = 6,
577510e230b6Smaya    .bd = 1,
577610e230b6Smaya    .channels = {
577710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
577810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
577910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
578010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
578110e230b6Smaya              .l = {},
578210e230b6Smaya              .i = {},
578310e230b6Smaya              .p = {},
578410e230b6Smaya    },
578596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
578610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
578710e230b6Smaya    .txc = ISL_TXC_ASTC,
578810e230b6Smaya  },
578910e230b6Smaya
579010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16] = {
579110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16,
579210e230b6Smaya    .bpb = 128,
579310e230b6Smaya    .bw = 8,
579410e230b6Smaya    .bh = 5,
579510e230b6Smaya    .bd = 1,
579610e230b6Smaya    .channels = {
579710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
579810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
579910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
580010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
580110e230b6Smaya              .l = {},
580210e230b6Smaya              .i = {},
580310e230b6Smaya              .p = {},
580410e230b6Smaya    },
580596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
580610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
580710e230b6Smaya    .txc = ISL_TXC_ASTC,
580810e230b6Smaya  },
580910e230b6Smaya
581010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16] = {
581110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16,
581210e230b6Smaya    .bpb = 128,
581310e230b6Smaya    .bw = 8,
581410e230b6Smaya    .bh = 6,
581510e230b6Smaya    .bd = 1,
581610e230b6Smaya    .channels = {
581710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
581810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
581910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
582010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
582110e230b6Smaya              .l = {},
582210e230b6Smaya              .i = {},
582310e230b6Smaya              .p = {},
582410e230b6Smaya    },
582596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
582610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
582710e230b6Smaya    .txc = ISL_TXC_ASTC,
582810e230b6Smaya  },
582910e230b6Smaya
583010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16] = {
583110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16,
583210e230b6Smaya    .bpb = 128,
583310e230b6Smaya    .bw = 8,
583410e230b6Smaya    .bh = 8,
583510e230b6Smaya    .bd = 1,
583610e230b6Smaya    .channels = {
583710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
583810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
583910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
584010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
584110e230b6Smaya              .l = {},
584210e230b6Smaya              .i = {},
584310e230b6Smaya              .p = {},
584410e230b6Smaya    },
584596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
584610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
584710e230b6Smaya    .txc = ISL_TXC_ASTC,
584810e230b6Smaya  },
584910e230b6Smaya
585010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16] = {
585110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16,
585210e230b6Smaya    .bpb = 128,
585310e230b6Smaya    .bw = 10,
585410e230b6Smaya    .bh = 5,
585510e230b6Smaya    .bd = 1,
585610e230b6Smaya    .channels = {
585710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
585810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
585910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
586010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
586110e230b6Smaya              .l = {},
586210e230b6Smaya              .i = {},
586310e230b6Smaya              .p = {},
586410e230b6Smaya    },
586596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
586610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
586710e230b6Smaya    .txc = ISL_TXC_ASTC,
586810e230b6Smaya  },
586910e230b6Smaya
587010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16] = {
587110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16,
587210e230b6Smaya    .bpb = 128,
587310e230b6Smaya    .bw = 10,
587410e230b6Smaya    .bh = 6,
587510e230b6Smaya    .bd = 1,
587610e230b6Smaya    .channels = {
587710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
587810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
587910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
588010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
588110e230b6Smaya              .l = {},
588210e230b6Smaya              .i = {},
588310e230b6Smaya              .p = {},
588410e230b6Smaya    },
588596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
588610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
588710e230b6Smaya    .txc = ISL_TXC_ASTC,
588810e230b6Smaya  },
588910e230b6Smaya
589010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16] = {
589110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16,
589210e230b6Smaya    .bpb = 128,
589310e230b6Smaya    .bw = 10,
589410e230b6Smaya    .bh = 8,
589510e230b6Smaya    .bd = 1,
589610e230b6Smaya    .channels = {
589710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
589810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
589910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
590010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
590110e230b6Smaya              .l = {},
590210e230b6Smaya              .i = {},
590310e230b6Smaya              .p = {},
590410e230b6Smaya    },
590596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
590610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
590710e230b6Smaya    .txc = ISL_TXC_ASTC,
590810e230b6Smaya  },
590910e230b6Smaya
591010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16] = {
591110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16,
591210e230b6Smaya    .bpb = 128,
591310e230b6Smaya    .bw = 10,
591410e230b6Smaya    .bh = 10,
591510e230b6Smaya    .bd = 1,
591610e230b6Smaya    .channels = {
591710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
591810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
591910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
592010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
592110e230b6Smaya              .l = {},
592210e230b6Smaya              .i = {},
592310e230b6Smaya              .p = {},
592410e230b6Smaya    },
592596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
592610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
592710e230b6Smaya    .txc = ISL_TXC_ASTC,
592810e230b6Smaya  },
592910e230b6Smaya
593010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16] = {
593110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16,
593210e230b6Smaya    .bpb = 128,
593310e230b6Smaya    .bw = 12,
593410e230b6Smaya    .bh = 10,
593510e230b6Smaya    .bd = 1,
593610e230b6Smaya    .channels = {
593710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
593810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
593910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
594010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
594110e230b6Smaya              .l = {},
594210e230b6Smaya              .i = {},
594310e230b6Smaya              .p = {},
594410e230b6Smaya    },
594596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
594610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
594710e230b6Smaya    .txc = ISL_TXC_ASTC,
594810e230b6Smaya  },
594910e230b6Smaya
595010e230b6Smaya  [ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16] = {
595110e230b6Smaya    .format = ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16,
595210e230b6Smaya    .bpb = 128,
595310e230b6Smaya    .bw = 12,
595410e230b6Smaya    .bh = 12,
595510e230b6Smaya    .bd = 1,
595610e230b6Smaya    .channels = {
595710e230b6Smaya              .r = { ISL_SFLOAT, -1, 16 },
595810e230b6Smaya              .g = { ISL_SFLOAT, -1, 16 },
595910e230b6Smaya              .b = { ISL_SFLOAT, -1, 16 },
596010e230b6Smaya              .a = { ISL_SFLOAT, -1, 16 },
596110e230b6Smaya              .l = {},
596210e230b6Smaya              .i = {},
596310e230b6Smaya              .p = {},
596410e230b6Smaya    },
596596c5ddc4Srjs    .uniform_channel_type = ISL_SFLOAT,
596610e230b6Smaya    .colorspace = ISL_COLORSPACE_LINEAR,
596710e230b6Smaya    .txc = ISL_TXC_ASTC,
596810e230b6Smaya  },
596910e230b6Smaya
597010e230b6Smaya  [ISL_FORMAT_HIZ] = {
597110e230b6Smaya    .format = ISL_FORMAT_HIZ,
597210e230b6Smaya    .bpb = 128,
597310e230b6Smaya    .bw = 8,
597410e230b6Smaya    .bh = 4,
597510e230b6Smaya    .bd = 1,
597610e230b6Smaya    .channels = {
597710e230b6Smaya              .r = {},
597810e230b6Smaya              .g = {},
597910e230b6Smaya              .b = {},
598010e230b6Smaya              .a = {},
598110e230b6Smaya              .l = {},
598210e230b6Smaya              .i = {},
598310e230b6Smaya              .p = {},
598410e230b6Smaya    },
598596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
598610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
598710e230b6Smaya    .txc = ISL_TXC_HIZ,
598810e230b6Smaya  },
598910e230b6Smaya
599010e230b6Smaya  [ISL_FORMAT_MCS_2X] = {
599110e230b6Smaya    .format = ISL_FORMAT_MCS_2X,
599210e230b6Smaya    .bpb = 8,
599310e230b6Smaya    .bw = 1,
599410e230b6Smaya    .bh = 1,
599510e230b6Smaya    .bd = 1,
599610e230b6Smaya    .channels = {
599710e230b6Smaya              .r = {},
599810e230b6Smaya              .g = {},
599910e230b6Smaya              .b = {},
600010e230b6Smaya              .a = {},
600110e230b6Smaya              .l = {},
600210e230b6Smaya              .i = {},
600310e230b6Smaya              .p = {},
600410e230b6Smaya    },
600596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
600610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
600710e230b6Smaya    .txc = ISL_TXC_MCS,
600810e230b6Smaya  },
600910e230b6Smaya
601010e230b6Smaya  [ISL_FORMAT_MCS_4X] = {
601110e230b6Smaya    .format = ISL_FORMAT_MCS_4X,
601210e230b6Smaya    .bpb = 8,
601310e230b6Smaya    .bw = 1,
601410e230b6Smaya    .bh = 1,
601510e230b6Smaya    .bd = 1,
601610e230b6Smaya    .channels = {
601710e230b6Smaya              .r = {},
601810e230b6Smaya              .g = {},
601910e230b6Smaya              .b = {},
602010e230b6Smaya              .a = {},
602110e230b6Smaya              .l = {},
602210e230b6Smaya              .i = {},
602310e230b6Smaya              .p = {},
602410e230b6Smaya    },
602596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
602610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
602710e230b6Smaya    .txc = ISL_TXC_MCS,
602810e230b6Smaya  },
602910e230b6Smaya
603010e230b6Smaya  [ISL_FORMAT_MCS_8X] = {
603110e230b6Smaya    .format = ISL_FORMAT_MCS_8X,
603210e230b6Smaya    .bpb = 32,
603310e230b6Smaya    .bw = 1,
603410e230b6Smaya    .bh = 1,
603510e230b6Smaya    .bd = 1,
603610e230b6Smaya    .channels = {
603710e230b6Smaya              .r = {},
603810e230b6Smaya              .g = {},
603910e230b6Smaya              .b = {},
604010e230b6Smaya              .a = {},
604110e230b6Smaya              .l = {},
604210e230b6Smaya              .i = {},
604310e230b6Smaya              .p = {},
604410e230b6Smaya    },
604596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
604610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
604710e230b6Smaya    .txc = ISL_TXC_MCS,
604810e230b6Smaya  },
604910e230b6Smaya
605010e230b6Smaya  [ISL_FORMAT_MCS_16X] = {
605110e230b6Smaya    .format = ISL_FORMAT_MCS_16X,
605210e230b6Smaya    .bpb = 64,
605310e230b6Smaya    .bw = 1,
605410e230b6Smaya    .bh = 1,
605510e230b6Smaya    .bd = 1,
605610e230b6Smaya    .channels = {
605710e230b6Smaya              .r = {},
605810e230b6Smaya              .g = {},
605910e230b6Smaya              .b = {},
606010e230b6Smaya              .a = {},
606110e230b6Smaya              .l = {},
606210e230b6Smaya              .i = {},
606310e230b6Smaya              .p = {},
606410e230b6Smaya    },
606596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
606610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
606710e230b6Smaya    .txc = ISL_TXC_MCS,
606810e230b6Smaya  },
606910e230b6Smaya
607096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_32BPP_X] = {
607196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_32BPP_X,
607210e230b6Smaya    .bpb = 1,
607310e230b6Smaya    .bw = 16,
607410e230b6Smaya    .bh = 2,
607510e230b6Smaya    .bd = 1,
607610e230b6Smaya    .channels = {
607710e230b6Smaya              .r = {},
607810e230b6Smaya              .g = {},
607910e230b6Smaya              .b = {},
608010e230b6Smaya              .a = {},
608110e230b6Smaya              .l = {},
608210e230b6Smaya              .i = {},
608310e230b6Smaya              .p = {},
608410e230b6Smaya    },
608596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
608610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
608710e230b6Smaya    .txc = ISL_TXC_CCS,
608810e230b6Smaya  },
608910e230b6Smaya
609096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_64BPP_X] = {
609196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_64BPP_X,
609210e230b6Smaya    .bpb = 1,
609310e230b6Smaya    .bw = 8,
609410e230b6Smaya    .bh = 2,
609510e230b6Smaya    .bd = 1,
609610e230b6Smaya    .channels = {
609710e230b6Smaya              .r = {},
609810e230b6Smaya              .g = {},
609910e230b6Smaya              .b = {},
610010e230b6Smaya              .a = {},
610110e230b6Smaya              .l = {},
610210e230b6Smaya              .i = {},
610310e230b6Smaya              .p = {},
610410e230b6Smaya    },
610596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
610610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
610710e230b6Smaya    .txc = ISL_TXC_CCS,
610810e230b6Smaya  },
610910e230b6Smaya
611096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_128BPP_X] = {
611196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_128BPP_X,
611210e230b6Smaya    .bpb = 1,
611310e230b6Smaya    .bw = 4,
611410e230b6Smaya    .bh = 2,
611510e230b6Smaya    .bd = 1,
611610e230b6Smaya    .channels = {
611710e230b6Smaya              .r = {},
611810e230b6Smaya              .g = {},
611910e230b6Smaya              .b = {},
612010e230b6Smaya              .a = {},
612110e230b6Smaya              .l = {},
612210e230b6Smaya              .i = {},
612310e230b6Smaya              .p = {},
612410e230b6Smaya    },
612596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
612610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
612710e230b6Smaya    .txc = ISL_TXC_CCS,
612810e230b6Smaya  },
612910e230b6Smaya
613096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_32BPP_Y] = {
613196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_32BPP_Y,
613210e230b6Smaya    .bpb = 1,
613310e230b6Smaya    .bw = 8,
613410e230b6Smaya    .bh = 4,
613510e230b6Smaya    .bd = 1,
613610e230b6Smaya    .channels = {
613710e230b6Smaya              .r = {},
613810e230b6Smaya              .g = {},
613910e230b6Smaya              .b = {},
614010e230b6Smaya              .a = {},
614110e230b6Smaya              .l = {},
614210e230b6Smaya              .i = {},
614310e230b6Smaya              .p = {},
614410e230b6Smaya    },
614596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
614610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
614710e230b6Smaya    .txc = ISL_TXC_CCS,
614810e230b6Smaya  },
614910e230b6Smaya
615096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_64BPP_Y] = {
615196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_64BPP_Y,
615210e230b6Smaya    .bpb = 1,
615310e230b6Smaya    .bw = 4,
615410e230b6Smaya    .bh = 4,
615510e230b6Smaya    .bd = 1,
615610e230b6Smaya    .channels = {
615710e230b6Smaya              .r = {},
615810e230b6Smaya              .g = {},
615910e230b6Smaya              .b = {},
616010e230b6Smaya              .a = {},
616110e230b6Smaya              .l = {},
616210e230b6Smaya              .i = {},
616310e230b6Smaya              .p = {},
616410e230b6Smaya    },
616596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
616610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
616710e230b6Smaya    .txc = ISL_TXC_CCS,
616810e230b6Smaya  },
616910e230b6Smaya
617096c5ddc4Srjs  [ISL_FORMAT_GFX7_CCS_128BPP_Y] = {
617196c5ddc4Srjs    .format = ISL_FORMAT_GFX7_CCS_128BPP_Y,
617210e230b6Smaya    .bpb = 1,
617310e230b6Smaya    .bw = 2,
617410e230b6Smaya    .bh = 4,
617510e230b6Smaya    .bd = 1,
617610e230b6Smaya    .channels = {
617710e230b6Smaya              .r = {},
617810e230b6Smaya              .g = {},
617910e230b6Smaya              .b = {},
618010e230b6Smaya              .a = {},
618110e230b6Smaya              .l = {},
618210e230b6Smaya              .i = {},
618310e230b6Smaya              .p = {},
618410e230b6Smaya    },
618596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
618610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
618710e230b6Smaya    .txc = ISL_TXC_CCS,
618810e230b6Smaya  },
618910e230b6Smaya
619096c5ddc4Srjs  [ISL_FORMAT_GFX9_CCS_32BPP] = {
619196c5ddc4Srjs    .format = ISL_FORMAT_GFX9_CCS_32BPP,
619210e230b6Smaya    .bpb = 2,
619310e230b6Smaya    .bw = 8,
619410e230b6Smaya    .bh = 4,
619510e230b6Smaya    .bd = 1,
619610e230b6Smaya    .channels = {
619710e230b6Smaya              .r = {},
619810e230b6Smaya              .g = {},
619910e230b6Smaya              .b = {},
620010e230b6Smaya              .a = {},
620110e230b6Smaya              .l = {},
620210e230b6Smaya              .i = {},
620310e230b6Smaya              .p = {},
620410e230b6Smaya    },
620596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
620610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
620710e230b6Smaya    .txc = ISL_TXC_CCS,
620810e230b6Smaya  },
620910e230b6Smaya
621096c5ddc4Srjs  [ISL_FORMAT_GFX9_CCS_64BPP] = {
621196c5ddc4Srjs    .format = ISL_FORMAT_GFX9_CCS_64BPP,
621210e230b6Smaya    .bpb = 2,
621310e230b6Smaya    .bw = 4,
621410e230b6Smaya    .bh = 4,
621510e230b6Smaya    .bd = 1,
621610e230b6Smaya    .channels = {
621710e230b6Smaya              .r = {},
621810e230b6Smaya              .g = {},
621910e230b6Smaya              .b = {},
622010e230b6Smaya              .a = {},
622110e230b6Smaya              .l = {},
622210e230b6Smaya              .i = {},
622310e230b6Smaya              .p = {},
622410e230b6Smaya    },
622596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
622610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
622710e230b6Smaya    .txc = ISL_TXC_CCS,
622810e230b6Smaya  },
622910e230b6Smaya
623096c5ddc4Srjs  [ISL_FORMAT_GFX9_CCS_128BPP] = {
623196c5ddc4Srjs    .format = ISL_FORMAT_GFX9_CCS_128BPP,
623210e230b6Smaya    .bpb = 2,
623310e230b6Smaya    .bw = 2,
623410e230b6Smaya    .bh = 4,
623510e230b6Smaya    .bd = 1,
623610e230b6Smaya    .channels = {
623710e230b6Smaya              .r = {},
623810e230b6Smaya              .g = {},
623910e230b6Smaya              .b = {},
624010e230b6Smaya              .a = {},
624110e230b6Smaya              .l = {},
624210e230b6Smaya              .i = {},
624310e230b6Smaya              .p = {},
624410e230b6Smaya    },
624596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
624696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_NONE,
624796c5ddc4Srjs    .txc = ISL_TXC_CCS,
624896c5ddc4Srjs  },
624996c5ddc4Srjs
625096c5ddc4Srjs  [ISL_FORMAT_GFX12_CCS_8BPP_Y0] = {
625196c5ddc4Srjs    .format = ISL_FORMAT_GFX12_CCS_8BPP_Y0,
625296c5ddc4Srjs    .bpb = 4,
625396c5ddc4Srjs    .bw = 32,
625496c5ddc4Srjs    .bh = 4,
625596c5ddc4Srjs    .bd = 1,
625696c5ddc4Srjs    .channels = {
625796c5ddc4Srjs              .r = {},
625896c5ddc4Srjs              .g = {},
625996c5ddc4Srjs              .b = {},
626096c5ddc4Srjs              .a = {},
626196c5ddc4Srjs              .l = {},
626296c5ddc4Srjs              .i = {},
626396c5ddc4Srjs              .p = {},
626496c5ddc4Srjs    },
626596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
626696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_NONE,
626796c5ddc4Srjs    .txc = ISL_TXC_CCS,
626896c5ddc4Srjs  },
626996c5ddc4Srjs
627096c5ddc4Srjs  [ISL_FORMAT_GFX12_CCS_16BPP_Y0] = {
627196c5ddc4Srjs    .format = ISL_FORMAT_GFX12_CCS_16BPP_Y0,
627296c5ddc4Srjs    .bpb = 4,
627396c5ddc4Srjs    .bw = 16,
627496c5ddc4Srjs    .bh = 4,
627596c5ddc4Srjs    .bd = 1,
627696c5ddc4Srjs    .channels = {
627796c5ddc4Srjs              .r = {},
627896c5ddc4Srjs              .g = {},
627996c5ddc4Srjs              .b = {},
628096c5ddc4Srjs              .a = {},
628196c5ddc4Srjs              .l = {},
628296c5ddc4Srjs              .i = {},
628396c5ddc4Srjs              .p = {},
628496c5ddc4Srjs    },
628596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
628696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_NONE,
628796c5ddc4Srjs    .txc = ISL_TXC_CCS,
628896c5ddc4Srjs  },
628996c5ddc4Srjs
629096c5ddc4Srjs  [ISL_FORMAT_GFX12_CCS_32BPP_Y0] = {
629196c5ddc4Srjs    .format = ISL_FORMAT_GFX12_CCS_32BPP_Y0,
629296c5ddc4Srjs    .bpb = 4,
629396c5ddc4Srjs    .bw = 8,
629496c5ddc4Srjs    .bh = 4,
629596c5ddc4Srjs    .bd = 1,
629696c5ddc4Srjs    .channels = {
629796c5ddc4Srjs              .r = {},
629896c5ddc4Srjs              .g = {},
629996c5ddc4Srjs              .b = {},
630096c5ddc4Srjs              .a = {},
630196c5ddc4Srjs              .l = {},
630296c5ddc4Srjs              .i = {},
630396c5ddc4Srjs              .p = {},
630496c5ddc4Srjs    },
630596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
630696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_NONE,
630796c5ddc4Srjs    .txc = ISL_TXC_CCS,
630896c5ddc4Srjs  },
630996c5ddc4Srjs
631096c5ddc4Srjs  [ISL_FORMAT_GFX12_CCS_64BPP_Y0] = {
631196c5ddc4Srjs    .format = ISL_FORMAT_GFX12_CCS_64BPP_Y0,
631296c5ddc4Srjs    .bpb = 4,
631396c5ddc4Srjs    .bw = 4,
631496c5ddc4Srjs    .bh = 4,
631596c5ddc4Srjs    .bd = 1,
631696c5ddc4Srjs    .channels = {
631796c5ddc4Srjs              .r = {},
631896c5ddc4Srjs              .g = {},
631996c5ddc4Srjs              .b = {},
632096c5ddc4Srjs              .a = {},
632196c5ddc4Srjs              .l = {},
632296c5ddc4Srjs              .i = {},
632396c5ddc4Srjs              .p = {},
632496c5ddc4Srjs    },
632596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
632696c5ddc4Srjs    .colorspace = ISL_COLORSPACE_NONE,
632796c5ddc4Srjs    .txc = ISL_TXC_CCS,
632896c5ddc4Srjs  },
632996c5ddc4Srjs
633096c5ddc4Srjs  [ISL_FORMAT_GFX12_CCS_128BPP_Y0] = {
633196c5ddc4Srjs    .format = ISL_FORMAT_GFX12_CCS_128BPP_Y0,
633296c5ddc4Srjs    .bpb = 4,
633396c5ddc4Srjs    .bw = 2,
633496c5ddc4Srjs    .bh = 4,
633596c5ddc4Srjs    .bd = 1,
633696c5ddc4Srjs    .channels = {
633796c5ddc4Srjs              .r = {},
633896c5ddc4Srjs              .g = {},
633996c5ddc4Srjs              .b = {},
634096c5ddc4Srjs              .a = {},
634196c5ddc4Srjs              .l = {},
634296c5ddc4Srjs              .i = {},
634396c5ddc4Srjs              .p = {},
634496c5ddc4Srjs    },
634596c5ddc4Srjs    .uniform_channel_type = ISL_VOID,
634610e230b6Smaya    .colorspace = ISL_COLORSPACE_NONE,
634710e230b6Smaya    .txc = ISL_TXC_CCS,
634810e230b6Smaya  },
634910e230b6Smaya
635010e230b6Smaya};
635110e230b6Smaya
635210e230b6Smayabool
635310e230b6Smayaisl_format_is_valid(enum isl_format format)
635410e230b6Smaya{
635510e230b6Smaya    if (format >= sizeof(isl_format_layouts) / sizeof(isl_format_layouts[0]))
635610e230b6Smaya        return false;
635796c5ddc4Srjs
635896c5ddc4Srjs    /* Only ISL_FORMAT_R32G32B32A32_FLOAT == 0 but that's a valid format.
635996c5ddc4Srjs     * For all others, if this doesn't match then the entry in the table
636096c5ddc4Srjs     * must not exist.
636196c5ddc4Srjs     */
636296c5ddc4Srjs    return isl_format_layouts[format].format == format;
636310e230b6Smaya}
636410e230b6Smaya
636510e230b6Smayaenum isl_format
636610e230b6Smayaisl_format_srgb_to_linear(enum isl_format format)
636710e230b6Smaya{
636810e230b6Smaya    switch (format) {
636910e230b6Smaya    case ISL_FORMAT_B8G8R8A8_UNORM_SRGB:
637010e230b6Smaya        return ISL_FORMAT_B8G8R8A8_UNORM;
637110e230b6Smaya    case ISL_FORMAT_R10G10B10A2_UNORM_SRGB:
637210e230b6Smaya        return ISL_FORMAT_R10G10B10A2_UNORM;
637310e230b6Smaya    case ISL_FORMAT_R8G8B8A8_UNORM_SRGB:
637410e230b6Smaya        return ISL_FORMAT_R8G8B8A8_UNORM;
637510e230b6Smaya    case ISL_FORMAT_B10G10R10A2_UNORM_SRGB:
637610e230b6Smaya        return ISL_FORMAT_B10G10R10A2_UNORM;
637710e230b6Smaya    case ISL_FORMAT_B8G8R8X8_UNORM_SRGB:
637810e230b6Smaya        return ISL_FORMAT_B8G8R8X8_UNORM;
637910e230b6Smaya    case ISL_FORMAT_R8G8B8X8_UNORM_SRGB:
638010e230b6Smaya        return ISL_FORMAT_R8G8B8X8_UNORM;
638110e230b6Smaya    case ISL_FORMAT_B5G6R5_UNORM_SRGB:
638210e230b6Smaya        return ISL_FORMAT_B5G6R5_UNORM;
638310e230b6Smaya    case ISL_FORMAT_B5G5R5A1_UNORM_SRGB:
638410e230b6Smaya        return ISL_FORMAT_B5G5R5A1_UNORM;
638510e230b6Smaya    case ISL_FORMAT_B4G4R4A4_UNORM_SRGB:
638610e230b6Smaya        return ISL_FORMAT_B4G4R4A4_UNORM;
638710e230b6Smaya    case ISL_FORMAT_L8A8_UNORM_SRGB:
638810e230b6Smaya        return ISL_FORMAT_L8A8_UNORM;
638910e230b6Smaya    case ISL_FORMAT_B5G5R5X1_UNORM_SRGB:
639010e230b6Smaya        return ISL_FORMAT_B5G5R5X1_UNORM;
639110e230b6Smaya    case ISL_FORMAT_L8_UNORM_SRGB:
639210e230b6Smaya        return ISL_FORMAT_L8_UNORM;
639310e230b6Smaya    case ISL_FORMAT_DXT1_RGB_SRGB:
639410e230b6Smaya        return ISL_FORMAT_DXT1_RGB;
639510e230b6Smaya    case ISL_FORMAT_BC1_UNORM_SRGB:
639610e230b6Smaya        return ISL_FORMAT_BC1_UNORM;
639710e230b6Smaya    case ISL_FORMAT_BC2_UNORM_SRGB:
639810e230b6Smaya        return ISL_FORMAT_BC2_UNORM;
639910e230b6Smaya    case ISL_FORMAT_BC3_UNORM_SRGB:
640010e230b6Smaya        return ISL_FORMAT_BC3_UNORM;
640110e230b6Smaya    case ISL_FORMAT_BC7_UNORM_SRGB:
640210e230b6Smaya        return ISL_FORMAT_BC7_UNORM;
640310e230b6Smaya    case ISL_FORMAT_R8G8B8_UNORM_SRGB:
640410e230b6Smaya        return ISL_FORMAT_R8G8B8_UNORM;
640510e230b6Smaya    case ISL_FORMAT_ETC2_SRGB8:
640610e230b6Smaya        return ISL_FORMAT_ETC2_RGB8;
640710e230b6Smaya    case ISL_FORMAT_ETC2_SRGB8_PTA:
640810e230b6Smaya        return ISL_FORMAT_ETC2_RGB8_PTA;
640910e230b6Smaya    case ISL_FORMAT_ETC2_EAC_SRGB8_A8:
641010e230b6Smaya        return ISL_FORMAT_ETC2_EAC_SRGB8_A8;
641110e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB:
641210e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB;
641310e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB:
641410e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB;
641510e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB:
641610e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB;
641710e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB:
641810e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB;
641910e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB:
642010e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB;
642110e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB:
642210e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB;
642310e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB:
642410e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB;
642510e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB:
642610e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB;
642710e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB:
642810e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB;
642910e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB:
643010e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB;
643110e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB:
643210e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB;
643310e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB:
643410e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB;
643510e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB:
643610e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB;
643710e230b6Smaya    case ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB:
643810e230b6Smaya        return ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB;
643910e230b6Smaya    default:
644010e230b6Smaya        return format;
644110e230b6Smaya    }
644210e230b6Smaya}
6443