1b8e80941Smrg/* This file is autogenerated by gen_format_layout.py. DO NOT EDIT! */ 2b8e80941Smrg 3b8e80941Smrg/* 4b8e80941Smrg * Copyright 2015 Intel Corporation 5b8e80941Smrg * 6b8e80941Smrg * Permission is hereby granted, free of charge, to any person obtaining a 7b8e80941Smrg * copy of this software and associated documentation files (the "Software"), 8b8e80941Smrg * to deal in the Software without restriction, including without limitation 9b8e80941Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10b8e80941Smrg * and/or sell copies of the Software, and to permit persons to whom the 11b8e80941Smrg * Software is furnished to do so, subject to the following conditions: 12b8e80941Smrg * 13b8e80941Smrg * The above copyright notice and this permission notice (including the next 14b8e80941Smrg * paragraph) shall be included in all copies or substantial portions of the 15b8e80941Smrg * Software. 16b8e80941Smrg * 17b8e80941Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18b8e80941Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19b8e80941Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20b8e80941Smrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21b8e80941Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22b8e80941Smrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23b8e80941Smrg * IN THE SOFTWARE. 24b8e80941Smrg */ 25b8e80941Smrg 26b8e80941Smrg#include "isl/isl.h" 27b8e80941Smrg 28b8e80941Smrgconst struct isl_format_layout 29b8e80941Smrgisl_format_layouts[] = { 30b8e80941Smrg [ISL_FORMAT_R32G32B32A32_FLOAT] = { 31b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_FLOAT, 32b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_FLOAT", 33b8e80941Smrg .bpb = 128, 34b8e80941Smrg .bw = 1, 35b8e80941Smrg .bh = 1, 36b8e80941Smrg .bd = 1, 37b8e80941Smrg .channels = { 38b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 39b8e80941Smrg .g = { ISL_SFLOAT, 32, 32 }, 40b8e80941Smrg .b = { ISL_SFLOAT, 64, 32 }, 41b8e80941Smrg .a = { ISL_SFLOAT, 96, 32 }, 42b8e80941Smrg .l = {}, 43b8e80941Smrg .i = {}, 44b8e80941Smrg .p = {}, 45b8e80941Smrg }, 46b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 47b8e80941Smrg .txc = ISL_TXC_NONE, 48b8e80941Smrg }, 49b8e80941Smrg 50b8e80941Smrg [ISL_FORMAT_R32G32B32A32_SINT] = { 51b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_SINT, 52b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_SINT", 53b8e80941Smrg .bpb = 128, 54b8e80941Smrg .bw = 1, 55b8e80941Smrg .bh = 1, 56b8e80941Smrg .bd = 1, 57b8e80941Smrg .channels = { 58b8e80941Smrg .r = { ISL_SINT, 0, 32 }, 59b8e80941Smrg .g = { ISL_SINT, 32, 32 }, 60b8e80941Smrg .b = { ISL_SINT, 64, 32 }, 61b8e80941Smrg .a = { ISL_SINT, 96, 32 }, 62b8e80941Smrg .l = {}, 63b8e80941Smrg .i = {}, 64b8e80941Smrg .p = {}, 65b8e80941Smrg }, 66b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 67b8e80941Smrg .txc = ISL_TXC_NONE, 68b8e80941Smrg }, 69b8e80941Smrg 70b8e80941Smrg [ISL_FORMAT_R32G32B32A32_UINT] = { 71b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_UINT, 72b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_UINT", 73b8e80941Smrg .bpb = 128, 74b8e80941Smrg .bw = 1, 75b8e80941Smrg .bh = 1, 76b8e80941Smrg .bd = 1, 77b8e80941Smrg .channels = { 78b8e80941Smrg .r = { ISL_UINT, 0, 32 }, 79b8e80941Smrg .g = { ISL_UINT, 32, 32 }, 80b8e80941Smrg .b = { ISL_UINT, 64, 32 }, 81b8e80941Smrg .a = { ISL_UINT, 96, 32 }, 82b8e80941Smrg .l = {}, 83b8e80941Smrg .i = {}, 84b8e80941Smrg .p = {}, 85b8e80941Smrg }, 86b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 87b8e80941Smrg .txc = ISL_TXC_NONE, 88b8e80941Smrg }, 89b8e80941Smrg 90b8e80941Smrg [ISL_FORMAT_R32G32B32A32_UNORM] = { 91b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_UNORM, 92b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_UNORM", 93b8e80941Smrg .bpb = 128, 94b8e80941Smrg .bw = 1, 95b8e80941Smrg .bh = 1, 96b8e80941Smrg .bd = 1, 97b8e80941Smrg .channels = { 98b8e80941Smrg .r = { ISL_UNORM, 0, 32 }, 99b8e80941Smrg .g = { ISL_UNORM, 32, 32 }, 100b8e80941Smrg .b = { ISL_UNORM, 64, 32 }, 101b8e80941Smrg .a = { ISL_UNORM, 96, 32 }, 102b8e80941Smrg .l = {}, 103b8e80941Smrg .i = {}, 104b8e80941Smrg .p = {}, 105b8e80941Smrg }, 106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 107b8e80941Smrg .txc = ISL_TXC_NONE, 108b8e80941Smrg }, 109b8e80941Smrg 110b8e80941Smrg [ISL_FORMAT_R32G32B32A32_SNORM] = { 111b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_SNORM, 112b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_SNORM", 113b8e80941Smrg .bpb = 128, 114b8e80941Smrg .bw = 1, 115b8e80941Smrg .bh = 1, 116b8e80941Smrg .bd = 1, 117b8e80941Smrg .channels = { 118b8e80941Smrg .r = { ISL_SNORM, 0, 32 }, 119b8e80941Smrg .g = { ISL_SNORM, 32, 32 }, 120b8e80941Smrg .b = { ISL_SNORM, 64, 32 }, 121b8e80941Smrg .a = { ISL_SNORM, 96, 32 }, 122b8e80941Smrg .l = {}, 123b8e80941Smrg .i = {}, 124b8e80941Smrg .p = {}, 125b8e80941Smrg }, 126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 127b8e80941Smrg .txc = ISL_TXC_NONE, 128b8e80941Smrg }, 129b8e80941Smrg 130b8e80941Smrg [ISL_FORMAT_R64G64_FLOAT] = { 131b8e80941Smrg .format = ISL_FORMAT_R64G64_FLOAT, 132b8e80941Smrg .name = "ISL_FORMAT_R64G64_FLOAT", 133b8e80941Smrg .bpb = 128, 134b8e80941Smrg .bw = 1, 135b8e80941Smrg .bh = 1, 136b8e80941Smrg .bd = 1, 137b8e80941Smrg .channels = { 138b8e80941Smrg .r = { ISL_SFLOAT, 0, 64 }, 139b8e80941Smrg .g = { ISL_SFLOAT, 64, 64 }, 140b8e80941Smrg .b = {}, 141b8e80941Smrg .a = {}, 142b8e80941Smrg .l = {}, 143b8e80941Smrg .i = {}, 144b8e80941Smrg .p = {}, 145b8e80941Smrg }, 146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 147b8e80941Smrg .txc = ISL_TXC_NONE, 148b8e80941Smrg }, 149b8e80941Smrg 150b8e80941Smrg [ISL_FORMAT_R32G32B32X32_FLOAT] = { 151b8e80941Smrg .format = ISL_FORMAT_R32G32B32X32_FLOAT, 152b8e80941Smrg .name = "ISL_FORMAT_R32G32B32X32_FLOAT", 153b8e80941Smrg .bpb = 128, 154b8e80941Smrg .bw = 1, 155b8e80941Smrg .bh = 1, 156b8e80941Smrg .bd = 1, 157b8e80941Smrg .channels = { 158b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 159b8e80941Smrg .g = { ISL_SFLOAT, 32, 32 }, 160b8e80941Smrg .b = { ISL_SFLOAT, 64, 32 }, 161b8e80941Smrg .a = { ISL_VOID, 96, 32 }, 162b8e80941Smrg .l = {}, 163b8e80941Smrg .i = {}, 164b8e80941Smrg .p = {}, 165b8e80941Smrg }, 166b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 167b8e80941Smrg .txc = ISL_TXC_NONE, 168b8e80941Smrg }, 169b8e80941Smrg 170b8e80941Smrg [ISL_FORMAT_R32G32B32A32_SSCALED] = { 171b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_SSCALED, 172b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_SSCALED", 173b8e80941Smrg .bpb = 128, 174b8e80941Smrg .bw = 1, 175b8e80941Smrg .bh = 1, 176b8e80941Smrg .bd = 1, 177b8e80941Smrg .channels = { 178b8e80941Smrg .r = { ISL_SSCALED, 0, 32 }, 179b8e80941Smrg .g = { ISL_SSCALED, 32, 32 }, 180b8e80941Smrg .b = { ISL_SSCALED, 64, 32 }, 181b8e80941Smrg .a = { ISL_SSCALED, 96, 32 }, 182b8e80941Smrg .l = {}, 183b8e80941Smrg .i = {}, 184b8e80941Smrg .p = {}, 185b8e80941Smrg }, 186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 187b8e80941Smrg .txc = ISL_TXC_NONE, 188b8e80941Smrg }, 189b8e80941Smrg 190b8e80941Smrg [ISL_FORMAT_R32G32B32A32_USCALED] = { 191b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_USCALED, 192b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_USCALED", 193b8e80941Smrg .bpb = 128, 194b8e80941Smrg .bw = 1, 195b8e80941Smrg .bh = 1, 196b8e80941Smrg .bd = 1, 197b8e80941Smrg .channels = { 198b8e80941Smrg .r = { ISL_USCALED, 0, 32 }, 199b8e80941Smrg .g = { ISL_USCALED, 32, 32 }, 200b8e80941Smrg .b = { ISL_USCALED, 64, 32 }, 201b8e80941Smrg .a = { ISL_USCALED, 96, 32 }, 202b8e80941Smrg .l = {}, 203b8e80941Smrg .i = {}, 204b8e80941Smrg .p = {}, 205b8e80941Smrg }, 206b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 207b8e80941Smrg .txc = ISL_TXC_NONE, 208b8e80941Smrg }, 209b8e80941Smrg 210b8e80941Smrg [ISL_FORMAT_R32G32B32A32_SFIXED] = { 211b8e80941Smrg .format = ISL_FORMAT_R32G32B32A32_SFIXED, 212b8e80941Smrg .name = "ISL_FORMAT_R32G32B32A32_SFIXED", 213b8e80941Smrg .bpb = 128, 214b8e80941Smrg .bw = 1, 215b8e80941Smrg .bh = 1, 216b8e80941Smrg .bd = 1, 217b8e80941Smrg .channels = { 218b8e80941Smrg .r = { ISL_SFIXED, 0, 32 }, 219b8e80941Smrg .g = { ISL_SFIXED, 32, 32 }, 220b8e80941Smrg .b = { ISL_SFIXED, 64, 32 }, 221b8e80941Smrg .a = { ISL_SFIXED, 96, 32 }, 222b8e80941Smrg .l = {}, 223b8e80941Smrg .i = {}, 224b8e80941Smrg .p = {}, 225b8e80941Smrg }, 226b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 227b8e80941Smrg .txc = ISL_TXC_NONE, 228b8e80941Smrg }, 229b8e80941Smrg 230b8e80941Smrg [ISL_FORMAT_R64G64_PASSTHRU] = { 231b8e80941Smrg .format = ISL_FORMAT_R64G64_PASSTHRU, 232b8e80941Smrg .name = "ISL_FORMAT_R64G64_PASSTHRU", 233b8e80941Smrg .bpb = 128, 234b8e80941Smrg .bw = 1, 235b8e80941Smrg .bh = 1, 236b8e80941Smrg .bd = 1, 237b8e80941Smrg .channels = { 238b8e80941Smrg .r = { ISL_RAW, 0, 64 }, 239b8e80941Smrg .g = { ISL_RAW, 64, 64 }, 240b8e80941Smrg .b = {}, 241b8e80941Smrg .a = {}, 242b8e80941Smrg .l = {}, 243b8e80941Smrg .i = {}, 244b8e80941Smrg .p = {}, 245b8e80941Smrg }, 246b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 247b8e80941Smrg .txc = ISL_TXC_NONE, 248b8e80941Smrg }, 249b8e80941Smrg 250b8e80941Smrg [ISL_FORMAT_R32G32B32_FLOAT] = { 251b8e80941Smrg .format = ISL_FORMAT_R32G32B32_FLOAT, 252b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_FLOAT", 253b8e80941Smrg .bpb = 96, 254b8e80941Smrg .bw = 1, 255b8e80941Smrg .bh = 1, 256b8e80941Smrg .bd = 1, 257b8e80941Smrg .channels = { 258b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 259b8e80941Smrg .g = { ISL_SFLOAT, 32, 32 }, 260b8e80941Smrg .b = { ISL_SFLOAT, 64, 32 }, 261b8e80941Smrg .a = {}, 262b8e80941Smrg .l = {}, 263b8e80941Smrg .i = {}, 264b8e80941Smrg .p = {}, 265b8e80941Smrg }, 266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 267b8e80941Smrg .txc = ISL_TXC_NONE, 268b8e80941Smrg }, 269b8e80941Smrg 270b8e80941Smrg [ISL_FORMAT_R32G32B32_SINT] = { 271b8e80941Smrg .format = ISL_FORMAT_R32G32B32_SINT, 272b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_SINT", 273b8e80941Smrg .bpb = 96, 274b8e80941Smrg .bw = 1, 275b8e80941Smrg .bh = 1, 276b8e80941Smrg .bd = 1, 277b8e80941Smrg .channels = { 278b8e80941Smrg .r = { ISL_SINT, 0, 32 }, 279b8e80941Smrg .g = { ISL_SINT, 32, 32 }, 280b8e80941Smrg .b = { ISL_SINT, 64, 32 }, 281b8e80941Smrg .a = {}, 282b8e80941Smrg .l = {}, 283b8e80941Smrg .i = {}, 284b8e80941Smrg .p = {}, 285b8e80941Smrg }, 286b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 287b8e80941Smrg .txc = ISL_TXC_NONE, 288b8e80941Smrg }, 289b8e80941Smrg 290b8e80941Smrg [ISL_FORMAT_R32G32B32_UINT] = { 291b8e80941Smrg .format = ISL_FORMAT_R32G32B32_UINT, 292b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_UINT", 293b8e80941Smrg .bpb = 96, 294b8e80941Smrg .bw = 1, 295b8e80941Smrg .bh = 1, 296b8e80941Smrg .bd = 1, 297b8e80941Smrg .channels = { 298b8e80941Smrg .r = { ISL_UINT, 0, 32 }, 299b8e80941Smrg .g = { ISL_UINT, 32, 32 }, 300b8e80941Smrg .b = { ISL_UINT, 64, 32 }, 301b8e80941Smrg .a = {}, 302b8e80941Smrg .l = {}, 303b8e80941Smrg .i = {}, 304b8e80941Smrg .p = {}, 305b8e80941Smrg }, 306b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 307b8e80941Smrg .txc = ISL_TXC_NONE, 308b8e80941Smrg }, 309b8e80941Smrg 310b8e80941Smrg [ISL_FORMAT_R32G32B32_UNORM] = { 311b8e80941Smrg .format = ISL_FORMAT_R32G32B32_UNORM, 312b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_UNORM", 313b8e80941Smrg .bpb = 96, 314b8e80941Smrg .bw = 1, 315b8e80941Smrg .bh = 1, 316b8e80941Smrg .bd = 1, 317b8e80941Smrg .channels = { 318b8e80941Smrg .r = { ISL_UNORM, 0, 32 }, 319b8e80941Smrg .g = { ISL_UNORM, 32, 32 }, 320b8e80941Smrg .b = { ISL_UNORM, 64, 32 }, 321b8e80941Smrg .a = {}, 322b8e80941Smrg .l = {}, 323b8e80941Smrg .i = {}, 324b8e80941Smrg .p = {}, 325b8e80941Smrg }, 326b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 327b8e80941Smrg .txc = ISL_TXC_NONE, 328b8e80941Smrg }, 329b8e80941Smrg 330b8e80941Smrg [ISL_FORMAT_R32G32B32_SNORM] = { 331b8e80941Smrg .format = ISL_FORMAT_R32G32B32_SNORM, 332b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_SNORM", 333b8e80941Smrg .bpb = 96, 334b8e80941Smrg .bw = 1, 335b8e80941Smrg .bh = 1, 336b8e80941Smrg .bd = 1, 337b8e80941Smrg .channels = { 338b8e80941Smrg .r = { ISL_SNORM, 0, 32 }, 339b8e80941Smrg .g = { ISL_SNORM, 32, 32 }, 340b8e80941Smrg .b = { ISL_SNORM, 64, 32 }, 341b8e80941Smrg .a = {}, 342b8e80941Smrg .l = {}, 343b8e80941Smrg .i = {}, 344b8e80941Smrg .p = {}, 345b8e80941Smrg }, 346b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 347b8e80941Smrg .txc = ISL_TXC_NONE, 348b8e80941Smrg }, 349b8e80941Smrg 350b8e80941Smrg [ISL_FORMAT_R32G32B32_SSCALED] = { 351b8e80941Smrg .format = ISL_FORMAT_R32G32B32_SSCALED, 352b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_SSCALED", 353b8e80941Smrg .bpb = 96, 354b8e80941Smrg .bw = 1, 355b8e80941Smrg .bh = 1, 356b8e80941Smrg .bd = 1, 357b8e80941Smrg .channels = { 358b8e80941Smrg .r = { ISL_SSCALED, 0, 32 }, 359b8e80941Smrg .g = { ISL_SSCALED, 32, 32 }, 360b8e80941Smrg .b = { ISL_SSCALED, 64, 32 }, 361b8e80941Smrg .a = {}, 362b8e80941Smrg .l = {}, 363b8e80941Smrg .i = {}, 364b8e80941Smrg .p = {}, 365b8e80941Smrg }, 366b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 367b8e80941Smrg .txc = ISL_TXC_NONE, 368b8e80941Smrg }, 369b8e80941Smrg 370b8e80941Smrg [ISL_FORMAT_R32G32B32_USCALED] = { 371b8e80941Smrg .format = ISL_FORMAT_R32G32B32_USCALED, 372b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_USCALED", 373b8e80941Smrg .bpb = 96, 374b8e80941Smrg .bw = 1, 375b8e80941Smrg .bh = 1, 376b8e80941Smrg .bd = 1, 377b8e80941Smrg .channels = { 378b8e80941Smrg .r = { ISL_USCALED, 0, 32 }, 379b8e80941Smrg .g = { ISL_USCALED, 32, 32 }, 380b8e80941Smrg .b = { ISL_USCALED, 64, 32 }, 381b8e80941Smrg .a = {}, 382b8e80941Smrg .l = {}, 383b8e80941Smrg .i = {}, 384b8e80941Smrg .p = {}, 385b8e80941Smrg }, 386b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 387b8e80941Smrg .txc = ISL_TXC_NONE, 388b8e80941Smrg }, 389b8e80941Smrg 390b8e80941Smrg [ISL_FORMAT_R32G32B32_SFIXED] = { 391b8e80941Smrg .format = ISL_FORMAT_R32G32B32_SFIXED, 392b8e80941Smrg .name = "ISL_FORMAT_R32G32B32_SFIXED", 393b8e80941Smrg .bpb = 96, 394b8e80941Smrg .bw = 1, 395b8e80941Smrg .bh = 1, 396b8e80941Smrg .bd = 1, 397b8e80941Smrg .channels = { 398b8e80941Smrg .r = { ISL_SFIXED, 0, 32 }, 399b8e80941Smrg .g = { ISL_SFIXED, 32, 32 }, 400b8e80941Smrg .b = { ISL_SFIXED, 64, 32 }, 401b8e80941Smrg .a = {}, 402b8e80941Smrg .l = {}, 403b8e80941Smrg .i = {}, 404b8e80941Smrg .p = {}, 405b8e80941Smrg }, 406b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 407b8e80941Smrg .txc = ISL_TXC_NONE, 408b8e80941Smrg }, 409b8e80941Smrg 410b8e80941Smrg [ISL_FORMAT_R16G16B16A16_UNORM] = { 411b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_UNORM, 412b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_UNORM", 413b8e80941Smrg .bpb = 64, 414b8e80941Smrg .bw = 1, 415b8e80941Smrg .bh = 1, 416b8e80941Smrg .bd = 1, 417b8e80941Smrg .channels = { 418b8e80941Smrg .r = { ISL_UNORM, 0, 16 }, 419b8e80941Smrg .g = { ISL_UNORM, 16, 16 }, 420b8e80941Smrg .b = { ISL_UNORM, 32, 16 }, 421b8e80941Smrg .a = { ISL_UNORM, 48, 16 }, 422b8e80941Smrg .l = {}, 423b8e80941Smrg .i = {}, 424b8e80941Smrg .p = {}, 425b8e80941Smrg }, 426b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 427b8e80941Smrg .txc = ISL_TXC_NONE, 428b8e80941Smrg }, 429b8e80941Smrg 430b8e80941Smrg [ISL_FORMAT_R16G16B16A16_SNORM] = { 431b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_SNORM, 432b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_SNORM", 433b8e80941Smrg .bpb = 64, 434b8e80941Smrg .bw = 1, 435b8e80941Smrg .bh = 1, 436b8e80941Smrg .bd = 1, 437b8e80941Smrg .channels = { 438b8e80941Smrg .r = { ISL_SNORM, 0, 16 }, 439b8e80941Smrg .g = { ISL_SNORM, 16, 16 }, 440b8e80941Smrg .b = { ISL_SNORM, 32, 16 }, 441b8e80941Smrg .a = { ISL_SNORM, 48, 16 }, 442b8e80941Smrg .l = {}, 443b8e80941Smrg .i = {}, 444b8e80941Smrg .p = {}, 445b8e80941Smrg }, 446b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 447b8e80941Smrg .txc = ISL_TXC_NONE, 448b8e80941Smrg }, 449b8e80941Smrg 450b8e80941Smrg [ISL_FORMAT_R16G16B16A16_SINT] = { 451b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_SINT, 452b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_SINT", 453b8e80941Smrg .bpb = 64, 454b8e80941Smrg .bw = 1, 455b8e80941Smrg .bh = 1, 456b8e80941Smrg .bd = 1, 457b8e80941Smrg .channels = { 458b8e80941Smrg .r = { ISL_SINT, 0, 16 }, 459b8e80941Smrg .g = { ISL_SINT, 16, 16 }, 460b8e80941Smrg .b = { ISL_SINT, 32, 16 }, 461b8e80941Smrg .a = { ISL_SINT, 48, 16 }, 462b8e80941Smrg .l = {}, 463b8e80941Smrg .i = {}, 464b8e80941Smrg .p = {}, 465b8e80941Smrg }, 466b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 467b8e80941Smrg .txc = ISL_TXC_NONE, 468b8e80941Smrg }, 469b8e80941Smrg 470b8e80941Smrg [ISL_FORMAT_R16G16B16A16_UINT] = { 471b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_UINT, 472b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_UINT", 473b8e80941Smrg .bpb = 64, 474b8e80941Smrg .bw = 1, 475b8e80941Smrg .bh = 1, 476b8e80941Smrg .bd = 1, 477b8e80941Smrg .channels = { 478b8e80941Smrg .r = { ISL_UINT, 0, 16 }, 479b8e80941Smrg .g = { ISL_UINT, 16, 16 }, 480b8e80941Smrg .b = { ISL_UINT, 32, 16 }, 481b8e80941Smrg .a = { ISL_UINT, 48, 16 }, 482b8e80941Smrg .l = {}, 483b8e80941Smrg .i = {}, 484b8e80941Smrg .p = {}, 485b8e80941Smrg }, 486b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 487b8e80941Smrg .txc = ISL_TXC_NONE, 488b8e80941Smrg }, 489b8e80941Smrg 490b8e80941Smrg [ISL_FORMAT_R16G16B16A16_FLOAT] = { 491b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_FLOAT, 492b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_FLOAT", 493b8e80941Smrg .bpb = 64, 494b8e80941Smrg .bw = 1, 495b8e80941Smrg .bh = 1, 496b8e80941Smrg .bd = 1, 497b8e80941Smrg .channels = { 498b8e80941Smrg .r = { ISL_SFLOAT, 0, 16 }, 499b8e80941Smrg .g = { ISL_SFLOAT, 16, 16 }, 500b8e80941Smrg .b = { ISL_SFLOAT, 32, 16 }, 501b8e80941Smrg .a = { ISL_SFLOAT, 48, 16 }, 502b8e80941Smrg .l = {}, 503b8e80941Smrg .i = {}, 504b8e80941Smrg .p = {}, 505b8e80941Smrg }, 506b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 507b8e80941Smrg .txc = ISL_TXC_NONE, 508b8e80941Smrg }, 509b8e80941Smrg 510b8e80941Smrg [ISL_FORMAT_R32G32_FLOAT] = { 511b8e80941Smrg .format = ISL_FORMAT_R32G32_FLOAT, 512b8e80941Smrg .name = "ISL_FORMAT_R32G32_FLOAT", 513b8e80941Smrg .bpb = 64, 514b8e80941Smrg .bw = 1, 515b8e80941Smrg .bh = 1, 516b8e80941Smrg .bd = 1, 517b8e80941Smrg .channels = { 518b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 519b8e80941Smrg .g = { ISL_SFLOAT, 32, 32 }, 520b8e80941Smrg .b = {}, 521b8e80941Smrg .a = {}, 522b8e80941Smrg .l = {}, 523b8e80941Smrg .i = {}, 524b8e80941Smrg .p = {}, 525b8e80941Smrg }, 526b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 527b8e80941Smrg .txc = ISL_TXC_NONE, 528b8e80941Smrg }, 529b8e80941Smrg 530b8e80941Smrg [ISL_FORMAT_R32G32_SINT] = { 531b8e80941Smrg .format = ISL_FORMAT_R32G32_SINT, 532b8e80941Smrg .name = "ISL_FORMAT_R32G32_SINT", 533b8e80941Smrg .bpb = 64, 534b8e80941Smrg .bw = 1, 535b8e80941Smrg .bh = 1, 536b8e80941Smrg .bd = 1, 537b8e80941Smrg .channels = { 538b8e80941Smrg .r = { ISL_SINT, 0, 32 }, 539b8e80941Smrg .g = { ISL_SINT, 32, 32 }, 540b8e80941Smrg .b = {}, 541b8e80941Smrg .a = {}, 542b8e80941Smrg .l = {}, 543b8e80941Smrg .i = {}, 544b8e80941Smrg .p = {}, 545b8e80941Smrg }, 546b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 547b8e80941Smrg .txc = ISL_TXC_NONE, 548b8e80941Smrg }, 549b8e80941Smrg 550b8e80941Smrg [ISL_FORMAT_R32G32_UINT] = { 551b8e80941Smrg .format = ISL_FORMAT_R32G32_UINT, 552b8e80941Smrg .name = "ISL_FORMAT_R32G32_UINT", 553b8e80941Smrg .bpb = 64, 554b8e80941Smrg .bw = 1, 555b8e80941Smrg .bh = 1, 556b8e80941Smrg .bd = 1, 557b8e80941Smrg .channels = { 558b8e80941Smrg .r = { ISL_UINT, 0, 32 }, 559b8e80941Smrg .g = { ISL_UINT, 32, 32 }, 560b8e80941Smrg .b = {}, 561b8e80941Smrg .a = {}, 562b8e80941Smrg .l = {}, 563b8e80941Smrg .i = {}, 564b8e80941Smrg .p = {}, 565b8e80941Smrg }, 566b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 567b8e80941Smrg .txc = ISL_TXC_NONE, 568b8e80941Smrg }, 569b8e80941Smrg 570b8e80941Smrg [ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS] = { 571b8e80941Smrg .format = ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS, 572b8e80941Smrg .name = "ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS", 573b8e80941Smrg .bpb = 64, 574b8e80941Smrg .bw = 1, 575b8e80941Smrg .bh = 1, 576b8e80941Smrg .bd = 1, 577b8e80941Smrg .channels = { 578b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 579b8e80941Smrg .g = { ISL_VOID, 32, 8 }, 580b8e80941Smrg .b = { ISL_VOID, 40, 24 }, 581b8e80941Smrg .a = {}, 582b8e80941Smrg .l = {}, 583b8e80941Smrg .i = {}, 584b8e80941Smrg .p = {}, 585b8e80941Smrg }, 586b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 587b8e80941Smrg .txc = ISL_TXC_NONE, 588b8e80941Smrg }, 589b8e80941Smrg 590b8e80941Smrg [ISL_FORMAT_X32_TYPELESS_G8X24_UINT] = { 591b8e80941Smrg .format = ISL_FORMAT_X32_TYPELESS_G8X24_UINT, 592b8e80941Smrg .name = "ISL_FORMAT_X32_TYPELESS_G8X24_UINT", 593b8e80941Smrg .bpb = 64, 594b8e80941Smrg .bw = 1, 595b8e80941Smrg .bh = 1, 596b8e80941Smrg .bd = 1, 597b8e80941Smrg .channels = { 598b8e80941Smrg .r = { ISL_VOID, 0, 32 }, 599b8e80941Smrg .g = { ISL_UINT, 32, 8 }, 600b8e80941Smrg .b = { ISL_VOID, 40, 24 }, 601b8e80941Smrg .a = {}, 602b8e80941Smrg .l = {}, 603b8e80941Smrg .i = {}, 604b8e80941Smrg .p = {}, 605b8e80941Smrg }, 606b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 607b8e80941Smrg .txc = ISL_TXC_NONE, 608b8e80941Smrg }, 609b8e80941Smrg 610b8e80941Smrg [ISL_FORMAT_L32A32_FLOAT] = { 611b8e80941Smrg .format = ISL_FORMAT_L32A32_FLOAT, 612b8e80941Smrg .name = "ISL_FORMAT_L32A32_FLOAT", 613b8e80941Smrg .bpb = 64, 614b8e80941Smrg .bw = 1, 615b8e80941Smrg .bh = 1, 616b8e80941Smrg .bd = 1, 617b8e80941Smrg .channels = { 618b8e80941Smrg .r = {}, 619b8e80941Smrg .g = {}, 620b8e80941Smrg .b = {}, 621b8e80941Smrg .a = { ISL_SFLOAT, 32, 32 }, 622b8e80941Smrg .l = { ISL_SFLOAT, 0, 32 }, 623b8e80941Smrg .i = {}, 624b8e80941Smrg .p = {}, 625b8e80941Smrg }, 626b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 627b8e80941Smrg .txc = ISL_TXC_NONE, 628b8e80941Smrg }, 629b8e80941Smrg 630b8e80941Smrg [ISL_FORMAT_R32G32_UNORM] = { 631b8e80941Smrg .format = ISL_FORMAT_R32G32_UNORM, 632b8e80941Smrg .name = "ISL_FORMAT_R32G32_UNORM", 633b8e80941Smrg .bpb = 64, 634b8e80941Smrg .bw = 1, 635b8e80941Smrg .bh = 1, 636b8e80941Smrg .bd = 1, 637b8e80941Smrg .channels = { 638b8e80941Smrg .r = { ISL_UNORM, 0, 32 }, 639b8e80941Smrg .g = { ISL_UNORM, 32, 32 }, 640b8e80941Smrg .b = {}, 641b8e80941Smrg .a = {}, 642b8e80941Smrg .l = {}, 643b8e80941Smrg .i = {}, 644b8e80941Smrg .p = {}, 645b8e80941Smrg }, 646b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 647b8e80941Smrg .txc = ISL_TXC_NONE, 648b8e80941Smrg }, 649b8e80941Smrg 650b8e80941Smrg [ISL_FORMAT_R32G32_SNORM] = { 651b8e80941Smrg .format = ISL_FORMAT_R32G32_SNORM, 652b8e80941Smrg .name = "ISL_FORMAT_R32G32_SNORM", 653b8e80941Smrg .bpb = 64, 654b8e80941Smrg .bw = 1, 655b8e80941Smrg .bh = 1, 656b8e80941Smrg .bd = 1, 657b8e80941Smrg .channels = { 658b8e80941Smrg .r = { ISL_SNORM, 0, 32 }, 659b8e80941Smrg .g = { ISL_SNORM, 32, 32 }, 660b8e80941Smrg .b = {}, 661b8e80941Smrg .a = {}, 662b8e80941Smrg .l = {}, 663b8e80941Smrg .i = {}, 664b8e80941Smrg .p = {}, 665b8e80941Smrg }, 666b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 667b8e80941Smrg .txc = ISL_TXC_NONE, 668b8e80941Smrg }, 669b8e80941Smrg 670b8e80941Smrg [ISL_FORMAT_R64_FLOAT] = { 671b8e80941Smrg .format = ISL_FORMAT_R64_FLOAT, 672b8e80941Smrg .name = "ISL_FORMAT_R64_FLOAT", 673b8e80941Smrg .bpb = 64, 674b8e80941Smrg .bw = 1, 675b8e80941Smrg .bh = 1, 676b8e80941Smrg .bd = 1, 677b8e80941Smrg .channels = { 678b8e80941Smrg .r = { ISL_SFLOAT, 0, 64 }, 679b8e80941Smrg .g = {}, 680b8e80941Smrg .b = {}, 681b8e80941Smrg .a = {}, 682b8e80941Smrg .l = {}, 683b8e80941Smrg .i = {}, 684b8e80941Smrg .p = {}, 685b8e80941Smrg }, 686b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 687b8e80941Smrg .txc = ISL_TXC_NONE, 688b8e80941Smrg }, 689b8e80941Smrg 690b8e80941Smrg [ISL_FORMAT_R16G16B16X16_UNORM] = { 691b8e80941Smrg .format = ISL_FORMAT_R16G16B16X16_UNORM, 692b8e80941Smrg .name = "ISL_FORMAT_R16G16B16X16_UNORM", 693b8e80941Smrg .bpb = 64, 694b8e80941Smrg .bw = 1, 695b8e80941Smrg .bh = 1, 696b8e80941Smrg .bd = 1, 697b8e80941Smrg .channels = { 698b8e80941Smrg .r = { ISL_UNORM, 0, 16 }, 699b8e80941Smrg .g = { ISL_UNORM, 16, 16 }, 700b8e80941Smrg .b = { ISL_UNORM, 32, 16 }, 701b8e80941Smrg .a = { ISL_VOID, 48, 16 }, 702b8e80941Smrg .l = {}, 703b8e80941Smrg .i = {}, 704b8e80941Smrg .p = {}, 705b8e80941Smrg }, 706b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 707b8e80941Smrg .txc = ISL_TXC_NONE, 708b8e80941Smrg }, 709b8e80941Smrg 710b8e80941Smrg [ISL_FORMAT_R16G16B16X16_FLOAT] = { 711b8e80941Smrg .format = ISL_FORMAT_R16G16B16X16_FLOAT, 712b8e80941Smrg .name = "ISL_FORMAT_R16G16B16X16_FLOAT", 713b8e80941Smrg .bpb = 64, 714b8e80941Smrg .bw = 1, 715b8e80941Smrg .bh = 1, 716b8e80941Smrg .bd = 1, 717b8e80941Smrg .channels = { 718b8e80941Smrg .r = { ISL_SFLOAT, 0, 16 }, 719b8e80941Smrg .g = { ISL_SFLOAT, 16, 16 }, 720b8e80941Smrg .b = { ISL_SFLOAT, 32, 16 }, 721b8e80941Smrg .a = { ISL_VOID, 48, 16 }, 722b8e80941Smrg .l = {}, 723b8e80941Smrg .i = {}, 724b8e80941Smrg .p = {}, 725b8e80941Smrg }, 726b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 727b8e80941Smrg .txc = ISL_TXC_NONE, 728b8e80941Smrg }, 729b8e80941Smrg 730b8e80941Smrg [ISL_FORMAT_A32X32_FLOAT] = { 731b8e80941Smrg .format = ISL_FORMAT_A32X32_FLOAT, 732b8e80941Smrg .name = "ISL_FORMAT_A32X32_FLOAT", 733b8e80941Smrg .bpb = 64, 734b8e80941Smrg .bw = 1, 735b8e80941Smrg .bh = 1, 736b8e80941Smrg .bd = 1, 737b8e80941Smrg .channels = { 738b8e80941Smrg .r = {}, 739b8e80941Smrg .g = {}, 740b8e80941Smrg .b = {}, 741b8e80941Smrg .a = { ISL_SFLOAT, 0, 32 }, 742b8e80941Smrg .l = { ISL_VOID, 32, 32 }, 743b8e80941Smrg .i = {}, 744b8e80941Smrg .p = {}, 745b8e80941Smrg }, 746b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 747b8e80941Smrg .txc = ISL_TXC_NONE, 748b8e80941Smrg }, 749b8e80941Smrg 750b8e80941Smrg [ISL_FORMAT_L32X32_FLOAT] = { 751b8e80941Smrg .format = ISL_FORMAT_L32X32_FLOAT, 752b8e80941Smrg .name = "ISL_FORMAT_L32X32_FLOAT", 753b8e80941Smrg .bpb = 64, 754b8e80941Smrg .bw = 1, 755b8e80941Smrg .bh = 1, 756b8e80941Smrg .bd = 1, 757b8e80941Smrg .channels = { 758b8e80941Smrg .r = {}, 759b8e80941Smrg .g = {}, 760b8e80941Smrg .b = {}, 761b8e80941Smrg .a = { ISL_VOID, 32, 32 }, 762b8e80941Smrg .l = { ISL_SFLOAT, 0, 32 }, 763b8e80941Smrg .i = {}, 764b8e80941Smrg .p = {}, 765b8e80941Smrg }, 766b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 767b8e80941Smrg .txc = ISL_TXC_NONE, 768b8e80941Smrg }, 769b8e80941Smrg 770b8e80941Smrg [ISL_FORMAT_I32X32_FLOAT] = { 771b8e80941Smrg .format = ISL_FORMAT_I32X32_FLOAT, 772b8e80941Smrg .name = "ISL_FORMAT_I32X32_FLOAT", 773b8e80941Smrg .bpb = 64, 774b8e80941Smrg .bw = 1, 775b8e80941Smrg .bh = 1, 776b8e80941Smrg .bd = 1, 777b8e80941Smrg .channels = { 778b8e80941Smrg .r = {}, 779b8e80941Smrg .g = {}, 780b8e80941Smrg .b = {}, 781b8e80941Smrg .a = { ISL_VOID, 32, 32 }, 782b8e80941Smrg .l = {}, 783b8e80941Smrg .i = { ISL_SFLOAT, 0, 32 }, 784b8e80941Smrg .p = {}, 785b8e80941Smrg }, 786b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 787b8e80941Smrg .txc = ISL_TXC_NONE, 788b8e80941Smrg }, 789b8e80941Smrg 790b8e80941Smrg [ISL_FORMAT_R16G16B16A16_SSCALED] = { 791b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_SSCALED, 792b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_SSCALED", 793b8e80941Smrg .bpb = 64, 794b8e80941Smrg .bw = 1, 795b8e80941Smrg .bh = 1, 796b8e80941Smrg .bd = 1, 797b8e80941Smrg .channels = { 798b8e80941Smrg .r = { ISL_SSCALED, 0, 16 }, 799b8e80941Smrg .g = { ISL_SSCALED, 16, 16 }, 800b8e80941Smrg .b = { ISL_SSCALED, 32, 16 }, 801b8e80941Smrg .a = { ISL_SSCALED, 48, 16 }, 802b8e80941Smrg .l = {}, 803b8e80941Smrg .i = {}, 804b8e80941Smrg .p = {}, 805b8e80941Smrg }, 806b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 807b8e80941Smrg .txc = ISL_TXC_NONE, 808b8e80941Smrg }, 809b8e80941Smrg 810b8e80941Smrg [ISL_FORMAT_R16G16B16A16_USCALED] = { 811b8e80941Smrg .format = ISL_FORMAT_R16G16B16A16_USCALED, 812b8e80941Smrg .name = "ISL_FORMAT_R16G16B16A16_USCALED", 813b8e80941Smrg .bpb = 64, 814b8e80941Smrg .bw = 1, 815b8e80941Smrg .bh = 1, 816b8e80941Smrg .bd = 1, 817b8e80941Smrg .channels = { 818b8e80941Smrg .r = { ISL_USCALED, 0, 16 }, 819b8e80941Smrg .g = { ISL_USCALED, 16, 16 }, 820b8e80941Smrg .b = { ISL_USCALED, 32, 16 }, 821b8e80941Smrg .a = { ISL_USCALED, 48, 16 }, 822b8e80941Smrg .l = {}, 823b8e80941Smrg .i = {}, 824b8e80941Smrg .p = {}, 825b8e80941Smrg }, 826b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 827b8e80941Smrg .txc = ISL_TXC_NONE, 828b8e80941Smrg }, 829b8e80941Smrg 830b8e80941Smrg [ISL_FORMAT_R32G32_SSCALED] = { 831b8e80941Smrg .format = ISL_FORMAT_R32G32_SSCALED, 832b8e80941Smrg .name = "ISL_FORMAT_R32G32_SSCALED", 833b8e80941Smrg .bpb = 64, 834b8e80941Smrg .bw = 1, 835b8e80941Smrg .bh = 1, 836b8e80941Smrg .bd = 1, 837b8e80941Smrg .channels = { 838b8e80941Smrg .r = { ISL_SSCALED, 0, 32 }, 839b8e80941Smrg .g = { ISL_SSCALED, 32, 32 }, 840b8e80941Smrg .b = {}, 841b8e80941Smrg .a = {}, 842b8e80941Smrg .l = {}, 843b8e80941Smrg .i = {}, 844b8e80941Smrg .p = {}, 845b8e80941Smrg }, 846b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 847b8e80941Smrg .txc = ISL_TXC_NONE, 848b8e80941Smrg }, 849b8e80941Smrg 850b8e80941Smrg [ISL_FORMAT_R32G32_USCALED] = { 851b8e80941Smrg .format = ISL_FORMAT_R32G32_USCALED, 852b8e80941Smrg .name = "ISL_FORMAT_R32G32_USCALED", 853b8e80941Smrg .bpb = 64, 854b8e80941Smrg .bw = 1, 855b8e80941Smrg .bh = 1, 856b8e80941Smrg .bd = 1, 857b8e80941Smrg .channels = { 858b8e80941Smrg .r = { ISL_USCALED, 0, 32 }, 859b8e80941Smrg .g = { ISL_USCALED, 32, 32 }, 860b8e80941Smrg .b = {}, 861b8e80941Smrg .a = {}, 862b8e80941Smrg .l = {}, 863b8e80941Smrg .i = {}, 864b8e80941Smrg .p = {}, 865b8e80941Smrg }, 866b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 867b8e80941Smrg .txc = ISL_TXC_NONE, 868b8e80941Smrg }, 869b8e80941Smrg 870b8e80941Smrg [ISL_FORMAT_R32G32_FLOAT_LD] = { 871b8e80941Smrg .format = ISL_FORMAT_R32G32_FLOAT_LD, 872b8e80941Smrg .name = "ISL_FORMAT_R32G32_FLOAT_LD", 873b8e80941Smrg .bpb = 64, 874b8e80941Smrg .bw = 1, 875b8e80941Smrg .bh = 1, 876b8e80941Smrg .bd = 1, 877b8e80941Smrg .channels = { 878b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 879b8e80941Smrg .g = { ISL_SFLOAT, 32, 32 }, 880b8e80941Smrg .b = {}, 881b8e80941Smrg .a = {}, 882b8e80941Smrg .l = {}, 883b8e80941Smrg .i = {}, 884b8e80941Smrg .p = {}, 885b8e80941Smrg }, 886b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 887b8e80941Smrg .txc = ISL_TXC_NONE, 888b8e80941Smrg }, 889b8e80941Smrg 890b8e80941Smrg [ISL_FORMAT_R32G32_SFIXED] = { 891b8e80941Smrg .format = ISL_FORMAT_R32G32_SFIXED, 892b8e80941Smrg .name = "ISL_FORMAT_R32G32_SFIXED", 893b8e80941Smrg .bpb = 64, 894b8e80941Smrg .bw = 1, 895b8e80941Smrg .bh = 1, 896b8e80941Smrg .bd = 1, 897b8e80941Smrg .channels = { 898b8e80941Smrg .r = { ISL_SFIXED, 0, 32 }, 899b8e80941Smrg .g = { ISL_SFIXED, 32, 32 }, 900b8e80941Smrg .b = {}, 901b8e80941Smrg .a = {}, 902b8e80941Smrg .l = {}, 903b8e80941Smrg .i = {}, 904b8e80941Smrg .p = {}, 905b8e80941Smrg }, 906b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 907b8e80941Smrg .txc = ISL_TXC_NONE, 908b8e80941Smrg }, 909b8e80941Smrg 910b8e80941Smrg [ISL_FORMAT_R64_PASSTHRU] = { 911b8e80941Smrg .format = ISL_FORMAT_R64_PASSTHRU, 912b8e80941Smrg .name = "ISL_FORMAT_R64_PASSTHRU", 913b8e80941Smrg .bpb = 64, 914b8e80941Smrg .bw = 1, 915b8e80941Smrg .bh = 1, 916b8e80941Smrg .bd = 1, 917b8e80941Smrg .channels = { 918b8e80941Smrg .r = { ISL_RAW, 0, 64 }, 919b8e80941Smrg .g = {}, 920b8e80941Smrg .b = {}, 921b8e80941Smrg .a = {}, 922b8e80941Smrg .l = {}, 923b8e80941Smrg .i = {}, 924b8e80941Smrg .p = {}, 925b8e80941Smrg }, 926b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 927b8e80941Smrg .txc = ISL_TXC_NONE, 928b8e80941Smrg }, 929b8e80941Smrg 930b8e80941Smrg [ISL_FORMAT_B8G8R8A8_UNORM] = { 931b8e80941Smrg .format = ISL_FORMAT_B8G8R8A8_UNORM, 932b8e80941Smrg .name = "ISL_FORMAT_B8G8R8A8_UNORM", 933b8e80941Smrg .bpb = 32, 934b8e80941Smrg .bw = 1, 935b8e80941Smrg .bh = 1, 936b8e80941Smrg .bd = 1, 937b8e80941Smrg .channels = { 938b8e80941Smrg .r = { ISL_UNORM, 16, 8 }, 939b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 940b8e80941Smrg .b = { ISL_UNORM, 0, 8 }, 941b8e80941Smrg .a = { ISL_UNORM, 24, 8 }, 942b8e80941Smrg .l = {}, 943b8e80941Smrg .i = {}, 944b8e80941Smrg .p = {}, 945b8e80941Smrg }, 946b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 947b8e80941Smrg .txc = ISL_TXC_NONE, 948b8e80941Smrg }, 949b8e80941Smrg 950b8e80941Smrg [ISL_FORMAT_B8G8R8A8_UNORM_SRGB] = { 951b8e80941Smrg .format = ISL_FORMAT_B8G8R8A8_UNORM_SRGB, 952b8e80941Smrg .name = "ISL_FORMAT_B8G8R8A8_UNORM_SRGB", 953b8e80941Smrg .bpb = 32, 954b8e80941Smrg .bw = 1, 955b8e80941Smrg .bh = 1, 956b8e80941Smrg .bd = 1, 957b8e80941Smrg .channels = { 958b8e80941Smrg .r = { ISL_UNORM, 16, 8 }, 959b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 960b8e80941Smrg .b = { ISL_UNORM, 0, 8 }, 961b8e80941Smrg .a = { ISL_UNORM, 24, 8 }, 962b8e80941Smrg .l = {}, 963b8e80941Smrg .i = {}, 964b8e80941Smrg .p = {}, 965b8e80941Smrg }, 966b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 967b8e80941Smrg .txc = ISL_TXC_NONE, 968b8e80941Smrg }, 969b8e80941Smrg 970b8e80941Smrg [ISL_FORMAT_R10G10B10A2_UNORM] = { 971b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_UNORM, 972b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_UNORM", 973b8e80941Smrg .bpb = 32, 974b8e80941Smrg .bw = 1, 975b8e80941Smrg .bh = 1, 976b8e80941Smrg .bd = 1, 977b8e80941Smrg .channels = { 978b8e80941Smrg .r = { ISL_UNORM, 0, 10 }, 979b8e80941Smrg .g = { ISL_UNORM, 10, 10 }, 980b8e80941Smrg .b = { ISL_UNORM, 20, 10 }, 981b8e80941Smrg .a = { ISL_UNORM, 30, 2 }, 982b8e80941Smrg .l = {}, 983b8e80941Smrg .i = {}, 984b8e80941Smrg .p = {}, 985b8e80941Smrg }, 986b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 987b8e80941Smrg .txc = ISL_TXC_NONE, 988b8e80941Smrg }, 989b8e80941Smrg 990b8e80941Smrg [ISL_FORMAT_R10G10B10A2_UNORM_SRGB] = { 991b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_UNORM_SRGB, 992b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_UNORM_SRGB", 993b8e80941Smrg .bpb = 32, 994b8e80941Smrg .bw = 1, 995b8e80941Smrg .bh = 1, 996b8e80941Smrg .bd = 1, 997b8e80941Smrg .channels = { 998b8e80941Smrg .r = { ISL_UNORM, 0, 10 }, 999b8e80941Smrg .g = { ISL_UNORM, 10, 10 }, 1000b8e80941Smrg .b = { ISL_UNORM, 20, 10 }, 1001b8e80941Smrg .a = { ISL_UNORM, 30, 2 }, 1002b8e80941Smrg .l = {}, 1003b8e80941Smrg .i = {}, 1004b8e80941Smrg .p = {}, 1005b8e80941Smrg }, 1006b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 1007b8e80941Smrg .txc = ISL_TXC_NONE, 1008b8e80941Smrg }, 1009b8e80941Smrg 1010b8e80941Smrg [ISL_FORMAT_R10G10B10A2_UINT] = { 1011b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_UINT, 1012b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_UINT", 1013b8e80941Smrg .bpb = 32, 1014b8e80941Smrg .bw = 1, 1015b8e80941Smrg .bh = 1, 1016b8e80941Smrg .bd = 1, 1017b8e80941Smrg .channels = { 1018b8e80941Smrg .r = { ISL_UINT, 0, 10 }, 1019b8e80941Smrg .g = { ISL_UINT, 10, 10 }, 1020b8e80941Smrg .b = { ISL_UINT, 20, 10 }, 1021b8e80941Smrg .a = { ISL_UINT, 30, 2 }, 1022b8e80941Smrg .l = {}, 1023b8e80941Smrg .i = {}, 1024b8e80941Smrg .p = {}, 1025b8e80941Smrg }, 1026b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1027b8e80941Smrg .txc = ISL_TXC_NONE, 1028b8e80941Smrg }, 1029b8e80941Smrg 1030b8e80941Smrg [ISL_FORMAT_R10G10B10_SNORM_A2_UNORM] = { 1031b8e80941Smrg .format = ISL_FORMAT_R10G10B10_SNORM_A2_UNORM, 1032b8e80941Smrg .name = "ISL_FORMAT_R10G10B10_SNORM_A2_UNORM", 1033b8e80941Smrg .bpb = 32, 1034b8e80941Smrg .bw = 1, 1035b8e80941Smrg .bh = 1, 1036b8e80941Smrg .bd = 1, 1037b8e80941Smrg .channels = { 1038b8e80941Smrg .r = { ISL_SNORM, 0, 10 }, 1039b8e80941Smrg .g = { ISL_SNORM, 10, 10 }, 1040b8e80941Smrg .b = { ISL_SNORM, 20, 10 }, 1041b8e80941Smrg .a = { ISL_UNORM, 30, 2 }, 1042b8e80941Smrg .l = {}, 1043b8e80941Smrg .i = {}, 1044b8e80941Smrg .p = {}, 1045b8e80941Smrg }, 1046b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1047b8e80941Smrg .txc = ISL_TXC_NONE, 1048b8e80941Smrg }, 1049b8e80941Smrg 1050b8e80941Smrg [ISL_FORMAT_R8G8B8A8_UNORM] = { 1051b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_UNORM, 1052b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_UNORM", 1053b8e80941Smrg .bpb = 32, 1054b8e80941Smrg .bw = 1, 1055b8e80941Smrg .bh = 1, 1056b8e80941Smrg .bd = 1, 1057b8e80941Smrg .channels = { 1058b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 1059b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1060b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 1061b8e80941Smrg .a = { ISL_UNORM, 24, 8 }, 1062b8e80941Smrg .l = {}, 1063b8e80941Smrg .i = {}, 1064b8e80941Smrg .p = {}, 1065b8e80941Smrg }, 1066b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1067b8e80941Smrg .txc = ISL_TXC_NONE, 1068b8e80941Smrg }, 1069b8e80941Smrg 1070b8e80941Smrg [ISL_FORMAT_R8G8B8A8_UNORM_SRGB] = { 1071b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_UNORM_SRGB, 1072b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_UNORM_SRGB", 1073b8e80941Smrg .bpb = 32, 1074b8e80941Smrg .bw = 1, 1075b8e80941Smrg .bh = 1, 1076b8e80941Smrg .bd = 1, 1077b8e80941Smrg .channels = { 1078b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 1079b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1080b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 1081b8e80941Smrg .a = { ISL_UNORM, 24, 8 }, 1082b8e80941Smrg .l = {}, 1083b8e80941Smrg .i = {}, 1084b8e80941Smrg .p = {}, 1085b8e80941Smrg }, 1086b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 1087b8e80941Smrg .txc = ISL_TXC_NONE, 1088b8e80941Smrg }, 1089b8e80941Smrg 1090b8e80941Smrg [ISL_FORMAT_R8G8B8A8_SNORM] = { 1091b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_SNORM, 1092b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_SNORM", 1093b8e80941Smrg .bpb = 32, 1094b8e80941Smrg .bw = 1, 1095b8e80941Smrg .bh = 1, 1096b8e80941Smrg .bd = 1, 1097b8e80941Smrg .channels = { 1098b8e80941Smrg .r = { ISL_SNORM, 0, 8 }, 1099b8e80941Smrg .g = { ISL_SNORM, 8, 8 }, 1100b8e80941Smrg .b = { ISL_SNORM, 16, 8 }, 1101b8e80941Smrg .a = { ISL_SNORM, 24, 8 }, 1102b8e80941Smrg .l = {}, 1103b8e80941Smrg .i = {}, 1104b8e80941Smrg .p = {}, 1105b8e80941Smrg }, 1106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1107b8e80941Smrg .txc = ISL_TXC_NONE, 1108b8e80941Smrg }, 1109b8e80941Smrg 1110b8e80941Smrg [ISL_FORMAT_R8G8B8A8_SINT] = { 1111b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_SINT, 1112b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_SINT", 1113b8e80941Smrg .bpb = 32, 1114b8e80941Smrg .bw = 1, 1115b8e80941Smrg .bh = 1, 1116b8e80941Smrg .bd = 1, 1117b8e80941Smrg .channels = { 1118b8e80941Smrg .r = { ISL_SINT, 0, 8 }, 1119b8e80941Smrg .g = { ISL_SINT, 8, 8 }, 1120b8e80941Smrg .b = { ISL_SINT, 16, 8 }, 1121b8e80941Smrg .a = { ISL_SINT, 24, 8 }, 1122b8e80941Smrg .l = {}, 1123b8e80941Smrg .i = {}, 1124b8e80941Smrg .p = {}, 1125b8e80941Smrg }, 1126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1127b8e80941Smrg .txc = ISL_TXC_NONE, 1128b8e80941Smrg }, 1129b8e80941Smrg 1130b8e80941Smrg [ISL_FORMAT_R8G8B8A8_UINT] = { 1131b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_UINT, 1132b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_UINT", 1133b8e80941Smrg .bpb = 32, 1134b8e80941Smrg .bw = 1, 1135b8e80941Smrg .bh = 1, 1136b8e80941Smrg .bd = 1, 1137b8e80941Smrg .channels = { 1138b8e80941Smrg .r = { ISL_UINT, 0, 8 }, 1139b8e80941Smrg .g = { ISL_UINT, 8, 8 }, 1140b8e80941Smrg .b = { ISL_UINT, 16, 8 }, 1141b8e80941Smrg .a = { ISL_UINT, 24, 8 }, 1142b8e80941Smrg .l = {}, 1143b8e80941Smrg .i = {}, 1144b8e80941Smrg .p = {}, 1145b8e80941Smrg }, 1146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1147b8e80941Smrg .txc = ISL_TXC_NONE, 1148b8e80941Smrg }, 1149b8e80941Smrg 1150b8e80941Smrg [ISL_FORMAT_R16G16_UNORM] = { 1151b8e80941Smrg .format = ISL_FORMAT_R16G16_UNORM, 1152b8e80941Smrg .name = "ISL_FORMAT_R16G16_UNORM", 1153b8e80941Smrg .bpb = 32, 1154b8e80941Smrg .bw = 1, 1155b8e80941Smrg .bh = 1, 1156b8e80941Smrg .bd = 1, 1157b8e80941Smrg .channels = { 1158b8e80941Smrg .r = { ISL_UNORM, 0, 16 }, 1159b8e80941Smrg .g = { ISL_UNORM, 16, 16 }, 1160b8e80941Smrg .b = {}, 1161b8e80941Smrg .a = {}, 1162b8e80941Smrg .l = {}, 1163b8e80941Smrg .i = {}, 1164b8e80941Smrg .p = {}, 1165b8e80941Smrg }, 1166b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1167b8e80941Smrg .txc = ISL_TXC_NONE, 1168b8e80941Smrg }, 1169b8e80941Smrg 1170b8e80941Smrg [ISL_FORMAT_R16G16_SNORM] = { 1171b8e80941Smrg .format = ISL_FORMAT_R16G16_SNORM, 1172b8e80941Smrg .name = "ISL_FORMAT_R16G16_SNORM", 1173b8e80941Smrg .bpb = 32, 1174b8e80941Smrg .bw = 1, 1175b8e80941Smrg .bh = 1, 1176b8e80941Smrg .bd = 1, 1177b8e80941Smrg .channels = { 1178b8e80941Smrg .r = { ISL_SNORM, 0, 16 }, 1179b8e80941Smrg .g = { ISL_SNORM, 16, 16 }, 1180b8e80941Smrg .b = {}, 1181b8e80941Smrg .a = {}, 1182b8e80941Smrg .l = {}, 1183b8e80941Smrg .i = {}, 1184b8e80941Smrg .p = {}, 1185b8e80941Smrg }, 1186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1187b8e80941Smrg .txc = ISL_TXC_NONE, 1188b8e80941Smrg }, 1189b8e80941Smrg 1190b8e80941Smrg [ISL_FORMAT_R16G16_SINT] = { 1191b8e80941Smrg .format = ISL_FORMAT_R16G16_SINT, 1192b8e80941Smrg .name = "ISL_FORMAT_R16G16_SINT", 1193b8e80941Smrg .bpb = 32, 1194b8e80941Smrg .bw = 1, 1195b8e80941Smrg .bh = 1, 1196b8e80941Smrg .bd = 1, 1197b8e80941Smrg .channels = { 1198b8e80941Smrg .r = { ISL_SINT, 0, 16 }, 1199b8e80941Smrg .g = { ISL_SINT, 16, 16 }, 1200b8e80941Smrg .b = {}, 1201b8e80941Smrg .a = {}, 1202b8e80941Smrg .l = {}, 1203b8e80941Smrg .i = {}, 1204b8e80941Smrg .p = {}, 1205b8e80941Smrg }, 1206b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1207b8e80941Smrg .txc = ISL_TXC_NONE, 1208b8e80941Smrg }, 1209b8e80941Smrg 1210b8e80941Smrg [ISL_FORMAT_R16G16_UINT] = { 1211b8e80941Smrg .format = ISL_FORMAT_R16G16_UINT, 1212b8e80941Smrg .name = "ISL_FORMAT_R16G16_UINT", 1213b8e80941Smrg .bpb = 32, 1214b8e80941Smrg .bw = 1, 1215b8e80941Smrg .bh = 1, 1216b8e80941Smrg .bd = 1, 1217b8e80941Smrg .channels = { 1218b8e80941Smrg .r = { ISL_UINT, 0, 16 }, 1219b8e80941Smrg .g = { ISL_UINT, 16, 16 }, 1220b8e80941Smrg .b = {}, 1221b8e80941Smrg .a = {}, 1222b8e80941Smrg .l = {}, 1223b8e80941Smrg .i = {}, 1224b8e80941Smrg .p = {}, 1225b8e80941Smrg }, 1226b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1227b8e80941Smrg .txc = ISL_TXC_NONE, 1228b8e80941Smrg }, 1229b8e80941Smrg 1230b8e80941Smrg [ISL_FORMAT_R16G16_FLOAT] = { 1231b8e80941Smrg .format = ISL_FORMAT_R16G16_FLOAT, 1232b8e80941Smrg .name = "ISL_FORMAT_R16G16_FLOAT", 1233b8e80941Smrg .bpb = 32, 1234b8e80941Smrg .bw = 1, 1235b8e80941Smrg .bh = 1, 1236b8e80941Smrg .bd = 1, 1237b8e80941Smrg .channels = { 1238b8e80941Smrg .r = { ISL_SFLOAT, 0, 16 }, 1239b8e80941Smrg .g = { ISL_SFLOAT, 16, 16 }, 1240b8e80941Smrg .b = {}, 1241b8e80941Smrg .a = {}, 1242b8e80941Smrg .l = {}, 1243b8e80941Smrg .i = {}, 1244b8e80941Smrg .p = {}, 1245b8e80941Smrg }, 1246b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1247b8e80941Smrg .txc = ISL_TXC_NONE, 1248b8e80941Smrg }, 1249b8e80941Smrg 1250b8e80941Smrg [ISL_FORMAT_B10G10R10A2_UNORM] = { 1251b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_UNORM, 1252b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_UNORM", 1253b8e80941Smrg .bpb = 32, 1254b8e80941Smrg .bw = 1, 1255b8e80941Smrg .bh = 1, 1256b8e80941Smrg .bd = 1, 1257b8e80941Smrg .channels = { 1258b8e80941Smrg .r = { ISL_UNORM, 20, 10 }, 1259b8e80941Smrg .g = { ISL_UNORM, 10, 10 }, 1260b8e80941Smrg .b = { ISL_UNORM, 0, 10 }, 1261b8e80941Smrg .a = { ISL_UNORM, 30, 2 }, 1262b8e80941Smrg .l = {}, 1263b8e80941Smrg .i = {}, 1264b8e80941Smrg .p = {}, 1265b8e80941Smrg }, 1266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1267b8e80941Smrg .txc = ISL_TXC_NONE, 1268b8e80941Smrg }, 1269b8e80941Smrg 1270b8e80941Smrg [ISL_FORMAT_B10G10R10A2_UNORM_SRGB] = { 1271b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_UNORM_SRGB, 1272b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_UNORM_SRGB", 1273b8e80941Smrg .bpb = 32, 1274b8e80941Smrg .bw = 1, 1275b8e80941Smrg .bh = 1, 1276b8e80941Smrg .bd = 1, 1277b8e80941Smrg .channels = { 1278b8e80941Smrg .r = { ISL_UNORM, 20, 10 }, 1279b8e80941Smrg .g = { ISL_UNORM, 10, 10 }, 1280b8e80941Smrg .b = { ISL_UNORM, 0, 10 }, 1281b8e80941Smrg .a = { ISL_UNORM, 30, 2 }, 1282b8e80941Smrg .l = {}, 1283b8e80941Smrg .i = {}, 1284b8e80941Smrg .p = {}, 1285b8e80941Smrg }, 1286b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 1287b8e80941Smrg .txc = ISL_TXC_NONE, 1288b8e80941Smrg }, 1289b8e80941Smrg 1290b8e80941Smrg [ISL_FORMAT_R11G11B10_FLOAT] = { 1291b8e80941Smrg .format = ISL_FORMAT_R11G11B10_FLOAT, 1292b8e80941Smrg .name = "ISL_FORMAT_R11G11B10_FLOAT", 1293b8e80941Smrg .bpb = 32, 1294b8e80941Smrg .bw = 1, 1295b8e80941Smrg .bh = 1, 1296b8e80941Smrg .bd = 1, 1297b8e80941Smrg .channels = { 1298b8e80941Smrg .r = { ISL_UFLOAT, 0, 11 }, 1299b8e80941Smrg .g = { ISL_UFLOAT, 11, 11 }, 1300b8e80941Smrg .b = { ISL_UFLOAT, 22, 10 }, 1301b8e80941Smrg .a = {}, 1302b8e80941Smrg .l = {}, 1303b8e80941Smrg .i = {}, 1304b8e80941Smrg .p = {}, 1305b8e80941Smrg }, 1306b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1307b8e80941Smrg .txc = ISL_TXC_NONE, 1308b8e80941Smrg }, 1309b8e80941Smrg 1310b8e80941Smrg [ISL_FORMAT_R32_SINT] = { 1311b8e80941Smrg .format = ISL_FORMAT_R32_SINT, 1312b8e80941Smrg .name = "ISL_FORMAT_R32_SINT", 1313b8e80941Smrg .bpb = 32, 1314b8e80941Smrg .bw = 1, 1315b8e80941Smrg .bh = 1, 1316b8e80941Smrg .bd = 1, 1317b8e80941Smrg .channels = { 1318b8e80941Smrg .r = { ISL_SINT, 0, 32 }, 1319b8e80941Smrg .g = {}, 1320b8e80941Smrg .b = {}, 1321b8e80941Smrg .a = {}, 1322b8e80941Smrg .l = {}, 1323b8e80941Smrg .i = {}, 1324b8e80941Smrg .p = {}, 1325b8e80941Smrg }, 1326b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1327b8e80941Smrg .txc = ISL_TXC_NONE, 1328b8e80941Smrg }, 1329b8e80941Smrg 1330b8e80941Smrg [ISL_FORMAT_R32_UINT] = { 1331b8e80941Smrg .format = ISL_FORMAT_R32_UINT, 1332b8e80941Smrg .name = "ISL_FORMAT_R32_UINT", 1333b8e80941Smrg .bpb = 32, 1334b8e80941Smrg .bw = 1, 1335b8e80941Smrg .bh = 1, 1336b8e80941Smrg .bd = 1, 1337b8e80941Smrg .channels = { 1338b8e80941Smrg .r = { ISL_UINT, 0, 32 }, 1339b8e80941Smrg .g = {}, 1340b8e80941Smrg .b = {}, 1341b8e80941Smrg .a = {}, 1342b8e80941Smrg .l = {}, 1343b8e80941Smrg .i = {}, 1344b8e80941Smrg .p = {}, 1345b8e80941Smrg }, 1346b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1347b8e80941Smrg .txc = ISL_TXC_NONE, 1348b8e80941Smrg }, 1349b8e80941Smrg 1350b8e80941Smrg [ISL_FORMAT_R32_FLOAT] = { 1351b8e80941Smrg .format = ISL_FORMAT_R32_FLOAT, 1352b8e80941Smrg .name = "ISL_FORMAT_R32_FLOAT", 1353b8e80941Smrg .bpb = 32, 1354b8e80941Smrg .bw = 1, 1355b8e80941Smrg .bh = 1, 1356b8e80941Smrg .bd = 1, 1357b8e80941Smrg .channels = { 1358b8e80941Smrg .r = { ISL_SFLOAT, 0, 32 }, 1359b8e80941Smrg .g = {}, 1360b8e80941Smrg .b = {}, 1361b8e80941Smrg .a = {}, 1362b8e80941Smrg .l = {}, 1363b8e80941Smrg .i = {}, 1364b8e80941Smrg .p = {}, 1365b8e80941Smrg }, 1366b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1367b8e80941Smrg .txc = ISL_TXC_NONE, 1368b8e80941Smrg }, 1369b8e80941Smrg 1370b8e80941Smrg [ISL_FORMAT_R24_UNORM_X8_TYPELESS] = { 1371b8e80941Smrg .format = ISL_FORMAT_R24_UNORM_X8_TYPELESS, 1372b8e80941Smrg .name = "ISL_FORMAT_R24_UNORM_X8_TYPELESS", 1373b8e80941Smrg .bpb = 32, 1374b8e80941Smrg .bw = 1, 1375b8e80941Smrg .bh = 1, 1376b8e80941Smrg .bd = 1, 1377b8e80941Smrg .channels = { 1378b8e80941Smrg .r = { ISL_UNORM, 0, 24 }, 1379b8e80941Smrg .g = { ISL_VOID, 24, 8 }, 1380b8e80941Smrg .b = {}, 1381b8e80941Smrg .a = {}, 1382b8e80941Smrg .l = {}, 1383b8e80941Smrg .i = {}, 1384b8e80941Smrg .p = {}, 1385b8e80941Smrg }, 1386b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1387b8e80941Smrg .txc = ISL_TXC_NONE, 1388b8e80941Smrg }, 1389b8e80941Smrg 1390b8e80941Smrg [ISL_FORMAT_X24_TYPELESS_G8_UINT] = { 1391b8e80941Smrg .format = ISL_FORMAT_X24_TYPELESS_G8_UINT, 1392b8e80941Smrg .name = "ISL_FORMAT_X24_TYPELESS_G8_UINT", 1393b8e80941Smrg .bpb = 32, 1394b8e80941Smrg .bw = 1, 1395b8e80941Smrg .bh = 1, 1396b8e80941Smrg .bd = 1, 1397b8e80941Smrg .channels = { 1398b8e80941Smrg .r = { ISL_VOID, 0, 24 }, 1399b8e80941Smrg .g = { ISL_UINT, 24, 8 }, 1400b8e80941Smrg .b = {}, 1401b8e80941Smrg .a = {}, 1402b8e80941Smrg .l = {}, 1403b8e80941Smrg .i = {}, 1404b8e80941Smrg .p = {}, 1405b8e80941Smrg }, 1406b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1407b8e80941Smrg .txc = ISL_TXC_NONE, 1408b8e80941Smrg }, 1409b8e80941Smrg 1410b8e80941Smrg [ISL_FORMAT_L32_UNORM] = { 1411b8e80941Smrg .format = ISL_FORMAT_L32_UNORM, 1412b8e80941Smrg .name = "ISL_FORMAT_L32_UNORM", 1413b8e80941Smrg .bpb = 32, 1414b8e80941Smrg .bw = 1, 1415b8e80941Smrg .bh = 1, 1416b8e80941Smrg .bd = 1, 1417b8e80941Smrg .channels = { 1418b8e80941Smrg .r = {}, 1419b8e80941Smrg .g = {}, 1420b8e80941Smrg .b = {}, 1421b8e80941Smrg .a = {}, 1422b8e80941Smrg .l = { ISL_UNORM, 0, 32 }, 1423b8e80941Smrg .i = {}, 1424b8e80941Smrg .p = {}, 1425b8e80941Smrg }, 1426b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1427b8e80941Smrg .txc = ISL_TXC_NONE, 1428b8e80941Smrg }, 1429b8e80941Smrg 1430b8e80941Smrg [ISL_FORMAT_A32_UNORM] = { 1431b8e80941Smrg .format = ISL_FORMAT_A32_UNORM, 1432b8e80941Smrg .name = "ISL_FORMAT_A32_UNORM", 1433b8e80941Smrg .bpb = 32, 1434b8e80941Smrg .bw = 1, 1435b8e80941Smrg .bh = 1, 1436b8e80941Smrg .bd = 1, 1437b8e80941Smrg .channels = { 1438b8e80941Smrg .r = {}, 1439b8e80941Smrg .g = {}, 1440b8e80941Smrg .b = {}, 1441b8e80941Smrg .a = { ISL_UNORM, 0, 32 }, 1442b8e80941Smrg .l = {}, 1443b8e80941Smrg .i = {}, 1444b8e80941Smrg .p = {}, 1445b8e80941Smrg }, 1446b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1447b8e80941Smrg .txc = ISL_TXC_NONE, 1448b8e80941Smrg }, 1449b8e80941Smrg 1450b8e80941Smrg [ISL_FORMAT_L16A16_UNORM] = { 1451b8e80941Smrg .format = ISL_FORMAT_L16A16_UNORM, 1452b8e80941Smrg .name = "ISL_FORMAT_L16A16_UNORM", 1453b8e80941Smrg .bpb = 32, 1454b8e80941Smrg .bw = 1, 1455b8e80941Smrg .bh = 1, 1456b8e80941Smrg .bd = 1, 1457b8e80941Smrg .channels = { 1458b8e80941Smrg .r = {}, 1459b8e80941Smrg .g = {}, 1460b8e80941Smrg .b = {}, 1461b8e80941Smrg .a = { ISL_UNORM, 16, 16 }, 1462b8e80941Smrg .l = { ISL_UNORM, 0, 16 }, 1463b8e80941Smrg .i = {}, 1464b8e80941Smrg .p = {}, 1465b8e80941Smrg }, 1466b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1467b8e80941Smrg .txc = ISL_TXC_NONE, 1468b8e80941Smrg }, 1469b8e80941Smrg 1470b8e80941Smrg [ISL_FORMAT_I24X8_UNORM] = { 1471b8e80941Smrg .format = ISL_FORMAT_I24X8_UNORM, 1472b8e80941Smrg .name = "ISL_FORMAT_I24X8_UNORM", 1473b8e80941Smrg .bpb = 32, 1474b8e80941Smrg .bw = 1, 1475b8e80941Smrg .bh = 1, 1476b8e80941Smrg .bd = 1, 1477b8e80941Smrg .channels = { 1478b8e80941Smrg .r = {}, 1479b8e80941Smrg .g = {}, 1480b8e80941Smrg .b = {}, 1481b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1482b8e80941Smrg .l = {}, 1483b8e80941Smrg .i = { ISL_UNORM, 0, 24 }, 1484b8e80941Smrg .p = {}, 1485b8e80941Smrg }, 1486b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1487b8e80941Smrg .txc = ISL_TXC_NONE, 1488b8e80941Smrg }, 1489b8e80941Smrg 1490b8e80941Smrg [ISL_FORMAT_L24X8_UNORM] = { 1491b8e80941Smrg .format = ISL_FORMAT_L24X8_UNORM, 1492b8e80941Smrg .name = "ISL_FORMAT_L24X8_UNORM", 1493b8e80941Smrg .bpb = 32, 1494b8e80941Smrg .bw = 1, 1495b8e80941Smrg .bh = 1, 1496b8e80941Smrg .bd = 1, 1497b8e80941Smrg .channels = { 1498b8e80941Smrg .r = {}, 1499b8e80941Smrg .g = {}, 1500b8e80941Smrg .b = {}, 1501b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1502b8e80941Smrg .l = { ISL_UNORM, 0, 24 }, 1503b8e80941Smrg .i = {}, 1504b8e80941Smrg .p = {}, 1505b8e80941Smrg }, 1506b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1507b8e80941Smrg .txc = ISL_TXC_NONE, 1508b8e80941Smrg }, 1509b8e80941Smrg 1510b8e80941Smrg [ISL_FORMAT_A24X8_UNORM] = { 1511b8e80941Smrg .format = ISL_FORMAT_A24X8_UNORM, 1512b8e80941Smrg .name = "ISL_FORMAT_A24X8_UNORM", 1513b8e80941Smrg .bpb = 32, 1514b8e80941Smrg .bw = 1, 1515b8e80941Smrg .bh = 1, 1516b8e80941Smrg .bd = 1, 1517b8e80941Smrg .channels = { 1518b8e80941Smrg .r = {}, 1519b8e80941Smrg .g = {}, 1520b8e80941Smrg .b = {}, 1521b8e80941Smrg .a = { ISL_UNORM, 0, 24 }, 1522b8e80941Smrg .l = { ISL_VOID, 24, 8 }, 1523b8e80941Smrg .i = {}, 1524b8e80941Smrg .p = {}, 1525b8e80941Smrg }, 1526b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1527b8e80941Smrg .txc = ISL_TXC_NONE, 1528b8e80941Smrg }, 1529b8e80941Smrg 1530b8e80941Smrg [ISL_FORMAT_I32_FLOAT] = { 1531b8e80941Smrg .format = ISL_FORMAT_I32_FLOAT, 1532b8e80941Smrg .name = "ISL_FORMAT_I32_FLOAT", 1533b8e80941Smrg .bpb = 32, 1534b8e80941Smrg .bw = 1, 1535b8e80941Smrg .bh = 1, 1536b8e80941Smrg .bd = 1, 1537b8e80941Smrg .channels = { 1538b8e80941Smrg .r = {}, 1539b8e80941Smrg .g = {}, 1540b8e80941Smrg .b = {}, 1541b8e80941Smrg .a = {}, 1542b8e80941Smrg .l = {}, 1543b8e80941Smrg .i = { ISL_SFLOAT, 0, 32 }, 1544b8e80941Smrg .p = {}, 1545b8e80941Smrg }, 1546b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1547b8e80941Smrg .txc = ISL_TXC_NONE, 1548b8e80941Smrg }, 1549b8e80941Smrg 1550b8e80941Smrg [ISL_FORMAT_L32_FLOAT] = { 1551b8e80941Smrg .format = ISL_FORMAT_L32_FLOAT, 1552b8e80941Smrg .name = "ISL_FORMAT_L32_FLOAT", 1553b8e80941Smrg .bpb = 32, 1554b8e80941Smrg .bw = 1, 1555b8e80941Smrg .bh = 1, 1556b8e80941Smrg .bd = 1, 1557b8e80941Smrg .channels = { 1558b8e80941Smrg .r = {}, 1559b8e80941Smrg .g = {}, 1560b8e80941Smrg .b = {}, 1561b8e80941Smrg .a = {}, 1562b8e80941Smrg .l = { ISL_SFLOAT, 0, 32 }, 1563b8e80941Smrg .i = {}, 1564b8e80941Smrg .p = {}, 1565b8e80941Smrg }, 1566b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1567b8e80941Smrg .txc = ISL_TXC_NONE, 1568b8e80941Smrg }, 1569b8e80941Smrg 1570b8e80941Smrg [ISL_FORMAT_A32_FLOAT] = { 1571b8e80941Smrg .format = ISL_FORMAT_A32_FLOAT, 1572b8e80941Smrg .name = "ISL_FORMAT_A32_FLOAT", 1573b8e80941Smrg .bpb = 32, 1574b8e80941Smrg .bw = 1, 1575b8e80941Smrg .bh = 1, 1576b8e80941Smrg .bd = 1, 1577b8e80941Smrg .channels = { 1578b8e80941Smrg .r = {}, 1579b8e80941Smrg .g = {}, 1580b8e80941Smrg .b = {}, 1581b8e80941Smrg .a = { ISL_SFLOAT, 0, 32 }, 1582b8e80941Smrg .l = {}, 1583b8e80941Smrg .i = {}, 1584b8e80941Smrg .p = {}, 1585b8e80941Smrg }, 1586b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1587b8e80941Smrg .txc = ISL_TXC_NONE, 1588b8e80941Smrg }, 1589b8e80941Smrg 1590b8e80941Smrg [ISL_FORMAT_X8B8_UNORM_G8R8_SNORM] = { 1591b8e80941Smrg .format = ISL_FORMAT_X8B8_UNORM_G8R8_SNORM, 1592b8e80941Smrg .name = "ISL_FORMAT_X8B8_UNORM_G8R8_SNORM", 1593b8e80941Smrg .bpb = 32, 1594b8e80941Smrg .bw = 1, 1595b8e80941Smrg .bh = 1, 1596b8e80941Smrg .bd = 1, 1597b8e80941Smrg .channels = { 1598b8e80941Smrg .r = { ISL_SNORM, 24, 8 }, 1599b8e80941Smrg .g = { ISL_SNORM, 16, 8 }, 1600b8e80941Smrg .b = { ISL_UNORM, 8, 8 }, 1601b8e80941Smrg .a = { ISL_VOID, 0, 8 }, 1602b8e80941Smrg .l = {}, 1603b8e80941Smrg .i = {}, 1604b8e80941Smrg .p = {}, 1605b8e80941Smrg }, 1606b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1607b8e80941Smrg .txc = ISL_TXC_NONE, 1608b8e80941Smrg }, 1609b8e80941Smrg 1610b8e80941Smrg [ISL_FORMAT_A8X8_UNORM_G8R8_SNORM] = { 1611b8e80941Smrg .format = ISL_FORMAT_A8X8_UNORM_G8R8_SNORM, 1612b8e80941Smrg .name = "ISL_FORMAT_A8X8_UNORM_G8R8_SNORM", 1613b8e80941Smrg .bpb = 32, 1614b8e80941Smrg .bw = 1, 1615b8e80941Smrg .bh = 1, 1616b8e80941Smrg .bd = 1, 1617b8e80941Smrg .channels = { 1618b8e80941Smrg .r = { ISL_SNORM, 24, 8 }, 1619b8e80941Smrg .g = { ISL_SNORM, 16, 8 }, 1620b8e80941Smrg .b = { ISL_VOID, 8, 8 }, 1621b8e80941Smrg .a = { ISL_UNORM, 0, 8 }, 1622b8e80941Smrg .l = {}, 1623b8e80941Smrg .i = {}, 1624b8e80941Smrg .p = {}, 1625b8e80941Smrg }, 1626b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1627b8e80941Smrg .txc = ISL_TXC_NONE, 1628b8e80941Smrg }, 1629b8e80941Smrg 1630b8e80941Smrg [ISL_FORMAT_B8X8_UNORM_G8R8_SNORM] = { 1631b8e80941Smrg .format = ISL_FORMAT_B8X8_UNORM_G8R8_SNORM, 1632b8e80941Smrg .name = "ISL_FORMAT_B8X8_UNORM_G8R8_SNORM", 1633b8e80941Smrg .bpb = 32, 1634b8e80941Smrg .bw = 1, 1635b8e80941Smrg .bh = 1, 1636b8e80941Smrg .bd = 1, 1637b8e80941Smrg .channels = { 1638b8e80941Smrg .r = { ISL_SNORM, 24, 8 }, 1639b8e80941Smrg .g = { ISL_SNORM, 16, 8 }, 1640b8e80941Smrg .b = { ISL_UNORM, 0, 8 }, 1641b8e80941Smrg .a = { ISL_VOID, 8, 8 }, 1642b8e80941Smrg .l = {}, 1643b8e80941Smrg .i = {}, 1644b8e80941Smrg .p = {}, 1645b8e80941Smrg }, 1646b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1647b8e80941Smrg .txc = ISL_TXC_NONE, 1648b8e80941Smrg }, 1649b8e80941Smrg 1650b8e80941Smrg [ISL_FORMAT_B8G8R8X8_UNORM] = { 1651b8e80941Smrg .format = ISL_FORMAT_B8G8R8X8_UNORM, 1652b8e80941Smrg .name = "ISL_FORMAT_B8G8R8X8_UNORM", 1653b8e80941Smrg .bpb = 32, 1654b8e80941Smrg .bw = 1, 1655b8e80941Smrg .bh = 1, 1656b8e80941Smrg .bd = 1, 1657b8e80941Smrg .channels = { 1658b8e80941Smrg .r = { ISL_UNORM, 16, 8 }, 1659b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1660b8e80941Smrg .b = { ISL_UNORM, 0, 8 }, 1661b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1662b8e80941Smrg .l = {}, 1663b8e80941Smrg .i = {}, 1664b8e80941Smrg .p = {}, 1665b8e80941Smrg }, 1666b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1667b8e80941Smrg .txc = ISL_TXC_NONE, 1668b8e80941Smrg }, 1669b8e80941Smrg 1670b8e80941Smrg [ISL_FORMAT_B8G8R8X8_UNORM_SRGB] = { 1671b8e80941Smrg .format = ISL_FORMAT_B8G8R8X8_UNORM_SRGB, 1672b8e80941Smrg .name = "ISL_FORMAT_B8G8R8X8_UNORM_SRGB", 1673b8e80941Smrg .bpb = 32, 1674b8e80941Smrg .bw = 1, 1675b8e80941Smrg .bh = 1, 1676b8e80941Smrg .bd = 1, 1677b8e80941Smrg .channels = { 1678b8e80941Smrg .r = { ISL_UNORM, 16, 8 }, 1679b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1680b8e80941Smrg .b = { ISL_UNORM, 0, 8 }, 1681b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1682b8e80941Smrg .l = {}, 1683b8e80941Smrg .i = {}, 1684b8e80941Smrg .p = {}, 1685b8e80941Smrg }, 1686b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 1687b8e80941Smrg .txc = ISL_TXC_NONE, 1688b8e80941Smrg }, 1689b8e80941Smrg 1690b8e80941Smrg [ISL_FORMAT_R8G8B8X8_UNORM] = { 1691b8e80941Smrg .format = ISL_FORMAT_R8G8B8X8_UNORM, 1692b8e80941Smrg .name = "ISL_FORMAT_R8G8B8X8_UNORM", 1693b8e80941Smrg .bpb = 32, 1694b8e80941Smrg .bw = 1, 1695b8e80941Smrg .bh = 1, 1696b8e80941Smrg .bd = 1, 1697b8e80941Smrg .channels = { 1698b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 1699b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1700b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 1701b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1702b8e80941Smrg .l = {}, 1703b8e80941Smrg .i = {}, 1704b8e80941Smrg .p = {}, 1705b8e80941Smrg }, 1706b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1707b8e80941Smrg .txc = ISL_TXC_NONE, 1708b8e80941Smrg }, 1709b8e80941Smrg 1710b8e80941Smrg [ISL_FORMAT_R8G8B8X8_UNORM_SRGB] = { 1711b8e80941Smrg .format = ISL_FORMAT_R8G8B8X8_UNORM_SRGB, 1712b8e80941Smrg .name = "ISL_FORMAT_R8G8B8X8_UNORM_SRGB", 1713b8e80941Smrg .bpb = 32, 1714b8e80941Smrg .bw = 1, 1715b8e80941Smrg .bh = 1, 1716b8e80941Smrg .bd = 1, 1717b8e80941Smrg .channels = { 1718b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 1719b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 1720b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 1721b8e80941Smrg .a = { ISL_VOID, 24, 8 }, 1722b8e80941Smrg .l = {}, 1723b8e80941Smrg .i = {}, 1724b8e80941Smrg .p = {}, 1725b8e80941Smrg }, 1726b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 1727b8e80941Smrg .txc = ISL_TXC_NONE, 1728b8e80941Smrg }, 1729b8e80941Smrg 1730b8e80941Smrg [ISL_FORMAT_R9G9B9E5_SHAREDEXP] = { 1731b8e80941Smrg .format = ISL_FORMAT_R9G9B9E5_SHAREDEXP, 1732b8e80941Smrg .name = "ISL_FORMAT_R9G9B9E5_SHAREDEXP", 1733b8e80941Smrg .bpb = 32, 1734b8e80941Smrg .bw = 1, 1735b8e80941Smrg .bh = 1, 1736b8e80941Smrg .bd = 1, 1737b8e80941Smrg .channels = { 1738b8e80941Smrg .r = { ISL_UFLOAT, 0, 9 }, 1739b8e80941Smrg .g = { ISL_UFLOAT, 9, 9 }, 1740b8e80941Smrg .b = { ISL_UFLOAT, 18, 9 }, 1741b8e80941Smrg .a = {}, 1742b8e80941Smrg .l = {}, 1743b8e80941Smrg .i = {}, 1744b8e80941Smrg .p = {}, 1745b8e80941Smrg }, 1746b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1747b8e80941Smrg .txc = ISL_TXC_NONE, 1748b8e80941Smrg }, 1749b8e80941Smrg 1750b8e80941Smrg [ISL_FORMAT_B10G10R10X2_UNORM] = { 1751b8e80941Smrg .format = ISL_FORMAT_B10G10R10X2_UNORM, 1752b8e80941Smrg .name = "ISL_FORMAT_B10G10R10X2_UNORM", 1753b8e80941Smrg .bpb = 32, 1754b8e80941Smrg .bw = 1, 1755b8e80941Smrg .bh = 1, 1756b8e80941Smrg .bd = 1, 1757b8e80941Smrg .channels = { 1758b8e80941Smrg .r = { ISL_UNORM, 20, 10 }, 1759b8e80941Smrg .g = { ISL_UNORM, 10, 10 }, 1760b8e80941Smrg .b = { ISL_UNORM, 0, 10 }, 1761b8e80941Smrg .a = { ISL_VOID, 30, 2 }, 1762b8e80941Smrg .l = {}, 1763b8e80941Smrg .i = {}, 1764b8e80941Smrg .p = {}, 1765b8e80941Smrg }, 1766b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1767b8e80941Smrg .txc = ISL_TXC_NONE, 1768b8e80941Smrg }, 1769b8e80941Smrg 1770b8e80941Smrg [ISL_FORMAT_L16A16_FLOAT] = { 1771b8e80941Smrg .format = ISL_FORMAT_L16A16_FLOAT, 1772b8e80941Smrg .name = "ISL_FORMAT_L16A16_FLOAT", 1773b8e80941Smrg .bpb = 32, 1774b8e80941Smrg .bw = 1, 1775b8e80941Smrg .bh = 1, 1776b8e80941Smrg .bd = 1, 1777b8e80941Smrg .channels = { 1778b8e80941Smrg .r = {}, 1779b8e80941Smrg .g = {}, 1780b8e80941Smrg .b = {}, 1781b8e80941Smrg .a = { ISL_SFLOAT, 16, 16 }, 1782b8e80941Smrg .l = { ISL_SFLOAT, 0, 16 }, 1783b8e80941Smrg .i = {}, 1784b8e80941Smrg .p = {}, 1785b8e80941Smrg }, 1786b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1787b8e80941Smrg .txc = ISL_TXC_NONE, 1788b8e80941Smrg }, 1789b8e80941Smrg 1790b8e80941Smrg [ISL_FORMAT_R32_UNORM] = { 1791b8e80941Smrg .format = ISL_FORMAT_R32_UNORM, 1792b8e80941Smrg .name = "ISL_FORMAT_R32_UNORM", 1793b8e80941Smrg .bpb = 32, 1794b8e80941Smrg .bw = 1, 1795b8e80941Smrg .bh = 1, 1796b8e80941Smrg .bd = 1, 1797b8e80941Smrg .channels = { 1798b8e80941Smrg .r = { ISL_UNORM, 0, 32 }, 1799b8e80941Smrg .g = {}, 1800b8e80941Smrg .b = {}, 1801b8e80941Smrg .a = {}, 1802b8e80941Smrg .l = {}, 1803b8e80941Smrg .i = {}, 1804b8e80941Smrg .p = {}, 1805b8e80941Smrg }, 1806b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1807b8e80941Smrg .txc = ISL_TXC_NONE, 1808b8e80941Smrg }, 1809b8e80941Smrg 1810b8e80941Smrg [ISL_FORMAT_R32_SNORM] = { 1811b8e80941Smrg .format = ISL_FORMAT_R32_SNORM, 1812b8e80941Smrg .name = "ISL_FORMAT_R32_SNORM", 1813b8e80941Smrg .bpb = 32, 1814b8e80941Smrg .bw = 1, 1815b8e80941Smrg .bh = 1, 1816b8e80941Smrg .bd = 1, 1817b8e80941Smrg .channels = { 1818b8e80941Smrg .r = { ISL_SNORM, 0, 32 }, 1819b8e80941Smrg .g = {}, 1820b8e80941Smrg .b = {}, 1821b8e80941Smrg .a = {}, 1822b8e80941Smrg .l = {}, 1823b8e80941Smrg .i = {}, 1824b8e80941Smrg .p = {}, 1825b8e80941Smrg }, 1826b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1827b8e80941Smrg .txc = ISL_TXC_NONE, 1828b8e80941Smrg }, 1829b8e80941Smrg 1830b8e80941Smrg [ISL_FORMAT_R10G10B10X2_USCALED] = { 1831b8e80941Smrg .format = ISL_FORMAT_R10G10B10X2_USCALED, 1832b8e80941Smrg .name = "ISL_FORMAT_R10G10B10X2_USCALED", 1833b8e80941Smrg .bpb = 32, 1834b8e80941Smrg .bw = 1, 1835b8e80941Smrg .bh = 1, 1836b8e80941Smrg .bd = 1, 1837b8e80941Smrg .channels = { 1838b8e80941Smrg .r = { ISL_USCALED, 0, 10 }, 1839b8e80941Smrg .g = { ISL_USCALED, 10, 10 }, 1840b8e80941Smrg .b = { ISL_USCALED, 20, 10 }, 1841b8e80941Smrg .a = { ISL_VOID, 30, 2 }, 1842b8e80941Smrg .l = {}, 1843b8e80941Smrg .i = {}, 1844b8e80941Smrg .p = {}, 1845b8e80941Smrg }, 1846b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1847b8e80941Smrg .txc = ISL_TXC_NONE, 1848b8e80941Smrg }, 1849b8e80941Smrg 1850b8e80941Smrg [ISL_FORMAT_R8G8B8A8_SSCALED] = { 1851b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_SSCALED, 1852b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_SSCALED", 1853b8e80941Smrg .bpb = 32, 1854b8e80941Smrg .bw = 1, 1855b8e80941Smrg .bh = 1, 1856b8e80941Smrg .bd = 1, 1857b8e80941Smrg .channels = { 1858b8e80941Smrg .r = { ISL_SSCALED, 0, 8 }, 1859b8e80941Smrg .g = { ISL_SSCALED, 8, 8 }, 1860b8e80941Smrg .b = { ISL_SSCALED, 16, 8 }, 1861b8e80941Smrg .a = { ISL_SSCALED, 24, 8 }, 1862b8e80941Smrg .l = {}, 1863b8e80941Smrg .i = {}, 1864b8e80941Smrg .p = {}, 1865b8e80941Smrg }, 1866b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1867b8e80941Smrg .txc = ISL_TXC_NONE, 1868b8e80941Smrg }, 1869b8e80941Smrg 1870b8e80941Smrg [ISL_FORMAT_R8G8B8A8_USCALED] = { 1871b8e80941Smrg .format = ISL_FORMAT_R8G8B8A8_USCALED, 1872b8e80941Smrg .name = "ISL_FORMAT_R8G8B8A8_USCALED", 1873b8e80941Smrg .bpb = 32, 1874b8e80941Smrg .bw = 1, 1875b8e80941Smrg .bh = 1, 1876b8e80941Smrg .bd = 1, 1877b8e80941Smrg .channels = { 1878b8e80941Smrg .r = { ISL_USCALED, 0, 8 }, 1879b8e80941Smrg .g = { ISL_USCALED, 8, 8 }, 1880b8e80941Smrg .b = { ISL_USCALED, 16, 8 }, 1881b8e80941Smrg .a = { ISL_USCALED, 24, 8 }, 1882b8e80941Smrg .l = {}, 1883b8e80941Smrg .i = {}, 1884b8e80941Smrg .p = {}, 1885b8e80941Smrg }, 1886b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1887b8e80941Smrg .txc = ISL_TXC_NONE, 1888b8e80941Smrg }, 1889b8e80941Smrg 1890b8e80941Smrg [ISL_FORMAT_R16G16_SSCALED] = { 1891b8e80941Smrg .format = ISL_FORMAT_R16G16_SSCALED, 1892b8e80941Smrg .name = "ISL_FORMAT_R16G16_SSCALED", 1893b8e80941Smrg .bpb = 32, 1894b8e80941Smrg .bw = 1, 1895b8e80941Smrg .bh = 1, 1896b8e80941Smrg .bd = 1, 1897b8e80941Smrg .channels = { 1898b8e80941Smrg .r = { ISL_SSCALED, 0, 16 }, 1899b8e80941Smrg .g = { ISL_SSCALED, 16, 6 }, 1900b8e80941Smrg .b = {}, 1901b8e80941Smrg .a = {}, 1902b8e80941Smrg .l = {}, 1903b8e80941Smrg .i = {}, 1904b8e80941Smrg .p = {}, 1905b8e80941Smrg }, 1906b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1907b8e80941Smrg .txc = ISL_TXC_NONE, 1908b8e80941Smrg }, 1909b8e80941Smrg 1910b8e80941Smrg [ISL_FORMAT_R16G16_USCALED] = { 1911b8e80941Smrg .format = ISL_FORMAT_R16G16_USCALED, 1912b8e80941Smrg .name = "ISL_FORMAT_R16G16_USCALED", 1913b8e80941Smrg .bpb = 32, 1914b8e80941Smrg .bw = 1, 1915b8e80941Smrg .bh = 1, 1916b8e80941Smrg .bd = 1, 1917b8e80941Smrg .channels = { 1918b8e80941Smrg .r = { ISL_USCALED, 0, 16 }, 1919b8e80941Smrg .g = { ISL_USCALED, 16, 16 }, 1920b8e80941Smrg .b = {}, 1921b8e80941Smrg .a = {}, 1922b8e80941Smrg .l = {}, 1923b8e80941Smrg .i = {}, 1924b8e80941Smrg .p = {}, 1925b8e80941Smrg }, 1926b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1927b8e80941Smrg .txc = ISL_TXC_NONE, 1928b8e80941Smrg }, 1929b8e80941Smrg 1930b8e80941Smrg [ISL_FORMAT_R32_SSCALED] = { 1931b8e80941Smrg .format = ISL_FORMAT_R32_SSCALED, 1932b8e80941Smrg .name = "ISL_FORMAT_R32_SSCALED", 1933b8e80941Smrg .bpb = 32, 1934b8e80941Smrg .bw = 1, 1935b8e80941Smrg .bh = 1, 1936b8e80941Smrg .bd = 1, 1937b8e80941Smrg .channels = { 1938b8e80941Smrg .r = { ISL_SSCALED, 0, 32 }, 1939b8e80941Smrg .g = {}, 1940b8e80941Smrg .b = {}, 1941b8e80941Smrg .a = {}, 1942b8e80941Smrg .l = {}, 1943b8e80941Smrg .i = {}, 1944b8e80941Smrg .p = {}, 1945b8e80941Smrg }, 1946b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1947b8e80941Smrg .txc = ISL_TXC_NONE, 1948b8e80941Smrg }, 1949b8e80941Smrg 1950b8e80941Smrg [ISL_FORMAT_R32_USCALED] = { 1951b8e80941Smrg .format = ISL_FORMAT_R32_USCALED, 1952b8e80941Smrg .name = "ISL_FORMAT_R32_USCALED", 1953b8e80941Smrg .bpb = 32, 1954b8e80941Smrg .bw = 1, 1955b8e80941Smrg .bh = 1, 1956b8e80941Smrg .bd = 1, 1957b8e80941Smrg .channels = { 1958b8e80941Smrg .r = { ISL_USCALED, 0, 32 }, 1959b8e80941Smrg .g = {}, 1960b8e80941Smrg .b = {}, 1961b8e80941Smrg .a = {}, 1962b8e80941Smrg .l = {}, 1963b8e80941Smrg .i = {}, 1964b8e80941Smrg .p = {}, 1965b8e80941Smrg }, 1966b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1967b8e80941Smrg .txc = ISL_TXC_NONE, 1968b8e80941Smrg }, 1969b8e80941Smrg 1970b8e80941Smrg [ISL_FORMAT_B5G6R5_UNORM] = { 1971b8e80941Smrg .format = ISL_FORMAT_B5G6R5_UNORM, 1972b8e80941Smrg .name = "ISL_FORMAT_B5G6R5_UNORM", 1973b8e80941Smrg .bpb = 16, 1974b8e80941Smrg .bw = 1, 1975b8e80941Smrg .bh = 1, 1976b8e80941Smrg .bd = 1, 1977b8e80941Smrg .channels = { 1978b8e80941Smrg .r = { ISL_UNORM, 11, 5 }, 1979b8e80941Smrg .g = { ISL_UNORM, 5, 6 }, 1980b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 1981b8e80941Smrg .a = {}, 1982b8e80941Smrg .l = {}, 1983b8e80941Smrg .i = {}, 1984b8e80941Smrg .p = {}, 1985b8e80941Smrg }, 1986b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 1987b8e80941Smrg .txc = ISL_TXC_NONE, 1988b8e80941Smrg }, 1989b8e80941Smrg 1990b8e80941Smrg [ISL_FORMAT_B5G6R5_UNORM_SRGB] = { 1991b8e80941Smrg .format = ISL_FORMAT_B5G6R5_UNORM_SRGB, 1992b8e80941Smrg .name = "ISL_FORMAT_B5G6R5_UNORM_SRGB", 1993b8e80941Smrg .bpb = 16, 1994b8e80941Smrg .bw = 1, 1995b8e80941Smrg .bh = 1, 1996b8e80941Smrg .bd = 1, 1997b8e80941Smrg .channels = { 1998b8e80941Smrg .r = { ISL_UNORM, 11, 5 }, 1999b8e80941Smrg .g = { ISL_UNORM, 5, 6 }, 2000b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 2001b8e80941Smrg .a = {}, 2002b8e80941Smrg .l = {}, 2003b8e80941Smrg .i = {}, 2004b8e80941Smrg .p = {}, 2005b8e80941Smrg }, 2006b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2007b8e80941Smrg .txc = ISL_TXC_NONE, 2008b8e80941Smrg }, 2009b8e80941Smrg 2010b8e80941Smrg [ISL_FORMAT_B5G5R5A1_UNORM] = { 2011b8e80941Smrg .format = ISL_FORMAT_B5G5R5A1_UNORM, 2012b8e80941Smrg .name = "ISL_FORMAT_B5G5R5A1_UNORM", 2013b8e80941Smrg .bpb = 16, 2014b8e80941Smrg .bw = 1, 2015b8e80941Smrg .bh = 1, 2016b8e80941Smrg .bd = 1, 2017b8e80941Smrg .channels = { 2018b8e80941Smrg .r = { ISL_UNORM, 10, 5 }, 2019b8e80941Smrg .g = { ISL_UNORM, 5, 5 }, 2020b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 2021b8e80941Smrg .a = { ISL_UNORM, 15, 1 }, 2022b8e80941Smrg .l = {}, 2023b8e80941Smrg .i = {}, 2024b8e80941Smrg .p = {}, 2025b8e80941Smrg }, 2026b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2027b8e80941Smrg .txc = ISL_TXC_NONE, 2028b8e80941Smrg }, 2029b8e80941Smrg 2030b8e80941Smrg [ISL_FORMAT_B5G5R5A1_UNORM_SRGB] = { 2031b8e80941Smrg .format = ISL_FORMAT_B5G5R5A1_UNORM_SRGB, 2032b8e80941Smrg .name = "ISL_FORMAT_B5G5R5A1_UNORM_SRGB", 2033b8e80941Smrg .bpb = 16, 2034b8e80941Smrg .bw = 1, 2035b8e80941Smrg .bh = 1, 2036b8e80941Smrg .bd = 1, 2037b8e80941Smrg .channels = { 2038b8e80941Smrg .r = { ISL_UNORM, 10, 5 }, 2039b8e80941Smrg .g = { ISL_UNORM, 5, 5 }, 2040b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 2041b8e80941Smrg .a = { ISL_UNORM, 15, 1 }, 2042b8e80941Smrg .l = {}, 2043b8e80941Smrg .i = {}, 2044b8e80941Smrg .p = {}, 2045b8e80941Smrg }, 2046b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2047b8e80941Smrg .txc = ISL_TXC_NONE, 2048b8e80941Smrg }, 2049b8e80941Smrg 2050b8e80941Smrg [ISL_FORMAT_B4G4R4A4_UNORM] = { 2051b8e80941Smrg .format = ISL_FORMAT_B4G4R4A4_UNORM, 2052b8e80941Smrg .name = "ISL_FORMAT_B4G4R4A4_UNORM", 2053b8e80941Smrg .bpb = 16, 2054b8e80941Smrg .bw = 1, 2055b8e80941Smrg .bh = 1, 2056b8e80941Smrg .bd = 1, 2057b8e80941Smrg .channels = { 2058b8e80941Smrg .r = { ISL_UNORM, 8, 4 }, 2059b8e80941Smrg .g = { ISL_UNORM, 4, 4 }, 2060b8e80941Smrg .b = { ISL_UNORM, 0, 4 }, 2061b8e80941Smrg .a = { ISL_UNORM, 12, 4 }, 2062b8e80941Smrg .l = {}, 2063b8e80941Smrg .i = {}, 2064b8e80941Smrg .p = {}, 2065b8e80941Smrg }, 2066b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2067b8e80941Smrg .txc = ISL_TXC_NONE, 2068b8e80941Smrg }, 2069b8e80941Smrg 2070b8e80941Smrg [ISL_FORMAT_B4G4R4A4_UNORM_SRGB] = { 2071b8e80941Smrg .format = ISL_FORMAT_B4G4R4A4_UNORM_SRGB, 2072b8e80941Smrg .name = "ISL_FORMAT_B4G4R4A4_UNORM_SRGB", 2073b8e80941Smrg .bpb = 16, 2074b8e80941Smrg .bw = 1, 2075b8e80941Smrg .bh = 1, 2076b8e80941Smrg .bd = 1, 2077b8e80941Smrg .channels = { 2078b8e80941Smrg .r = { ISL_UNORM, 8, 4 }, 2079b8e80941Smrg .g = { ISL_UNORM, 4, 4 }, 2080b8e80941Smrg .b = { ISL_UNORM, 0, 4 }, 2081b8e80941Smrg .a = { ISL_UNORM, 12, 4 }, 2082b8e80941Smrg .l = {}, 2083b8e80941Smrg .i = {}, 2084b8e80941Smrg .p = {}, 2085b8e80941Smrg }, 2086b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2087b8e80941Smrg .txc = ISL_TXC_NONE, 2088b8e80941Smrg }, 2089b8e80941Smrg 2090b8e80941Smrg [ISL_FORMAT_R8G8_UNORM] = { 2091b8e80941Smrg .format = ISL_FORMAT_R8G8_UNORM, 2092b8e80941Smrg .name = "ISL_FORMAT_R8G8_UNORM", 2093b8e80941Smrg .bpb = 16, 2094b8e80941Smrg .bw = 1, 2095b8e80941Smrg .bh = 1, 2096b8e80941Smrg .bd = 1, 2097b8e80941Smrg .channels = { 2098b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 2099b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 2100b8e80941Smrg .b = {}, 2101b8e80941Smrg .a = {}, 2102b8e80941Smrg .l = {}, 2103b8e80941Smrg .i = {}, 2104b8e80941Smrg .p = {}, 2105b8e80941Smrg }, 2106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2107b8e80941Smrg .txc = ISL_TXC_NONE, 2108b8e80941Smrg }, 2109b8e80941Smrg 2110b8e80941Smrg [ISL_FORMAT_R8G8_SNORM] = { 2111b8e80941Smrg .format = ISL_FORMAT_R8G8_SNORM, 2112b8e80941Smrg .name = "ISL_FORMAT_R8G8_SNORM", 2113b8e80941Smrg .bpb = 16, 2114b8e80941Smrg .bw = 1, 2115b8e80941Smrg .bh = 1, 2116b8e80941Smrg .bd = 1, 2117b8e80941Smrg .channels = { 2118b8e80941Smrg .r = { ISL_SNORM, 0, 8 }, 2119b8e80941Smrg .g = { ISL_SNORM, 8, 8 }, 2120b8e80941Smrg .b = {}, 2121b8e80941Smrg .a = {}, 2122b8e80941Smrg .l = {}, 2123b8e80941Smrg .i = {}, 2124b8e80941Smrg .p = {}, 2125b8e80941Smrg }, 2126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2127b8e80941Smrg .txc = ISL_TXC_NONE, 2128b8e80941Smrg }, 2129b8e80941Smrg 2130b8e80941Smrg [ISL_FORMAT_R8G8_SINT] = { 2131b8e80941Smrg .format = ISL_FORMAT_R8G8_SINT, 2132b8e80941Smrg .name = "ISL_FORMAT_R8G8_SINT", 2133b8e80941Smrg .bpb = 16, 2134b8e80941Smrg .bw = 1, 2135b8e80941Smrg .bh = 1, 2136b8e80941Smrg .bd = 1, 2137b8e80941Smrg .channels = { 2138b8e80941Smrg .r = { ISL_SINT, 0, 8 }, 2139b8e80941Smrg .g = { ISL_SINT, 8, 8 }, 2140b8e80941Smrg .b = {}, 2141b8e80941Smrg .a = {}, 2142b8e80941Smrg .l = {}, 2143b8e80941Smrg .i = {}, 2144b8e80941Smrg .p = {}, 2145b8e80941Smrg }, 2146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2147b8e80941Smrg .txc = ISL_TXC_NONE, 2148b8e80941Smrg }, 2149b8e80941Smrg 2150b8e80941Smrg [ISL_FORMAT_R8G8_UINT] = { 2151b8e80941Smrg .format = ISL_FORMAT_R8G8_UINT, 2152b8e80941Smrg .name = "ISL_FORMAT_R8G8_UINT", 2153b8e80941Smrg .bpb = 16, 2154b8e80941Smrg .bw = 1, 2155b8e80941Smrg .bh = 1, 2156b8e80941Smrg .bd = 1, 2157b8e80941Smrg .channels = { 2158b8e80941Smrg .r = { ISL_UINT, 0, 8 }, 2159b8e80941Smrg .g = { ISL_UINT, 8, 8 }, 2160b8e80941Smrg .b = {}, 2161b8e80941Smrg .a = {}, 2162b8e80941Smrg .l = {}, 2163b8e80941Smrg .i = {}, 2164b8e80941Smrg .p = {}, 2165b8e80941Smrg }, 2166b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2167b8e80941Smrg .txc = ISL_TXC_NONE, 2168b8e80941Smrg }, 2169b8e80941Smrg 2170b8e80941Smrg [ISL_FORMAT_R16_UNORM] = { 2171b8e80941Smrg .format = ISL_FORMAT_R16_UNORM, 2172b8e80941Smrg .name = "ISL_FORMAT_R16_UNORM", 2173b8e80941Smrg .bpb = 16, 2174b8e80941Smrg .bw = 1, 2175b8e80941Smrg .bh = 1, 2176b8e80941Smrg .bd = 1, 2177b8e80941Smrg .channels = { 2178b8e80941Smrg .r = { ISL_UNORM, 0, 16 }, 2179b8e80941Smrg .g = {}, 2180b8e80941Smrg .b = {}, 2181b8e80941Smrg .a = {}, 2182b8e80941Smrg .l = {}, 2183b8e80941Smrg .i = {}, 2184b8e80941Smrg .p = {}, 2185b8e80941Smrg }, 2186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2187b8e80941Smrg .txc = ISL_TXC_NONE, 2188b8e80941Smrg }, 2189b8e80941Smrg 2190b8e80941Smrg [ISL_FORMAT_R16_SNORM] = { 2191b8e80941Smrg .format = ISL_FORMAT_R16_SNORM, 2192b8e80941Smrg .name = "ISL_FORMAT_R16_SNORM", 2193b8e80941Smrg .bpb = 16, 2194b8e80941Smrg .bw = 1, 2195b8e80941Smrg .bh = 1, 2196b8e80941Smrg .bd = 1, 2197b8e80941Smrg .channels = { 2198b8e80941Smrg .r = { ISL_SNORM, 0, 16 }, 2199b8e80941Smrg .g = {}, 2200b8e80941Smrg .b = {}, 2201b8e80941Smrg .a = {}, 2202b8e80941Smrg .l = {}, 2203b8e80941Smrg .i = {}, 2204b8e80941Smrg .p = {}, 2205b8e80941Smrg }, 2206b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2207b8e80941Smrg .txc = ISL_TXC_NONE, 2208b8e80941Smrg }, 2209b8e80941Smrg 2210b8e80941Smrg [ISL_FORMAT_R16_SINT] = { 2211b8e80941Smrg .format = ISL_FORMAT_R16_SINT, 2212b8e80941Smrg .name = "ISL_FORMAT_R16_SINT", 2213b8e80941Smrg .bpb = 16, 2214b8e80941Smrg .bw = 1, 2215b8e80941Smrg .bh = 1, 2216b8e80941Smrg .bd = 1, 2217b8e80941Smrg .channels = { 2218b8e80941Smrg .r = { ISL_SINT, 0, 16 }, 2219b8e80941Smrg .g = {}, 2220b8e80941Smrg .b = {}, 2221b8e80941Smrg .a = {}, 2222b8e80941Smrg .l = {}, 2223b8e80941Smrg .i = {}, 2224b8e80941Smrg .p = {}, 2225b8e80941Smrg }, 2226b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2227b8e80941Smrg .txc = ISL_TXC_NONE, 2228b8e80941Smrg }, 2229b8e80941Smrg 2230b8e80941Smrg [ISL_FORMAT_R16_UINT] = { 2231b8e80941Smrg .format = ISL_FORMAT_R16_UINT, 2232b8e80941Smrg .name = "ISL_FORMAT_R16_UINT", 2233b8e80941Smrg .bpb = 16, 2234b8e80941Smrg .bw = 1, 2235b8e80941Smrg .bh = 1, 2236b8e80941Smrg .bd = 1, 2237b8e80941Smrg .channels = { 2238b8e80941Smrg .r = { ISL_UINT, 0, 16 }, 2239b8e80941Smrg .g = {}, 2240b8e80941Smrg .b = {}, 2241b8e80941Smrg .a = {}, 2242b8e80941Smrg .l = {}, 2243b8e80941Smrg .i = {}, 2244b8e80941Smrg .p = {}, 2245b8e80941Smrg }, 2246b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2247b8e80941Smrg .txc = ISL_TXC_NONE, 2248b8e80941Smrg }, 2249b8e80941Smrg 2250b8e80941Smrg [ISL_FORMAT_R16_FLOAT] = { 2251b8e80941Smrg .format = ISL_FORMAT_R16_FLOAT, 2252b8e80941Smrg .name = "ISL_FORMAT_R16_FLOAT", 2253b8e80941Smrg .bpb = 16, 2254b8e80941Smrg .bw = 1, 2255b8e80941Smrg .bh = 1, 2256b8e80941Smrg .bd = 1, 2257b8e80941Smrg .channels = { 2258b8e80941Smrg .r = { ISL_SFLOAT, 0, 16 }, 2259b8e80941Smrg .g = {}, 2260b8e80941Smrg .b = {}, 2261b8e80941Smrg .a = {}, 2262b8e80941Smrg .l = {}, 2263b8e80941Smrg .i = {}, 2264b8e80941Smrg .p = {}, 2265b8e80941Smrg }, 2266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2267b8e80941Smrg .txc = ISL_TXC_NONE, 2268b8e80941Smrg }, 2269b8e80941Smrg 2270b8e80941Smrg [ISL_FORMAT_A8P8_UNORM_PALETTE0] = { 2271b8e80941Smrg .format = ISL_FORMAT_A8P8_UNORM_PALETTE0, 2272b8e80941Smrg .name = "ISL_FORMAT_A8P8_UNORM_PALETTE0", 2273b8e80941Smrg .bpb = 16, 2274b8e80941Smrg .bw = 1, 2275b8e80941Smrg .bh = 1, 2276b8e80941Smrg .bd = 1, 2277b8e80941Smrg .channels = { 2278b8e80941Smrg .r = {}, 2279b8e80941Smrg .g = {}, 2280b8e80941Smrg .b = {}, 2281b8e80941Smrg .a = { ISL_UNORM, 0, 8 }, 2282b8e80941Smrg .l = {}, 2283b8e80941Smrg .i = {}, 2284b8e80941Smrg .p = { ISL_UNORM, 8, 8 }, 2285b8e80941Smrg }, 2286b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2287b8e80941Smrg .txc = ISL_TXC_NONE, 2288b8e80941Smrg }, 2289b8e80941Smrg 2290b8e80941Smrg [ISL_FORMAT_A8P8_UNORM_PALETTE1] = { 2291b8e80941Smrg .format = ISL_FORMAT_A8P8_UNORM_PALETTE1, 2292b8e80941Smrg .name = "ISL_FORMAT_A8P8_UNORM_PALETTE1", 2293b8e80941Smrg .bpb = 16, 2294b8e80941Smrg .bw = 1, 2295b8e80941Smrg .bh = 1, 2296b8e80941Smrg .bd = 1, 2297b8e80941Smrg .channels = { 2298b8e80941Smrg .r = {}, 2299b8e80941Smrg .g = {}, 2300b8e80941Smrg .b = {}, 2301b8e80941Smrg .a = { ISL_UNORM, 0, 8 }, 2302b8e80941Smrg .l = {}, 2303b8e80941Smrg .i = {}, 2304b8e80941Smrg .p = { ISL_UNORM, 8, 8 }, 2305b8e80941Smrg }, 2306b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2307b8e80941Smrg .txc = ISL_TXC_NONE, 2308b8e80941Smrg }, 2309b8e80941Smrg 2310b8e80941Smrg [ISL_FORMAT_I16_UNORM] = { 2311b8e80941Smrg .format = ISL_FORMAT_I16_UNORM, 2312b8e80941Smrg .name = "ISL_FORMAT_I16_UNORM", 2313b8e80941Smrg .bpb = 16, 2314b8e80941Smrg .bw = 1, 2315b8e80941Smrg .bh = 1, 2316b8e80941Smrg .bd = 1, 2317b8e80941Smrg .channels = { 2318b8e80941Smrg .r = {}, 2319b8e80941Smrg .g = {}, 2320b8e80941Smrg .b = {}, 2321b8e80941Smrg .a = {}, 2322b8e80941Smrg .l = {}, 2323b8e80941Smrg .i = { ISL_UNORM, 0, 16 }, 2324b8e80941Smrg .p = {}, 2325b8e80941Smrg }, 2326b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2327b8e80941Smrg .txc = ISL_TXC_NONE, 2328b8e80941Smrg }, 2329b8e80941Smrg 2330b8e80941Smrg [ISL_FORMAT_L16_UNORM] = { 2331b8e80941Smrg .format = ISL_FORMAT_L16_UNORM, 2332b8e80941Smrg .name = "ISL_FORMAT_L16_UNORM", 2333b8e80941Smrg .bpb = 16, 2334b8e80941Smrg .bw = 1, 2335b8e80941Smrg .bh = 1, 2336b8e80941Smrg .bd = 1, 2337b8e80941Smrg .channels = { 2338b8e80941Smrg .r = {}, 2339b8e80941Smrg .g = {}, 2340b8e80941Smrg .b = {}, 2341b8e80941Smrg .a = {}, 2342b8e80941Smrg .l = { ISL_UNORM, 0, 16 }, 2343b8e80941Smrg .i = {}, 2344b8e80941Smrg .p = {}, 2345b8e80941Smrg }, 2346b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2347b8e80941Smrg .txc = ISL_TXC_NONE, 2348b8e80941Smrg }, 2349b8e80941Smrg 2350b8e80941Smrg [ISL_FORMAT_A16_UNORM] = { 2351b8e80941Smrg .format = ISL_FORMAT_A16_UNORM, 2352b8e80941Smrg .name = "ISL_FORMAT_A16_UNORM", 2353b8e80941Smrg .bpb = 16, 2354b8e80941Smrg .bw = 1, 2355b8e80941Smrg .bh = 1, 2356b8e80941Smrg .bd = 1, 2357b8e80941Smrg .channels = { 2358b8e80941Smrg .r = {}, 2359b8e80941Smrg .g = {}, 2360b8e80941Smrg .b = {}, 2361b8e80941Smrg .a = { ISL_UNORM, 0, 16 }, 2362b8e80941Smrg .l = {}, 2363b8e80941Smrg .i = {}, 2364b8e80941Smrg .p = {}, 2365b8e80941Smrg }, 2366b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2367b8e80941Smrg .txc = ISL_TXC_NONE, 2368b8e80941Smrg }, 2369b8e80941Smrg 2370b8e80941Smrg [ISL_FORMAT_L8A8_UNORM] = { 2371b8e80941Smrg .format = ISL_FORMAT_L8A8_UNORM, 2372b8e80941Smrg .name = "ISL_FORMAT_L8A8_UNORM", 2373b8e80941Smrg .bpb = 16, 2374b8e80941Smrg .bw = 1, 2375b8e80941Smrg .bh = 1, 2376b8e80941Smrg .bd = 1, 2377b8e80941Smrg .channels = { 2378b8e80941Smrg .r = {}, 2379b8e80941Smrg .g = {}, 2380b8e80941Smrg .b = {}, 2381b8e80941Smrg .a = { ISL_UNORM, 8, 8 }, 2382b8e80941Smrg .l = { ISL_UNORM, 0, 8 }, 2383b8e80941Smrg .i = {}, 2384b8e80941Smrg .p = {}, 2385b8e80941Smrg }, 2386b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2387b8e80941Smrg .txc = ISL_TXC_NONE, 2388b8e80941Smrg }, 2389b8e80941Smrg 2390b8e80941Smrg [ISL_FORMAT_I16_FLOAT] = { 2391b8e80941Smrg .format = ISL_FORMAT_I16_FLOAT, 2392b8e80941Smrg .name = "ISL_FORMAT_I16_FLOAT", 2393b8e80941Smrg .bpb = 16, 2394b8e80941Smrg .bw = 1, 2395b8e80941Smrg .bh = 1, 2396b8e80941Smrg .bd = 1, 2397b8e80941Smrg .channels = { 2398b8e80941Smrg .r = {}, 2399b8e80941Smrg .g = {}, 2400b8e80941Smrg .b = {}, 2401b8e80941Smrg .a = {}, 2402b8e80941Smrg .l = {}, 2403b8e80941Smrg .i = { ISL_SFLOAT, 0, 16 }, 2404b8e80941Smrg .p = {}, 2405b8e80941Smrg }, 2406b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2407b8e80941Smrg .txc = ISL_TXC_NONE, 2408b8e80941Smrg }, 2409b8e80941Smrg 2410b8e80941Smrg [ISL_FORMAT_L16_FLOAT] = { 2411b8e80941Smrg .format = ISL_FORMAT_L16_FLOAT, 2412b8e80941Smrg .name = "ISL_FORMAT_L16_FLOAT", 2413b8e80941Smrg .bpb = 16, 2414b8e80941Smrg .bw = 1, 2415b8e80941Smrg .bh = 1, 2416b8e80941Smrg .bd = 1, 2417b8e80941Smrg .channels = { 2418b8e80941Smrg .r = {}, 2419b8e80941Smrg .g = {}, 2420b8e80941Smrg .b = {}, 2421b8e80941Smrg .a = {}, 2422b8e80941Smrg .l = { ISL_SFLOAT, 0, 16 }, 2423b8e80941Smrg .i = {}, 2424b8e80941Smrg .p = {}, 2425b8e80941Smrg }, 2426b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2427b8e80941Smrg .txc = ISL_TXC_NONE, 2428b8e80941Smrg }, 2429b8e80941Smrg 2430b8e80941Smrg [ISL_FORMAT_A16_FLOAT] = { 2431b8e80941Smrg .format = ISL_FORMAT_A16_FLOAT, 2432b8e80941Smrg .name = "ISL_FORMAT_A16_FLOAT", 2433b8e80941Smrg .bpb = 16, 2434b8e80941Smrg .bw = 1, 2435b8e80941Smrg .bh = 1, 2436b8e80941Smrg .bd = 1, 2437b8e80941Smrg .channels = { 2438b8e80941Smrg .r = {}, 2439b8e80941Smrg .g = {}, 2440b8e80941Smrg .b = {}, 2441b8e80941Smrg .a = { ISL_SFLOAT, 0, 16 }, 2442b8e80941Smrg .l = {}, 2443b8e80941Smrg .i = {}, 2444b8e80941Smrg .p = {}, 2445b8e80941Smrg }, 2446b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2447b8e80941Smrg .txc = ISL_TXC_NONE, 2448b8e80941Smrg }, 2449b8e80941Smrg 2450b8e80941Smrg [ISL_FORMAT_L8A8_UNORM_SRGB] = { 2451b8e80941Smrg .format = ISL_FORMAT_L8A8_UNORM_SRGB, 2452b8e80941Smrg .name = "ISL_FORMAT_L8A8_UNORM_SRGB", 2453b8e80941Smrg .bpb = 16, 2454b8e80941Smrg .bw = 1, 2455b8e80941Smrg .bh = 1, 2456b8e80941Smrg .bd = 1, 2457b8e80941Smrg .channels = { 2458b8e80941Smrg .r = {}, 2459b8e80941Smrg .g = {}, 2460b8e80941Smrg .b = {}, 2461b8e80941Smrg .a = { ISL_UNORM, 8, 8 }, 2462b8e80941Smrg .l = { ISL_UNORM, 0, 8 }, 2463b8e80941Smrg .i = {}, 2464b8e80941Smrg .p = {}, 2465b8e80941Smrg }, 2466b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2467b8e80941Smrg .txc = ISL_TXC_NONE, 2468b8e80941Smrg }, 2469b8e80941Smrg 2470b8e80941Smrg [ISL_FORMAT_R5G5_SNORM_B6_UNORM] = { 2471b8e80941Smrg .format = ISL_FORMAT_R5G5_SNORM_B6_UNORM, 2472b8e80941Smrg .name = "ISL_FORMAT_R5G5_SNORM_B6_UNORM", 2473b8e80941Smrg .bpb = 16, 2474b8e80941Smrg .bw = 1, 2475b8e80941Smrg .bh = 1, 2476b8e80941Smrg .bd = 1, 2477b8e80941Smrg .channels = { 2478b8e80941Smrg .r = { ISL_SNORM, 0, 5 }, 2479b8e80941Smrg .g = { ISL_SNORM, 5, 5 }, 2480b8e80941Smrg .b = { ISL_UNORM, 10, 6 }, 2481b8e80941Smrg .a = {}, 2482b8e80941Smrg .l = {}, 2483b8e80941Smrg .i = {}, 2484b8e80941Smrg .p = {}, 2485b8e80941Smrg }, 2486b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2487b8e80941Smrg .txc = ISL_TXC_NONE, 2488b8e80941Smrg }, 2489b8e80941Smrg 2490b8e80941Smrg [ISL_FORMAT_B5G5R5X1_UNORM] = { 2491b8e80941Smrg .format = ISL_FORMAT_B5G5R5X1_UNORM, 2492b8e80941Smrg .name = "ISL_FORMAT_B5G5R5X1_UNORM", 2493b8e80941Smrg .bpb = 16, 2494b8e80941Smrg .bw = 1, 2495b8e80941Smrg .bh = 1, 2496b8e80941Smrg .bd = 1, 2497b8e80941Smrg .channels = { 2498b8e80941Smrg .r = { ISL_UNORM, 10, 5 }, 2499b8e80941Smrg .g = { ISL_UNORM, 5, 5 }, 2500b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 2501b8e80941Smrg .a = { ISL_VOID, 15, 1 }, 2502b8e80941Smrg .l = {}, 2503b8e80941Smrg .i = {}, 2504b8e80941Smrg .p = {}, 2505b8e80941Smrg }, 2506b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2507b8e80941Smrg .txc = ISL_TXC_NONE, 2508b8e80941Smrg }, 2509b8e80941Smrg 2510b8e80941Smrg [ISL_FORMAT_B5G5R5X1_UNORM_SRGB] = { 2511b8e80941Smrg .format = ISL_FORMAT_B5G5R5X1_UNORM_SRGB, 2512b8e80941Smrg .name = "ISL_FORMAT_B5G5R5X1_UNORM_SRGB", 2513b8e80941Smrg .bpb = 16, 2514b8e80941Smrg .bw = 1, 2515b8e80941Smrg .bh = 1, 2516b8e80941Smrg .bd = 1, 2517b8e80941Smrg .channels = { 2518b8e80941Smrg .r = { ISL_UNORM, 10, 5 }, 2519b8e80941Smrg .g = { ISL_UNORM, 5, 5 }, 2520b8e80941Smrg .b = { ISL_UNORM, 0, 5 }, 2521b8e80941Smrg .a = { ISL_VOID, 15, 1 }, 2522b8e80941Smrg .l = {}, 2523b8e80941Smrg .i = {}, 2524b8e80941Smrg .p = {}, 2525b8e80941Smrg }, 2526b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2527b8e80941Smrg .txc = ISL_TXC_NONE, 2528b8e80941Smrg }, 2529b8e80941Smrg 2530b8e80941Smrg [ISL_FORMAT_R8G8_SSCALED] = { 2531b8e80941Smrg .format = ISL_FORMAT_R8G8_SSCALED, 2532b8e80941Smrg .name = "ISL_FORMAT_R8G8_SSCALED", 2533b8e80941Smrg .bpb = 16, 2534b8e80941Smrg .bw = 1, 2535b8e80941Smrg .bh = 1, 2536b8e80941Smrg .bd = 1, 2537b8e80941Smrg .channels = { 2538b8e80941Smrg .r = { ISL_SSCALED, 0, 8 }, 2539b8e80941Smrg .g = { ISL_SSCALED, 8, 8 }, 2540b8e80941Smrg .b = {}, 2541b8e80941Smrg .a = {}, 2542b8e80941Smrg .l = {}, 2543b8e80941Smrg .i = {}, 2544b8e80941Smrg .p = {}, 2545b8e80941Smrg }, 2546b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2547b8e80941Smrg .txc = ISL_TXC_NONE, 2548b8e80941Smrg }, 2549b8e80941Smrg 2550b8e80941Smrg [ISL_FORMAT_R8G8_USCALED] = { 2551b8e80941Smrg .format = ISL_FORMAT_R8G8_USCALED, 2552b8e80941Smrg .name = "ISL_FORMAT_R8G8_USCALED", 2553b8e80941Smrg .bpb = 16, 2554b8e80941Smrg .bw = 1, 2555b8e80941Smrg .bh = 1, 2556b8e80941Smrg .bd = 1, 2557b8e80941Smrg .channels = { 2558b8e80941Smrg .r = { ISL_USCALED, 0, 8 }, 2559b8e80941Smrg .g = { ISL_USCALED, 8, 8 }, 2560b8e80941Smrg .b = {}, 2561b8e80941Smrg .a = {}, 2562b8e80941Smrg .l = {}, 2563b8e80941Smrg .i = {}, 2564b8e80941Smrg .p = {}, 2565b8e80941Smrg }, 2566b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2567b8e80941Smrg .txc = ISL_TXC_NONE, 2568b8e80941Smrg }, 2569b8e80941Smrg 2570b8e80941Smrg [ISL_FORMAT_R16_SSCALED] = { 2571b8e80941Smrg .format = ISL_FORMAT_R16_SSCALED, 2572b8e80941Smrg .name = "ISL_FORMAT_R16_SSCALED", 2573b8e80941Smrg .bpb = 16, 2574b8e80941Smrg .bw = 1, 2575b8e80941Smrg .bh = 1, 2576b8e80941Smrg .bd = 1, 2577b8e80941Smrg .channels = { 2578b8e80941Smrg .r = { ISL_SSCALED, 0, 16 }, 2579b8e80941Smrg .g = {}, 2580b8e80941Smrg .b = {}, 2581b8e80941Smrg .a = {}, 2582b8e80941Smrg .l = {}, 2583b8e80941Smrg .i = {}, 2584b8e80941Smrg .p = {}, 2585b8e80941Smrg }, 2586b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2587b8e80941Smrg .txc = ISL_TXC_NONE, 2588b8e80941Smrg }, 2589b8e80941Smrg 2590b8e80941Smrg [ISL_FORMAT_R16_USCALED] = { 2591b8e80941Smrg .format = ISL_FORMAT_R16_USCALED, 2592b8e80941Smrg .name = "ISL_FORMAT_R16_USCALED", 2593b8e80941Smrg .bpb = 16, 2594b8e80941Smrg .bw = 1, 2595b8e80941Smrg .bh = 1, 2596b8e80941Smrg .bd = 1, 2597b8e80941Smrg .channels = { 2598b8e80941Smrg .r = { ISL_USCALED, 0, 16 }, 2599b8e80941Smrg .g = {}, 2600b8e80941Smrg .b = {}, 2601b8e80941Smrg .a = {}, 2602b8e80941Smrg .l = {}, 2603b8e80941Smrg .i = {}, 2604b8e80941Smrg .p = {}, 2605b8e80941Smrg }, 2606b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2607b8e80941Smrg .txc = ISL_TXC_NONE, 2608b8e80941Smrg }, 2609b8e80941Smrg 2610b8e80941Smrg [ISL_FORMAT_P8A8_UNORM_PALETTE0] = { 2611b8e80941Smrg .format = ISL_FORMAT_P8A8_UNORM_PALETTE0, 2612b8e80941Smrg .name = "ISL_FORMAT_P8A8_UNORM_PALETTE0", 2613b8e80941Smrg .bpb = 16, 2614b8e80941Smrg .bw = 1, 2615b8e80941Smrg .bh = 1, 2616b8e80941Smrg .bd = 1, 2617b8e80941Smrg .channels = { 2618b8e80941Smrg .r = {}, 2619b8e80941Smrg .g = {}, 2620b8e80941Smrg .b = {}, 2621b8e80941Smrg .a = { ISL_UNORM, 8, 8 }, 2622b8e80941Smrg .l = {}, 2623b8e80941Smrg .i = {}, 2624b8e80941Smrg .p = { ISL_UNORM, 0, 8 }, 2625b8e80941Smrg }, 2626b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2627b8e80941Smrg .txc = ISL_TXC_NONE, 2628b8e80941Smrg }, 2629b8e80941Smrg 2630b8e80941Smrg [ISL_FORMAT_P8A8_UNORM_PALETTE1] = { 2631b8e80941Smrg .format = ISL_FORMAT_P8A8_UNORM_PALETTE1, 2632b8e80941Smrg .name = "ISL_FORMAT_P8A8_UNORM_PALETTE1", 2633b8e80941Smrg .bpb = 16, 2634b8e80941Smrg .bw = 1, 2635b8e80941Smrg .bh = 1, 2636b8e80941Smrg .bd = 1, 2637b8e80941Smrg .channels = { 2638b8e80941Smrg .r = {}, 2639b8e80941Smrg .g = {}, 2640b8e80941Smrg .b = {}, 2641b8e80941Smrg .a = { ISL_UNORM, 8, 8 }, 2642b8e80941Smrg .l = {}, 2643b8e80941Smrg .i = {}, 2644b8e80941Smrg .p = { ISL_UNORM, 0, 8 }, 2645b8e80941Smrg }, 2646b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2647b8e80941Smrg .txc = ISL_TXC_NONE, 2648b8e80941Smrg }, 2649b8e80941Smrg 2650b8e80941Smrg [ISL_FORMAT_A1B5G5R5_UNORM] = { 2651b8e80941Smrg .format = ISL_FORMAT_A1B5G5R5_UNORM, 2652b8e80941Smrg .name = "ISL_FORMAT_A1B5G5R5_UNORM", 2653b8e80941Smrg .bpb = 16, 2654b8e80941Smrg .bw = 1, 2655b8e80941Smrg .bh = 1, 2656b8e80941Smrg .bd = 1, 2657b8e80941Smrg .channels = { 2658b8e80941Smrg .r = { ISL_UNORM, 11, 5 }, 2659b8e80941Smrg .g = { ISL_UNORM, 6, 5 }, 2660b8e80941Smrg .b = { ISL_UNORM, 1, 5 }, 2661b8e80941Smrg .a = { ISL_UNORM, 0, 1 }, 2662b8e80941Smrg .l = {}, 2663b8e80941Smrg .i = {}, 2664b8e80941Smrg .p = {}, 2665b8e80941Smrg }, 2666b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2667b8e80941Smrg .txc = ISL_TXC_NONE, 2668b8e80941Smrg }, 2669b8e80941Smrg 2670b8e80941Smrg [ISL_FORMAT_A4B4G4R4_UNORM] = { 2671b8e80941Smrg .format = ISL_FORMAT_A4B4G4R4_UNORM, 2672b8e80941Smrg .name = "ISL_FORMAT_A4B4G4R4_UNORM", 2673b8e80941Smrg .bpb = 16, 2674b8e80941Smrg .bw = 1, 2675b8e80941Smrg .bh = 1, 2676b8e80941Smrg .bd = 1, 2677b8e80941Smrg .channels = { 2678b8e80941Smrg .r = { ISL_UNORM, 12, 4 }, 2679b8e80941Smrg .g = { ISL_UNORM, 8, 4 }, 2680b8e80941Smrg .b = { ISL_UNORM, 4, 4 }, 2681b8e80941Smrg .a = { ISL_UNORM, 0, 4 }, 2682b8e80941Smrg .l = {}, 2683b8e80941Smrg .i = {}, 2684b8e80941Smrg .p = {}, 2685b8e80941Smrg }, 2686b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2687b8e80941Smrg .txc = ISL_TXC_NONE, 2688b8e80941Smrg }, 2689b8e80941Smrg 2690b8e80941Smrg [ISL_FORMAT_L8A8_UINT] = { 2691b8e80941Smrg .format = ISL_FORMAT_L8A8_UINT, 2692b8e80941Smrg .name = "ISL_FORMAT_L8A8_UINT", 2693b8e80941Smrg .bpb = 16, 2694b8e80941Smrg .bw = 1, 2695b8e80941Smrg .bh = 1, 2696b8e80941Smrg .bd = 1, 2697b8e80941Smrg .channels = { 2698b8e80941Smrg .r = {}, 2699b8e80941Smrg .g = {}, 2700b8e80941Smrg .b = {}, 2701b8e80941Smrg .a = { ISL_UINT, 8, 8 }, 2702b8e80941Smrg .l = { ISL_UINT, 0, 8 }, 2703b8e80941Smrg .i = {}, 2704b8e80941Smrg .p = {}, 2705b8e80941Smrg }, 2706b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2707b8e80941Smrg .txc = ISL_TXC_NONE, 2708b8e80941Smrg }, 2709b8e80941Smrg 2710b8e80941Smrg [ISL_FORMAT_L8A8_SINT] = { 2711b8e80941Smrg .format = ISL_FORMAT_L8A8_SINT, 2712b8e80941Smrg .name = "ISL_FORMAT_L8A8_SINT", 2713b8e80941Smrg .bpb = 16, 2714b8e80941Smrg .bw = 1, 2715b8e80941Smrg .bh = 1, 2716b8e80941Smrg .bd = 1, 2717b8e80941Smrg .channels = { 2718b8e80941Smrg .r = {}, 2719b8e80941Smrg .g = {}, 2720b8e80941Smrg .b = {}, 2721b8e80941Smrg .a = { ISL_SINT, 8, 8 }, 2722b8e80941Smrg .l = { ISL_SINT, 0, 8 }, 2723b8e80941Smrg .i = {}, 2724b8e80941Smrg .p = {}, 2725b8e80941Smrg }, 2726b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2727b8e80941Smrg .txc = ISL_TXC_NONE, 2728b8e80941Smrg }, 2729b8e80941Smrg 2730b8e80941Smrg [ISL_FORMAT_R8_UNORM] = { 2731b8e80941Smrg .format = ISL_FORMAT_R8_UNORM, 2732b8e80941Smrg .name = "ISL_FORMAT_R8_UNORM", 2733b8e80941Smrg .bpb = 8, 2734b8e80941Smrg .bw = 1, 2735b8e80941Smrg .bh = 1, 2736b8e80941Smrg .bd = 1, 2737b8e80941Smrg .channels = { 2738b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 2739b8e80941Smrg .g = {}, 2740b8e80941Smrg .b = {}, 2741b8e80941Smrg .a = {}, 2742b8e80941Smrg .l = {}, 2743b8e80941Smrg .i = {}, 2744b8e80941Smrg .p = {}, 2745b8e80941Smrg }, 2746b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2747b8e80941Smrg .txc = ISL_TXC_NONE, 2748b8e80941Smrg }, 2749b8e80941Smrg 2750b8e80941Smrg [ISL_FORMAT_R8_SNORM] = { 2751b8e80941Smrg .format = ISL_FORMAT_R8_SNORM, 2752b8e80941Smrg .name = "ISL_FORMAT_R8_SNORM", 2753b8e80941Smrg .bpb = 8, 2754b8e80941Smrg .bw = 1, 2755b8e80941Smrg .bh = 1, 2756b8e80941Smrg .bd = 1, 2757b8e80941Smrg .channels = { 2758b8e80941Smrg .r = { ISL_SNORM, 0, 8 }, 2759b8e80941Smrg .g = {}, 2760b8e80941Smrg .b = {}, 2761b8e80941Smrg .a = {}, 2762b8e80941Smrg .l = {}, 2763b8e80941Smrg .i = {}, 2764b8e80941Smrg .p = {}, 2765b8e80941Smrg }, 2766b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2767b8e80941Smrg .txc = ISL_TXC_NONE, 2768b8e80941Smrg }, 2769b8e80941Smrg 2770b8e80941Smrg [ISL_FORMAT_R8_SINT] = { 2771b8e80941Smrg .format = ISL_FORMAT_R8_SINT, 2772b8e80941Smrg .name = "ISL_FORMAT_R8_SINT", 2773b8e80941Smrg .bpb = 8, 2774b8e80941Smrg .bw = 1, 2775b8e80941Smrg .bh = 1, 2776b8e80941Smrg .bd = 1, 2777b8e80941Smrg .channels = { 2778b8e80941Smrg .r = { ISL_SINT, 0, 8 }, 2779b8e80941Smrg .g = {}, 2780b8e80941Smrg .b = {}, 2781b8e80941Smrg .a = {}, 2782b8e80941Smrg .l = {}, 2783b8e80941Smrg .i = {}, 2784b8e80941Smrg .p = {}, 2785b8e80941Smrg }, 2786b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2787b8e80941Smrg .txc = ISL_TXC_NONE, 2788b8e80941Smrg }, 2789b8e80941Smrg 2790b8e80941Smrg [ISL_FORMAT_R8_UINT] = { 2791b8e80941Smrg .format = ISL_FORMAT_R8_UINT, 2792b8e80941Smrg .name = "ISL_FORMAT_R8_UINT", 2793b8e80941Smrg .bpb = 8, 2794b8e80941Smrg .bw = 1, 2795b8e80941Smrg .bh = 1, 2796b8e80941Smrg .bd = 1, 2797b8e80941Smrg .channels = { 2798b8e80941Smrg .r = { ISL_UINT, 0, 8 }, 2799b8e80941Smrg .g = {}, 2800b8e80941Smrg .b = {}, 2801b8e80941Smrg .a = {}, 2802b8e80941Smrg .l = {}, 2803b8e80941Smrg .i = {}, 2804b8e80941Smrg .p = {}, 2805b8e80941Smrg }, 2806b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2807b8e80941Smrg .txc = ISL_TXC_NONE, 2808b8e80941Smrg }, 2809b8e80941Smrg 2810b8e80941Smrg [ISL_FORMAT_A8_UNORM] = { 2811b8e80941Smrg .format = ISL_FORMAT_A8_UNORM, 2812b8e80941Smrg .name = "ISL_FORMAT_A8_UNORM", 2813b8e80941Smrg .bpb = 8, 2814b8e80941Smrg .bw = 1, 2815b8e80941Smrg .bh = 1, 2816b8e80941Smrg .bd = 1, 2817b8e80941Smrg .channels = { 2818b8e80941Smrg .r = {}, 2819b8e80941Smrg .g = {}, 2820b8e80941Smrg .b = {}, 2821b8e80941Smrg .a = { ISL_UNORM, 0, 8 }, 2822b8e80941Smrg .l = {}, 2823b8e80941Smrg .i = {}, 2824b8e80941Smrg .p = {}, 2825b8e80941Smrg }, 2826b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2827b8e80941Smrg .txc = ISL_TXC_NONE, 2828b8e80941Smrg }, 2829b8e80941Smrg 2830b8e80941Smrg [ISL_FORMAT_I8_UNORM] = { 2831b8e80941Smrg .format = ISL_FORMAT_I8_UNORM, 2832b8e80941Smrg .name = "ISL_FORMAT_I8_UNORM", 2833b8e80941Smrg .bpb = 8, 2834b8e80941Smrg .bw = 1, 2835b8e80941Smrg .bh = 1, 2836b8e80941Smrg .bd = 1, 2837b8e80941Smrg .channels = { 2838b8e80941Smrg .r = {}, 2839b8e80941Smrg .g = {}, 2840b8e80941Smrg .b = {}, 2841b8e80941Smrg .a = {}, 2842b8e80941Smrg .l = {}, 2843b8e80941Smrg .i = { ISL_UNORM, 0, 8 }, 2844b8e80941Smrg .p = {}, 2845b8e80941Smrg }, 2846b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2847b8e80941Smrg .txc = ISL_TXC_NONE, 2848b8e80941Smrg }, 2849b8e80941Smrg 2850b8e80941Smrg [ISL_FORMAT_L8_UNORM] = { 2851b8e80941Smrg .format = ISL_FORMAT_L8_UNORM, 2852b8e80941Smrg .name = "ISL_FORMAT_L8_UNORM", 2853b8e80941Smrg .bpb = 8, 2854b8e80941Smrg .bw = 1, 2855b8e80941Smrg .bh = 1, 2856b8e80941Smrg .bd = 1, 2857b8e80941Smrg .channels = { 2858b8e80941Smrg .r = {}, 2859b8e80941Smrg .g = {}, 2860b8e80941Smrg .b = {}, 2861b8e80941Smrg .a = {}, 2862b8e80941Smrg .l = { ISL_UNORM, 0, 8 }, 2863b8e80941Smrg .i = {}, 2864b8e80941Smrg .p = {}, 2865b8e80941Smrg }, 2866b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2867b8e80941Smrg .txc = ISL_TXC_NONE, 2868b8e80941Smrg }, 2869b8e80941Smrg 2870b8e80941Smrg [ISL_FORMAT_P4A4_UNORM_PALETTE0] = { 2871b8e80941Smrg .format = ISL_FORMAT_P4A4_UNORM_PALETTE0, 2872b8e80941Smrg .name = "ISL_FORMAT_P4A4_UNORM_PALETTE0", 2873b8e80941Smrg .bpb = 8, 2874b8e80941Smrg .bw = 1, 2875b8e80941Smrg .bh = 1, 2876b8e80941Smrg .bd = 1, 2877b8e80941Smrg .channels = { 2878b8e80941Smrg .r = {}, 2879b8e80941Smrg .g = {}, 2880b8e80941Smrg .b = {}, 2881b8e80941Smrg .a = { ISL_UNORM, 4, 4 }, 2882b8e80941Smrg .l = {}, 2883b8e80941Smrg .i = {}, 2884b8e80941Smrg .p = { ISL_UNORM, 0, 4 }, 2885b8e80941Smrg }, 2886b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2887b8e80941Smrg .txc = ISL_TXC_NONE, 2888b8e80941Smrg }, 2889b8e80941Smrg 2890b8e80941Smrg [ISL_FORMAT_A4P4_UNORM_PALETTE0] = { 2891b8e80941Smrg .format = ISL_FORMAT_A4P4_UNORM_PALETTE0, 2892b8e80941Smrg .name = "ISL_FORMAT_A4P4_UNORM_PALETTE0", 2893b8e80941Smrg .bpb = 8, 2894b8e80941Smrg .bw = 1, 2895b8e80941Smrg .bh = 1, 2896b8e80941Smrg .bd = 1, 2897b8e80941Smrg .channels = { 2898b8e80941Smrg .r = {}, 2899b8e80941Smrg .g = {}, 2900b8e80941Smrg .b = {}, 2901b8e80941Smrg .a = { ISL_UNORM, 0, 4 }, 2902b8e80941Smrg .l = {}, 2903b8e80941Smrg .i = {}, 2904b8e80941Smrg .p = { ISL_UNORM, 4, 4 }, 2905b8e80941Smrg }, 2906b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2907b8e80941Smrg .txc = ISL_TXC_NONE, 2908b8e80941Smrg }, 2909b8e80941Smrg 2910b8e80941Smrg [ISL_FORMAT_R8_SSCALED] = { 2911b8e80941Smrg .format = ISL_FORMAT_R8_SSCALED, 2912b8e80941Smrg .name = "ISL_FORMAT_R8_SSCALED", 2913b8e80941Smrg .bpb = 8, 2914b8e80941Smrg .bw = 1, 2915b8e80941Smrg .bh = 1, 2916b8e80941Smrg .bd = 1, 2917b8e80941Smrg .channels = { 2918b8e80941Smrg .r = { ISL_SSCALED, 0, 8 }, 2919b8e80941Smrg .g = {}, 2920b8e80941Smrg .b = {}, 2921b8e80941Smrg .a = {}, 2922b8e80941Smrg .l = {}, 2923b8e80941Smrg .i = {}, 2924b8e80941Smrg .p = {}, 2925b8e80941Smrg }, 2926b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2927b8e80941Smrg .txc = ISL_TXC_NONE, 2928b8e80941Smrg }, 2929b8e80941Smrg 2930b8e80941Smrg [ISL_FORMAT_R8_USCALED] = { 2931b8e80941Smrg .format = ISL_FORMAT_R8_USCALED, 2932b8e80941Smrg .name = "ISL_FORMAT_R8_USCALED", 2933b8e80941Smrg .bpb = 8, 2934b8e80941Smrg .bw = 1, 2935b8e80941Smrg .bh = 1, 2936b8e80941Smrg .bd = 1, 2937b8e80941Smrg .channels = { 2938b8e80941Smrg .r = { ISL_USCALED, 0, 8 }, 2939b8e80941Smrg .g = {}, 2940b8e80941Smrg .b = {}, 2941b8e80941Smrg .a = {}, 2942b8e80941Smrg .l = {}, 2943b8e80941Smrg .i = {}, 2944b8e80941Smrg .p = {}, 2945b8e80941Smrg }, 2946b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2947b8e80941Smrg .txc = ISL_TXC_NONE, 2948b8e80941Smrg }, 2949b8e80941Smrg 2950b8e80941Smrg [ISL_FORMAT_P8_UNORM_PALETTE0] = { 2951b8e80941Smrg .format = ISL_FORMAT_P8_UNORM_PALETTE0, 2952b8e80941Smrg .name = "ISL_FORMAT_P8_UNORM_PALETTE0", 2953b8e80941Smrg .bpb = 8, 2954b8e80941Smrg .bw = 1, 2955b8e80941Smrg .bh = 1, 2956b8e80941Smrg .bd = 1, 2957b8e80941Smrg .channels = { 2958b8e80941Smrg .r = {}, 2959b8e80941Smrg .g = {}, 2960b8e80941Smrg .b = {}, 2961b8e80941Smrg .a = {}, 2962b8e80941Smrg .l = {}, 2963b8e80941Smrg .i = {}, 2964b8e80941Smrg .p = { ISL_UNORM, 0, 8 }, 2965b8e80941Smrg }, 2966b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 2967b8e80941Smrg .txc = ISL_TXC_NONE, 2968b8e80941Smrg }, 2969b8e80941Smrg 2970b8e80941Smrg [ISL_FORMAT_L8_UNORM_SRGB] = { 2971b8e80941Smrg .format = ISL_FORMAT_L8_UNORM_SRGB, 2972b8e80941Smrg .name = "ISL_FORMAT_L8_UNORM_SRGB", 2973b8e80941Smrg .bpb = 8, 2974b8e80941Smrg .bw = 1, 2975b8e80941Smrg .bh = 1, 2976b8e80941Smrg .bd = 1, 2977b8e80941Smrg .channels = { 2978b8e80941Smrg .r = {}, 2979b8e80941Smrg .g = {}, 2980b8e80941Smrg .b = {}, 2981b8e80941Smrg .a = {}, 2982b8e80941Smrg .l = { ISL_UNORM, 0, 8 }, 2983b8e80941Smrg .i = {}, 2984b8e80941Smrg .p = {}, 2985b8e80941Smrg }, 2986b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 2987b8e80941Smrg .txc = ISL_TXC_NONE, 2988b8e80941Smrg }, 2989b8e80941Smrg 2990b8e80941Smrg [ISL_FORMAT_P8_UNORM_PALETTE1] = { 2991b8e80941Smrg .format = ISL_FORMAT_P8_UNORM_PALETTE1, 2992b8e80941Smrg .name = "ISL_FORMAT_P8_UNORM_PALETTE1", 2993b8e80941Smrg .bpb = 8, 2994b8e80941Smrg .bw = 1, 2995b8e80941Smrg .bh = 1, 2996b8e80941Smrg .bd = 1, 2997b8e80941Smrg .channels = { 2998b8e80941Smrg .r = {}, 2999b8e80941Smrg .g = {}, 3000b8e80941Smrg .b = {}, 3001b8e80941Smrg .a = {}, 3002b8e80941Smrg .l = {}, 3003b8e80941Smrg .i = {}, 3004b8e80941Smrg .p = { ISL_UNORM, 0, 8 }, 3005b8e80941Smrg }, 3006b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3007b8e80941Smrg .txc = ISL_TXC_NONE, 3008b8e80941Smrg }, 3009b8e80941Smrg 3010b8e80941Smrg [ISL_FORMAT_P4A4_UNORM_PALETTE1] = { 3011b8e80941Smrg .format = ISL_FORMAT_P4A4_UNORM_PALETTE1, 3012b8e80941Smrg .name = "ISL_FORMAT_P4A4_UNORM_PALETTE1", 3013b8e80941Smrg .bpb = 8, 3014b8e80941Smrg .bw = 1, 3015b8e80941Smrg .bh = 1, 3016b8e80941Smrg .bd = 1, 3017b8e80941Smrg .channels = { 3018b8e80941Smrg .r = {}, 3019b8e80941Smrg .g = {}, 3020b8e80941Smrg .b = {}, 3021b8e80941Smrg .a = { ISL_UNORM, 4, 4 }, 3022b8e80941Smrg .l = {}, 3023b8e80941Smrg .i = {}, 3024b8e80941Smrg .p = { ISL_UNORM, 0, 4 }, 3025b8e80941Smrg }, 3026b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3027b8e80941Smrg .txc = ISL_TXC_NONE, 3028b8e80941Smrg }, 3029b8e80941Smrg 3030b8e80941Smrg [ISL_FORMAT_A4P4_UNORM_PALETTE1] = { 3031b8e80941Smrg .format = ISL_FORMAT_A4P4_UNORM_PALETTE1, 3032b8e80941Smrg .name = "ISL_FORMAT_A4P4_UNORM_PALETTE1", 3033b8e80941Smrg .bpb = 8, 3034b8e80941Smrg .bw = 1, 3035b8e80941Smrg .bh = 1, 3036b8e80941Smrg .bd = 1, 3037b8e80941Smrg .channels = { 3038b8e80941Smrg .r = {}, 3039b8e80941Smrg .g = {}, 3040b8e80941Smrg .b = {}, 3041b8e80941Smrg .a = { ISL_UNORM, 0, 4 }, 3042b8e80941Smrg .l = {}, 3043b8e80941Smrg .i = {}, 3044b8e80941Smrg .p = { ISL_UNORM, 4, 4 }, 3045b8e80941Smrg }, 3046b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3047b8e80941Smrg .txc = ISL_TXC_NONE, 3048b8e80941Smrg }, 3049b8e80941Smrg 3050b8e80941Smrg [ISL_FORMAT_Y8_UNORM] = { 3051b8e80941Smrg .format = ISL_FORMAT_Y8_UNORM, 3052b8e80941Smrg .name = "ISL_FORMAT_Y8_UNORM", 3053b8e80941Smrg .bpb = 0, 3054b8e80941Smrg .bw = 0, 3055b8e80941Smrg .bh = 0, 3056b8e80941Smrg .bd = 0, 3057b8e80941Smrg .channels = { 3058b8e80941Smrg .r = {}, 3059b8e80941Smrg .g = {}, 3060b8e80941Smrg .b = {}, 3061b8e80941Smrg .a = {}, 3062b8e80941Smrg .l = {}, 3063b8e80941Smrg .i = {}, 3064b8e80941Smrg .p = {}, 3065b8e80941Smrg }, 3066b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3067b8e80941Smrg .txc = ISL_TXC_NONE, 3068b8e80941Smrg }, 3069b8e80941Smrg 3070b8e80941Smrg [ISL_FORMAT_L8_UINT] = { 3071b8e80941Smrg .format = ISL_FORMAT_L8_UINT, 3072b8e80941Smrg .name = "ISL_FORMAT_L8_UINT", 3073b8e80941Smrg .bpb = 8, 3074b8e80941Smrg .bw = 1, 3075b8e80941Smrg .bh = 1, 3076b8e80941Smrg .bd = 1, 3077b8e80941Smrg .channels = { 3078b8e80941Smrg .r = {}, 3079b8e80941Smrg .g = {}, 3080b8e80941Smrg .b = {}, 3081b8e80941Smrg .a = {}, 3082b8e80941Smrg .l = { ISL_UINT, 0, 8 }, 3083b8e80941Smrg .i = {}, 3084b8e80941Smrg .p = {}, 3085b8e80941Smrg }, 3086b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3087b8e80941Smrg .txc = ISL_TXC_NONE, 3088b8e80941Smrg }, 3089b8e80941Smrg 3090b8e80941Smrg [ISL_FORMAT_L8_SINT] = { 3091b8e80941Smrg .format = ISL_FORMAT_L8_SINT, 3092b8e80941Smrg .name = "ISL_FORMAT_L8_SINT", 3093b8e80941Smrg .bpb = 8, 3094b8e80941Smrg .bw = 1, 3095b8e80941Smrg .bh = 1, 3096b8e80941Smrg .bd = 1, 3097b8e80941Smrg .channels = { 3098b8e80941Smrg .r = {}, 3099b8e80941Smrg .g = {}, 3100b8e80941Smrg .b = {}, 3101b8e80941Smrg .a = {}, 3102b8e80941Smrg .l = { ISL_SINT, 0, 8 }, 3103b8e80941Smrg .i = {}, 3104b8e80941Smrg .p = {}, 3105b8e80941Smrg }, 3106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3107b8e80941Smrg .txc = ISL_TXC_NONE, 3108b8e80941Smrg }, 3109b8e80941Smrg 3110b8e80941Smrg [ISL_FORMAT_I8_UINT] = { 3111b8e80941Smrg .format = ISL_FORMAT_I8_UINT, 3112b8e80941Smrg .name = "ISL_FORMAT_I8_UINT", 3113b8e80941Smrg .bpb = 8, 3114b8e80941Smrg .bw = 1, 3115b8e80941Smrg .bh = 1, 3116b8e80941Smrg .bd = 1, 3117b8e80941Smrg .channels = { 3118b8e80941Smrg .r = {}, 3119b8e80941Smrg .g = {}, 3120b8e80941Smrg .b = {}, 3121b8e80941Smrg .a = {}, 3122b8e80941Smrg .l = {}, 3123b8e80941Smrg .i = { ISL_UINT, 0, 8 }, 3124b8e80941Smrg .p = {}, 3125b8e80941Smrg }, 3126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3127b8e80941Smrg .txc = ISL_TXC_NONE, 3128b8e80941Smrg }, 3129b8e80941Smrg 3130b8e80941Smrg [ISL_FORMAT_I8_SINT] = { 3131b8e80941Smrg .format = ISL_FORMAT_I8_SINT, 3132b8e80941Smrg .name = "ISL_FORMAT_I8_SINT", 3133b8e80941Smrg .bpb = 8, 3134b8e80941Smrg .bw = 1, 3135b8e80941Smrg .bh = 1, 3136b8e80941Smrg .bd = 1, 3137b8e80941Smrg .channels = { 3138b8e80941Smrg .r = {}, 3139b8e80941Smrg .g = {}, 3140b8e80941Smrg .b = {}, 3141b8e80941Smrg .a = {}, 3142b8e80941Smrg .l = {}, 3143b8e80941Smrg .i = { ISL_SINT, 0, 8 }, 3144b8e80941Smrg .p = {}, 3145b8e80941Smrg }, 3146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3147b8e80941Smrg .txc = ISL_TXC_NONE, 3148b8e80941Smrg }, 3149b8e80941Smrg 3150b8e80941Smrg [ISL_FORMAT_DXT1_RGB_SRGB] = { 3151b8e80941Smrg .format = ISL_FORMAT_DXT1_RGB_SRGB, 3152b8e80941Smrg .name = "ISL_FORMAT_DXT1_RGB_SRGB", 3153b8e80941Smrg .bpb = 64, 3154b8e80941Smrg .bw = 4, 3155b8e80941Smrg .bh = 4, 3156b8e80941Smrg .bd = 1, 3157b8e80941Smrg .channels = { 3158b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3159b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3160b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3161b8e80941Smrg .a = {}, 3162b8e80941Smrg .l = {}, 3163b8e80941Smrg .i = {}, 3164b8e80941Smrg .p = {}, 3165b8e80941Smrg }, 3166b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3167b8e80941Smrg .txc = ISL_TXC_DXT1, 3168b8e80941Smrg }, 3169b8e80941Smrg 3170b8e80941Smrg [ISL_FORMAT_R1_UNORM] = { 3171b8e80941Smrg .format = ISL_FORMAT_R1_UNORM, 3172b8e80941Smrg .name = "ISL_FORMAT_R1_UNORM", 3173b8e80941Smrg .bpb = 1, 3174b8e80941Smrg .bw = 1, 3175b8e80941Smrg .bh = 1, 3176b8e80941Smrg .bd = 1, 3177b8e80941Smrg .channels = { 3178b8e80941Smrg .r = { ISL_UNORM, 0, 1 }, 3179b8e80941Smrg .g = {}, 3180b8e80941Smrg .b = {}, 3181b8e80941Smrg .a = {}, 3182b8e80941Smrg .l = {}, 3183b8e80941Smrg .i = {}, 3184b8e80941Smrg .p = {}, 3185b8e80941Smrg }, 3186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3187b8e80941Smrg .txc = ISL_TXC_NONE, 3188b8e80941Smrg }, 3189b8e80941Smrg 3190b8e80941Smrg [ISL_FORMAT_YCRCB_NORMAL] = { 3191b8e80941Smrg .format = ISL_FORMAT_YCRCB_NORMAL, 3192b8e80941Smrg .name = "ISL_FORMAT_YCRCB_NORMAL", 3193b8e80941Smrg .bpb = 16, 3194b8e80941Smrg .bw = 1, 3195b8e80941Smrg .bh = 1, 3196b8e80941Smrg .bd = 1, 3197b8e80941Smrg .channels = { 3198b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3199b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3200b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3201b8e80941Smrg .a = {}, 3202b8e80941Smrg .l = {}, 3203b8e80941Smrg .i = {}, 3204b8e80941Smrg .p = {}, 3205b8e80941Smrg }, 3206b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3207b8e80941Smrg .txc = ISL_TXC_NONE, 3208b8e80941Smrg }, 3209b8e80941Smrg 3210b8e80941Smrg [ISL_FORMAT_YCRCB_SWAPUVY] = { 3211b8e80941Smrg .format = ISL_FORMAT_YCRCB_SWAPUVY, 3212b8e80941Smrg .name = "ISL_FORMAT_YCRCB_SWAPUVY", 3213b8e80941Smrg .bpb = 16, 3214b8e80941Smrg .bw = 1, 3215b8e80941Smrg .bh = 1, 3216b8e80941Smrg .bd = 1, 3217b8e80941Smrg .channels = { 3218b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3219b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3220b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3221b8e80941Smrg .a = {}, 3222b8e80941Smrg .l = {}, 3223b8e80941Smrg .i = {}, 3224b8e80941Smrg .p = {}, 3225b8e80941Smrg }, 3226b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3227b8e80941Smrg .txc = ISL_TXC_NONE, 3228b8e80941Smrg }, 3229b8e80941Smrg 3230b8e80941Smrg [ISL_FORMAT_P2_UNORM_PALETTE0] = { 3231b8e80941Smrg .format = ISL_FORMAT_P2_UNORM_PALETTE0, 3232b8e80941Smrg .name = "ISL_FORMAT_P2_UNORM_PALETTE0", 3233b8e80941Smrg .bpb = 2, 3234b8e80941Smrg .bw = 1, 3235b8e80941Smrg .bh = 1, 3236b8e80941Smrg .bd = 1, 3237b8e80941Smrg .channels = { 3238b8e80941Smrg .r = {}, 3239b8e80941Smrg .g = {}, 3240b8e80941Smrg .b = {}, 3241b8e80941Smrg .a = {}, 3242b8e80941Smrg .l = {}, 3243b8e80941Smrg .i = {}, 3244b8e80941Smrg .p = { ISL_UNORM, 0, 2 }, 3245b8e80941Smrg }, 3246b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3247b8e80941Smrg .txc = ISL_TXC_NONE, 3248b8e80941Smrg }, 3249b8e80941Smrg 3250b8e80941Smrg [ISL_FORMAT_P2_UNORM_PALETTE1] = { 3251b8e80941Smrg .format = ISL_FORMAT_P2_UNORM_PALETTE1, 3252b8e80941Smrg .name = "ISL_FORMAT_P2_UNORM_PALETTE1", 3253b8e80941Smrg .bpb = 2, 3254b8e80941Smrg .bw = 1, 3255b8e80941Smrg .bh = 1, 3256b8e80941Smrg .bd = 1, 3257b8e80941Smrg .channels = { 3258b8e80941Smrg .r = {}, 3259b8e80941Smrg .g = {}, 3260b8e80941Smrg .b = {}, 3261b8e80941Smrg .a = {}, 3262b8e80941Smrg .l = {}, 3263b8e80941Smrg .i = {}, 3264b8e80941Smrg .p = { ISL_UNORM, 0, 2 }, 3265b8e80941Smrg }, 3266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3267b8e80941Smrg .txc = ISL_TXC_NONE, 3268b8e80941Smrg }, 3269b8e80941Smrg 3270b8e80941Smrg [ISL_FORMAT_BC1_UNORM] = { 3271b8e80941Smrg .format = ISL_FORMAT_BC1_UNORM, 3272b8e80941Smrg .name = "ISL_FORMAT_BC1_UNORM", 3273b8e80941Smrg .bpb = 64, 3274b8e80941Smrg .bw = 4, 3275b8e80941Smrg .bh = 4, 3276b8e80941Smrg .bd = 1, 3277b8e80941Smrg .channels = { 3278b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3279b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3280b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3281b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3282b8e80941Smrg .l = {}, 3283b8e80941Smrg .i = {}, 3284b8e80941Smrg .p = {}, 3285b8e80941Smrg }, 3286b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3287b8e80941Smrg .txc = ISL_TXC_DXT1, 3288b8e80941Smrg }, 3289b8e80941Smrg 3290b8e80941Smrg [ISL_FORMAT_BC2_UNORM] = { 3291b8e80941Smrg .format = ISL_FORMAT_BC2_UNORM, 3292b8e80941Smrg .name = "ISL_FORMAT_BC2_UNORM", 3293b8e80941Smrg .bpb = 128, 3294b8e80941Smrg .bw = 4, 3295b8e80941Smrg .bh = 4, 3296b8e80941Smrg .bd = 1, 3297b8e80941Smrg .channels = { 3298b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3299b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3300b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3301b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3302b8e80941Smrg .l = {}, 3303b8e80941Smrg .i = {}, 3304b8e80941Smrg .p = {}, 3305b8e80941Smrg }, 3306b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3307b8e80941Smrg .txc = ISL_TXC_DXT3, 3308b8e80941Smrg }, 3309b8e80941Smrg 3310b8e80941Smrg [ISL_FORMAT_BC3_UNORM] = { 3311b8e80941Smrg .format = ISL_FORMAT_BC3_UNORM, 3312b8e80941Smrg .name = "ISL_FORMAT_BC3_UNORM", 3313b8e80941Smrg .bpb = 128, 3314b8e80941Smrg .bw = 4, 3315b8e80941Smrg .bh = 4, 3316b8e80941Smrg .bd = 1, 3317b8e80941Smrg .channels = { 3318b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3319b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3320b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3321b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3322b8e80941Smrg .l = {}, 3323b8e80941Smrg .i = {}, 3324b8e80941Smrg .p = {}, 3325b8e80941Smrg }, 3326b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3327b8e80941Smrg .txc = ISL_TXC_DXT5, 3328b8e80941Smrg }, 3329b8e80941Smrg 3330b8e80941Smrg [ISL_FORMAT_BC4_UNORM] = { 3331b8e80941Smrg .format = ISL_FORMAT_BC4_UNORM, 3332b8e80941Smrg .name = "ISL_FORMAT_BC4_UNORM", 3333b8e80941Smrg .bpb = 64, 3334b8e80941Smrg .bw = 4, 3335b8e80941Smrg .bh = 4, 3336b8e80941Smrg .bd = 1, 3337b8e80941Smrg .channels = { 3338b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3339b8e80941Smrg .g = {}, 3340b8e80941Smrg .b = {}, 3341b8e80941Smrg .a = {}, 3342b8e80941Smrg .l = {}, 3343b8e80941Smrg .i = {}, 3344b8e80941Smrg .p = {}, 3345b8e80941Smrg }, 3346b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3347b8e80941Smrg .txc = ISL_TXC_RGTC1, 3348b8e80941Smrg }, 3349b8e80941Smrg 3350b8e80941Smrg [ISL_FORMAT_BC5_UNORM] = { 3351b8e80941Smrg .format = ISL_FORMAT_BC5_UNORM, 3352b8e80941Smrg .name = "ISL_FORMAT_BC5_UNORM", 3353b8e80941Smrg .bpb = 128, 3354b8e80941Smrg .bw = 4, 3355b8e80941Smrg .bh = 4, 3356b8e80941Smrg .bd = 1, 3357b8e80941Smrg .channels = { 3358b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3359b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3360b8e80941Smrg .b = {}, 3361b8e80941Smrg .a = {}, 3362b8e80941Smrg .l = {}, 3363b8e80941Smrg .i = {}, 3364b8e80941Smrg .p = {}, 3365b8e80941Smrg }, 3366b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3367b8e80941Smrg .txc = ISL_TXC_RGTC2, 3368b8e80941Smrg }, 3369b8e80941Smrg 3370b8e80941Smrg [ISL_FORMAT_BC1_UNORM_SRGB] = { 3371b8e80941Smrg .format = ISL_FORMAT_BC1_UNORM_SRGB, 3372b8e80941Smrg .name = "ISL_FORMAT_BC1_UNORM_SRGB", 3373b8e80941Smrg .bpb = 64, 3374b8e80941Smrg .bw = 4, 3375b8e80941Smrg .bh = 4, 3376b8e80941Smrg .bd = 1, 3377b8e80941Smrg .channels = { 3378b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3379b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3380b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3381b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3382b8e80941Smrg .l = {}, 3383b8e80941Smrg .i = {}, 3384b8e80941Smrg .p = {}, 3385b8e80941Smrg }, 3386b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3387b8e80941Smrg .txc = ISL_TXC_DXT1, 3388b8e80941Smrg }, 3389b8e80941Smrg 3390b8e80941Smrg [ISL_FORMAT_BC2_UNORM_SRGB] = { 3391b8e80941Smrg .format = ISL_FORMAT_BC2_UNORM_SRGB, 3392b8e80941Smrg .name = "ISL_FORMAT_BC2_UNORM_SRGB", 3393b8e80941Smrg .bpb = 128, 3394b8e80941Smrg .bw = 4, 3395b8e80941Smrg .bh = 4, 3396b8e80941Smrg .bd = 1, 3397b8e80941Smrg .channels = { 3398b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3399b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3400b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3401b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3402b8e80941Smrg .l = {}, 3403b8e80941Smrg .i = {}, 3404b8e80941Smrg .p = {}, 3405b8e80941Smrg }, 3406b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3407b8e80941Smrg .txc = ISL_TXC_DXT3, 3408b8e80941Smrg }, 3409b8e80941Smrg 3410b8e80941Smrg [ISL_FORMAT_BC3_UNORM_SRGB] = { 3411b8e80941Smrg .format = ISL_FORMAT_BC3_UNORM_SRGB, 3412b8e80941Smrg .name = "ISL_FORMAT_BC3_UNORM_SRGB", 3413b8e80941Smrg .bpb = 128, 3414b8e80941Smrg .bw = 4, 3415b8e80941Smrg .bh = 4, 3416b8e80941Smrg .bd = 1, 3417b8e80941Smrg .channels = { 3418b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3419b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3420b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3421b8e80941Smrg .a = { ISL_UNORM, -1, 4 }, 3422b8e80941Smrg .l = {}, 3423b8e80941Smrg .i = {}, 3424b8e80941Smrg .p = {}, 3425b8e80941Smrg }, 3426b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3427b8e80941Smrg .txc = ISL_TXC_DXT5, 3428b8e80941Smrg }, 3429b8e80941Smrg 3430b8e80941Smrg [ISL_FORMAT_MONO8] = { 3431b8e80941Smrg .format = ISL_FORMAT_MONO8, 3432b8e80941Smrg .name = "ISL_FORMAT_MONO8", 3433b8e80941Smrg .bpb = 1, 3434b8e80941Smrg .bw = 1, 3435b8e80941Smrg .bh = 1, 3436b8e80941Smrg .bd = 1, 3437b8e80941Smrg .channels = { 3438b8e80941Smrg .r = {}, 3439b8e80941Smrg .g = {}, 3440b8e80941Smrg .b = {}, 3441b8e80941Smrg .a = {}, 3442b8e80941Smrg .l = {}, 3443b8e80941Smrg .i = {}, 3444b8e80941Smrg .p = {}, 3445b8e80941Smrg }, 3446b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 3447b8e80941Smrg .txc = ISL_TXC_NONE, 3448b8e80941Smrg }, 3449b8e80941Smrg 3450b8e80941Smrg [ISL_FORMAT_YCRCB_SWAPUV] = { 3451b8e80941Smrg .format = ISL_FORMAT_YCRCB_SWAPUV, 3452b8e80941Smrg .name = "ISL_FORMAT_YCRCB_SWAPUV", 3453b8e80941Smrg .bpb = 16, 3454b8e80941Smrg .bw = 1, 3455b8e80941Smrg .bh = 1, 3456b8e80941Smrg .bd = 1, 3457b8e80941Smrg .channels = { 3458b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3459b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3460b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3461b8e80941Smrg .a = {}, 3462b8e80941Smrg .l = {}, 3463b8e80941Smrg .i = {}, 3464b8e80941Smrg .p = {}, 3465b8e80941Smrg }, 3466b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3467b8e80941Smrg .txc = ISL_TXC_NONE, 3468b8e80941Smrg }, 3469b8e80941Smrg 3470b8e80941Smrg [ISL_FORMAT_YCRCB_SWAPY] = { 3471b8e80941Smrg .format = ISL_FORMAT_YCRCB_SWAPY, 3472b8e80941Smrg .name = "ISL_FORMAT_YCRCB_SWAPY", 3473b8e80941Smrg .bpb = 16, 3474b8e80941Smrg .bw = 1, 3475b8e80941Smrg .bh = 1, 3476b8e80941Smrg .bd = 1, 3477b8e80941Smrg .channels = { 3478b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3479b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3480b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3481b8e80941Smrg .a = {}, 3482b8e80941Smrg .l = {}, 3483b8e80941Smrg .i = {}, 3484b8e80941Smrg .p = {}, 3485b8e80941Smrg }, 3486b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3487b8e80941Smrg .txc = ISL_TXC_NONE, 3488b8e80941Smrg }, 3489b8e80941Smrg 3490b8e80941Smrg [ISL_FORMAT_DXT1_RGB] = { 3491b8e80941Smrg .format = ISL_FORMAT_DXT1_RGB, 3492b8e80941Smrg .name = "ISL_FORMAT_DXT1_RGB", 3493b8e80941Smrg .bpb = 64, 3494b8e80941Smrg .bw = 4, 3495b8e80941Smrg .bh = 4, 3496b8e80941Smrg .bd = 1, 3497b8e80941Smrg .channels = { 3498b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3499b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3500b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3501b8e80941Smrg .a = {}, 3502b8e80941Smrg .l = {}, 3503b8e80941Smrg .i = {}, 3504b8e80941Smrg .p = {}, 3505b8e80941Smrg }, 3506b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3507b8e80941Smrg .txc = ISL_TXC_DXT1, 3508b8e80941Smrg }, 3509b8e80941Smrg 3510b8e80941Smrg [ISL_FORMAT_FXT1] = { 3511b8e80941Smrg .format = ISL_FORMAT_FXT1, 3512b8e80941Smrg .name = "ISL_FORMAT_FXT1", 3513b8e80941Smrg .bpb = 128, 3514b8e80941Smrg .bw = 8, 3515b8e80941Smrg .bh = 4, 3516b8e80941Smrg .bd = 1, 3517b8e80941Smrg .channels = { 3518b8e80941Smrg .r = { ISL_UNORM, -1, 4 }, 3519b8e80941Smrg .g = { ISL_UNORM, -1, 4 }, 3520b8e80941Smrg .b = { ISL_UNORM, -1, 4 }, 3521b8e80941Smrg .a = {}, 3522b8e80941Smrg .l = {}, 3523b8e80941Smrg .i = {}, 3524b8e80941Smrg .p = {}, 3525b8e80941Smrg }, 3526b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3527b8e80941Smrg .txc = ISL_TXC_FXT1, 3528b8e80941Smrg }, 3529b8e80941Smrg 3530b8e80941Smrg [ISL_FORMAT_R8G8B8_UNORM] = { 3531b8e80941Smrg .format = ISL_FORMAT_R8G8B8_UNORM, 3532b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_UNORM", 3533b8e80941Smrg .bpb = 24, 3534b8e80941Smrg .bw = 1, 3535b8e80941Smrg .bh = 1, 3536b8e80941Smrg .bd = 1, 3537b8e80941Smrg .channels = { 3538b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 3539b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 3540b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 3541b8e80941Smrg .a = {}, 3542b8e80941Smrg .l = {}, 3543b8e80941Smrg .i = {}, 3544b8e80941Smrg .p = {}, 3545b8e80941Smrg }, 3546b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3547b8e80941Smrg .txc = ISL_TXC_NONE, 3548b8e80941Smrg }, 3549b8e80941Smrg 3550b8e80941Smrg [ISL_FORMAT_R8G8B8_SNORM] = { 3551b8e80941Smrg .format = ISL_FORMAT_R8G8B8_SNORM, 3552b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_SNORM", 3553b8e80941Smrg .bpb = 24, 3554b8e80941Smrg .bw = 1, 3555b8e80941Smrg .bh = 1, 3556b8e80941Smrg .bd = 1, 3557b8e80941Smrg .channels = { 3558b8e80941Smrg .r = { ISL_SNORM, 0, 8 }, 3559b8e80941Smrg .g = { ISL_SNORM, 8, 8 }, 3560b8e80941Smrg .b = { ISL_SNORM, 16, 8 }, 3561b8e80941Smrg .a = {}, 3562b8e80941Smrg .l = {}, 3563b8e80941Smrg .i = {}, 3564b8e80941Smrg .p = {}, 3565b8e80941Smrg }, 3566b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3567b8e80941Smrg .txc = ISL_TXC_NONE, 3568b8e80941Smrg }, 3569b8e80941Smrg 3570b8e80941Smrg [ISL_FORMAT_R8G8B8_SSCALED] = { 3571b8e80941Smrg .format = ISL_FORMAT_R8G8B8_SSCALED, 3572b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_SSCALED", 3573b8e80941Smrg .bpb = 24, 3574b8e80941Smrg .bw = 1, 3575b8e80941Smrg .bh = 1, 3576b8e80941Smrg .bd = 1, 3577b8e80941Smrg .channels = { 3578b8e80941Smrg .r = { ISL_SSCALED, 0, 8 }, 3579b8e80941Smrg .g = { ISL_SSCALED, 8, 8 }, 3580b8e80941Smrg .b = { ISL_SSCALED, 16, 8 }, 3581b8e80941Smrg .a = {}, 3582b8e80941Smrg .l = {}, 3583b8e80941Smrg .i = {}, 3584b8e80941Smrg .p = {}, 3585b8e80941Smrg }, 3586b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3587b8e80941Smrg .txc = ISL_TXC_NONE, 3588b8e80941Smrg }, 3589b8e80941Smrg 3590b8e80941Smrg [ISL_FORMAT_R8G8B8_USCALED] = { 3591b8e80941Smrg .format = ISL_FORMAT_R8G8B8_USCALED, 3592b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_USCALED", 3593b8e80941Smrg .bpb = 24, 3594b8e80941Smrg .bw = 1, 3595b8e80941Smrg .bh = 1, 3596b8e80941Smrg .bd = 1, 3597b8e80941Smrg .channels = { 3598b8e80941Smrg .r = { ISL_USCALED, 0, 8 }, 3599b8e80941Smrg .g = { ISL_USCALED, 8, 8 }, 3600b8e80941Smrg .b = { ISL_USCALED, 16, 8 }, 3601b8e80941Smrg .a = {}, 3602b8e80941Smrg .l = {}, 3603b8e80941Smrg .i = {}, 3604b8e80941Smrg .p = {}, 3605b8e80941Smrg }, 3606b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3607b8e80941Smrg .txc = ISL_TXC_NONE, 3608b8e80941Smrg }, 3609b8e80941Smrg 3610b8e80941Smrg [ISL_FORMAT_R64G64B64A64_FLOAT] = { 3611b8e80941Smrg .format = ISL_FORMAT_R64G64B64A64_FLOAT, 3612b8e80941Smrg .name = "ISL_FORMAT_R64G64B64A64_FLOAT", 3613b8e80941Smrg .bpb = 256, 3614b8e80941Smrg .bw = 1, 3615b8e80941Smrg .bh = 1, 3616b8e80941Smrg .bd = 1, 3617b8e80941Smrg .channels = { 3618b8e80941Smrg .r = { ISL_SFLOAT, 0, 64 }, 3619b8e80941Smrg .g = { ISL_SFLOAT, 64, 64 }, 3620b8e80941Smrg .b = { ISL_SFLOAT, 128, 64 }, 3621b8e80941Smrg .a = { ISL_SFLOAT, 192, 64 }, 3622b8e80941Smrg .l = {}, 3623b8e80941Smrg .i = {}, 3624b8e80941Smrg .p = {}, 3625b8e80941Smrg }, 3626b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3627b8e80941Smrg .txc = ISL_TXC_NONE, 3628b8e80941Smrg }, 3629b8e80941Smrg 3630b8e80941Smrg [ISL_FORMAT_R64G64B64_FLOAT] = { 3631b8e80941Smrg .format = ISL_FORMAT_R64G64B64_FLOAT, 3632b8e80941Smrg .name = "ISL_FORMAT_R64G64B64_FLOAT", 3633b8e80941Smrg .bpb = 196, 3634b8e80941Smrg .bw = 1, 3635b8e80941Smrg .bh = 1, 3636b8e80941Smrg .bd = 1, 3637b8e80941Smrg .channels = { 3638b8e80941Smrg .r = { ISL_SFLOAT, 0, 64 }, 3639b8e80941Smrg .g = { ISL_SFLOAT, 64, 64 }, 3640b8e80941Smrg .b = { ISL_SFLOAT, 128, 64 }, 3641b8e80941Smrg .a = {}, 3642b8e80941Smrg .l = {}, 3643b8e80941Smrg .i = {}, 3644b8e80941Smrg .p = {}, 3645b8e80941Smrg }, 3646b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3647b8e80941Smrg .txc = ISL_TXC_NONE, 3648b8e80941Smrg }, 3649b8e80941Smrg 3650b8e80941Smrg [ISL_FORMAT_BC4_SNORM] = { 3651b8e80941Smrg .format = ISL_FORMAT_BC4_SNORM, 3652b8e80941Smrg .name = "ISL_FORMAT_BC4_SNORM", 3653b8e80941Smrg .bpb = 64, 3654b8e80941Smrg .bw = 4, 3655b8e80941Smrg .bh = 4, 3656b8e80941Smrg .bd = 1, 3657b8e80941Smrg .channels = { 3658b8e80941Smrg .r = { ISL_SNORM, -1, 8 }, 3659b8e80941Smrg .g = {}, 3660b8e80941Smrg .b = {}, 3661b8e80941Smrg .a = {}, 3662b8e80941Smrg .l = {}, 3663b8e80941Smrg .i = {}, 3664b8e80941Smrg .p = {}, 3665b8e80941Smrg }, 3666b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3667b8e80941Smrg .txc = ISL_TXC_RGTC1, 3668b8e80941Smrg }, 3669b8e80941Smrg 3670b8e80941Smrg [ISL_FORMAT_BC5_SNORM] = { 3671b8e80941Smrg .format = ISL_FORMAT_BC5_SNORM, 3672b8e80941Smrg .name = "ISL_FORMAT_BC5_SNORM", 3673b8e80941Smrg .bpb = 128, 3674b8e80941Smrg .bw = 4, 3675b8e80941Smrg .bh = 4, 3676b8e80941Smrg .bd = 1, 3677b8e80941Smrg .channels = { 3678b8e80941Smrg .r = { ISL_SNORM, -1, 8 }, 3679b8e80941Smrg .g = { ISL_SNORM, -1, 8 }, 3680b8e80941Smrg .b = {}, 3681b8e80941Smrg .a = {}, 3682b8e80941Smrg .l = {}, 3683b8e80941Smrg .i = {}, 3684b8e80941Smrg .p = {}, 3685b8e80941Smrg }, 3686b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3687b8e80941Smrg .txc = ISL_TXC_RGTC2, 3688b8e80941Smrg }, 3689b8e80941Smrg 3690b8e80941Smrg [ISL_FORMAT_R16G16B16_FLOAT] = { 3691b8e80941Smrg .format = ISL_FORMAT_R16G16B16_FLOAT, 3692b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_FLOAT", 3693b8e80941Smrg .bpb = 48, 3694b8e80941Smrg .bw = 1, 3695b8e80941Smrg .bh = 1, 3696b8e80941Smrg .bd = 1, 3697b8e80941Smrg .channels = { 3698b8e80941Smrg .r = { ISL_SFLOAT, 0, 16 }, 3699b8e80941Smrg .g = { ISL_SFLOAT, 16, 16 }, 3700b8e80941Smrg .b = { ISL_SFLOAT, 32, 16 }, 3701b8e80941Smrg .a = {}, 3702b8e80941Smrg .l = {}, 3703b8e80941Smrg .i = {}, 3704b8e80941Smrg .p = {}, 3705b8e80941Smrg }, 3706b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3707b8e80941Smrg .txc = ISL_TXC_NONE, 3708b8e80941Smrg }, 3709b8e80941Smrg 3710b8e80941Smrg [ISL_FORMAT_R16G16B16_UNORM] = { 3711b8e80941Smrg .format = ISL_FORMAT_R16G16B16_UNORM, 3712b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_UNORM", 3713b8e80941Smrg .bpb = 48, 3714b8e80941Smrg .bw = 1, 3715b8e80941Smrg .bh = 1, 3716b8e80941Smrg .bd = 1, 3717b8e80941Smrg .channels = { 3718b8e80941Smrg .r = { ISL_UNORM, 0, 16 }, 3719b8e80941Smrg .g = { ISL_UNORM, 16, 16 }, 3720b8e80941Smrg .b = { ISL_UNORM, 32, 16 }, 3721b8e80941Smrg .a = {}, 3722b8e80941Smrg .l = {}, 3723b8e80941Smrg .i = {}, 3724b8e80941Smrg .p = {}, 3725b8e80941Smrg }, 3726b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3727b8e80941Smrg .txc = ISL_TXC_NONE, 3728b8e80941Smrg }, 3729b8e80941Smrg 3730b8e80941Smrg [ISL_FORMAT_R16G16B16_SNORM] = { 3731b8e80941Smrg .format = ISL_FORMAT_R16G16B16_SNORM, 3732b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_SNORM", 3733b8e80941Smrg .bpb = 48, 3734b8e80941Smrg .bw = 1, 3735b8e80941Smrg .bh = 1, 3736b8e80941Smrg .bd = 1, 3737b8e80941Smrg .channels = { 3738b8e80941Smrg .r = { ISL_SNORM, 0, 16 }, 3739b8e80941Smrg .g = { ISL_SNORM, 16, 16 }, 3740b8e80941Smrg .b = { ISL_SNORM, 32, 16 }, 3741b8e80941Smrg .a = {}, 3742b8e80941Smrg .l = {}, 3743b8e80941Smrg .i = {}, 3744b8e80941Smrg .p = {}, 3745b8e80941Smrg }, 3746b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3747b8e80941Smrg .txc = ISL_TXC_NONE, 3748b8e80941Smrg }, 3749b8e80941Smrg 3750b8e80941Smrg [ISL_FORMAT_R16G16B16_SSCALED] = { 3751b8e80941Smrg .format = ISL_FORMAT_R16G16B16_SSCALED, 3752b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_SSCALED", 3753b8e80941Smrg .bpb = 48, 3754b8e80941Smrg .bw = 1, 3755b8e80941Smrg .bh = 1, 3756b8e80941Smrg .bd = 1, 3757b8e80941Smrg .channels = { 3758b8e80941Smrg .r = { ISL_SSCALED, 0, 16 }, 3759b8e80941Smrg .g = { ISL_SSCALED, 16, 16 }, 3760b8e80941Smrg .b = { ISL_SSCALED, 32, 16 }, 3761b8e80941Smrg .a = {}, 3762b8e80941Smrg .l = {}, 3763b8e80941Smrg .i = {}, 3764b8e80941Smrg .p = {}, 3765b8e80941Smrg }, 3766b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3767b8e80941Smrg .txc = ISL_TXC_NONE, 3768b8e80941Smrg }, 3769b8e80941Smrg 3770b8e80941Smrg [ISL_FORMAT_R16G16B16_USCALED] = { 3771b8e80941Smrg .format = ISL_FORMAT_R16G16B16_USCALED, 3772b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_USCALED", 3773b8e80941Smrg .bpb = 48, 3774b8e80941Smrg .bw = 1, 3775b8e80941Smrg .bh = 1, 3776b8e80941Smrg .bd = 1, 3777b8e80941Smrg .channels = { 3778b8e80941Smrg .r = { ISL_USCALED, 0, 16 }, 3779b8e80941Smrg .g = { ISL_USCALED, 16, 16 }, 3780b8e80941Smrg .b = { ISL_USCALED, 32, 16 }, 3781b8e80941Smrg .a = {}, 3782b8e80941Smrg .l = {}, 3783b8e80941Smrg .i = {}, 3784b8e80941Smrg .p = {}, 3785b8e80941Smrg }, 3786b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3787b8e80941Smrg .txc = ISL_TXC_NONE, 3788b8e80941Smrg }, 3789b8e80941Smrg 3790b8e80941Smrg [ISL_FORMAT_BC6H_SF16] = { 3791b8e80941Smrg .format = ISL_FORMAT_BC6H_SF16, 3792b8e80941Smrg .name = "ISL_FORMAT_BC6H_SF16", 3793b8e80941Smrg .bpb = 128, 3794b8e80941Smrg .bw = 4, 3795b8e80941Smrg .bh = 4, 3796b8e80941Smrg .bd = 1, 3797b8e80941Smrg .channels = { 3798b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 3799b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 3800b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 3801b8e80941Smrg .a = {}, 3802b8e80941Smrg .l = {}, 3803b8e80941Smrg .i = {}, 3804b8e80941Smrg .p = {}, 3805b8e80941Smrg }, 3806b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3807b8e80941Smrg .txc = ISL_TXC_BPTC, 3808b8e80941Smrg }, 3809b8e80941Smrg 3810b8e80941Smrg [ISL_FORMAT_BC7_UNORM] = { 3811b8e80941Smrg .format = ISL_FORMAT_BC7_UNORM, 3812b8e80941Smrg .name = "ISL_FORMAT_BC7_UNORM", 3813b8e80941Smrg .bpb = 128, 3814b8e80941Smrg .bw = 4, 3815b8e80941Smrg .bh = 4, 3816b8e80941Smrg .bd = 1, 3817b8e80941Smrg .channels = { 3818b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3819b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3820b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3821b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 3822b8e80941Smrg .l = {}, 3823b8e80941Smrg .i = {}, 3824b8e80941Smrg .p = {}, 3825b8e80941Smrg }, 3826b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3827b8e80941Smrg .txc = ISL_TXC_BPTC, 3828b8e80941Smrg }, 3829b8e80941Smrg 3830b8e80941Smrg [ISL_FORMAT_BC7_UNORM_SRGB] = { 3831b8e80941Smrg .format = ISL_FORMAT_BC7_UNORM_SRGB, 3832b8e80941Smrg .name = "ISL_FORMAT_BC7_UNORM_SRGB", 3833b8e80941Smrg .bpb = 128, 3834b8e80941Smrg .bw = 4, 3835b8e80941Smrg .bh = 4, 3836b8e80941Smrg .bd = 1, 3837b8e80941Smrg .channels = { 3838b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3839b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3840b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3841b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 3842b8e80941Smrg .l = {}, 3843b8e80941Smrg .i = {}, 3844b8e80941Smrg .p = {}, 3845b8e80941Smrg }, 3846b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3847b8e80941Smrg .txc = ISL_TXC_BPTC, 3848b8e80941Smrg }, 3849b8e80941Smrg 3850b8e80941Smrg [ISL_FORMAT_BC6H_UF16] = { 3851b8e80941Smrg .format = ISL_FORMAT_BC6H_UF16, 3852b8e80941Smrg .name = "ISL_FORMAT_BC6H_UF16", 3853b8e80941Smrg .bpb = 128, 3854b8e80941Smrg .bw = 4, 3855b8e80941Smrg .bh = 4, 3856b8e80941Smrg .bd = 1, 3857b8e80941Smrg .channels = { 3858b8e80941Smrg .r = { ISL_UFLOAT, -1, 16 }, 3859b8e80941Smrg .g = { ISL_UFLOAT, -1, 16 }, 3860b8e80941Smrg .b = { ISL_UFLOAT, -1, 16 }, 3861b8e80941Smrg .a = {}, 3862b8e80941Smrg .l = {}, 3863b8e80941Smrg .i = {}, 3864b8e80941Smrg .p = {}, 3865b8e80941Smrg }, 3866b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3867b8e80941Smrg .txc = ISL_TXC_BPTC, 3868b8e80941Smrg }, 3869b8e80941Smrg 3870b8e80941Smrg [ISL_FORMAT_PLANAR_420_8] = { 3871b8e80941Smrg .format = ISL_FORMAT_PLANAR_420_8, 3872b8e80941Smrg .name = "ISL_FORMAT_PLANAR_420_8", 3873b8e80941Smrg .bpb = 0, 3874b8e80941Smrg .bw = 0, 3875b8e80941Smrg .bh = 0, 3876b8e80941Smrg .bd = 0, 3877b8e80941Smrg .channels = { 3878b8e80941Smrg .r = {}, 3879b8e80941Smrg .g = {}, 3880b8e80941Smrg .b = {}, 3881b8e80941Smrg .a = {}, 3882b8e80941Smrg .l = {}, 3883b8e80941Smrg .i = {}, 3884b8e80941Smrg .p = {}, 3885b8e80941Smrg }, 3886b8e80941Smrg .colorspace = ISL_COLORSPACE_YUV, 3887b8e80941Smrg .txc = ISL_TXC_NONE, 3888b8e80941Smrg }, 3889b8e80941Smrg 3890b8e80941Smrg [ISL_FORMAT_R8G8B8_UNORM_SRGB] = { 3891b8e80941Smrg .format = ISL_FORMAT_R8G8B8_UNORM_SRGB, 3892b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_UNORM_SRGB", 3893b8e80941Smrg .bpb = 24, 3894b8e80941Smrg .bw = 1, 3895b8e80941Smrg .bh = 1, 3896b8e80941Smrg .bd = 1, 3897b8e80941Smrg .channels = { 3898b8e80941Smrg .r = { ISL_UNORM, 0, 8 }, 3899b8e80941Smrg .g = { ISL_UNORM, 8, 8 }, 3900b8e80941Smrg .b = { ISL_UNORM, 16, 8 }, 3901b8e80941Smrg .a = {}, 3902b8e80941Smrg .l = {}, 3903b8e80941Smrg .i = {}, 3904b8e80941Smrg .p = {}, 3905b8e80941Smrg }, 3906b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 3907b8e80941Smrg .txc = ISL_TXC_NONE, 3908b8e80941Smrg }, 3909b8e80941Smrg 3910b8e80941Smrg [ISL_FORMAT_ETC1_RGB8] = { 3911b8e80941Smrg .format = ISL_FORMAT_ETC1_RGB8, 3912b8e80941Smrg .name = "ISL_FORMAT_ETC1_RGB8", 3913b8e80941Smrg .bpb = 64, 3914b8e80941Smrg .bw = 4, 3915b8e80941Smrg .bh = 4, 3916b8e80941Smrg .bd = 1, 3917b8e80941Smrg .channels = { 3918b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3919b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3920b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3921b8e80941Smrg .a = {}, 3922b8e80941Smrg .l = {}, 3923b8e80941Smrg .i = {}, 3924b8e80941Smrg .p = {}, 3925b8e80941Smrg }, 3926b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3927b8e80941Smrg .txc = ISL_TXC_ETC1, 3928b8e80941Smrg }, 3929b8e80941Smrg 3930b8e80941Smrg [ISL_FORMAT_ETC2_RGB8] = { 3931b8e80941Smrg .format = ISL_FORMAT_ETC2_RGB8, 3932b8e80941Smrg .name = "ISL_FORMAT_ETC2_RGB8", 3933b8e80941Smrg .bpb = 64, 3934b8e80941Smrg .bw = 4, 3935b8e80941Smrg .bh = 4, 3936b8e80941Smrg .bd = 1, 3937b8e80941Smrg .channels = { 3938b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 3939b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 3940b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 3941b8e80941Smrg .a = {}, 3942b8e80941Smrg .l = {}, 3943b8e80941Smrg .i = {}, 3944b8e80941Smrg .p = {}, 3945b8e80941Smrg }, 3946b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3947b8e80941Smrg .txc = ISL_TXC_ETC2, 3948b8e80941Smrg }, 3949b8e80941Smrg 3950b8e80941Smrg [ISL_FORMAT_EAC_R11] = { 3951b8e80941Smrg .format = ISL_FORMAT_EAC_R11, 3952b8e80941Smrg .name = "ISL_FORMAT_EAC_R11", 3953b8e80941Smrg .bpb = 64, 3954b8e80941Smrg .bw = 4, 3955b8e80941Smrg .bh = 4, 3956b8e80941Smrg .bd = 1, 3957b8e80941Smrg .channels = { 3958b8e80941Smrg .r = { ISL_UNORM, -1, 11 }, 3959b8e80941Smrg .g = {}, 3960b8e80941Smrg .b = {}, 3961b8e80941Smrg .a = {}, 3962b8e80941Smrg .l = {}, 3963b8e80941Smrg .i = {}, 3964b8e80941Smrg .p = {}, 3965b8e80941Smrg }, 3966b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3967b8e80941Smrg .txc = ISL_TXC_ETC2, 3968b8e80941Smrg }, 3969b8e80941Smrg 3970b8e80941Smrg [ISL_FORMAT_EAC_RG11] = { 3971b8e80941Smrg .format = ISL_FORMAT_EAC_RG11, 3972b8e80941Smrg .name = "ISL_FORMAT_EAC_RG11", 3973b8e80941Smrg .bpb = 128, 3974b8e80941Smrg .bw = 4, 3975b8e80941Smrg .bh = 4, 3976b8e80941Smrg .bd = 1, 3977b8e80941Smrg .channels = { 3978b8e80941Smrg .r = { ISL_UNORM, -1, 11 }, 3979b8e80941Smrg .g = { ISL_UNORM, -1, 11 }, 3980b8e80941Smrg .b = {}, 3981b8e80941Smrg .a = {}, 3982b8e80941Smrg .l = {}, 3983b8e80941Smrg .i = {}, 3984b8e80941Smrg .p = {}, 3985b8e80941Smrg }, 3986b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 3987b8e80941Smrg .txc = ISL_TXC_ETC2, 3988b8e80941Smrg }, 3989b8e80941Smrg 3990b8e80941Smrg [ISL_FORMAT_EAC_SIGNED_R11] = { 3991b8e80941Smrg .format = ISL_FORMAT_EAC_SIGNED_R11, 3992b8e80941Smrg .name = "ISL_FORMAT_EAC_SIGNED_R11", 3993b8e80941Smrg .bpb = 64, 3994b8e80941Smrg .bw = 4, 3995b8e80941Smrg .bh = 4, 3996b8e80941Smrg .bd = 1, 3997b8e80941Smrg .channels = { 3998b8e80941Smrg .r = { ISL_SNORM, -1, 11 }, 3999b8e80941Smrg .g = {}, 4000b8e80941Smrg .b = {}, 4001b8e80941Smrg .a = {}, 4002b8e80941Smrg .l = {}, 4003b8e80941Smrg .i = {}, 4004b8e80941Smrg .p = {}, 4005b8e80941Smrg }, 4006b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4007b8e80941Smrg .txc = ISL_TXC_ETC2, 4008b8e80941Smrg }, 4009b8e80941Smrg 4010b8e80941Smrg [ISL_FORMAT_EAC_SIGNED_RG11] = { 4011b8e80941Smrg .format = ISL_FORMAT_EAC_SIGNED_RG11, 4012b8e80941Smrg .name = "ISL_FORMAT_EAC_SIGNED_RG11", 4013b8e80941Smrg .bpb = 128, 4014b8e80941Smrg .bw = 4, 4015b8e80941Smrg .bh = 4, 4016b8e80941Smrg .bd = 1, 4017b8e80941Smrg .channels = { 4018b8e80941Smrg .r = { ISL_SNORM, -1, 11 }, 4019b8e80941Smrg .g = { ISL_SNORM, -1, 11 }, 4020b8e80941Smrg .b = {}, 4021b8e80941Smrg .a = {}, 4022b8e80941Smrg .l = {}, 4023b8e80941Smrg .i = {}, 4024b8e80941Smrg .p = {}, 4025b8e80941Smrg }, 4026b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4027b8e80941Smrg .txc = ISL_TXC_ETC2, 4028b8e80941Smrg }, 4029b8e80941Smrg 4030b8e80941Smrg [ISL_FORMAT_ETC2_SRGB8] = { 4031b8e80941Smrg .format = ISL_FORMAT_ETC2_SRGB8, 4032b8e80941Smrg .name = "ISL_FORMAT_ETC2_SRGB8", 4033b8e80941Smrg .bpb = 64, 4034b8e80941Smrg .bw = 4, 4035b8e80941Smrg .bh = 4, 4036b8e80941Smrg .bd = 1, 4037b8e80941Smrg .channels = { 4038b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4039b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4040b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4041b8e80941Smrg .a = {}, 4042b8e80941Smrg .l = {}, 4043b8e80941Smrg .i = {}, 4044b8e80941Smrg .p = {}, 4045b8e80941Smrg }, 4046b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4047b8e80941Smrg .txc = ISL_TXC_ETC2, 4048b8e80941Smrg }, 4049b8e80941Smrg 4050b8e80941Smrg [ISL_FORMAT_R16G16B16_UINT] = { 4051b8e80941Smrg .format = ISL_FORMAT_R16G16B16_UINT, 4052b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_UINT", 4053b8e80941Smrg .bpb = 48, 4054b8e80941Smrg .bw = 1, 4055b8e80941Smrg .bh = 1, 4056b8e80941Smrg .bd = 1, 4057b8e80941Smrg .channels = { 4058b8e80941Smrg .r = { ISL_UINT, 0, 16 }, 4059b8e80941Smrg .g = { ISL_UINT, 16, 16 }, 4060b8e80941Smrg .b = { ISL_UINT, 32, 16 }, 4061b8e80941Smrg .a = {}, 4062b8e80941Smrg .l = {}, 4063b8e80941Smrg .i = {}, 4064b8e80941Smrg .p = {}, 4065b8e80941Smrg }, 4066b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4067b8e80941Smrg .txc = ISL_TXC_NONE, 4068b8e80941Smrg }, 4069b8e80941Smrg 4070b8e80941Smrg [ISL_FORMAT_R16G16B16_SINT] = { 4071b8e80941Smrg .format = ISL_FORMAT_R16G16B16_SINT, 4072b8e80941Smrg .name = "ISL_FORMAT_R16G16B16_SINT", 4073b8e80941Smrg .bpb = 48, 4074b8e80941Smrg .bw = 1, 4075b8e80941Smrg .bh = 1, 4076b8e80941Smrg .bd = 1, 4077b8e80941Smrg .channels = { 4078b8e80941Smrg .r = { ISL_SINT, 0, 16 }, 4079b8e80941Smrg .g = { ISL_SINT, 16, 16 }, 4080b8e80941Smrg .b = { ISL_SINT, 32, 16 }, 4081b8e80941Smrg .a = {}, 4082b8e80941Smrg .l = {}, 4083b8e80941Smrg .i = {}, 4084b8e80941Smrg .p = {}, 4085b8e80941Smrg }, 4086b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4087b8e80941Smrg .txc = ISL_TXC_NONE, 4088b8e80941Smrg }, 4089b8e80941Smrg 4090b8e80941Smrg [ISL_FORMAT_R32_SFIXED] = { 4091b8e80941Smrg .format = ISL_FORMAT_R32_SFIXED, 4092b8e80941Smrg .name = "ISL_FORMAT_R32_SFIXED", 4093b8e80941Smrg .bpb = 32, 4094b8e80941Smrg .bw = 1, 4095b8e80941Smrg .bh = 1, 4096b8e80941Smrg .bd = 1, 4097b8e80941Smrg .channels = { 4098b8e80941Smrg .r = { ISL_SFIXED, 0, 16 }, 4099b8e80941Smrg .g = {}, 4100b8e80941Smrg .b = {}, 4101b8e80941Smrg .a = {}, 4102b8e80941Smrg .l = {}, 4103b8e80941Smrg .i = {}, 4104b8e80941Smrg .p = {}, 4105b8e80941Smrg }, 4106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4107b8e80941Smrg .txc = ISL_TXC_NONE, 4108b8e80941Smrg }, 4109b8e80941Smrg 4110b8e80941Smrg [ISL_FORMAT_R10G10B10A2_SNORM] = { 4111b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_SNORM, 4112b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_SNORM", 4113b8e80941Smrg .bpb = 32, 4114b8e80941Smrg .bw = 1, 4115b8e80941Smrg .bh = 1, 4116b8e80941Smrg .bd = 1, 4117b8e80941Smrg .channels = { 4118b8e80941Smrg .r = { ISL_SNORM, 0, 10 }, 4119b8e80941Smrg .g = { ISL_SNORM, 10, 10 }, 4120b8e80941Smrg .b = { ISL_SNORM, 20, 10 }, 4121b8e80941Smrg .a = { ISL_SNORM, 30, 2 }, 4122b8e80941Smrg .l = {}, 4123b8e80941Smrg .i = {}, 4124b8e80941Smrg .p = {}, 4125b8e80941Smrg }, 4126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4127b8e80941Smrg .txc = ISL_TXC_NONE, 4128b8e80941Smrg }, 4129b8e80941Smrg 4130b8e80941Smrg [ISL_FORMAT_R10G10B10A2_USCALED] = { 4131b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_USCALED, 4132b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_USCALED", 4133b8e80941Smrg .bpb = 32, 4134b8e80941Smrg .bw = 1, 4135b8e80941Smrg .bh = 1, 4136b8e80941Smrg .bd = 1, 4137b8e80941Smrg .channels = { 4138b8e80941Smrg .r = { ISL_USCALED, 0, 10 }, 4139b8e80941Smrg .g = { ISL_USCALED, 10, 10 }, 4140b8e80941Smrg .b = { ISL_USCALED, 20, 10 }, 4141b8e80941Smrg .a = { ISL_USCALED, 30, 2 }, 4142b8e80941Smrg .l = {}, 4143b8e80941Smrg .i = {}, 4144b8e80941Smrg .p = {}, 4145b8e80941Smrg }, 4146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4147b8e80941Smrg .txc = ISL_TXC_NONE, 4148b8e80941Smrg }, 4149b8e80941Smrg 4150b8e80941Smrg [ISL_FORMAT_R10G10B10A2_SSCALED] = { 4151b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_SSCALED, 4152b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_SSCALED", 4153b8e80941Smrg .bpb = 32, 4154b8e80941Smrg .bw = 1, 4155b8e80941Smrg .bh = 1, 4156b8e80941Smrg .bd = 1, 4157b8e80941Smrg .channels = { 4158b8e80941Smrg .r = { ISL_SSCALED, 0, 10 }, 4159b8e80941Smrg .g = { ISL_SSCALED, 10, 10 }, 4160b8e80941Smrg .b = { ISL_SSCALED, 20, 10 }, 4161b8e80941Smrg .a = { ISL_SSCALED, 30, 2 }, 4162b8e80941Smrg .l = {}, 4163b8e80941Smrg .i = {}, 4164b8e80941Smrg .p = {}, 4165b8e80941Smrg }, 4166b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4167b8e80941Smrg .txc = ISL_TXC_NONE, 4168b8e80941Smrg }, 4169b8e80941Smrg 4170b8e80941Smrg [ISL_FORMAT_R10G10B10A2_SINT] = { 4171b8e80941Smrg .format = ISL_FORMAT_R10G10B10A2_SINT, 4172b8e80941Smrg .name = "ISL_FORMAT_R10G10B10A2_SINT", 4173b8e80941Smrg .bpb = 32, 4174b8e80941Smrg .bw = 1, 4175b8e80941Smrg .bh = 1, 4176b8e80941Smrg .bd = 1, 4177b8e80941Smrg .channels = { 4178b8e80941Smrg .r = { ISL_SINT, 0, 10 }, 4179b8e80941Smrg .g = { ISL_SINT, 10, 10 }, 4180b8e80941Smrg .b = { ISL_SINT, 20, 10 }, 4181b8e80941Smrg .a = { ISL_SINT, 30, 2 }, 4182b8e80941Smrg .l = {}, 4183b8e80941Smrg .i = {}, 4184b8e80941Smrg .p = {}, 4185b8e80941Smrg }, 4186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4187b8e80941Smrg .txc = ISL_TXC_NONE, 4188b8e80941Smrg }, 4189b8e80941Smrg 4190b8e80941Smrg [ISL_FORMAT_B10G10R10A2_SNORM] = { 4191b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_SNORM, 4192b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_SNORM", 4193b8e80941Smrg .bpb = 32, 4194b8e80941Smrg .bw = 1, 4195b8e80941Smrg .bh = 1, 4196b8e80941Smrg .bd = 1, 4197b8e80941Smrg .channels = { 4198b8e80941Smrg .r = { ISL_SNORM, 0, 10 }, 4199b8e80941Smrg .g = { ISL_SNORM, 10, 10 }, 4200b8e80941Smrg .b = { ISL_SNORM, 20, 10 }, 4201b8e80941Smrg .a = { ISL_SNORM, 30, 2 }, 4202b8e80941Smrg .l = {}, 4203b8e80941Smrg .i = {}, 4204b8e80941Smrg .p = {}, 4205b8e80941Smrg }, 4206b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4207b8e80941Smrg .txc = ISL_TXC_NONE, 4208b8e80941Smrg }, 4209b8e80941Smrg 4210b8e80941Smrg [ISL_FORMAT_B10G10R10A2_USCALED] = { 4211b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_USCALED, 4212b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_USCALED", 4213b8e80941Smrg .bpb = 32, 4214b8e80941Smrg .bw = 1, 4215b8e80941Smrg .bh = 1, 4216b8e80941Smrg .bd = 1, 4217b8e80941Smrg .channels = { 4218b8e80941Smrg .r = { ISL_USCALED, 0, 10 }, 4219b8e80941Smrg .g = { ISL_USCALED, 10, 10 }, 4220b8e80941Smrg .b = { ISL_USCALED, 20, 10 }, 4221b8e80941Smrg .a = { ISL_USCALED, 30, 2 }, 4222b8e80941Smrg .l = {}, 4223b8e80941Smrg .i = {}, 4224b8e80941Smrg .p = {}, 4225b8e80941Smrg }, 4226b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4227b8e80941Smrg .txc = ISL_TXC_NONE, 4228b8e80941Smrg }, 4229b8e80941Smrg 4230b8e80941Smrg [ISL_FORMAT_B10G10R10A2_SSCALED] = { 4231b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_SSCALED, 4232b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_SSCALED", 4233b8e80941Smrg .bpb = 32, 4234b8e80941Smrg .bw = 1, 4235b8e80941Smrg .bh = 1, 4236b8e80941Smrg .bd = 1, 4237b8e80941Smrg .channels = { 4238b8e80941Smrg .r = { ISL_SSCALED, 0, 10 }, 4239b8e80941Smrg .g = { ISL_SSCALED, 10, 10 }, 4240b8e80941Smrg .b = { ISL_SSCALED, 20, 10 }, 4241b8e80941Smrg .a = { ISL_SSCALED, 30, 2 }, 4242b8e80941Smrg .l = {}, 4243b8e80941Smrg .i = {}, 4244b8e80941Smrg .p = {}, 4245b8e80941Smrg }, 4246b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4247b8e80941Smrg .txc = ISL_TXC_NONE, 4248b8e80941Smrg }, 4249b8e80941Smrg 4250b8e80941Smrg [ISL_FORMAT_B10G10R10A2_UINT] = { 4251b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_UINT, 4252b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_UINT", 4253b8e80941Smrg .bpb = 32, 4254b8e80941Smrg .bw = 1, 4255b8e80941Smrg .bh = 1, 4256b8e80941Smrg .bd = 1, 4257b8e80941Smrg .channels = { 4258b8e80941Smrg .r = { ISL_UINT, 0, 10 }, 4259b8e80941Smrg .g = { ISL_UINT, 10, 10 }, 4260b8e80941Smrg .b = { ISL_UINT, 20, 10 }, 4261b8e80941Smrg .a = { ISL_UINT, 30, 2 }, 4262b8e80941Smrg .l = {}, 4263b8e80941Smrg .i = {}, 4264b8e80941Smrg .p = {}, 4265b8e80941Smrg }, 4266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4267b8e80941Smrg .txc = ISL_TXC_NONE, 4268b8e80941Smrg }, 4269b8e80941Smrg 4270b8e80941Smrg [ISL_FORMAT_B10G10R10A2_SINT] = { 4271b8e80941Smrg .format = ISL_FORMAT_B10G10R10A2_SINT, 4272b8e80941Smrg .name = "ISL_FORMAT_B10G10R10A2_SINT", 4273b8e80941Smrg .bpb = 32, 4274b8e80941Smrg .bw = 1, 4275b8e80941Smrg .bh = 1, 4276b8e80941Smrg .bd = 1, 4277b8e80941Smrg .channels = { 4278b8e80941Smrg .r = { ISL_SINT, 0, 10 }, 4279b8e80941Smrg .g = { ISL_SINT, 10, 10 }, 4280b8e80941Smrg .b = { ISL_SINT, 20, 10 }, 4281b8e80941Smrg .a = { ISL_SINT, 30, 2 }, 4282b8e80941Smrg .l = {}, 4283b8e80941Smrg .i = {}, 4284b8e80941Smrg .p = {}, 4285b8e80941Smrg }, 4286b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4287b8e80941Smrg .txc = ISL_TXC_NONE, 4288b8e80941Smrg }, 4289b8e80941Smrg 4290b8e80941Smrg [ISL_FORMAT_R64G64B64A64_PASSTHRU] = { 4291b8e80941Smrg .format = ISL_FORMAT_R64G64B64A64_PASSTHRU, 4292b8e80941Smrg .name = "ISL_FORMAT_R64G64B64A64_PASSTHRU", 4293b8e80941Smrg .bpb = 256, 4294b8e80941Smrg .bw = 1, 4295b8e80941Smrg .bh = 1, 4296b8e80941Smrg .bd = 1, 4297b8e80941Smrg .channels = { 4298b8e80941Smrg .r = { ISL_RAW, 0, 64 }, 4299b8e80941Smrg .g = { ISL_RAW, 64, 64 }, 4300b8e80941Smrg .b = { ISL_RAW, 128, 64 }, 4301b8e80941Smrg .a = { ISL_RAW, 192, 64 }, 4302b8e80941Smrg .l = {}, 4303b8e80941Smrg .i = {}, 4304b8e80941Smrg .p = {}, 4305b8e80941Smrg }, 4306b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 4307b8e80941Smrg .txc = ISL_TXC_NONE, 4308b8e80941Smrg }, 4309b8e80941Smrg 4310b8e80941Smrg [ISL_FORMAT_R64G64B64_PASSTHRU] = { 4311b8e80941Smrg .format = ISL_FORMAT_R64G64B64_PASSTHRU, 4312b8e80941Smrg .name = "ISL_FORMAT_R64G64B64_PASSTHRU", 4313b8e80941Smrg .bpb = 192, 4314b8e80941Smrg .bw = 1, 4315b8e80941Smrg .bh = 1, 4316b8e80941Smrg .bd = 1, 4317b8e80941Smrg .channels = { 4318b8e80941Smrg .r = { ISL_RAW, 0, 64 }, 4319b8e80941Smrg .g = { ISL_RAW, 64, 64 }, 4320b8e80941Smrg .b = { ISL_RAW, 128, 64 }, 4321b8e80941Smrg .a = {}, 4322b8e80941Smrg .l = {}, 4323b8e80941Smrg .i = {}, 4324b8e80941Smrg .p = {}, 4325b8e80941Smrg }, 4326b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 4327b8e80941Smrg .txc = ISL_TXC_NONE, 4328b8e80941Smrg }, 4329b8e80941Smrg 4330b8e80941Smrg [ISL_FORMAT_ETC2_RGB8_PTA] = { 4331b8e80941Smrg .format = ISL_FORMAT_ETC2_RGB8_PTA, 4332b8e80941Smrg .name = "ISL_FORMAT_ETC2_RGB8_PTA", 4333b8e80941Smrg .bpb = 64, 4334b8e80941Smrg .bw = 4, 4335b8e80941Smrg .bh = 4, 4336b8e80941Smrg .bd = 1, 4337b8e80941Smrg .channels = { 4338b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4339b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4340b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4341b8e80941Smrg .a = { ISL_UNORM, -1, 1 }, 4342b8e80941Smrg .l = {}, 4343b8e80941Smrg .i = {}, 4344b8e80941Smrg .p = {}, 4345b8e80941Smrg }, 4346b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4347b8e80941Smrg .txc = ISL_TXC_ETC2, 4348b8e80941Smrg }, 4349b8e80941Smrg 4350b8e80941Smrg [ISL_FORMAT_ETC2_SRGB8_PTA] = { 4351b8e80941Smrg .format = ISL_FORMAT_ETC2_SRGB8_PTA, 4352b8e80941Smrg .name = "ISL_FORMAT_ETC2_SRGB8_PTA", 4353b8e80941Smrg .bpb = 64, 4354b8e80941Smrg .bw = 4, 4355b8e80941Smrg .bh = 4, 4356b8e80941Smrg .bd = 1, 4357b8e80941Smrg .channels = { 4358b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4359b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4360b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4361b8e80941Smrg .a = { ISL_UNORM, -1, 1 }, 4362b8e80941Smrg .l = {}, 4363b8e80941Smrg .i = {}, 4364b8e80941Smrg .p = {}, 4365b8e80941Smrg }, 4366b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4367b8e80941Smrg .txc = ISL_TXC_ETC2, 4368b8e80941Smrg }, 4369b8e80941Smrg 4370b8e80941Smrg [ISL_FORMAT_ETC2_EAC_RGBA8] = { 4371b8e80941Smrg .format = ISL_FORMAT_ETC2_EAC_RGBA8, 4372b8e80941Smrg .name = "ISL_FORMAT_ETC2_EAC_RGBA8", 4373b8e80941Smrg .bpb = 128, 4374b8e80941Smrg .bw = 4, 4375b8e80941Smrg .bh = 4, 4376b8e80941Smrg .bd = 1, 4377b8e80941Smrg .channels = { 4378b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4379b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4380b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4381b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4382b8e80941Smrg .l = {}, 4383b8e80941Smrg .i = {}, 4384b8e80941Smrg .p = {}, 4385b8e80941Smrg }, 4386b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4387b8e80941Smrg .txc = ISL_TXC_ETC2, 4388b8e80941Smrg }, 4389b8e80941Smrg 4390b8e80941Smrg [ISL_FORMAT_ETC2_EAC_SRGB8_A8] = { 4391b8e80941Smrg .format = ISL_FORMAT_ETC2_EAC_SRGB8_A8, 4392b8e80941Smrg .name = "ISL_FORMAT_ETC2_EAC_SRGB8_A8", 4393b8e80941Smrg .bpb = 128, 4394b8e80941Smrg .bw = 4, 4395b8e80941Smrg .bh = 4, 4396b8e80941Smrg .bd = 1, 4397b8e80941Smrg .channels = { 4398b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4399b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4400b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4401b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4402b8e80941Smrg .l = {}, 4403b8e80941Smrg .i = {}, 4404b8e80941Smrg .p = {}, 4405b8e80941Smrg }, 4406b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4407b8e80941Smrg .txc = ISL_TXC_ETC2, 4408b8e80941Smrg }, 4409b8e80941Smrg 4410b8e80941Smrg [ISL_FORMAT_R8G8B8_UINT] = { 4411b8e80941Smrg .format = ISL_FORMAT_R8G8B8_UINT, 4412b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_UINT", 4413b8e80941Smrg .bpb = 24, 4414b8e80941Smrg .bw = 1, 4415b8e80941Smrg .bh = 1, 4416b8e80941Smrg .bd = 1, 4417b8e80941Smrg .channels = { 4418b8e80941Smrg .r = { ISL_UINT, 0, 8 }, 4419b8e80941Smrg .g = { ISL_UINT, 8, 8 }, 4420b8e80941Smrg .b = { ISL_UINT, 16, 8 }, 4421b8e80941Smrg .a = {}, 4422b8e80941Smrg .l = {}, 4423b8e80941Smrg .i = {}, 4424b8e80941Smrg .p = {}, 4425b8e80941Smrg }, 4426b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4427b8e80941Smrg .txc = ISL_TXC_NONE, 4428b8e80941Smrg }, 4429b8e80941Smrg 4430b8e80941Smrg [ISL_FORMAT_R8G8B8_SINT] = { 4431b8e80941Smrg .format = ISL_FORMAT_R8G8B8_SINT, 4432b8e80941Smrg .name = "ISL_FORMAT_R8G8B8_SINT", 4433b8e80941Smrg .bpb = 24, 4434b8e80941Smrg .bw = 1, 4435b8e80941Smrg .bh = 1, 4436b8e80941Smrg .bd = 1, 4437b8e80941Smrg .channels = { 4438b8e80941Smrg .r = { ISL_SINT, 0, 8 }, 4439b8e80941Smrg .g = { ISL_SINT, 8, 8 }, 4440b8e80941Smrg .b = { ISL_SINT, 16, 8 }, 4441b8e80941Smrg .a = {}, 4442b8e80941Smrg .l = {}, 4443b8e80941Smrg .i = {}, 4444b8e80941Smrg .p = {}, 4445b8e80941Smrg }, 4446b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4447b8e80941Smrg .txc = ISL_TXC_NONE, 4448b8e80941Smrg }, 4449b8e80941Smrg 4450b8e80941Smrg [ISL_FORMAT_RAW] = { 4451b8e80941Smrg .format = ISL_FORMAT_RAW, 4452b8e80941Smrg .name = "ISL_FORMAT_RAW", 4453b8e80941Smrg .bpb = 0, 4454b8e80941Smrg .bw = 0, 4455b8e80941Smrg .bh = 0, 4456b8e80941Smrg .bd = 0, 4457b8e80941Smrg .channels = { 4458b8e80941Smrg .r = {}, 4459b8e80941Smrg .g = {}, 4460b8e80941Smrg .b = {}, 4461b8e80941Smrg .a = {}, 4462b8e80941Smrg .l = {}, 4463b8e80941Smrg .i = {}, 4464b8e80941Smrg .p = {}, 4465b8e80941Smrg }, 4466b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 4467b8e80941Smrg .txc = ISL_TXC_NONE, 4468b8e80941Smrg }, 4469b8e80941Smrg 4470b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB] = { 4471b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB, 4472b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB", 4473b8e80941Smrg .bpb = 128, 4474b8e80941Smrg .bw = 4, 4475b8e80941Smrg .bh = 4, 4476b8e80941Smrg .bd = 1, 4477b8e80941Smrg .channels = { 4478b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4479b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4480b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4481b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4482b8e80941Smrg .l = {}, 4483b8e80941Smrg .i = {}, 4484b8e80941Smrg .p = {}, 4485b8e80941Smrg }, 4486b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4487b8e80941Smrg .txc = ISL_TXC_ASTC, 4488b8e80941Smrg }, 4489b8e80941Smrg 4490b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB] = { 4491b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB, 4492b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB", 4493b8e80941Smrg .bpb = 128, 4494b8e80941Smrg .bw = 5, 4495b8e80941Smrg .bh = 4, 4496b8e80941Smrg .bd = 1, 4497b8e80941Smrg .channels = { 4498b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4499b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4500b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4501b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4502b8e80941Smrg .l = {}, 4503b8e80941Smrg .i = {}, 4504b8e80941Smrg .p = {}, 4505b8e80941Smrg }, 4506b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4507b8e80941Smrg .txc = ISL_TXC_ASTC, 4508b8e80941Smrg }, 4509b8e80941Smrg 4510b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB] = { 4511b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB, 4512b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB", 4513b8e80941Smrg .bpb = 128, 4514b8e80941Smrg .bw = 5, 4515b8e80941Smrg .bh = 5, 4516b8e80941Smrg .bd = 1, 4517b8e80941Smrg .channels = { 4518b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4519b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4520b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4521b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4522b8e80941Smrg .l = {}, 4523b8e80941Smrg .i = {}, 4524b8e80941Smrg .p = {}, 4525b8e80941Smrg }, 4526b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4527b8e80941Smrg .txc = ISL_TXC_ASTC, 4528b8e80941Smrg }, 4529b8e80941Smrg 4530b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB] = { 4531b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB, 4532b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB", 4533b8e80941Smrg .bpb = 128, 4534b8e80941Smrg .bw = 6, 4535b8e80941Smrg .bh = 5, 4536b8e80941Smrg .bd = 1, 4537b8e80941Smrg .channels = { 4538b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4539b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4540b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4541b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4542b8e80941Smrg .l = {}, 4543b8e80941Smrg .i = {}, 4544b8e80941Smrg .p = {}, 4545b8e80941Smrg }, 4546b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4547b8e80941Smrg .txc = ISL_TXC_ASTC, 4548b8e80941Smrg }, 4549b8e80941Smrg 4550b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB] = { 4551b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB, 4552b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB", 4553b8e80941Smrg .bpb = 128, 4554b8e80941Smrg .bw = 6, 4555b8e80941Smrg .bh = 6, 4556b8e80941Smrg .bd = 1, 4557b8e80941Smrg .channels = { 4558b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4559b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4560b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4561b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4562b8e80941Smrg .l = {}, 4563b8e80941Smrg .i = {}, 4564b8e80941Smrg .p = {}, 4565b8e80941Smrg }, 4566b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4567b8e80941Smrg .txc = ISL_TXC_ASTC, 4568b8e80941Smrg }, 4569b8e80941Smrg 4570b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB] = { 4571b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB, 4572b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB", 4573b8e80941Smrg .bpb = 128, 4574b8e80941Smrg .bw = 8, 4575b8e80941Smrg .bh = 5, 4576b8e80941Smrg .bd = 1, 4577b8e80941Smrg .channels = { 4578b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4579b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4580b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4581b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4582b8e80941Smrg .l = {}, 4583b8e80941Smrg .i = {}, 4584b8e80941Smrg .p = {}, 4585b8e80941Smrg }, 4586b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4587b8e80941Smrg .txc = ISL_TXC_ASTC, 4588b8e80941Smrg }, 4589b8e80941Smrg 4590b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB] = { 4591b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB, 4592b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB", 4593b8e80941Smrg .bpb = 128, 4594b8e80941Smrg .bw = 8, 4595b8e80941Smrg .bh = 6, 4596b8e80941Smrg .bd = 1, 4597b8e80941Smrg .channels = { 4598b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4599b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4600b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4601b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4602b8e80941Smrg .l = {}, 4603b8e80941Smrg .i = {}, 4604b8e80941Smrg .p = {}, 4605b8e80941Smrg }, 4606b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4607b8e80941Smrg .txc = ISL_TXC_ASTC, 4608b8e80941Smrg }, 4609b8e80941Smrg 4610b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB] = { 4611b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB, 4612b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB", 4613b8e80941Smrg .bpb = 128, 4614b8e80941Smrg .bw = 8, 4615b8e80941Smrg .bh = 8, 4616b8e80941Smrg .bd = 1, 4617b8e80941Smrg .channels = { 4618b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4619b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4620b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4621b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4622b8e80941Smrg .l = {}, 4623b8e80941Smrg .i = {}, 4624b8e80941Smrg .p = {}, 4625b8e80941Smrg }, 4626b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4627b8e80941Smrg .txc = ISL_TXC_ASTC, 4628b8e80941Smrg }, 4629b8e80941Smrg 4630b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB] = { 4631b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB, 4632b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB", 4633b8e80941Smrg .bpb = 128, 4634b8e80941Smrg .bw = 10, 4635b8e80941Smrg .bh = 5, 4636b8e80941Smrg .bd = 1, 4637b8e80941Smrg .channels = { 4638b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4639b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4640b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4641b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4642b8e80941Smrg .l = {}, 4643b8e80941Smrg .i = {}, 4644b8e80941Smrg .p = {}, 4645b8e80941Smrg }, 4646b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4647b8e80941Smrg .txc = ISL_TXC_ASTC, 4648b8e80941Smrg }, 4649b8e80941Smrg 4650b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB] = { 4651b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB, 4652b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB", 4653b8e80941Smrg .bpb = 128, 4654b8e80941Smrg .bw = 10, 4655b8e80941Smrg .bh = 6, 4656b8e80941Smrg .bd = 1, 4657b8e80941Smrg .channels = { 4658b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4659b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4660b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4661b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4662b8e80941Smrg .l = {}, 4663b8e80941Smrg .i = {}, 4664b8e80941Smrg .p = {}, 4665b8e80941Smrg }, 4666b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4667b8e80941Smrg .txc = ISL_TXC_ASTC, 4668b8e80941Smrg }, 4669b8e80941Smrg 4670b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB] = { 4671b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB, 4672b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB", 4673b8e80941Smrg .bpb = 128, 4674b8e80941Smrg .bw = 10, 4675b8e80941Smrg .bh = 8, 4676b8e80941Smrg .bd = 1, 4677b8e80941Smrg .channels = { 4678b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4679b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4680b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4681b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4682b8e80941Smrg .l = {}, 4683b8e80941Smrg .i = {}, 4684b8e80941Smrg .p = {}, 4685b8e80941Smrg }, 4686b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4687b8e80941Smrg .txc = ISL_TXC_ASTC, 4688b8e80941Smrg }, 4689b8e80941Smrg 4690b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB] = { 4691b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB, 4692b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB", 4693b8e80941Smrg .bpb = 128, 4694b8e80941Smrg .bw = 10, 4695b8e80941Smrg .bh = 10, 4696b8e80941Smrg .bd = 1, 4697b8e80941Smrg .channels = { 4698b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4699b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4700b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4701b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4702b8e80941Smrg .l = {}, 4703b8e80941Smrg .i = {}, 4704b8e80941Smrg .p = {}, 4705b8e80941Smrg }, 4706b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4707b8e80941Smrg .txc = ISL_TXC_ASTC, 4708b8e80941Smrg }, 4709b8e80941Smrg 4710b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB] = { 4711b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB, 4712b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB", 4713b8e80941Smrg .bpb = 128, 4714b8e80941Smrg .bw = 12, 4715b8e80941Smrg .bh = 10, 4716b8e80941Smrg .bd = 1, 4717b8e80941Smrg .channels = { 4718b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4719b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4720b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4721b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4722b8e80941Smrg .l = {}, 4723b8e80941Smrg .i = {}, 4724b8e80941Smrg .p = {}, 4725b8e80941Smrg }, 4726b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4727b8e80941Smrg .txc = ISL_TXC_ASTC, 4728b8e80941Smrg }, 4729b8e80941Smrg 4730b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB] = { 4731b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB, 4732b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB", 4733b8e80941Smrg .bpb = 128, 4734b8e80941Smrg .bw = 12, 4735b8e80941Smrg .bh = 12, 4736b8e80941Smrg .bd = 1, 4737b8e80941Smrg .channels = { 4738b8e80941Smrg .r = { ISL_UNORM, -1, 8 }, 4739b8e80941Smrg .g = { ISL_UNORM, -1, 8 }, 4740b8e80941Smrg .b = { ISL_UNORM, -1, 8 }, 4741b8e80941Smrg .a = { ISL_UNORM, -1, 8 }, 4742b8e80941Smrg .l = {}, 4743b8e80941Smrg .i = {}, 4744b8e80941Smrg .p = {}, 4745b8e80941Smrg }, 4746b8e80941Smrg .colorspace = ISL_COLORSPACE_SRGB, 4747b8e80941Smrg .txc = ISL_TXC_ASTC, 4748b8e80941Smrg }, 4749b8e80941Smrg 4750b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16] = { 4751b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16, 4752b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16", 4753b8e80941Smrg .bpb = 128, 4754b8e80941Smrg .bw = 4, 4755b8e80941Smrg .bh = 4, 4756b8e80941Smrg .bd = 1, 4757b8e80941Smrg .channels = { 4758b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4759b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4760b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4761b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4762b8e80941Smrg .l = {}, 4763b8e80941Smrg .i = {}, 4764b8e80941Smrg .p = {}, 4765b8e80941Smrg }, 4766b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4767b8e80941Smrg .txc = ISL_TXC_ASTC, 4768b8e80941Smrg }, 4769b8e80941Smrg 4770b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16] = { 4771b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16, 4772b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16", 4773b8e80941Smrg .bpb = 128, 4774b8e80941Smrg .bw = 5, 4775b8e80941Smrg .bh = 4, 4776b8e80941Smrg .bd = 1, 4777b8e80941Smrg .channels = { 4778b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4779b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4780b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4781b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4782b8e80941Smrg .l = {}, 4783b8e80941Smrg .i = {}, 4784b8e80941Smrg .p = {}, 4785b8e80941Smrg }, 4786b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4787b8e80941Smrg .txc = ISL_TXC_ASTC, 4788b8e80941Smrg }, 4789b8e80941Smrg 4790b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16] = { 4791b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16, 4792b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_5X5_FLT16", 4793b8e80941Smrg .bpb = 128, 4794b8e80941Smrg .bw = 5, 4795b8e80941Smrg .bh = 5, 4796b8e80941Smrg .bd = 1, 4797b8e80941Smrg .channels = { 4798b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4799b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4800b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4801b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4802b8e80941Smrg .l = {}, 4803b8e80941Smrg .i = {}, 4804b8e80941Smrg .p = {}, 4805b8e80941Smrg }, 4806b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4807b8e80941Smrg .txc = ISL_TXC_ASTC, 4808b8e80941Smrg }, 4809b8e80941Smrg 4810b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16] = { 4811b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16, 4812b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_6X5_FLT16", 4813b8e80941Smrg .bpb = 128, 4814b8e80941Smrg .bw = 6, 4815b8e80941Smrg .bh = 5, 4816b8e80941Smrg .bd = 1, 4817b8e80941Smrg .channels = { 4818b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4819b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4820b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4821b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4822b8e80941Smrg .l = {}, 4823b8e80941Smrg .i = {}, 4824b8e80941Smrg .p = {}, 4825b8e80941Smrg }, 4826b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4827b8e80941Smrg .txc = ISL_TXC_ASTC, 4828b8e80941Smrg }, 4829b8e80941Smrg 4830b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16] = { 4831b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16, 4832b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_6X6_FLT16", 4833b8e80941Smrg .bpb = 128, 4834b8e80941Smrg .bw = 6, 4835b8e80941Smrg .bh = 6, 4836b8e80941Smrg .bd = 1, 4837b8e80941Smrg .channels = { 4838b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4839b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4840b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4841b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4842b8e80941Smrg .l = {}, 4843b8e80941Smrg .i = {}, 4844b8e80941Smrg .p = {}, 4845b8e80941Smrg }, 4846b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4847b8e80941Smrg .txc = ISL_TXC_ASTC, 4848b8e80941Smrg }, 4849b8e80941Smrg 4850b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16] = { 4851b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16, 4852b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X5_FLT16", 4853b8e80941Smrg .bpb = 128, 4854b8e80941Smrg .bw = 8, 4855b8e80941Smrg .bh = 5, 4856b8e80941Smrg .bd = 1, 4857b8e80941Smrg .channels = { 4858b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4859b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4860b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4861b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4862b8e80941Smrg .l = {}, 4863b8e80941Smrg .i = {}, 4864b8e80941Smrg .p = {}, 4865b8e80941Smrg }, 4866b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4867b8e80941Smrg .txc = ISL_TXC_ASTC, 4868b8e80941Smrg }, 4869b8e80941Smrg 4870b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16] = { 4871b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16, 4872b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X6_FLT16", 4873b8e80941Smrg .bpb = 128, 4874b8e80941Smrg .bw = 8, 4875b8e80941Smrg .bh = 6, 4876b8e80941Smrg .bd = 1, 4877b8e80941Smrg .channels = { 4878b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4879b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4880b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4881b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4882b8e80941Smrg .l = {}, 4883b8e80941Smrg .i = {}, 4884b8e80941Smrg .p = {}, 4885b8e80941Smrg }, 4886b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4887b8e80941Smrg .txc = ISL_TXC_ASTC, 4888b8e80941Smrg }, 4889b8e80941Smrg 4890b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16] = { 4891b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16, 4892b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_8X8_FLT16", 4893b8e80941Smrg .bpb = 128, 4894b8e80941Smrg .bw = 8, 4895b8e80941Smrg .bh = 8, 4896b8e80941Smrg .bd = 1, 4897b8e80941Smrg .channels = { 4898b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4899b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4900b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4901b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4902b8e80941Smrg .l = {}, 4903b8e80941Smrg .i = {}, 4904b8e80941Smrg .p = {}, 4905b8e80941Smrg }, 4906b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4907b8e80941Smrg .txc = ISL_TXC_ASTC, 4908b8e80941Smrg }, 4909b8e80941Smrg 4910b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16] = { 4911b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16, 4912b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X5_FLT16", 4913b8e80941Smrg .bpb = 128, 4914b8e80941Smrg .bw = 10, 4915b8e80941Smrg .bh = 5, 4916b8e80941Smrg .bd = 1, 4917b8e80941Smrg .channels = { 4918b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4919b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4920b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4921b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4922b8e80941Smrg .l = {}, 4923b8e80941Smrg .i = {}, 4924b8e80941Smrg .p = {}, 4925b8e80941Smrg }, 4926b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4927b8e80941Smrg .txc = ISL_TXC_ASTC, 4928b8e80941Smrg }, 4929b8e80941Smrg 4930b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16] = { 4931b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16, 4932b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X6_FLT16", 4933b8e80941Smrg .bpb = 128, 4934b8e80941Smrg .bw = 10, 4935b8e80941Smrg .bh = 6, 4936b8e80941Smrg .bd = 1, 4937b8e80941Smrg .channels = { 4938b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4939b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4940b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4941b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4942b8e80941Smrg .l = {}, 4943b8e80941Smrg .i = {}, 4944b8e80941Smrg .p = {}, 4945b8e80941Smrg }, 4946b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4947b8e80941Smrg .txc = ISL_TXC_ASTC, 4948b8e80941Smrg }, 4949b8e80941Smrg 4950b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16] = { 4951b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16, 4952b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X8_FLT16", 4953b8e80941Smrg .bpb = 128, 4954b8e80941Smrg .bw = 10, 4955b8e80941Smrg .bh = 8, 4956b8e80941Smrg .bd = 1, 4957b8e80941Smrg .channels = { 4958b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4959b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4960b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4961b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4962b8e80941Smrg .l = {}, 4963b8e80941Smrg .i = {}, 4964b8e80941Smrg .p = {}, 4965b8e80941Smrg }, 4966b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4967b8e80941Smrg .txc = ISL_TXC_ASTC, 4968b8e80941Smrg }, 4969b8e80941Smrg 4970b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16] = { 4971b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16, 4972b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_10X10_FLT16", 4973b8e80941Smrg .bpb = 128, 4974b8e80941Smrg .bw = 10, 4975b8e80941Smrg .bh = 10, 4976b8e80941Smrg .bd = 1, 4977b8e80941Smrg .channels = { 4978b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4979b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 4980b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 4981b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 4982b8e80941Smrg .l = {}, 4983b8e80941Smrg .i = {}, 4984b8e80941Smrg .p = {}, 4985b8e80941Smrg }, 4986b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 4987b8e80941Smrg .txc = ISL_TXC_ASTC, 4988b8e80941Smrg }, 4989b8e80941Smrg 4990b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16] = { 4991b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16, 4992b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_12X10_FLT16", 4993b8e80941Smrg .bpb = 128, 4994b8e80941Smrg .bw = 12, 4995b8e80941Smrg .bh = 10, 4996b8e80941Smrg .bd = 1, 4997b8e80941Smrg .channels = { 4998b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 4999b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5000b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5001b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5002b8e80941Smrg .l = {}, 5003b8e80941Smrg .i = {}, 5004b8e80941Smrg .p = {}, 5005b8e80941Smrg }, 5006b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5007b8e80941Smrg .txc = ISL_TXC_ASTC, 5008b8e80941Smrg }, 5009b8e80941Smrg 5010b8e80941Smrg [ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16] = { 5011b8e80941Smrg .format = ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16, 5012b8e80941Smrg .name = "ISL_FORMAT_ASTC_LDR_2D_12X12_FLT16", 5013b8e80941Smrg .bpb = 128, 5014b8e80941Smrg .bw = 12, 5015b8e80941Smrg .bh = 12, 5016b8e80941Smrg .bd = 1, 5017b8e80941Smrg .channels = { 5018b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5019b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5020b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5021b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5022b8e80941Smrg .l = {}, 5023b8e80941Smrg .i = {}, 5024b8e80941Smrg .p = {}, 5025b8e80941Smrg }, 5026b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5027b8e80941Smrg .txc = ISL_TXC_ASTC, 5028b8e80941Smrg }, 5029b8e80941Smrg 5030b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16] = { 5031b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16, 5032b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_4X4_FLT16", 5033b8e80941Smrg .bpb = 128, 5034b8e80941Smrg .bw = 4, 5035b8e80941Smrg .bh = 4, 5036b8e80941Smrg .bd = 1, 5037b8e80941Smrg .channels = { 5038b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5039b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5040b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5041b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5042b8e80941Smrg .l = {}, 5043b8e80941Smrg .i = {}, 5044b8e80941Smrg .p = {}, 5045b8e80941Smrg }, 5046b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5047b8e80941Smrg .txc = ISL_TXC_ASTC, 5048b8e80941Smrg }, 5049b8e80941Smrg 5050b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16] = { 5051b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16, 5052b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_5X4_FLT16", 5053b8e80941Smrg .bpb = 128, 5054b8e80941Smrg .bw = 5, 5055b8e80941Smrg .bh = 4, 5056b8e80941Smrg .bd = 1, 5057b8e80941Smrg .channels = { 5058b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5059b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5060b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5061b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5062b8e80941Smrg .l = {}, 5063b8e80941Smrg .i = {}, 5064b8e80941Smrg .p = {}, 5065b8e80941Smrg }, 5066b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5067b8e80941Smrg .txc = ISL_TXC_ASTC, 5068b8e80941Smrg }, 5069b8e80941Smrg 5070b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16] = { 5071b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16, 5072b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_5X5_FLT16", 5073b8e80941Smrg .bpb = 128, 5074b8e80941Smrg .bw = 5, 5075b8e80941Smrg .bh = 5, 5076b8e80941Smrg .bd = 1, 5077b8e80941Smrg .channels = { 5078b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5079b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5080b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5081b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5082b8e80941Smrg .l = {}, 5083b8e80941Smrg .i = {}, 5084b8e80941Smrg .p = {}, 5085b8e80941Smrg }, 5086b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5087b8e80941Smrg .txc = ISL_TXC_ASTC, 5088b8e80941Smrg }, 5089b8e80941Smrg 5090b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16] = { 5091b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16, 5092b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_6X5_FLT16", 5093b8e80941Smrg .bpb = 128, 5094b8e80941Smrg .bw = 6, 5095b8e80941Smrg .bh = 5, 5096b8e80941Smrg .bd = 1, 5097b8e80941Smrg .channels = { 5098b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5099b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5100b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5101b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5102b8e80941Smrg .l = {}, 5103b8e80941Smrg .i = {}, 5104b8e80941Smrg .p = {}, 5105b8e80941Smrg }, 5106b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5107b8e80941Smrg .txc = ISL_TXC_ASTC, 5108b8e80941Smrg }, 5109b8e80941Smrg 5110b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16] = { 5111b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16, 5112b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_6X6_FLT16", 5113b8e80941Smrg .bpb = 128, 5114b8e80941Smrg .bw = 6, 5115b8e80941Smrg .bh = 6, 5116b8e80941Smrg .bd = 1, 5117b8e80941Smrg .channels = { 5118b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5119b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5120b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5121b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5122b8e80941Smrg .l = {}, 5123b8e80941Smrg .i = {}, 5124b8e80941Smrg .p = {}, 5125b8e80941Smrg }, 5126b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5127b8e80941Smrg .txc = ISL_TXC_ASTC, 5128b8e80941Smrg }, 5129b8e80941Smrg 5130b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16] = { 5131b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16, 5132b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_8X5_FLT16", 5133b8e80941Smrg .bpb = 128, 5134b8e80941Smrg .bw = 8, 5135b8e80941Smrg .bh = 5, 5136b8e80941Smrg .bd = 1, 5137b8e80941Smrg .channels = { 5138b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5139b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5140b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5141b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5142b8e80941Smrg .l = {}, 5143b8e80941Smrg .i = {}, 5144b8e80941Smrg .p = {}, 5145b8e80941Smrg }, 5146b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5147b8e80941Smrg .txc = ISL_TXC_ASTC, 5148b8e80941Smrg }, 5149b8e80941Smrg 5150b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16] = { 5151b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16, 5152b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_8X6_FLT16", 5153b8e80941Smrg .bpb = 128, 5154b8e80941Smrg .bw = 8, 5155b8e80941Smrg .bh = 6, 5156b8e80941Smrg .bd = 1, 5157b8e80941Smrg .channels = { 5158b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5159b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5160b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5161b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5162b8e80941Smrg .l = {}, 5163b8e80941Smrg .i = {}, 5164b8e80941Smrg .p = {}, 5165b8e80941Smrg }, 5166b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5167b8e80941Smrg .txc = ISL_TXC_ASTC, 5168b8e80941Smrg }, 5169b8e80941Smrg 5170b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16] = { 5171b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16, 5172b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_8X8_FLT16", 5173b8e80941Smrg .bpb = 128, 5174b8e80941Smrg .bw = 8, 5175b8e80941Smrg .bh = 8, 5176b8e80941Smrg .bd = 1, 5177b8e80941Smrg .channels = { 5178b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5179b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5180b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5181b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5182b8e80941Smrg .l = {}, 5183b8e80941Smrg .i = {}, 5184b8e80941Smrg .p = {}, 5185b8e80941Smrg }, 5186b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5187b8e80941Smrg .txc = ISL_TXC_ASTC, 5188b8e80941Smrg }, 5189b8e80941Smrg 5190b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16] = { 5191b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16, 5192b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_10X5_FLT16", 5193b8e80941Smrg .bpb = 128, 5194b8e80941Smrg .bw = 10, 5195b8e80941Smrg .bh = 5, 5196b8e80941Smrg .bd = 1, 5197b8e80941Smrg .channels = { 5198b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5199b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5200b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5201b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5202b8e80941Smrg .l = {}, 5203b8e80941Smrg .i = {}, 5204b8e80941Smrg .p = {}, 5205b8e80941Smrg }, 5206b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5207b8e80941Smrg .txc = ISL_TXC_ASTC, 5208b8e80941Smrg }, 5209b8e80941Smrg 5210b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16] = { 5211b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16, 5212b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_10X6_FLT16", 5213b8e80941Smrg .bpb = 128, 5214b8e80941Smrg .bw = 10, 5215b8e80941Smrg .bh = 6, 5216b8e80941Smrg .bd = 1, 5217b8e80941Smrg .channels = { 5218b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5219b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5220b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5221b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5222b8e80941Smrg .l = {}, 5223b8e80941Smrg .i = {}, 5224b8e80941Smrg .p = {}, 5225b8e80941Smrg }, 5226b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5227b8e80941Smrg .txc = ISL_TXC_ASTC, 5228b8e80941Smrg }, 5229b8e80941Smrg 5230b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16] = { 5231b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16, 5232b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_10X8_FLT16", 5233b8e80941Smrg .bpb = 128, 5234b8e80941Smrg .bw = 10, 5235b8e80941Smrg .bh = 8, 5236b8e80941Smrg .bd = 1, 5237b8e80941Smrg .channels = { 5238b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5239b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5240b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5241b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5242b8e80941Smrg .l = {}, 5243b8e80941Smrg .i = {}, 5244b8e80941Smrg .p = {}, 5245b8e80941Smrg }, 5246b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5247b8e80941Smrg .txc = ISL_TXC_ASTC, 5248b8e80941Smrg }, 5249b8e80941Smrg 5250b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16] = { 5251b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16, 5252b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_10X10_FLT16", 5253b8e80941Smrg .bpb = 128, 5254b8e80941Smrg .bw = 10, 5255b8e80941Smrg .bh = 10, 5256b8e80941Smrg .bd = 1, 5257b8e80941Smrg .channels = { 5258b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5259b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5260b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5261b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5262b8e80941Smrg .l = {}, 5263b8e80941Smrg .i = {}, 5264b8e80941Smrg .p = {}, 5265b8e80941Smrg }, 5266b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5267b8e80941Smrg .txc = ISL_TXC_ASTC, 5268b8e80941Smrg }, 5269b8e80941Smrg 5270b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16] = { 5271b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16, 5272b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_12X10_FLT16", 5273b8e80941Smrg .bpb = 128, 5274b8e80941Smrg .bw = 12, 5275b8e80941Smrg .bh = 10, 5276b8e80941Smrg .bd = 1, 5277b8e80941Smrg .channels = { 5278b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5279b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5280b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5281b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5282b8e80941Smrg .l = {}, 5283b8e80941Smrg .i = {}, 5284b8e80941Smrg .p = {}, 5285b8e80941Smrg }, 5286b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5287b8e80941Smrg .txc = ISL_TXC_ASTC, 5288b8e80941Smrg }, 5289b8e80941Smrg 5290b8e80941Smrg [ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16] = { 5291b8e80941Smrg .format = ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16, 5292b8e80941Smrg .name = "ISL_FORMAT_ASTC_HDR_2D_12X12_FLT16", 5293b8e80941Smrg .bpb = 128, 5294b8e80941Smrg .bw = 12, 5295b8e80941Smrg .bh = 12, 5296b8e80941Smrg .bd = 1, 5297b8e80941Smrg .channels = { 5298b8e80941Smrg .r = { ISL_SFLOAT, -1, 16 }, 5299b8e80941Smrg .g = { ISL_SFLOAT, -1, 16 }, 5300b8e80941Smrg .b = { ISL_SFLOAT, -1, 16 }, 5301b8e80941Smrg .a = { ISL_SFLOAT, -1, 16 }, 5302b8e80941Smrg .l = {}, 5303b8e80941Smrg .i = {}, 5304b8e80941Smrg .p = {}, 5305b8e80941Smrg }, 5306b8e80941Smrg .colorspace = ISL_COLORSPACE_LINEAR, 5307b8e80941Smrg .txc = ISL_TXC_ASTC, 5308b8e80941Smrg }, 5309b8e80941Smrg 5310b8e80941Smrg [ISL_FORMAT_HIZ] = { 5311b8e80941Smrg .format = ISL_FORMAT_HIZ, 5312b8e80941Smrg .name = "ISL_FORMAT_HIZ", 5313b8e80941Smrg .bpb = 128, 5314b8e80941Smrg .bw = 8, 5315b8e80941Smrg .bh = 4, 5316b8e80941Smrg .bd = 1, 5317b8e80941Smrg .channels = { 5318b8e80941Smrg .r = {}, 5319b8e80941Smrg .g = {}, 5320b8e80941Smrg .b = {}, 5321b8e80941Smrg .a = {}, 5322b8e80941Smrg .l = {}, 5323b8e80941Smrg .i = {}, 5324b8e80941Smrg .p = {}, 5325b8e80941Smrg }, 5326b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5327b8e80941Smrg .txc = ISL_TXC_HIZ, 5328b8e80941Smrg }, 5329b8e80941Smrg 5330b8e80941Smrg [ISL_FORMAT_MCS_2X] = { 5331b8e80941Smrg .format = ISL_FORMAT_MCS_2X, 5332b8e80941Smrg .name = "ISL_FORMAT_MCS_2X", 5333b8e80941Smrg .bpb = 8, 5334b8e80941Smrg .bw = 1, 5335b8e80941Smrg .bh = 1, 5336b8e80941Smrg .bd = 1, 5337b8e80941Smrg .channels = { 5338b8e80941Smrg .r = {}, 5339b8e80941Smrg .g = {}, 5340b8e80941Smrg .b = {}, 5341b8e80941Smrg .a = {}, 5342b8e80941Smrg .l = {}, 5343b8e80941Smrg .i = {}, 5344b8e80941Smrg .p = {}, 5345b8e80941Smrg }, 5346b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5347b8e80941Smrg .txc = ISL_TXC_MCS, 5348b8e80941Smrg }, 5349b8e80941Smrg 5350b8e80941Smrg [ISL_FORMAT_MCS_4X] = { 5351b8e80941Smrg .format = ISL_FORMAT_MCS_4X, 5352b8e80941Smrg .name = "ISL_FORMAT_MCS_4X", 5353b8e80941Smrg .bpb = 8, 5354b8e80941Smrg .bw = 1, 5355b8e80941Smrg .bh = 1, 5356b8e80941Smrg .bd = 1, 5357b8e80941Smrg .channels = { 5358b8e80941Smrg .r = {}, 5359b8e80941Smrg .g = {}, 5360b8e80941Smrg .b = {}, 5361b8e80941Smrg .a = {}, 5362b8e80941Smrg .l = {}, 5363b8e80941Smrg .i = {}, 5364b8e80941Smrg .p = {}, 5365b8e80941Smrg }, 5366b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5367b8e80941Smrg .txc = ISL_TXC_MCS, 5368b8e80941Smrg }, 5369b8e80941Smrg 5370b8e80941Smrg [ISL_FORMAT_MCS_8X] = { 5371b8e80941Smrg .format = ISL_FORMAT_MCS_8X, 5372b8e80941Smrg .name = "ISL_FORMAT_MCS_8X", 5373b8e80941Smrg .bpb = 32, 5374b8e80941Smrg .bw = 1, 5375b8e80941Smrg .bh = 1, 5376b8e80941Smrg .bd = 1, 5377b8e80941Smrg .channels = { 5378b8e80941Smrg .r = {}, 5379b8e80941Smrg .g = {}, 5380b8e80941Smrg .b = {}, 5381b8e80941Smrg .a = {}, 5382b8e80941Smrg .l = {}, 5383b8e80941Smrg .i = {}, 5384b8e80941Smrg .p = {}, 5385b8e80941Smrg }, 5386b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5387b8e80941Smrg .txc = ISL_TXC_MCS, 5388b8e80941Smrg }, 5389b8e80941Smrg 5390b8e80941Smrg [ISL_FORMAT_MCS_16X] = { 5391b8e80941Smrg .format = ISL_FORMAT_MCS_16X, 5392b8e80941Smrg .name = "ISL_FORMAT_MCS_16X", 5393b8e80941Smrg .bpb = 64, 5394b8e80941Smrg .bw = 1, 5395b8e80941Smrg .bh = 1, 5396b8e80941Smrg .bd = 1, 5397b8e80941Smrg .channels = { 5398b8e80941Smrg .r = {}, 5399b8e80941Smrg .g = {}, 5400b8e80941Smrg .b = {}, 5401b8e80941Smrg .a = {}, 5402b8e80941Smrg .l = {}, 5403b8e80941Smrg .i = {}, 5404b8e80941Smrg .p = {}, 5405b8e80941Smrg }, 5406b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5407b8e80941Smrg .txc = ISL_TXC_MCS, 5408b8e80941Smrg }, 5409b8e80941Smrg 5410b8e80941Smrg [ISL_FORMAT_GEN7_CCS_32BPP_X] = { 5411b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_32BPP_X, 5412b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_32BPP_X", 5413b8e80941Smrg .bpb = 1, 5414b8e80941Smrg .bw = 16, 5415b8e80941Smrg .bh = 2, 5416b8e80941Smrg .bd = 1, 5417b8e80941Smrg .channels = { 5418b8e80941Smrg .r = {}, 5419b8e80941Smrg .g = {}, 5420b8e80941Smrg .b = {}, 5421b8e80941Smrg .a = {}, 5422b8e80941Smrg .l = {}, 5423b8e80941Smrg .i = {}, 5424b8e80941Smrg .p = {}, 5425b8e80941Smrg }, 5426b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5427b8e80941Smrg .txc = ISL_TXC_CCS, 5428b8e80941Smrg }, 5429b8e80941Smrg 5430b8e80941Smrg [ISL_FORMAT_GEN7_CCS_64BPP_X] = { 5431b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_64BPP_X, 5432b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_64BPP_X", 5433b8e80941Smrg .bpb = 1, 5434b8e80941Smrg .bw = 8, 5435b8e80941Smrg .bh = 2, 5436b8e80941Smrg .bd = 1, 5437b8e80941Smrg .channels = { 5438b8e80941Smrg .r = {}, 5439b8e80941Smrg .g = {}, 5440b8e80941Smrg .b = {}, 5441b8e80941Smrg .a = {}, 5442b8e80941Smrg .l = {}, 5443b8e80941Smrg .i = {}, 5444b8e80941Smrg .p = {}, 5445b8e80941Smrg }, 5446b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5447b8e80941Smrg .txc = ISL_TXC_CCS, 5448b8e80941Smrg }, 5449b8e80941Smrg 5450b8e80941Smrg [ISL_FORMAT_GEN7_CCS_128BPP_X] = { 5451b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_128BPP_X, 5452b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_128BPP_X", 5453b8e80941Smrg .bpb = 1, 5454b8e80941Smrg .bw = 4, 5455b8e80941Smrg .bh = 2, 5456b8e80941Smrg .bd = 1, 5457b8e80941Smrg .channels = { 5458b8e80941Smrg .r = {}, 5459b8e80941Smrg .g = {}, 5460b8e80941Smrg .b = {}, 5461b8e80941Smrg .a = {}, 5462b8e80941Smrg .l = {}, 5463b8e80941Smrg .i = {}, 5464b8e80941Smrg .p = {}, 5465b8e80941Smrg }, 5466b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5467b8e80941Smrg .txc = ISL_TXC_CCS, 5468b8e80941Smrg }, 5469b8e80941Smrg 5470b8e80941Smrg [ISL_FORMAT_GEN7_CCS_32BPP_Y] = { 5471b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_32BPP_Y, 5472b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_32BPP_Y", 5473b8e80941Smrg .bpb = 1, 5474b8e80941Smrg .bw = 8, 5475b8e80941Smrg .bh = 4, 5476b8e80941Smrg .bd = 1, 5477b8e80941Smrg .channels = { 5478b8e80941Smrg .r = {}, 5479b8e80941Smrg .g = {}, 5480b8e80941Smrg .b = {}, 5481b8e80941Smrg .a = {}, 5482b8e80941Smrg .l = {}, 5483b8e80941Smrg .i = {}, 5484b8e80941Smrg .p = {}, 5485b8e80941Smrg }, 5486b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5487b8e80941Smrg .txc = ISL_TXC_CCS, 5488b8e80941Smrg }, 5489b8e80941Smrg 5490b8e80941Smrg [ISL_FORMAT_GEN7_CCS_64BPP_Y] = { 5491b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_64BPP_Y, 5492b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_64BPP_Y", 5493b8e80941Smrg .bpb = 1, 5494b8e80941Smrg .bw = 4, 5495b8e80941Smrg .bh = 4, 5496b8e80941Smrg .bd = 1, 5497b8e80941Smrg .channels = { 5498b8e80941Smrg .r = {}, 5499b8e80941Smrg .g = {}, 5500b8e80941Smrg .b = {}, 5501b8e80941Smrg .a = {}, 5502b8e80941Smrg .l = {}, 5503b8e80941Smrg .i = {}, 5504b8e80941Smrg .p = {}, 5505b8e80941Smrg }, 5506b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5507b8e80941Smrg .txc = ISL_TXC_CCS, 5508b8e80941Smrg }, 5509b8e80941Smrg 5510b8e80941Smrg [ISL_FORMAT_GEN7_CCS_128BPP_Y] = { 5511b8e80941Smrg .format = ISL_FORMAT_GEN7_CCS_128BPP_Y, 5512b8e80941Smrg .name = "ISL_FORMAT_GEN7_CCS_128BPP_Y", 5513b8e80941Smrg .bpb = 1, 5514b8e80941Smrg .bw = 2, 5515b8e80941Smrg .bh = 4, 5516b8e80941Smrg .bd = 1, 5517b8e80941Smrg .channels = { 5518b8e80941Smrg .r = {}, 5519b8e80941Smrg .g = {}, 5520b8e80941Smrg .b = {}, 5521b8e80941Smrg .a = {}, 5522b8e80941Smrg .l = {}, 5523b8e80941Smrg .i = {}, 5524b8e80941Smrg .p = {}, 5525b8e80941Smrg }, 5526b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5527b8e80941Smrg .txc = ISL_TXC_CCS, 5528b8e80941Smrg }, 5529b8e80941Smrg 5530b8e80941Smrg [ISL_FORMAT_GEN9_CCS_32BPP] = { 5531b8e80941Smrg .format = ISL_FORMAT_GEN9_CCS_32BPP, 5532b8e80941Smrg .name = "ISL_FORMAT_GEN9_CCS_32BPP", 5533b8e80941Smrg .bpb = 2, 5534b8e80941Smrg .bw = 8, 5535b8e80941Smrg .bh = 4, 5536b8e80941Smrg .bd = 1, 5537b8e80941Smrg .channels = { 5538b8e80941Smrg .r = {}, 5539b8e80941Smrg .g = {}, 5540b8e80941Smrg .b = {}, 5541b8e80941Smrg .a = {}, 5542b8e80941Smrg .l = {}, 5543b8e80941Smrg .i = {}, 5544b8e80941Smrg .p = {}, 5545b8e80941Smrg }, 5546b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5547b8e80941Smrg .txc = ISL_TXC_CCS, 5548b8e80941Smrg }, 5549b8e80941Smrg 5550b8e80941Smrg [ISL_FORMAT_GEN9_CCS_64BPP] = { 5551b8e80941Smrg .format = ISL_FORMAT_GEN9_CCS_64BPP, 5552b8e80941Smrg .name = "ISL_FORMAT_GEN9_CCS_64BPP", 5553b8e80941Smrg .bpb = 2, 5554b8e80941Smrg .bw = 4, 5555b8e80941Smrg .bh = 4, 5556b8e80941Smrg .bd = 1, 5557b8e80941Smrg .channels = { 5558b8e80941Smrg .r = {}, 5559b8e80941Smrg .g = {}, 5560b8e80941Smrg .b = {}, 5561b8e80941Smrg .a = {}, 5562b8e80941Smrg .l = {}, 5563b8e80941Smrg .i = {}, 5564b8e80941Smrg .p = {}, 5565b8e80941Smrg }, 5566b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5567b8e80941Smrg .txc = ISL_TXC_CCS, 5568b8e80941Smrg }, 5569b8e80941Smrg 5570b8e80941Smrg [ISL_FORMAT_GEN9_CCS_128BPP] = { 5571b8e80941Smrg .format = ISL_FORMAT_GEN9_CCS_128BPP, 5572b8e80941Smrg .name = "ISL_FORMAT_GEN9_CCS_128BPP", 5573b8e80941Smrg .bpb = 2, 5574b8e80941Smrg .bw = 2, 5575b8e80941Smrg .bh = 4, 5576b8e80941Smrg .bd = 1, 5577b8e80941Smrg .channels = { 5578b8e80941Smrg .r = {}, 5579b8e80941Smrg .g = {}, 5580b8e80941Smrg .b = {}, 5581b8e80941Smrg .a = {}, 5582b8e80941Smrg .l = {}, 5583b8e80941Smrg .i = {}, 5584b8e80941Smrg .p = {}, 5585b8e80941Smrg }, 5586b8e80941Smrg .colorspace = ISL_COLORSPACE_NONE, 5587b8e80941Smrg .txc = ISL_TXC_CCS, 5588b8e80941Smrg }, 5589b8e80941Smrg 5590b8e80941Smrg}; 5591b8e80941Smrg 5592b8e80941Smrgbool 5593b8e80941Smrgisl_format_is_valid(enum isl_format format) 5594b8e80941Smrg{ 5595b8e80941Smrg if (format >= sizeof(isl_format_layouts) / sizeof(isl_format_layouts[0])) 5596b8e80941Smrg return false; 5597b8e80941Smrg return isl_format_layouts[format].name; 5598b8e80941Smrg} 5599b8e80941Smrg 5600b8e80941Smrgenum isl_format 5601b8e80941Smrgisl_format_srgb_to_linear(enum isl_format format) 5602b8e80941Smrg{ 5603b8e80941Smrg switch (format) { 5604b8e80941Smrg case ISL_FORMAT_B8G8R8A8_UNORM_SRGB: 5605b8e80941Smrg return ISL_FORMAT_B8G8R8A8_UNORM; 5606b8e80941Smrg case ISL_FORMAT_R10G10B10A2_UNORM_SRGB: 5607b8e80941Smrg return ISL_FORMAT_R10G10B10A2_UNORM; 5608b8e80941Smrg case ISL_FORMAT_R8G8B8A8_UNORM_SRGB: 5609b8e80941Smrg return ISL_FORMAT_R8G8B8A8_UNORM; 5610b8e80941Smrg case ISL_FORMAT_B10G10R10A2_UNORM_SRGB: 5611b8e80941Smrg return ISL_FORMAT_B10G10R10A2_UNORM; 5612b8e80941Smrg case ISL_FORMAT_B8G8R8X8_UNORM_SRGB: 5613b8e80941Smrg return ISL_FORMAT_B8G8R8X8_UNORM; 5614b8e80941Smrg case ISL_FORMAT_R8G8B8X8_UNORM_SRGB: 5615b8e80941Smrg return ISL_FORMAT_R8G8B8X8_UNORM; 5616b8e80941Smrg case ISL_FORMAT_B5G6R5_UNORM_SRGB: 5617b8e80941Smrg return ISL_FORMAT_B5G6R5_UNORM; 5618b8e80941Smrg case ISL_FORMAT_B5G5R5A1_UNORM_SRGB: 5619b8e80941Smrg return ISL_FORMAT_B5G5R5A1_UNORM; 5620b8e80941Smrg case ISL_FORMAT_B4G4R4A4_UNORM_SRGB: 5621b8e80941Smrg return ISL_FORMAT_B4G4R4A4_UNORM; 5622b8e80941Smrg case ISL_FORMAT_L8A8_UNORM_SRGB: 5623b8e80941Smrg return ISL_FORMAT_L8A8_UNORM; 5624b8e80941Smrg case ISL_FORMAT_B5G5R5X1_UNORM_SRGB: 5625b8e80941Smrg return ISL_FORMAT_B5G5R5X1_UNORM; 5626b8e80941Smrg case ISL_FORMAT_L8_UNORM_SRGB: 5627b8e80941Smrg return ISL_FORMAT_L8_UNORM; 5628b8e80941Smrg case ISL_FORMAT_DXT1_RGB_SRGB: 5629b8e80941Smrg return ISL_FORMAT_DXT1_RGB; 5630b8e80941Smrg case ISL_FORMAT_BC1_UNORM_SRGB: 5631b8e80941Smrg return ISL_FORMAT_BC1_UNORM; 5632b8e80941Smrg case ISL_FORMAT_BC2_UNORM_SRGB: 5633b8e80941Smrg return ISL_FORMAT_BC2_UNORM; 5634b8e80941Smrg case ISL_FORMAT_BC3_UNORM_SRGB: 5635b8e80941Smrg return ISL_FORMAT_BC3_UNORM; 5636b8e80941Smrg case ISL_FORMAT_BC7_UNORM_SRGB: 5637b8e80941Smrg return ISL_FORMAT_BC7_UNORM; 5638b8e80941Smrg case ISL_FORMAT_R8G8B8_UNORM_SRGB: 5639b8e80941Smrg return ISL_FORMAT_R8G8B8_UNORM; 5640b8e80941Smrg case ISL_FORMAT_ETC2_SRGB8: 5641b8e80941Smrg return ISL_FORMAT_ETC2_RGB8; 5642b8e80941Smrg case ISL_FORMAT_ETC2_SRGB8_PTA: 5643b8e80941Smrg return ISL_FORMAT_ETC2_RGB8_PTA; 5644b8e80941Smrg case ISL_FORMAT_ETC2_EAC_SRGB8_A8: 5645b8e80941Smrg return ISL_FORMAT_ETC2_EAC_SRGB8_A8; 5646b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB: 5647b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_4X4_U8SRGB; 5648b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB: 5649b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_5X4_U8SRGB; 5650b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB: 5651b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_5X5_U8SRGB; 5652b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB: 5653b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_6X5_U8SRGB; 5654b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB: 5655b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_6X6_U8SRGB; 5656b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB: 5657b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_8X5_U8SRGB; 5658b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB: 5659b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_8X6_U8SRGB; 5660b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB: 5661b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_8X8_U8SRGB; 5662b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB: 5663b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_10X5_U8SRGB; 5664b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB: 5665b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_10X6_U8SRGB; 5666b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB: 5667b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_10X8_U8SRGB; 5668b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB: 5669b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_10X10_U8SRGB; 5670b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB: 5671b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_12X10_U8SRGB; 5672b8e80941Smrg case ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB: 5673b8e80941Smrg return ISL_FORMAT_ASTC_LDR_2D_12X12_U8SRGB; 5674b8e80941Smrg default: 5675b8e80941Smrg return format; 5676b8e80941Smrg } 5677b8e80941Smrg} 5678