1bf215546Sopenharmony_ci###########################################################################
2bf215546Sopenharmony_ci#
3bf215546Sopenharmony_ci# Copyright 2009-2010 VMware, Inc.
4bf215546Sopenharmony_ci# Copyright 2014 Intel Corporation
5bf215546Sopenharmony_ci# All Rights Reserved.
6bf215546Sopenharmony_ci#
7bf215546Sopenharmony_ci# Permission is hereby granted, free of charge, to any person obtaining a
8bf215546Sopenharmony_ci# copy of this software and associated documentation files (the
9bf215546Sopenharmony_ci# "Software"), to deal in the Software without restriction, including
10bf215546Sopenharmony_ci# without limitation the rights to use, copy, modify, merge, publish,
11bf215546Sopenharmony_ci# distribute, sub license, and/or sell copies of the Software, and to
12bf215546Sopenharmony_ci# permit persons to whom the Software is furnished to do so, subject to
13bf215546Sopenharmony_ci# the following conditions:
14bf215546Sopenharmony_ci#
15bf215546Sopenharmony_ci# The above copyright notice and this permission notice (including the
16bf215546Sopenharmony_ci# next paragraph) shall be included in all copies or substantial portions
17bf215546Sopenharmony_ci# of the Software.
18bf215546Sopenharmony_ci#
19bf215546Sopenharmony_ci# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20bf215546Sopenharmony_ci# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21bf215546Sopenharmony_ci# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
22bf215546Sopenharmony_ci# IN NO EVENT SHALL THE AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR
23bf215546Sopenharmony_ci# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24bf215546Sopenharmony_ci# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25bf215546Sopenharmony_ci# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26bf215546Sopenharmony_ci#
27bf215546Sopenharmony_ci###########################################################################
28bf215546Sopenharmony_ci
29bf215546Sopenharmony_ci# This CSV file has the input data for format_parser.py
30bf215546Sopenharmony_ci#
31bf215546Sopenharmony_ci# Each format entry contains:
32bf215546Sopenharmony_ci# - name, per enum mesa_format
33bf215546Sopenharmony_ci# - layout
34bf215546Sopenharmony_ci# - pixel block's width
35bf215546Sopenharmony_ci# - pixel block's height
36bf215546Sopenharmony_ci# - pixel block's depth
37bf215546Sopenharmony_ci# - channel encoding (only meaningful for array or packed layout), containing for each
38bf215546Sopenharmony_ci#   channel the following information:
39bf215546Sopenharmony_ci#   - type, one of
40bf215546Sopenharmony_ci#     - 'x': void
41bf215546Sopenharmony_ci#     - 'u': unsigned
42bf215546Sopenharmony_ci#     - 's': signed
43bf215546Sopenharmony_ci#     - 'h': fixed
44bf215546Sopenharmony_ci#     - 'f': FLOAT
45bf215546Sopenharmony_ci#   - optionally followed by 'n' if it is normalized
46bf215546Sopenharmony_ci#   - number of bits
47bf215546Sopenharmony_ci# - channel swizzle
48bf215546Sopenharmony_ci# - color space: rgb, srgb, yub, sz
49bf215546Sopenharmony_ci
50bf215546Sopenharmony_ci# None
51bf215546Sopenharmony_ci# Described as regular uint_8 bytes, i.e. MESA_FORMAT_R8_USCALED
52bf215546Sopenharmony_ciMESA_FORMAT_NONE                          , other , 1, 1, 1, x8  ,     ,     ,     , 0001, rgb
53bf215546Sopenharmony_ci
54bf215546Sopenharmony_ci# Packed unorm formats
55bf215546Sopenharmony_ciMESA_FORMAT_A8B8G8R8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb
56bf215546Sopenharmony_ciMESA_FORMAT_X8B8G8R8_UNORM                , packed, 1, 1, 1, x8  , un8 , un8 , un8 , wzy1, rgb
57bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8A8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, rgb
58bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8X8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , x8  , xyz1, rgb
59bf215546Sopenharmony_ciMESA_FORMAT_B8G8R8A8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb
60bf215546Sopenharmony_ciMESA_FORMAT_B8G8R8X8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , x8  , zyx1, rgb
61bf215546Sopenharmony_ciMESA_FORMAT_A8R8G8B8_UNORM                , packed, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb
62bf215546Sopenharmony_ciMESA_FORMAT_X8R8G8B8_UNORM                , packed, 1, 1, 1, x8  , un8 , un8 , un8 , yzw1, rgb
63bf215546Sopenharmony_ciMESA_FORMAT_B5G6R5_UNORM                  , packed, 1, 1, 1, un5 , un6 , un5 ,     , zyx1, rgb
64bf215546Sopenharmony_ciMESA_FORMAT_R5G6B5_UNORM                  , packed, 1, 1, 1, un5 , un6 , un5 ,     , xyz1, rgb
65bf215546Sopenharmony_ciMESA_FORMAT_B4G4R4A4_UNORM                , packed, 1, 1, 1, un4 , un4 , un4 , un4 , zyxw, rgb
66bf215546Sopenharmony_ciMESA_FORMAT_B4G4R4X4_UNORM                , packed, 1, 1, 1, un4 , un4 , un4 , x4  , zyx1, rgb
67bf215546Sopenharmony_ciMESA_FORMAT_A4R4G4B4_UNORM                , packed, 1, 1, 1, un4 , un4 , un4 , un4 , yzwx, rgb
68bf215546Sopenharmony_ciMESA_FORMAT_A1B5G5R5_UNORM                , packed, 1, 1, 1, un1 , un5 , un5 , un5 , wzyx, rgb
69bf215546Sopenharmony_ciMESA_FORMAT_X1B5G5R5_UNORM                , packed, 1, 1, 1, x1  , un5 , un5 , un5 , wzy1, rgb
70bf215546Sopenharmony_ciMESA_FORMAT_B5G5R5A1_UNORM                , packed, 1, 1, 1, un5 , un5 , un5 , un1 , zyxw, rgb
71bf215546Sopenharmony_ciMESA_FORMAT_B5G5R5X1_UNORM                , packed, 1, 1, 1, un5 , un5 , un5 , x1  , zyx1, rgb
72bf215546Sopenharmony_ciMESA_FORMAT_A1R5G5B5_UNORM                , packed, 1, 1, 1, un1 , un5 , un5 , un5 , yzwx, rgb
73bf215546Sopenharmony_ciMESA_FORMAT_L4A4_UNORM                    , packed, 1, 1, 1, un4 , un4 ,     ,     , xxxy, rgb
74bf215546Sopenharmony_ci
75bf215546Sopenharmony_ciMESA_FORMAT_B2G3R3_UNORM                  , packed, 1, 1, 1, un2 , un3 , un3 ,     , zyx1, rgb
76bf215546Sopenharmony_ciMESA_FORMAT_B10G10R10A2_UNORM             , packed, 1, 1, 1, un10, un10, un10, un2 , zyxw, rgb
77bf215546Sopenharmony_ciMESA_FORMAT_B10G10R10X2_UNORM             , packed, 1, 1, 1, un10, un10, un10, x2  , zyx1, rgb
78bf215546Sopenharmony_ciMESA_FORMAT_R10G10B10A2_UNORM             , packed, 1, 1, 1, un10, un10, un10, un2 , xyzw, rgb
79bf215546Sopenharmony_ciMESA_FORMAT_R10G10B10X2_UNORM             , packed, 1, 1, 1, un10, un10, un10, x2  , xyz1, rgb
80bf215546Sopenharmony_ci
81bf215546Sopenharmony_ciMESA_FORMAT_S8_UINT_Z24_UNORM             , packed, 1, 1, 1, un24, u8  ,     ,     , xy__, zs
82bf215546Sopenharmony_ciMESA_FORMAT_X8_UINT_Z24_UNORM             , packed, 1, 1, 1, un24, x8  ,     ,     , x___, zs
83bf215546Sopenharmony_ciMESA_FORMAT_Z24_UNORM_S8_UINT             , packed, 1, 1, 1, u8  , un24,     ,     , yx__, zs
84bf215546Sopenharmony_ciMESA_FORMAT_Z24_UNORM_X8_UINT             , packed, 1, 1, 1, x8  , un24,     ,     , y___, zs
85bf215546Sopenharmony_ci
86bf215546Sopenharmony_ciMESA_FORMAT_R3G3B2_UNORM                  , packed, 1, 1, 1, un3 , un3 , un2 ,     , xyz1, rgb
87bf215546Sopenharmony_ciMESA_FORMAT_A4B4G4R4_UNORM                , packed, 1, 1, 1, un4 , un4 , un4 , un4 , wzyx, rgb
88bf215546Sopenharmony_ciMESA_FORMAT_R4G4B4A4_UNORM                , packed, 1, 1, 1, un4 , un4 , un4 , un4 , xyzw, rgb
89bf215546Sopenharmony_ciMESA_FORMAT_R5G5B5A1_UNORM                , packed, 1, 1, 1, un5 , un5 , un5 , un1 , xyzw, rgb
90bf215546Sopenharmony_ciMESA_FORMAT_A2B10G10R10_UNORM             , packed, 1, 1, 1, un2 , un10, un10, un10, wzyx, rgb
91bf215546Sopenharmony_ciMESA_FORMAT_A2R10G10B10_UNORM             , packed, 1, 1, 1, un2 , un10, un10, un10, yzwx, rgb
92bf215546Sopenharmony_ci
93bf215546Sopenharmony_ciMESA_FORMAT_YCBCR                         , other , 1, 1, 1, x16 ,     ,     ,     , xyzw, yuv
94bf215546Sopenharmony_ciMESA_FORMAT_YCBCR_REV                     , other , 1, 1, 1, x16 ,     ,     ,     , xyzw, yuv
95bf215546Sopenharmony_ci
96bf215546Sopenharmony_ciMESA_FORMAT_RG_RB_UNORM8                  , other , 2, 1, 1, x16 ,     ,     ,     , xyz1, rgb
97bf215546Sopenharmony_ciMESA_FORMAT_GR_BR_UNORM8                  , other , 2, 1, 1, x16 ,     ,     ,     , xyz1, rgb
98bf215546Sopenharmony_ci
99bf215546Sopenharmony_ci# Array normalized formats
100bf215546Sopenharmony_ciMESA_FORMAT_A_UNORM8                      , array , 1, 1, 1, un8 ,     ,     ,     , 000x, rgb
101bf215546Sopenharmony_ciMESA_FORMAT_A_UNORM16                     , array , 1, 1, 1, un16,     ,     ,     , 000x, rgb
102bf215546Sopenharmony_ciMESA_FORMAT_L_UNORM8                      , array , 1, 1, 1, un8 ,     ,     ,     , xxx1, rgb
103bf215546Sopenharmony_ciMESA_FORMAT_L_UNORM16                     , array , 1, 1, 1, un16,     ,     ,     , xxx1, rgb
104bf215546Sopenharmony_ciMESA_FORMAT_LA_UNORM8                     , array , 1, 1, 1, un8 , un8 ,     ,     , xxxy, rgb
105bf215546Sopenharmony_ciMESA_FORMAT_LA_UNORM16                    , array , 1, 1, 1, un16, un16,     ,     , xxxy, rgb
106bf215546Sopenharmony_ciMESA_FORMAT_I_UNORM8                      , array , 1, 1, 1, un8 ,     ,     ,     , xxxx, rgb
107bf215546Sopenharmony_ciMESA_FORMAT_I_UNORM16                     , array , 1, 1, 1, un16,     ,     ,     , xxxx, rgb
108bf215546Sopenharmony_ciMESA_FORMAT_R_UNORM8                      , array , 1, 1, 1, un8 ,     ,     ,     , x001, rgb
109bf215546Sopenharmony_ciMESA_FORMAT_R_UNORM16                     , array , 1, 1, 1, un16,     ,     ,     , x001, rgb
110bf215546Sopenharmony_ciMESA_FORMAT_RG_UNORM8                     , array , 1, 1, 1, un8 , un8 ,     ,     , xy01, rgb
111bf215546Sopenharmony_ciMESA_FORMAT_RG_UNORM16                    , array , 1, 1, 1, un16, un16,     ,     , xy01, rgb
112bf215546Sopenharmony_ciMESA_FORMAT_BGR_UNORM8                    , array , 1, 1, 1, un8 , un8 , un8 ,     , zyx1, rgb
113bf215546Sopenharmony_ciMESA_FORMAT_RGB_UNORM8                    , array , 1, 1, 1, un8 , un8 , un8 ,     , xyz1, rgb
114bf215546Sopenharmony_ciMESA_FORMAT_RGBA_UNORM16                  , array , 1, 1, 1, un16, un16, un16, un16, xyzw, rgb
115bf215546Sopenharmony_ciMESA_FORMAT_RGBX_UNORM16                  , array , 1, 1, 1, un16, un16, un16, x16 , xyz1, rgb
116bf215546Sopenharmony_ci
117bf215546Sopenharmony_ciMESA_FORMAT_Z_UNORM16                     , array , 1, 1, 1, un16,     ,     ,     , x___, zs
118bf215546Sopenharmony_ciMESA_FORMAT_Z_UNORM32                     , array , 1, 1, 1, un32,     ,     ,     , x___, zs
119bf215546Sopenharmony_ciMESA_FORMAT_S_UINT8                       , array , 1, 1, 1, u8  ,     ,     ,     , _x__, zs
120bf215546Sopenharmony_ci
121bf215546Sopenharmony_ci# Packed signed formats
122bf215546Sopenharmony_ciMESA_FORMAT_A8B8G8R8_SNORM                , packed, 1, 1, 1, sn8 , sn8 , sn8 , sn8 , wzyx, rgb
123bf215546Sopenharmony_ciMESA_FORMAT_X8B8G8R8_SNORM                , packed, 1, 1, 1, x8  , sn8 , sn8 , sn8 , wzy1, rgb
124bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8A8_SNORM                , packed, 1, 1, 1, sn8 , sn8 , sn8 , sn8 , xyzw, rgb
125bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8X8_SNORM                , packed, 1, 1, 1, sn8 , sn8 , sn8 , x8  , xyz1, rgb
126bf215546Sopenharmony_ci
127bf215546Sopenharmony_ci# Array signed/normalized formats
128bf215546Sopenharmony_ciMESA_FORMAT_A_SNORM8                      , array , 1, 1, 1, sn8 ,     ,     ,     , 000x, rgb
129bf215546Sopenharmony_ciMESA_FORMAT_A_SNORM16                     , array , 1, 1, 1, sn16,     ,     ,     , 000x, rgb
130bf215546Sopenharmony_ciMESA_FORMAT_L_SNORM8                      , array , 1, 1, 1, sn8 ,     ,     ,     , xxx1, rgb
131bf215546Sopenharmony_ciMESA_FORMAT_L_SNORM16                     , array , 1, 1, 1, sn16,     ,     ,     , xxx1, rgb
132bf215546Sopenharmony_ciMESA_FORMAT_I_SNORM8                      , array , 1, 1, 1, sn8 ,     ,     ,     , xxxx, rgb
133bf215546Sopenharmony_ciMESA_FORMAT_I_SNORM16                     , array , 1, 1, 1, sn16,     ,     ,     , xxxx, rgb
134bf215546Sopenharmony_ciMESA_FORMAT_R_SNORM8                      , array , 1, 1, 1, sn8 ,     ,     ,     , x001, rgb
135bf215546Sopenharmony_ciMESA_FORMAT_R_SNORM16                     , array , 1, 1, 1, sn16,     ,     ,     , x001, rgb
136bf215546Sopenharmony_ciMESA_FORMAT_LA_SNORM8                     , array , 1, 1, 1, sn8 , sn8 ,     ,     , xxxy, rgb
137bf215546Sopenharmony_ciMESA_FORMAT_LA_SNORM16                    , array , 1, 1, 1, sn16, sn16,     ,     , xxxy, rgb
138bf215546Sopenharmony_ciMESA_FORMAT_RG_SNORM8                     , array , 1, 1, 1, sn8 , sn8 ,     ,     , xy01, rgb
139bf215546Sopenharmony_ciMESA_FORMAT_RG_SNORM16                    , array , 1, 1, 1, sn16, sn16,     ,     , xy01, rgb
140bf215546Sopenharmony_ciMESA_FORMAT_RGB_SNORM16                   , array , 1, 1, 1, sn16, sn16, sn16,     , xyz1, rgb
141bf215546Sopenharmony_ciMESA_FORMAT_RGBA_SNORM16                  , array , 1, 1, 1, sn16, sn16, sn16, sn16, xyzw, rgb
142bf215546Sopenharmony_ciMESA_FORMAT_RGBX_SNORM16                  , array , 1, 1, 1, sn16, sn16, sn16, x16 , xyz1, rgb
143bf215546Sopenharmony_ci
144bf215546Sopenharmony_ci# Packed sRGB formats
145bf215546Sopenharmony_ciMESA_FORMAT_A8B8G8R8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, srgb
146bf215546Sopenharmony_ciMESA_FORMAT_B8G8R8A8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, srgb
147bf215546Sopenharmony_ciMESA_FORMAT_A8R8G8B8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, srgb
148bf215546Sopenharmony_ciMESA_FORMAT_B8G8R8X8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , x8  , zyx1, srgb
149bf215546Sopenharmony_ciMESA_FORMAT_X8R8G8B8_SRGB                 , packed, 1, 1, 1, x8  , un8 , un8 , un8 , yzw1, srgb
150bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8A8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb
151bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8X8_SRGB                 , packed, 1, 1, 1, un8 , un8 , un8 , x8  , xyz1, srgb
152bf215546Sopenharmony_ciMESA_FORMAT_X8B8G8R8_SRGB                 , packed, 1, 1, 1, x8  , un8 , un8 , un8 , wzy1, srgb
153bf215546Sopenharmony_ci
154bf215546Sopenharmony_ci# Array sRGB formats
155bf215546Sopenharmony_ciMESA_FORMAT_R_SRGB8                       , array , 1, 1, 1, un8 ,     ,     ,     , x001, srgb
156bf215546Sopenharmony_ciMESA_FORMAT_L_SRGB8                       , array , 1, 1, 1, un8 ,     ,     ,     , xxx1, srgb
157bf215546Sopenharmony_ciMESA_FORMAT_RG_SRGB8                      , array , 1, 1, 1, un8 , un8 ,     ,     , xy01, srgb
158bf215546Sopenharmony_ciMESA_FORMAT_LA_SRGB8                      , array , 1, 1, 1, un8 , un8 ,     ,     , xxxy, srgb
159bf215546Sopenharmony_ciMESA_FORMAT_BGR_SRGB8                     , array , 1, 1, 1, un8 , un8 , un8 ,     , zyx1, srgb
160bf215546Sopenharmony_ci
161bf215546Sopenharmony_ci# Packed float formats
162bf215546Sopenharmony_ciMESA_FORMAT_R9G9B9E5_FLOAT                , other , 1, 1, 1, f9  , f9  , f9  , x5  , xyz1, rgb
163bf215546Sopenharmony_ciMESA_FORMAT_R11G11B10_FLOAT               , packed, 1, 1, 1, f11 , f11 , f10 ,     , xyz1, rgb
164bf215546Sopenharmony_ciMESA_FORMAT_Z32_FLOAT_S8X24_UINT          , packed, 1, 1, 1, u8  , x24 , f32 ,     , zx__, zs
165bf215546Sopenharmony_ci
166bf215546Sopenharmony_ci# Array float formats
167bf215546Sopenharmony_ciMESA_FORMAT_A_FLOAT16                     , array , 1, 1, 1, f16 ,     ,     ,     , 000x, rgb
168bf215546Sopenharmony_ciMESA_FORMAT_A_FLOAT32                     , array , 1, 1, 1, f32 ,     ,     ,     , 000x, rgb
169bf215546Sopenharmony_ciMESA_FORMAT_L_FLOAT16                     , array , 1, 1, 1, f16 ,     ,     ,     , xxx1, rgb
170bf215546Sopenharmony_ciMESA_FORMAT_L_FLOAT32                     , array , 1, 1, 1, f32 ,     ,     ,     , xxx1, rgb
171bf215546Sopenharmony_ciMESA_FORMAT_LA_FLOAT16                    , array , 1, 1, 1, f16 , f16 ,     ,     , xxxy, rgb
172bf215546Sopenharmony_ciMESA_FORMAT_LA_FLOAT32                    , array , 1, 1, 1, f32 , f32 ,     ,     , xxxy, rgb
173bf215546Sopenharmony_ciMESA_FORMAT_I_FLOAT16                     , array , 1, 1, 1, f16 ,     ,     ,     , xxxx, rgb
174bf215546Sopenharmony_ciMESA_FORMAT_I_FLOAT32                     , array , 1, 1, 1, f32 ,     ,     ,     , xxxx, rgb
175bf215546Sopenharmony_ciMESA_FORMAT_R_FLOAT16                     , array , 1, 1, 1, f16 ,     ,     ,     , x001, rgb
176bf215546Sopenharmony_ciMESA_FORMAT_R_FLOAT32                     , array , 1, 1, 1, f32 ,     ,     ,     , x001, rgb
177bf215546Sopenharmony_ciMESA_FORMAT_RG_FLOAT16                    , array , 1, 1, 1, f16 , f16 ,     ,     , xy01, rgb
178bf215546Sopenharmony_ciMESA_FORMAT_RG_FLOAT32                    , array , 1, 1, 1, f32 , f32 ,     ,     , xy01, rgb
179bf215546Sopenharmony_ciMESA_FORMAT_RGB_FLOAT16                   , array , 1, 1, 1, f16 , f16 , f16 ,     , xyz1, rgb
180bf215546Sopenharmony_ciMESA_FORMAT_RGB_FLOAT32                   , array , 1, 1, 1, f32 , f32 , f32 ,     , xyz1, rgb
181bf215546Sopenharmony_ciMESA_FORMAT_RGBA_FLOAT16                  , array , 1, 1, 1, f16 , f16 , f16 , f16 , xyzw, rgb
182bf215546Sopenharmony_ciMESA_FORMAT_RGBA_FLOAT32                  , array , 1, 1, 1, f32 , f32 , f32 , f32 , xyzw, rgb
183bf215546Sopenharmony_ciMESA_FORMAT_RGBX_FLOAT16                  , array , 1, 1, 1, f16 , f16 , f16 , x16 , xyz1, rgb
184bf215546Sopenharmony_ciMESA_FORMAT_RGBX_FLOAT32                  , array , 1, 1, 1, f32 , f32 , f32 , x32 , xyz1, rgb
185bf215546Sopenharmony_ciMESA_FORMAT_Z_FLOAT32                     , array , 1, 1, 1, f32 ,     ,     ,     , x___, zs
186bf215546Sopenharmony_ci
187bf215546Sopenharmony_ci# Packed signed/unsigned non-normalized integer formats
188bf215546Sopenharmony_ciMESA_FORMAT_A8B8G8R8_UINT                 , packed, 1, 1, 1, u8  , u8  , u8  , u8  , wzyx, rgb
189bf215546Sopenharmony_ciMESA_FORMAT_A8R8G8B8_UINT                 , packed, 1, 1, 1, u8  , u8  , u8  , u8  , yzwx, rgb
190bf215546Sopenharmony_ciMESA_FORMAT_R8G8B8A8_UINT                 , packed, 1, 1, 1, u8  , u8  , u8  , u8  , xyzw, rgb
191bf215546Sopenharmony_ciMESA_FORMAT_B8G8R8A8_UINT                 , packed, 1, 1, 1, u8  , u8  , u8  , u8  , zyxw, rgb
192bf215546Sopenharmony_ciMESA_FORMAT_B10G10R10A2_UINT              , packed, 1, 1, 1, u10 , u10 , u10 , u2  , zyxw, rgb
193bf215546Sopenharmony_ciMESA_FORMAT_R10G10B10A2_UINT              , packed, 1, 1, 1, u10 , u10 , u10 , u2  , xyzw, rgb
194bf215546Sopenharmony_ciMESA_FORMAT_A2B10G10R10_UINT              , packed, 1, 1, 1, u2  , u10 , u10 , u10 , wzyx, rgb
195bf215546Sopenharmony_ciMESA_FORMAT_A2R10G10B10_UINT              , packed, 1, 1, 1, u2  , u10 , u10 , u10 , yzwx, rgb
196bf215546Sopenharmony_ciMESA_FORMAT_B5G6R5_UINT                   , packed, 1, 1, 1, u5  , u6  ,  u5 ,     , zyx1, rgb
197bf215546Sopenharmony_ciMESA_FORMAT_R5G6B5_UINT                   , packed, 1, 1, 1, u5  , u6  ,  u5 ,     , xyz1, rgb
198bf215546Sopenharmony_ciMESA_FORMAT_B2G3R3_UINT                   , packed, 1, 1, 1, u2  , u3  ,  u3 ,     , zyx1, rgb
199bf215546Sopenharmony_ciMESA_FORMAT_R3G3B2_UINT                   , packed, 1, 1, 1, u3  , u3  ,  u2 ,     , xyz1, rgb
200bf215546Sopenharmony_ciMESA_FORMAT_A4B4G4R4_UINT                 , packed, 1, 1, 1, u4  , u4  ,  u4 , u4  , wzyx, rgb
201bf215546Sopenharmony_ciMESA_FORMAT_R4G4B4A4_UINT                 , packed, 1, 1, 1, u4  , u4  ,  u4 , u4  , xyzw, rgb
202bf215546Sopenharmony_ciMESA_FORMAT_B4G4R4A4_UINT                 , packed, 1, 1, 1, u4  , u4  ,  u4 , u4  , zyxw, rgb
203bf215546Sopenharmony_ciMESA_FORMAT_A4R4G4B4_UINT                 , packed, 1, 1, 1, u4  , u4  ,  u4 , u4  , yzwx, rgb
204bf215546Sopenharmony_ciMESA_FORMAT_A1B5G5R5_UINT                 , packed, 1, 1, 1, u1  , u5  ,  u5 , u5  , wzyx, rgb
205bf215546Sopenharmony_ciMESA_FORMAT_B5G5R5A1_UINT                 , packed, 1, 1, 1, u5  , u5  ,  u5 , u1  , zyxw, rgb
206bf215546Sopenharmony_ciMESA_FORMAT_A1R5G5B5_UINT                 , packed, 1, 1, 1, u1  , u5  ,  u5 , u5  , yzwx, rgb
207bf215546Sopenharmony_ciMESA_FORMAT_R5G5B5A1_UINT                 , packed, 1, 1, 1, u5  , u5  ,  u5 , u1  , xyzw, rgb
208bf215546Sopenharmony_ci
209bf215546Sopenharmony_ci# Array signed/unsigned non-normalized integer formats
210bf215546Sopenharmony_ciMESA_FORMAT_A_UINT8                       , array , 1, 1, 1, u8  ,     ,     ,     , 000x, rgb
211bf215546Sopenharmony_ciMESA_FORMAT_A_UINT16                      , array , 1, 1, 1, u16 ,     ,     ,     , 000x, rgb
212bf215546Sopenharmony_ciMESA_FORMAT_A_UINT32                      , array , 1, 1, 1, u32 ,     ,     ,     , 000x, rgb
213bf215546Sopenharmony_ciMESA_FORMAT_A_SINT8                       , array , 1, 1, 1, s8  ,     ,     ,     , 000x, rgb
214bf215546Sopenharmony_ciMESA_FORMAT_A_SINT16                      , array , 1, 1, 1, s16 ,     ,     ,     , 000x, rgb
215bf215546Sopenharmony_ciMESA_FORMAT_A_SINT32                      , array , 1, 1, 1, s32 ,     ,     ,     , 000x, rgb
216bf215546Sopenharmony_ci
217bf215546Sopenharmony_ciMESA_FORMAT_I_UINT8                       , array , 1, 1, 1, u8  ,     ,     ,     , xxxx, rgb
218bf215546Sopenharmony_ciMESA_FORMAT_I_UINT16                      , array , 1, 1, 1, u16 ,     ,     ,     , xxxx, rgb
219bf215546Sopenharmony_ciMESA_FORMAT_I_UINT32                      , array , 1, 1, 1, u32 ,     ,     ,     , xxxx, rgb
220bf215546Sopenharmony_ciMESA_FORMAT_I_SINT8                       , array , 1, 1, 1, s8  ,     ,     ,     , xxxx, rgb
221bf215546Sopenharmony_ciMESA_FORMAT_I_SINT16                      , array , 1, 1, 1, s16 ,     ,     ,     , xxxx, rgb
222bf215546Sopenharmony_ciMESA_FORMAT_I_SINT32                      , array , 1, 1, 1, s32 ,     ,     ,     , xxxx, rgb
223bf215546Sopenharmony_ci
224bf215546Sopenharmony_ciMESA_FORMAT_L_UINT8                       , array , 1, 1, 1, u8  ,     ,     ,     , xxx1, rgb
225bf215546Sopenharmony_ciMESA_FORMAT_L_UINT16                      , array , 1, 1, 1, u16 ,     ,     ,     , xxx1, rgb
226bf215546Sopenharmony_ciMESA_FORMAT_L_UINT32                      , array , 1, 1, 1, u32 ,     ,     ,     , xxx1, rgb
227bf215546Sopenharmony_ciMESA_FORMAT_L_SINT8                       , array , 1, 1, 1, s8  ,     ,     ,     , xxx1, rgb
228bf215546Sopenharmony_ciMESA_FORMAT_L_SINT16                      , array , 1, 1, 1, s16 ,     ,     ,     , xxx1, rgb
229bf215546Sopenharmony_ciMESA_FORMAT_L_SINT32                      , array , 1, 1, 1, s32 ,     ,     ,     , xxx1, rgb
230bf215546Sopenharmony_ci
231bf215546Sopenharmony_ciMESA_FORMAT_LA_UINT8                      , array , 1, 1, 1, u8  , u8  ,     ,     , xxxy, rgb
232bf215546Sopenharmony_ciMESA_FORMAT_LA_UINT16                     , array , 1, 1, 1, u16 , u16 ,     ,     , xxxy, rgb
233bf215546Sopenharmony_ciMESA_FORMAT_LA_UINT32                     , array , 1, 1, 1, u32 , u32 ,     ,     , xxxy, rgb
234bf215546Sopenharmony_ciMESA_FORMAT_LA_SINT8                      , array , 1, 1, 1, s8  , s8  ,     ,     , xxxy, rgb
235bf215546Sopenharmony_ciMESA_FORMAT_LA_SINT16                     , array , 1, 1, 1, s16 , s16 ,     ,     , xxxy, rgb
236bf215546Sopenharmony_ciMESA_FORMAT_LA_SINT32                     , array , 1, 1, 1, s32 , s32 ,     ,     , xxxy, rgb
237bf215546Sopenharmony_ci
238bf215546Sopenharmony_ciMESA_FORMAT_R_UINT8                       , array , 1, 1, 1, u8  ,     ,     ,     , x001, rgb
239bf215546Sopenharmony_ciMESA_FORMAT_R_UINT16                      , array , 1, 1, 1, u16 ,     ,     ,     , x001, rgb
240bf215546Sopenharmony_ciMESA_FORMAT_R_UINT32                      , array , 1, 1, 1, u32 ,     ,     ,     , x001, rgb
241bf215546Sopenharmony_ciMESA_FORMAT_R_SINT8                       , array , 1, 1, 1, s8  ,     ,     ,     , x001, rgb
242bf215546Sopenharmony_ciMESA_FORMAT_R_SINT16                      , array , 1, 1, 1, s16 ,     ,     ,     , x001, rgb
243bf215546Sopenharmony_ciMESA_FORMAT_R_SINT32                      , array , 1, 1, 1, s32 ,     ,     ,     , x001, rgb
244bf215546Sopenharmony_ci
245bf215546Sopenharmony_ciMESA_FORMAT_RG_UINT8                      , array , 1, 1, 1, u8  , u8  ,     ,     , xy01, rgb
246bf215546Sopenharmony_ciMESA_FORMAT_RG_UINT16                     , array , 1, 1, 1, u16 , u16 ,     ,     , xy01, rgb
247bf215546Sopenharmony_ciMESA_FORMAT_RG_UINT32                     , array , 1, 1, 1, u32 , u32 ,     ,     , xy01, rgb
248bf215546Sopenharmony_ciMESA_FORMAT_RG_SINT8                      , array , 1, 1, 1, s8  , s8  ,     ,     , xy01, rgb
249bf215546Sopenharmony_ciMESA_FORMAT_RG_SINT16                     , array , 1, 1, 1, s16 , s16 ,     ,     , xy01, rgb
250bf215546Sopenharmony_ciMESA_FORMAT_RG_SINT32                     , array , 1, 1, 1, s32 , s32 ,     ,     , xy01, rgb
251bf215546Sopenharmony_ci
252bf215546Sopenharmony_ciMESA_FORMAT_RGB_UINT8                     , array , 1, 1, 1, u8  , u8  , u8  ,     , xyz1, rgb
253bf215546Sopenharmony_ciMESA_FORMAT_RGB_UINT16                    , array , 1, 1, 1, u16 , u16 , u16 ,     , xyz1, rgb
254bf215546Sopenharmony_ciMESA_FORMAT_RGB_UINT32                    , array , 1, 1, 1, u32 , u32 , u32 ,     , xyz1, rgb
255bf215546Sopenharmony_ciMESA_FORMAT_RGB_SINT8                     , array , 1, 1, 1, s8  , s8  , s8  ,     , xyz1, rgb
256bf215546Sopenharmony_ciMESA_FORMAT_RGB_SINT16                    , array , 1, 1, 1, s16 , s16 , s16 ,     , xyz1, rgb
257bf215546Sopenharmony_ciMESA_FORMAT_RGB_SINT32                    , array , 1, 1, 1, s32 , s32 , s32 ,     , xyz1, rgb
258bf215546Sopenharmony_ci
259bf215546Sopenharmony_ciMESA_FORMAT_RGBA_UINT16                   , array , 1, 1, 1, u16 , u16 , u16 , u16 , xyzw, rgb
260bf215546Sopenharmony_ciMESA_FORMAT_RGBA_UINT32                   , array , 1, 1, 1, u32 , u32 , u32 , u32 , xyzw, rgb
261bf215546Sopenharmony_ciMESA_FORMAT_RGBA_SINT8                    , array , 1, 1, 1, s8  , s8  , s8  , s8  , xyzw, rgb
262bf215546Sopenharmony_ciMESA_FORMAT_RGBA_SINT16                   , array , 1, 1, 1, s16 , s16 , s16 , s16 , xyzw, rgb
263bf215546Sopenharmony_ciMESA_FORMAT_RGBA_SINT32                   , array , 1, 1, 1, s32 , s32 , s32 , s32 , xyzw, rgb
264bf215546Sopenharmony_ci
265bf215546Sopenharmony_ciMESA_FORMAT_RGBX_UINT8                    , array , 1, 1, 1, u8  , u8  , u8  , x8  , xyz1, rgb
266bf215546Sopenharmony_ciMESA_FORMAT_RGBX_UINT16                   , array , 1, 1, 1, u16 , u16 , u16 , x16 , xyz1, rgb
267bf215546Sopenharmony_ciMESA_FORMAT_RGBX_UINT32                   , array , 1, 1, 1, u32 , u32 , u32 , x32 , xyz1, rgb
268bf215546Sopenharmony_ciMESA_FORMAT_RGBX_SINT8                    , array , 1, 1, 1, s8  , s8  , s8  , x8  , xyz1, rgb
269bf215546Sopenharmony_ciMESA_FORMAT_RGBX_SINT16                   , array , 1, 1, 1, s16 , s16 , s16 , x16 , xyz1, rgb
270bf215546Sopenharmony_ciMESA_FORMAT_RGBX_SINT32                   , array , 1, 1, 1, s32 , s32 , s32 , x32 , xyz1, rgb
271bf215546Sopenharmony_ci
272bf215546Sopenharmony_ci# DTX compressed formats
273bf215546Sopenharmony_ciMESA_FORMAT_RGB_DXT1                      , s3tc  , 4, 4, 1, x64 ,     ,     ,     , xyz1, rgb
274bf215546Sopenharmony_ciMESA_FORMAT_RGBA_DXT1                     , s3tc  , 4, 4, 1, x64 ,     ,     ,     , xyzw, rgb
275bf215546Sopenharmony_ciMESA_FORMAT_RGBA_DXT3                     , s3tc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
276bf215546Sopenharmony_ciMESA_FORMAT_RGBA_DXT5                     , s3tc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
277bf215546Sopenharmony_ci
278bf215546Sopenharmony_ci# DTX sRGB compressed formats
279bf215546Sopenharmony_ciMESA_FORMAT_SRGB_DXT1                     , s3tc  , 4, 4, 1, x64 ,     ,     ,     , xyz1, srgb
280bf215546Sopenharmony_ciMESA_FORMAT_SRGBA_DXT1                    , s3tc  , 4, 4, 1, x64 ,     ,     ,     , xyzw, srgb
281bf215546Sopenharmony_ciMESA_FORMAT_SRGBA_DXT3                    , s3tc  , 4, 4, 1, x128,     ,     ,     , xyzw, srgb
282bf215546Sopenharmony_ciMESA_FORMAT_SRGBA_DXT5                    , s3tc  , 4, 4, 1, x128,     ,     ,     , xyzw, srgb
283bf215546Sopenharmony_ci
284bf215546Sopenharmony_ci# FXT1 compressed formats
285bf215546Sopenharmony_ciMESA_FORMAT_RGB_FXT1                      , fxt1  , 8, 4, 1, x128,     ,     ,     , xyz1, rgb
286bf215546Sopenharmony_ciMESA_FORMAT_RGBA_FXT1                     , fxt1  , 8, 4, 1, x128,     ,     ,     , xyzw, rgb
287bf215546Sopenharmony_ci
288bf215546Sopenharmony_ci# RGTC compressed formats
289bf215546Sopenharmony_ciMESA_FORMAT_R_RGTC1_UNORM                 , rgtc  , 4, 4, 1, x64 ,     ,     ,     , x001, rgb
290bf215546Sopenharmony_ciMESA_FORMAT_R_RGTC1_SNORM                 , rgtc  , 4, 4, 1, x64 ,     ,     ,     , x001, rgb
291bf215546Sopenharmony_ciMESA_FORMAT_RG_RGTC2_UNORM                , rgtc  , 4, 4, 1, x128,     ,     ,     , xy01, rgb
292bf215546Sopenharmony_ciMESA_FORMAT_RG_RGTC2_SNORM                , rgtc  , 4, 4, 1, x128,     ,     ,     , xy01, rgb
293bf215546Sopenharmony_ci
294bf215546Sopenharmony_ci# LATC1/2 compressed formats
295bf215546Sopenharmony_ciMESA_FORMAT_L_LATC1_UNORM                 , latc  , 4, 4, 1, x64 ,     ,     ,     , xxx1, rgb
296bf215546Sopenharmony_ciMESA_FORMAT_L_LATC1_SNORM                 , latc  , 4, 4, 1, x64 ,     ,     ,     , xxx1, rgb
297bf215546Sopenharmony_ciMESA_FORMAT_LA_LATC2_UNORM                , latc  , 4, 4, 1, x128,     ,     ,     , xxxy, rgb
298bf215546Sopenharmony_ciMESA_FORMAT_LA_LATC2_SNORM                , latc  , 4, 4, 1, x128,     ,     ,     , xxxy, rgb
299bf215546Sopenharmony_ci
300bf215546Sopenharmony_ci# ETC1/2 compressed formats
301bf215546Sopenharmony_ciMESA_FORMAT_ETC1_RGB8                     , etc1  , 4, 4, 1, x64 ,     ,     ,     , xyz1, rgb
302bf215546Sopenharmony_ciMESA_FORMAT_ETC2_RGB8                     , etc2  , 4, 4, 1, x64 ,     ,     ,     , xyz1, rgb
303bf215546Sopenharmony_ciMESA_FORMAT_ETC2_SRGB8                    , etc2  , 4, 4, 1, x64 ,     ,     ,     , xyz1, srgb
304bf215546Sopenharmony_ciMESA_FORMAT_ETC2_RGBA8_EAC                , etc2  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
305bf215546Sopenharmony_ciMESA_FORMAT_ETC2_SRGB8_ALPHA8_EAC         , etc2  , 4, 4, 1, x128,     ,     ,     , xyzw, srgb
306bf215546Sopenharmony_ciMESA_FORMAT_ETC2_R11_EAC                  , etc2  , 4, 4, 1, x64 ,     ,     ,     , x001, rgb
307bf215546Sopenharmony_ciMESA_FORMAT_ETC2_RG11_EAC                 , etc2  , 4, 4, 1, x128,     ,     ,     , xy01, rgb
308bf215546Sopenharmony_ciMESA_FORMAT_ETC2_SIGNED_R11_EAC           , etc2  , 4, 4, 1, x64 ,     ,     ,     , x001, rgb
309bf215546Sopenharmony_ciMESA_FORMAT_ETC2_SIGNED_RG11_EAC          , etc2  , 4, 4, 1, x128,     ,     ,     , xy01, rgb
310bf215546Sopenharmony_ciMESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1 , etc2  , 4, 4, 1, x64 ,     ,     ,     , xyzw, rgb
311bf215546Sopenharmony_ciMESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1, etc2  , 4, 4, 1, x64 ,     ,     ,     , xyzw, srgb
312bf215546Sopenharmony_ci
313bf215546Sopenharmony_ci# BPTC compressed formats
314bf215546Sopenharmony_ciMESA_FORMAT_BPTC_RGBA_UNORM               , bptc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
315bf215546Sopenharmony_ciMESA_FORMAT_BPTC_SRGB_ALPHA_UNORM         , bptc  , 4, 4, 1, x128,     ,     ,     , xyzw, srgb
316bf215546Sopenharmony_ciMESA_FORMAT_BPTC_RGB_SIGNED_FLOAT         , bptc  , 4, 4, 1, x128,     ,     ,     , xyz1, rgb
317bf215546Sopenharmony_ciMESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT       , bptc  , 4, 4, 1, x128,     ,     ,     , xyz1, rgb
318bf215546Sopenharmony_ci
319bf215546Sopenharmony_ci# ASTC compressed formats
320bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_4x4                 , astc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
321bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_5x4                 , astc  , 5, 4, 1, x128,     ,     ,     , xyzw, rgb
322bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_5x5                 , astc  , 5, 5, 1, x128,     ,     ,     , xyzw, rgb
323bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_6x5                 , astc  , 6, 5, 1, x128,     ,     ,     , xyzw, rgb
324bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_6x6                 , astc  , 6, 6, 1, x128,     ,     ,     , xyzw, rgb
325bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_8x5                 , astc  , 8, 5, 1, x128,     ,     ,     , xyzw, rgb
326bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_8x6                 , astc  , 8, 6, 1, x128,     ,     ,     , xyzw, rgb
327bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_8x8                 , astc  , 8, 8, 1, x128,     ,     ,     , xyzw, rgb
328bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_10x5                , astc  ,10, 5, 1, x128,     ,     ,     , xyzw, rgb
329bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_10x6                , astc  ,10, 6, 1, x128,     ,     ,     , xyzw, rgb
330bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_10x8                , astc  ,10, 8, 1, x128,     ,     ,     , xyzw, rgb
331bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_10x10               , astc  ,10,10, 1, x128,     ,     ,     , xyzw, rgb
332bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_12x10               , astc  ,12,10, 1, x128,     ,     ,     , xyzw, rgb
333bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_12x12               , astc  ,12,12, 1, x128,     ,     ,     , xyzw, rgb
334bf215546Sopenharmony_ci
335bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4         , astc  , 4, 4, 1, x128,     ,     ,     , xyzw, srgb
336bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_5x4         , astc  , 5, 4, 1, x128,     ,     ,     , xyzw, srgb
337bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5         , astc  , 5, 5, 1, x128,     ,     ,     , xyzw, srgb
338bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_6x5         , astc  , 6, 5, 1, x128,     ,     ,     , xyzw, srgb
339bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6         , astc  , 6, 6, 1, x128,     ,     ,     , xyzw, srgb
340bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_8x5         , astc  , 8, 5, 1, x128,     ,     ,     , xyzw, srgb
341bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_8x6         , astc  , 8, 6, 1, x128,     ,     ,     , xyzw, srgb
342bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_8x8         , astc  , 8, 8, 1, x128,     ,     ,     , xyzw, srgb
343bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_10x5        , astc  ,10, 5, 1, x128,     ,     ,     , xyzw, srgb
344bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_10x6        , astc  ,10, 6, 1, x128,     ,     ,     , xyzw, srgb
345bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_10x8        , astc  ,10, 8, 1, x128,     ,     ,     , xyzw, srgb
346bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_10x10       , astc  ,10,10, 1, x128,     ,     ,     , xyzw, srgb
347bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_12x10       , astc  ,12,10, 1, x128,     ,     ,     , xyzw, srgb
348bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_12x12       , astc  ,12,12, 1, x128,     ,     ,     , xyzw, srgb
349bf215546Sopenharmony_ci
350bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_3x3x3               , astc  , 3, 3, 3, x128,     ,     ,     , xyzw, rgb
351bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_4x3x3               , astc  , 4, 3, 3, x128,     ,     ,     , xyzw, rgb
352bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_4x4x3               , astc  , 4, 4, 3, x128,     ,     ,     , xyzw, rgb
353bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_4x4x4               , astc  , 4, 4, 4, x128,     ,     ,     , xyzw, rgb
354bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_5x4x4               , astc  , 5, 4, 4, x128,     ,     ,     , xyzw, rgb
355bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_5x5x4               , astc  , 5, 5, 4, x128,     ,     ,     , xyzw, rgb
356bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_5x5x5               , astc  , 5, 5, 5, x128,     ,     ,     , xyzw, rgb
357bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_6x5x5               , astc  , 6, 5, 5, x128,     ,     ,     , xyzw, rgb
358bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_6x6x5               , astc  , 6, 6, 5, x128,     ,     ,     , xyzw, rgb
359bf215546Sopenharmony_ciMESA_FORMAT_RGBA_ASTC_6x6x6               , astc  , 6, 6, 6, x128,     ,     ,     , xyzw, rgb
360bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_3x3x3       , astc  , 3, 3, 3, x128,     ,     ,     , xyzw, srgb
361bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_4x3x3       , astc  , 4, 3, 3, x128,     ,     ,     , xyzw, srgb
362bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x3       , astc  , 4, 4, 3, x128,     ,     ,     , xyzw, srgb
363bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x4       , astc  , 4, 4, 4, x128,     ,     ,     , xyzw, srgb
364bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_5x4x4       , astc  , 5, 4, 4, x128,     ,     ,     , xyzw, srgb
365bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x4       , astc  , 5, 5, 4, x128,     ,     ,     , xyzw, srgb
366bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x5       , astc  , 5, 5, 5, x128,     ,     ,     , xyzw, srgb
367bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_6x5x5       , astc  , 6, 5, 5, x128,     ,     ,     , xyzw, srgb
368bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x5       , astc  , 6, 6, 5, x128,     ,     ,     , xyzw, srgb
369bf215546Sopenharmony_ciMESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x6       , astc  , 6, 6, 6, x128,     ,     ,     , xyzw, srgb
370bf215546Sopenharmony_ci
371bf215546Sopenharmony_ci# ATC compressed formats
372bf215546Sopenharmony_ciMESA_FORMAT_ATC_RGB                       ,  atc  , 4, 4, 1, x64 ,     ,     ,     , xyz1, rgb
373bf215546Sopenharmony_ciMESA_FORMAT_ATC_RGBA_EXPLICIT             ,  atc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
374bf215546Sopenharmony_ciMESA_FORMAT_ATC_RGBA_INTERPOLATED         ,  atc  , 4, 4, 1, x128,     ,     ,     , xyzw, rgb
375