1{ 2 "GL_RG8_SNORM": { 3 "R8G8_SNORM": { 4 "GL_BYTE": "LoadToNative<GLbyte, 2>" 5 } 6 }, 7 "GL_SRGB8": { 8 "R8G8B8A8_UNORM_SRGB": { 9 "GL_UNSIGNED_BYTE": "LoadToNative3To4<GLubyte, 0xFF>" 10 }, 11 "R8G8B8_UNORM_SRGB": { 12 "GL_UNSIGNED_BYTE": "LoadToNative<GLbyte, 3>" 13 } 14 }, 15 "GL_SR8_EXT": { 16 "R8_UNORM_SRGB": { 17 "GL_UNSIGNED_BYTE": "LoadToNative<GLbyte, 1>" 18 } 19 }, 20 "GL_SRG8_EXT": { 21 "R8G8_UNORM_SRGB": { 22 "GL_UNSIGNED_BYTE": "LoadToNative<GLbyte, 2>" 23 } 24 }, 25 "GL_RGBA8I": { 26 "R8G8B8A8_SINT": { 27 "GL_BYTE": "LoadToNative<GLbyte, 4>" 28 } 29 }, 30 "GL_R8_SNORM": { 31 "R8_SNORM": { 32 "GL_BYTE": "LoadToNative<GLbyte, 1>" 33 } 34 }, 35 "GL_RGBA8_SNORM": { 36 "R8G8B8A8_SNORM": { 37 "GL_BYTE": "LoadToNative<GLbyte, 4>" 38 } 39 }, 40 "GL_R16I": { 41 "R16_SINT": { 42 "GL_SHORT": "LoadToNative<GLshort, 1>" 43 } 44 }, 45 "GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC": { 46 "R8G8B8A8_UNORM_SRGB": { 47 "GL_UNSIGNED_BYTE": "LoadETC2SRGBA8ToSRGBA8" 48 }, 49 "ETC2_R8G8B8A8_SRGB_BLOCK": { 50 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 51 } 52 }, 53 "GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2": { 54 "R8G8B8A8_UNORM": { 55 "GL_UNSIGNED_BYTE": "LoadETC2RGB8A1ToRGBA8" 56 }, 57 "ETC2_R8G8B8A1_UNORM_BLOCK": { 58 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 59 } 60 }, 61 "GL_RGB32UI": { 62 "R32G32B32A32_UINT": { 63 "GL_UNSIGNED_INT": "LoadToNative3To4<GLuint, 0x00000001>" 64 }, 65 "R32G32B32_UINT": { 66 "GL_UNSIGNED_INT": "LoadToNative<GLuint, 3>" 67 } 68 }, 69 "GL_ALPHA32F_EXT": { 70 "R32_FLOAT": { 71 "GL_FLOAT": "LoadToNative<GLfloat, 1>" 72 }, 73 "NONE": { 74 "GL_FLOAT": "LoadA32FToRGBA32F" 75 } 76 }, 77 "GL_R16UI": { 78 "R16_UINT": { 79 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 1>" 80 } 81 }, 82 "GL_RGB9_E5": { 83 "R9G9B9E5_SHAREDEXP": { 84 "GL_HALF_FLOAT": "LoadRGB16FToRGB9E5", 85 "GL_UNSIGNED_INT_5_9_9_9_REV": "LoadToNative<GLuint, 1>", 86 "GL_FLOAT": "LoadRGB32FToRGB9E5", 87 "GL_HALF_FLOAT_OES": "LoadRGB16FToRGB9E5" 88 } 89 }, 90 "GL_COMPRESSED_R11_EAC": { 91 "R16_UNORM": { 92 "GL_UNSIGNED_BYTE": "LoadEACR11ToR16" 93 }, 94 "R16_FLOAT": { 95 "GL_UNSIGNED_BYTE": "LoadEACR11ToR16F" 96 }, 97 "EAC_R11_UNORM_BLOCK": { 98 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 99 } 100 }, 101 "GL_RGBA32UI": { 102 "R32G32B32A32_UINT": { 103 "GL_UNSIGNED_INT": "LoadToNative<GLuint, 4>" 104 } 105 }, 106 "GL_RG8UI": { 107 "R8G8_UINT": { 108 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 2>" 109 } 110 }, 111 "GL_LUMINANCE32F_EXT": { 112 "R32_FLOAT": { 113 "GL_FLOAT": "LoadToNative<GLfloat, 1>" 114 }, 115 "NONE": { 116 "GL_FLOAT": "LoadL32FToRGBA32F" 117 } 118 }, 119 "GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2": { 120 "R8G8B8A8_UNORM_SRGB": { 121 "GL_UNSIGNED_BYTE": "LoadETC2SRGB8A1ToRGBA8" 122 }, 123 "ETC2_R8G8B8A1_SRGB_BLOCK": { 124 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 125 } 126 }, 127 "GL_R16F": { 128 "R16_FLOAT": { 129 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 1>", 130 "GL_FLOAT": "Load32FTo16F<1>", 131 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 1>" 132 } 133 }, 134 "GL_RGBA8UI": { 135 "R8G8B8A8_UINT": { 136 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 137 } 138 }, 139 "GL_RGBA16F": { 140 "R16G16B16A16_FLOAT": { 141 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 4>", 142 "GL_FLOAT": "Load32FTo16F<4>", 143 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 4>" 144 } 145 }, 146 "GL_LUMINANCE8_EXT": { 147 "R8_UNORM": { 148 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 149 }, 150 "R8G8B8A8_UNORM": { 151 "GL_UNSIGNED_BYTE": "LoadL8ToRGBA8" 152 } 153 }, 154 "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE": { 155 "NONE": { 156 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 157 } 158 }, 159 "GL_RGB": { 160 "NONE": { 161 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction", 162 "GL_UNSIGNED_SHORT_5_6_5": "UnreachableLoadFunction" 163 } 164 }, 165 "GL_RGB5_A1": { 166 "A1R5G5B5_UNORM": { 167 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToBGR5A1", 168 "GL_UNSIGNED_SHORT_5_5_5_1": "LoadRGB5A1ToA1RGB5", 169 "GL_UNSIGNED_BYTE": "LoadRGBA8ToBGR5A1" 170 }, 171 "R8G8B8A8_UNORM": { 172 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToRGBA8", 173 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>", 174 "GL_UNSIGNED_SHORT_5_5_5_1": "LoadRGB5A1ToRGBA8" 175 }, 176 "B5G5R5A1_UNORM": { 177 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToBGR5A1", 178 "GL_UNSIGNED_BYTE": "LoadRGBA8ToBGR5A1", 179 "GL_UNSIGNED_SHORT_5_5_5_1": "LoadRGB5A1ToA1RGB5" 180 }, 181 "R5G5B5A1_UNORM": { 182 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToRGB5A1", 183 "GL_UNSIGNED_BYTE": "LoadRGBA8ToRGB5A1", 184 "GL_UNSIGNED_SHORT_5_5_5_1": "LoadToNative<GLushort, 1>" 185 } 186 }, 187 "GL_RGB16UI": { 188 "R16G16B16A16_UINT": { 189 "GL_UNSIGNED_SHORT": "LoadToNative3To4<GLushort, 0x0001>" 190 }, 191 "R16G16B16_UINT": { 192 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 3>" 193 } 194 }, 195 "GL_BGRA_EXT": { 196 "NONE": { 197 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 198 } 199 }, 200 "GL_COMPRESSED_RGB8_ETC2": { 201 "R8G8B8A8_UNORM": { 202 "GL_UNSIGNED_BYTE": "LoadETC2RGB8ToRGBA8" 203 }, 204 "ETC2_R8G8B8_UNORM_BLOCK": { 205 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 206 } 207 }, 208 "GL_RGBA32F": { 209 "R32G32B32A32_FLOAT": { 210 "GL_FLOAT": "LoadToNative<GLfloat, 4>" 211 } 212 }, 213 "GL_RGBA32I": { 214 "R32G32B32A32_SINT": { 215 "GL_INT": "LoadToNative<GLint, 4>" 216 } 217 }, 218 "GL_LUMINANCE8_ALPHA8_EXT": { 219 "R8G8_UNORM": { 220 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 2>" 221 }, 222 "R8G8B8A8_UNORM": { 223 "GL_UNSIGNED_BYTE": "LoadLA8ToRGBA8" 224 } 225 }, 226 "GL_RG8": { 227 "R8G8_UNORM": { 228 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 2>" 229 } 230 }, 231 "GL_RGB10_A2": { 232 "R10G10B10A2_UNORM": { 233 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadToNative<GLuint, 1>" 234 } 235 }, 236 "GL_RGB10_UNORM_ANGLEX": { 237 "R10G10B10A2_UNORM": { 238 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToRGB10X2" 239 }, 240 "R10G10B10X2_UNORM": { 241 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadRGB10A2ToRGB10X2" 242 } 243 }, 244 "GL_COMPRESSED_SIGNED_RG11_EAC": { 245 "R16G16_SNORM": { 246 "GL_UNSIGNED_BYTE": "LoadEACRG11SToRG16" 247 }, 248 "R16G16_FLOAT": { 249 "GL_UNSIGNED_BYTE": "LoadEACRG11SToRG16F" 250 }, 251 "EAC_R11G11_SNORM_BLOCK": { 252 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 253 } 254 }, 255 "GL_DEPTH_COMPONENT16": { 256 "D16_UNORM": { 257 "GL_UNSIGNED_INT": "LoadR32ToR16", 258 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 1>" 259 } 260 }, 261 "GL_RGB32I": { 262 "R32G32B32A32_SINT": { 263 "GL_INT": "LoadToNative3To4<GLint, 0x00000001>" 264 }, 265 "R32G32B32_SINT": { 266 "GL_INT": "LoadToNative<GLint, 3>" 267 } 268 }, 269 "GL_R8": { 270 "R8_UNORM": { 271 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 272 } 273 }, 274 "GL_RGB32F": { 275 "R32G32B32A32_FLOAT": { 276 "GL_FLOAT": "LoadToNative3To4<GLfloat, gl::Float32One>" 277 }, 278 "R32G32B32_FLOAT": { 279 "GL_FLOAT": "LoadToNative<GLfloat, 3>" 280 } 281 }, 282 "GL_R11F_G11F_B10F": { 283 "R11G11B10_FLOAT": { 284 "GL_UNSIGNED_INT_10F_11F_11F_REV": "LoadToNative<GLuint, 1>", 285 "GL_HALF_FLOAT": "LoadRGB16FToRG11B10F", 286 "GL_FLOAT": "LoadRGB32FToRG11B10F", 287 "GL_HALF_FLOAT_OES": "LoadRGB16FToRG11B10F" 288 } 289 }, 290 "GL_RGB8": { 291 "R8G8B8A8_UNORM": { 292 "GL_UNSIGNED_BYTE": "LoadToNative3To4<GLubyte, 0xFF>" 293 }, 294 "R8G8B8_UNORM": { 295 "GL_UNSIGNED_BYTE": "LoadToNative<GLbyte, 3>" 296 } 297 }, 298 "GL_LUMINANCE_ALPHA": { 299 "R16G16B16A16_FLOAT": { 300 "GL_HALF_FLOAT": "LoadLA16FToRGBA16F", 301 "GL_HALF_FLOAT_OES": "LoadLA16FToRGBA16F" 302 }, 303 "NONE": { 304 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 305 }, 306 "R32G32B32A32_FLOAT": { 307 "GL_FLOAT": "LoadLA32FToRGBA32F" 308 } 309 }, 310 "GL_RGBA16I": { 311 "R16G16B16A16_SINT": { 312 "GL_SHORT": "LoadToNative<GLshort, 4>" 313 } 314 }, 315 "GL_R8I": { 316 "R8_SINT": { 317 "GL_BYTE": "LoadToNative<GLbyte, 1>" 318 } 319 }, 320 "GL_RGB8_SNORM": { 321 "R8G8B8A8_SNORM": { 322 "GL_BYTE": "LoadToNative3To4<GLbyte, 0x7F>" 323 }, 324 "R8G8B8_SNORM": { 325 "GL_BYTE": "LoadToNative<GLbyte, 3>" 326 } 327 }, 328 "GL_RG32F": { 329 "R32G32_FLOAT": { 330 "GL_FLOAT": "LoadToNative<GLfloat, 2>" 331 } 332 }, 333 "GL_DEPTH_COMPONENT32F": { 334 "D32_FLOAT": { 335 "GL_FLOAT": "LoadD32FToD32F" 336 } 337 }, 338 "GL_RG32I": { 339 "R32G32_SINT": { 340 "GL_INT": "LoadToNative<GLint, 2>" 341 } 342 }, 343 "GL_ALPHA8_EXT": { 344 "R8_UNORM": { 345 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 346 }, 347 "A8_UNORM": { 348 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 349 }, 350 "R8G8B8A8_UNORM": { 351 "GL_UNSIGNED_BYTE": "LoadA8ToRGBA8" 352 } 353 }, 354 "GL_RG32UI": { 355 "R32G32_UINT": { 356 "GL_UNSIGNED_INT": "LoadToNative<GLuint, 2>" 357 } 358 }, 359 "GL_RGBA16UI": { 360 "R16G16B16A16_UINT": { 361 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 4>" 362 } 363 }, 364 "GL_COMPRESSED_RGBA8_ETC2_EAC": { 365 "R8G8B8A8_UNORM": { 366 "GL_UNSIGNED_BYTE": "LoadETC2RGBA8ToRGBA8" 367 }, 368 "ETC2_R8G8B8A8_UNORM_BLOCK": { 369 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 370 } 371 }, 372 "GL_RGB8I": { 373 "R8G8B8A8_SINT": { 374 "GL_BYTE": "LoadToNative3To4<GLbyte, 0x01>" 375 }, 376 "R8G8B8_SINT": { 377 "GL_BYTE": "LoadToNative<GLbyte, 3>" 378 } 379 }, 380 "GL_COMPRESSED_SRGB8_ETC2": { 381 "R8G8B8A8_UNORM_SRGB": { 382 "GL_UNSIGNED_BYTE": "LoadETC2SRGB8ToRGBA8" 383 }, 384 "ETC2_R8G8B8_SRGB_BLOCK": { 385 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 386 } 387 }, 388 "GL_DEPTH32F_STENCIL8": { 389 "D32_FLOAT_S8X24_UINT": { 390 "GL_FLOAT_32_UNSIGNED_INT_24_8_REV": "LoadD32FS8X24ToD32FS8X24" 391 }, 392 "D24_UNORM_S8_UINT": { 393 "GL_FLOAT_32_UNSIGNED_INT_24_8_REV": "LoadD32FS8X24ToD24S8" 394 } 395 }, 396 "GL_RG8I": { 397 "R8G8_SINT": { 398 "GL_BYTE": "LoadToNative<GLbyte, 2>" 399 } 400 }, 401 "GL_R32UI": { 402 "R32_UINT": { 403 "GL_UNSIGNED_INT": "LoadToNative<GLuint, 1>" 404 } 405 }, 406 "GL_BGRX8_ANGLEX" : { 407 "B8G8R8X8_UNORM": { 408 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 409 }, 410 "B8G8R8A8_UNORM": { 411 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 412 } 413 }, 414 "GL_BGR565_ANGLEX": { 415 "B5G6R5_UNORM": { 416 "GL_UNSIGNED_SHORT_5_6_5": "LoadRGB565ToBGR565", 417 "GL_UNSIGNED_BYTE": "LoadRGB8ToBGR565" 418 } 419 }, 420 "GL_BGRA4_ANGLEX": { 421 "NONE": { 422 "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT": "LoadRGBA4ToRGBA8", 423 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 424 } 425 }, 426 "GL_BGR5_A1_ANGLEX": { 427 "NONE": { 428 "GL_UNSIGNED_BYTE": "LoadRGB5A1ToRGBA8", 429 "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT": "LoadToNative<GLushort, 1>" 430 } 431 }, 432 "GL_BGR10_A2_ANGLEX": { 433 "B10G10R10A2_UNORM": { 434 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadToNative<GLuint, 1>" 435 } 436 }, 437 "GL_BGRA8_SRGB_ANGLEX" : { 438 "B8G8R8A8_UNORM_SRGB": { 439 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 440 } 441 }, 442 "GL_A1RGB5_ANGLEX" : { 443 "A1R5G5B5_UNORM": { 444 "GL_UNSIGNED_BYTE": "LoadRGB5A1ToRGBA8", 445 "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT": "LoadToNative<GLushort, 1>" 446 } 447 }, 448 "GL_R8_SSCALED_ANGLEX" : { 449 "NONE": { 450 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 451 } 452 }, 453 "GL_RG8_SSCALED_ANGLEX" : { 454 "NONE": { 455 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 456 } 457 }, 458 "GL_RGB8_SSCALED_ANGLEX" : { 459 "NONE": { 460 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 461 } 462 }, 463 "GL_RGBA8_SSCALED_ANGLEX" : { 464 "NONE": { 465 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 466 } 467 }, 468 "GL_R8_USCALED_ANGLEX" : { 469 "NONE": { 470 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 471 } 472 }, 473 "GL_RG8_USCALED_ANGLEX" : { 474 "NONE": { 475 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 476 } 477 }, 478 "GL_RGB8_USCALED_ANGLEX" : { 479 "NONE": { 480 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 481 } 482 }, 483 "GL_RGBA8_USCALED_ANGLEX" : { 484 "NONE": { 485 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 486 } 487 }, 488 "GL_R16_SSCALED_ANGLEX" : { 489 "NONE": { 490 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 491 } 492 }, 493 "GL_RG16_SSCALED_ANGLEX" : { 494 "NONE": { 495 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 496 } 497 }, 498 "GL_RGB16_SSCALED_ANGLEX" : { 499 "NONE": { 500 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 501 } 502 }, 503 "GL_RGBA16_SSCALED_ANGLEX" : { 504 "NONE": { 505 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 506 } 507 }, 508 "GL_R16_USCALED_ANGLEX" : { 509 "NONE": { 510 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 511 } 512 }, 513 "GL_RG16_USCALED_ANGLEX" : { 514 "NONE": { 515 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 516 } 517 }, 518 "GL_RGB16_USCALED_ANGLEX" : { 519 "NONE": { 520 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 521 } 522 }, 523 "GL_RGBA16_USCALED_ANGLEX" : { 524 "NONE": { 525 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 526 } 527 }, 528 "GL_RGB10_A2_SINT_ANGLEX" : { 529 "R10G10B10A2_SINT": { 530 "GL_UNSIGNED_BYTE": "LoadRGB10A2ToRGBA8", 531 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadToNative<GLuint, 1>" 532 } 533 }, 534 "GL_RGB10_A2_SNORM_ANGLEX" : { 535 "R10G10B10A2_SNORM": { 536 "GL_UNSIGNED_BYTE": "LoadRGB10A2ToRGBA8", 537 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadToNative<GLuint, 1>" 538 } 539 }, 540 "GL_RGB10_A2_SSCALED_ANGLEX" : { 541 "NONE": { 542 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 543 } 544 }, 545 "GL_RGB10_A2_USCALED_ANGLEX" : { 546 "NONE": { 547 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 548 } 549 }, 550 "GL_COMPRESSED_RG11_EAC": { 551 "R16G16_UNORM": { 552 "GL_UNSIGNED_BYTE": "LoadEACRG11ToRG16" 553 }, 554 "R16G16_FLOAT": { 555 "GL_UNSIGNED_BYTE": "LoadEACRG11ToRG16F" 556 }, 557 "EAC_R11G11_UNORM_BLOCK": { 558 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 559 } 560 }, 561 "GL_SRGB8_ALPHA8": { 562 "R8G8B8A8_UNORM_SRGB": { 563 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 564 } 565 }, 566 "GL_LUMINANCE_ALPHA16F_EXT": { 567 "R16G16_FLOAT": { 568 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 2>", 569 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 2>" 570 }, 571 "NONE": { 572 "GL_HALF_FLOAT": "LoadLA16FToRGBA16F", 573 "GL_HALF_FLOAT_OES": "LoadLA16FToRGBA16F" 574 } 575 }, 576 "GL_RGBA": { 577 "NONE": { 578 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction", 579 "GL_UNSIGNED_SHORT_4_4_4_4": "UnreachableLoadFunction", 580 "GL_UNSIGNED_SHORT_5_5_5_1": "UnreachableLoadFunction" 581 } 582 }, 583 "GL_DEPTH24_STENCIL8": { 584 "D24_UNORM_S8_UINT": { 585 "GL_UNSIGNED_INT_24_8": "LoadR32ToR24G8" 586 }, 587 "D32_FLOAT_S8X24_UINT": { 588 "GL_UNSIGNED_INT_24_8": "LoadD24S8ToD32FS8X24" 589 } 590 }, 591 "GL_RGB16I": { 592 "R16G16B16A16_SINT": { 593 "GL_SHORT": "LoadToNative3To4<GLshort, 0x0001>" 594 }, 595 "R16G16B16_SINT": { 596 "GL_SHORT": "LoadToNative<GLshort, 3>" 597 } 598 }, 599 "GL_R8UI": { 600 "R8_UINT": { 601 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 602 } 603 }, 604 "GL_ALPHA": { 605 "R16G16B16A16_FLOAT": { 606 "GL_HALF_FLOAT": "LoadA16FToRGBA16F", 607 "GL_HALF_FLOAT_OES": "LoadA16FToRGBA16F" 608 }, 609 "NONE": { 610 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 611 }, 612 "R32G32B32A32_FLOAT": { 613 "GL_FLOAT": "LoadA32FToRGBA32F" 614 } 615 }, 616 "GL_RGB16F": { 617 "R16G16B16A16_FLOAT": { 618 "GL_HALF_FLOAT": "LoadToNative3To4<GLhalf, gl::Float16One>", 619 "GL_FLOAT": "LoadRGB32FToRGBA16F", 620 "GL_HALF_FLOAT_OES": "LoadToNative3To4<GLhalf, gl::Float16One>" 621 }, 622 "R16G16B16_FLOAT": { 623 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 3>", 624 "GL_FLOAT": "LoadRGB32FToRGB16F", 625 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 3>" 626 } 627 }, 628 "GL_COMPRESSED_SIGNED_R11_EAC": { 629 "R16_SNORM": { 630 "GL_UNSIGNED_BYTE": "LoadEACR11SToR16" 631 }, 632 "R16_FLOAT": { 633 "GL_UNSIGNED_BYTE": "LoadEACR11SToR16F" 634 }, 635 "EAC_R11_SNORM_BLOCK": { 636 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 637 } 638 }, 639 "GL_COMPRESSED_RGB_S3TC_DXT1_EXT": { 640 "NONE": { 641 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 642 } 643 }, 644 "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT": { 645 "NONE": { 646 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 647 } 648 }, 649 "GL_STENCIL_INDEX8": { 650 "S8_UINT": { 651 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 1>" 652 }, 653 "NONE": { 654 "GL_UNSIGNED_BYTE": "UnimplementedLoadFunction" 655 } 656 }, 657 "GL_LUMINANCE_ALPHA32F_EXT": { 658 "R32G32_FLOAT": { 659 "GL_FLOAT": "LoadToNative<GLfloat, 2>" 660 }, 661 "NONE": { 662 "GL_FLOAT": "LoadLA32FToRGBA32F" 663 } 664 }, 665 "GL_RGB8UI": { 666 "R8G8B8A8_UINT": { 667 "GL_UNSIGNED_BYTE": "LoadToNative3To4<GLubyte, 0x01>" 668 }, 669 "R8G8B8_UINT": { 670 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 3>" 671 } 672 }, 673 "GL_DEPTH_COMPONENT24": { 674 "D24_UNORM_X8_UINT": { 675 "GL_UNSIGNED_INT": "LoadR32ToR24G8" 676 }, 677 "D24_UNORM_S8_UINT": { 678 "GL_UNSIGNED_INT": "LoadR32ToR24G8" 679 }, 680 "D32_FLOAT_S8X24_UINT": { 681 "GL_UNSIGNED_INT_24_8": "LoadD24S8ToD32FS8X24", 682 "GL_UNSIGNED_INT": "LoadD32ToD32FX32" 683 }, 684 "D32_FLOAT": { 685 "GL_UNSIGNED_INT": "LoadD24S8ToD32F" 686 } 687 }, 688 "GL_R32I": { 689 "R32_SINT": { 690 "GL_INT": "LoadToNative<GLint, 1>" 691 } 692 }, 693 "GL_DEPTH_COMPONENT32_OES": { 694 "D32_FLOAT": { 695 "GL_UNSIGNED_INT": "LoadD32ToD32F" 696 }, 697 "NONE": { 698 "GL_UNSIGNED_INT": "LoadR32ToR24G8" 699 } 700 }, 701 "GL_R32F": { 702 "R32_FLOAT": { 703 "GL_FLOAT": "LoadToNative<GLfloat, 1>" 704 } 705 }, 706 "GL_RG16F": { 707 "R16G16_FLOAT": { 708 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 2>", 709 "GL_FLOAT": "Load32FTo16F<2>", 710 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 2>" 711 } 712 }, 713 "GL_RGB565": { 714 "R5G6B5_UNORM" : { 715 "GL_UNSIGNED_BYTE": "LoadRGB8ToBGR565", 716 "GL_UNSIGNED_SHORT_5_6_5": "LoadToNative<GLushort, 1>" 717 }, 718 "R8G8B8A8_UNORM": { 719 "GL_UNSIGNED_BYTE": "LoadToNative3To4<GLubyte, 0xFF>", 720 "GL_UNSIGNED_SHORT_5_6_5": "LoadR5G6B5ToRGBA8" 721 }, 722 "B5G6R5_UNORM": { 723 "GL_UNSIGNED_BYTE": "LoadRGB8ToBGR565", 724 "GL_UNSIGNED_SHORT_5_6_5": "LoadToNative<GLushort, 1>" 725 } 726 }, 727 "GL_LUMINANCE16F_EXT": { 728 "R16_FLOAT": { 729 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 1>", 730 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 1>" 731 }, 732 "NONE": { 733 "GL_HALF_FLOAT": "LoadL16FToRGBA16F", 734 "GL_HALF_FLOAT_OES": "LoadL16FToRGBA16F" 735 } 736 }, 737 "GL_RG16UI": { 738 "R16G16_UINT": { 739 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 2>" 740 } 741 }, 742 "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE": { 743 "NONE": { 744 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 745 } 746 }, 747 "GL_RG16I": { 748 "R16G16_SINT": { 749 "GL_SHORT": "LoadToNative<GLshort, 2>" 750 } 751 }, 752 "GL_BGRA8_EXT": { 753 "NONE": { 754 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 755 } 756 }, 757 "GL_ALPHA16F_EXT": { 758 "R16_FLOAT": { 759 "GL_HALF_FLOAT": "LoadToNative<GLhalf, 1>", 760 "GL_HALF_FLOAT_OES": "LoadToNative<GLhalf, 1>" 761 }, 762 "NONE": { 763 "GL_HALF_FLOAT": "LoadA16FToRGBA16F", 764 "GL_HALF_FLOAT_OES": "LoadA16FToRGBA16F" 765 } 766 }, 767 "GL_RGBA4": { 768 "R8G8B8A8_UNORM": { 769 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>", 770 "GL_UNSIGNED_SHORT_4_4_4_4": "LoadRGBA4ToRGBA8" 771 }, 772 "B4G4R4A4_UNORM": { 773 "GL_UNSIGNED_BYTE": "LoadRGBA8ToBGRA4", 774 "GL_UNSIGNED_SHORT_4_4_4_4": "LoadRGBA4ToARGB4" 775 }, 776 "R4G4B4A4_UNORM": { 777 "GL_UNSIGNED_BYTE": "LoadRGBA8ToRGBA4", 778 "GL_UNSIGNED_SHORT_4_4_4_4": "LoadToNative<GLushort, 1>" 779 } 780 }, 781 "GL_RGBA8": { 782 "R8G8B8A8_UNORM": { 783 "GL_UNSIGNED_BYTE": "LoadToNative<GLubyte, 4>" 784 } 785 }, 786 "GL_LUMINANCE": { 787 "R16G16B16A16_FLOAT": { 788 "GL_HALF_FLOAT": "LoadL16FToRGBA16F", 789 "GL_HALF_FLOAT_OES": "LoadL16FToRGBA16F" 790 }, 791 "NONE": { 792 "GL_UNSIGNED_BYTE": "UnreachableLoadFunction" 793 }, 794 "R32G32B32A32_FLOAT": { 795 "GL_FLOAT": "LoadL32FToRGBA32F" 796 } 797 }, 798 "GL_RGB10_A2UI": { 799 "R10G10B10A2_UINT": { 800 "GL_UNSIGNED_INT_2_10_10_10_REV": "LoadToNative<GLuint, 1>" 801 } 802 }, 803 "GL_ETC1_RGB8_OES": { 804 "R8G8B8A8_UNORM": { 805 "GL_UNSIGNED_BYTE": "LoadETC1RGB8ToRGBA8" 806 }, 807 "ETC1_R8G8B8_UNORM_BLOCK": { 808 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 809 }, 810 "ETC2_R8G8B8_UNORM_BLOCK": { 811 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 812 } 813 }, 814 "GL_ETC1_RGB8_LOSSY_DECODE_ANGLE": { 815 "BC1_RGB_UNORM_BLOCK": { 816 "GL_UNSIGNED_BYTE": "LoadETC1RGB8ToBC1" 817 } 818 }, 819 "GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE": { 820 "BC1_RGB_UNORM_BLOCK": { 821 "GL_UNSIGNED_BYTE": "LoadETC2RGB8ToBC1" 822 } 823 }, 824 "GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE": { 825 "BC1_RGB_UNORM_SRGB_BLOCK": { 826 "GL_UNSIGNED_BYTE": "LoadETC2SRGB8ToBC1" 827 } 828 }, 829 "GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE": { 830 "BC1_RGBA_UNORM_BLOCK": { 831 "GL_UNSIGNED_BYTE": "LoadETC2RGB8A1ToBC1" 832 } 833 }, 834 "GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE": { 835 "BC1_RGBA_UNORM_SRGB_BLOCK": { 836 "GL_UNSIGNED_BYTE": "LoadETC2SRGB8A1ToBC1" 837 } 838 }, 839 "GL_R16_EXT": { 840 "R16_UNORM": { 841 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 1>" 842 } 843 }, 844 "GL_RG16_EXT": { 845 "R16G16_UNORM": { 846 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 2>" 847 } 848 }, 849 "GL_RGB16_EXT": { 850 "R16G16B16A16_UNORM": { 851 "GL_UNSIGNED_SHORT": "LoadToNative3To4<GLushort, 0xFFFF>" 852 }, 853 "R16G16B16_UNORM": { 854 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 3>" 855 } 856 }, 857 "GL_RGBA16_EXT": { 858 "R16G16B16A16_UNORM": { 859 "GL_UNSIGNED_SHORT": "LoadToNative<GLushort, 4>" 860 } 861 }, 862 "GL_R16_SNORM_EXT": { 863 "R16_SNORM": { 864 "GL_SHORT": "LoadToNative<GLushort, 1>" 865 } 866 }, 867 "GL_RG16_SNORM_EXT": { 868 "R16G16_SNORM": { 869 "GL_SHORT": "LoadToNative<GLushort, 2>" 870 } 871 }, 872 "GL_RGB16_SNORM_EXT": { 873 "R16G16B16A16_SNORM": { 874 "GL_SHORT": "LoadToNative3To4<GLushort, 0x7FFF>" 875 }, 876 "R16G16B16_SNORM": { 877 "GL_SHORT": "LoadToNative<GLushort, 3>" 878 } 879 }, 880 "GL_RGBA16_SNORM_EXT": { 881 "R16G16B16A16_SNORM": { 882 "GL_SHORT": "LoadToNative<GLushort, 4>" 883 } 884 }, 885 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT": { 886 "NONE": { 887 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 888 } 889 }, 890 "GL_COMPRESSED_SRGB_S3TC_DXT1_EXT": { 891 "NONE": { 892 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 893 } 894 }, 895 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT": { 896 "NONE": { 897 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 898 } 899 }, 900 "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT": { 901 "NONE": { 902 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 903 } 904 }, 905 "GL_COMPRESSED_RED_RGTC1_EXT": { 906 "NONE": { 907 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 908 } 909 }, 910 "GL_COMPRESSED_SIGNED_RED_RGTC1_EXT": { 911 "NONE": { 912 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 8>" 913 } 914 }, 915 "GL_COMPRESSED_RED_GREEN_RGTC2_EXT": { 916 "NONE": { 917 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 918 } 919 }, 920 "GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT": { 921 "NONE": { 922 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 923 } 924 }, 925 "GL_COMPRESSED_RGBA_BPTC_UNORM_EXT": { 926 "NONE": { 927 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 928 } 929 }, 930 "GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT": { 931 "NONE": { 932 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 933 } 934 }, 935 "GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT": { 936 "NONE": { 937 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 938 } 939 }, 940 "GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT": { 941 "NONE": { 942 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 943 } 944 }, 945 "GL_COMPRESSED_RGBA_ASTC_4x4_KHR": { 946 "NONE": { 947 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 948 } 949 }, 950 "GL_COMPRESSED_RGBA_ASTC_5x4_KHR": { 951 "NONE": { 952 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 4, 1, 16>" 953 } 954 }, 955 "GL_COMPRESSED_RGBA_ASTC_5x5_KHR": { 956 "NONE": { 957 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 1, 16>" 958 } 959 }, 960 "GL_COMPRESSED_RGBA_ASTC_6x5_KHR": { 961 "NONE": { 962 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 5, 1, 16>" 963 } 964 }, 965 "GL_COMPRESSED_RGBA_ASTC_6x6_KHR": { 966 "NONE": { 967 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 1, 16>" 968 } 969 }, 970 "GL_COMPRESSED_RGBA_ASTC_8x5_KHR": { 971 "NONE": { 972 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 5, 1, 16>" 973 } 974 }, 975 "GL_COMPRESSED_RGBA_ASTC_8x6_KHR": { 976 "NONE": { 977 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 6, 1, 16>" 978 } 979 }, 980 "GL_COMPRESSED_RGBA_ASTC_8x8_KHR": { 981 "NONE": { 982 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 8, 1, 16>" 983 } 984 }, 985 "GL_COMPRESSED_RGBA_ASTC_10x5_KHR": { 986 "NONE": { 987 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 5, 1, 16>" 988 } 989 }, 990 "GL_COMPRESSED_RGBA_ASTC_10x6_KHR": { 991 "NONE": { 992 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 6, 1, 16>" 993 } 994 }, 995 "GL_COMPRESSED_RGBA_ASTC_10x8_KHR": { 996 "NONE": { 997 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 8, 1, 16>" 998 } 999 }, 1000 "GL_COMPRESSED_RGBA_ASTC_10x10_KHR": { 1001 "NONE": { 1002 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 10, 1, 16>" 1003 } 1004 }, 1005 "GL_COMPRESSED_RGBA_ASTC_12x10_KHR": { 1006 "NONE": { 1007 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<12, 10, 1, 16>" 1008 } 1009 }, 1010 "GL_COMPRESSED_RGBA_ASTC_12x12_KHR": { 1011 "NONE": { 1012 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<12, 12, 1, 16>" 1013 } 1014 }, 1015 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR": { 1016 "NONE": { 1017 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 1, 16>" 1018 } 1019 }, 1020 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR": { 1021 "NONE": { 1022 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 4, 1, 16>" 1023 } 1024 }, 1025 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR": { 1026 "NONE": { 1027 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 1, 16>" 1028 } 1029 }, 1030 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR": { 1031 "NONE": { 1032 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 5, 1, 16>" 1033 } 1034 }, 1035 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR": { 1036 "NONE": { 1037 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 1, 16>" 1038 } 1039 }, 1040 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR": { 1041 "NONE": { 1042 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 5, 1, 16>" 1043 } 1044 }, 1045 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR": { 1046 "NONE": { 1047 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 6, 1, 16>" 1048 } 1049 }, 1050 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR": { 1051 "NONE": { 1052 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<8, 8, 1, 16>" 1053 } 1054 }, 1055 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR": { 1056 "NONE": { 1057 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 5, 1, 16>" 1058 } 1059 }, 1060 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR": { 1061 "NONE": { 1062 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 6, 1, 16>" 1063 } 1064 }, 1065 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR": { 1066 "NONE": { 1067 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 8, 1, 16>" 1068 } 1069 }, 1070 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR": { 1071 "NONE": { 1072 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<10, 10, 1, 16>" 1073 } 1074 }, 1075 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR": { 1076 "NONE": { 1077 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<12, 10, 1, 16>" 1078 } 1079 }, 1080 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR": { 1081 "NONE": { 1082 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<12, 12, 1, 16>" 1083 } 1084 }, 1085 "GL_COMPRESSED_RGBA_ASTC_3x3x3_OES": { 1086 "NONE": { 1087 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<3, 3, 3, 16>" 1088 } 1089 }, 1090 "GL_COMPRESSED_RGBA_ASTC_4x3x3_OES": { 1091 "NONE": { 1092 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 3, 3, 16>" 1093 } 1094 }, 1095 "GL_COMPRESSED_RGBA_ASTC_4x4x3_OES": { 1096 "NONE": { 1097 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 3, 16>" 1098 } 1099 }, 1100 "GL_COMPRESSED_RGBA_ASTC_4x4x4_OES": { 1101 "NONE": { 1102 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 4, 16>" 1103 } 1104 }, 1105 "GL_COMPRESSED_RGBA_ASTC_5x4x4_OES": { 1106 "NONE": { 1107 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 4, 4, 16>" 1108 } 1109 }, 1110 "GL_COMPRESSED_RGBA_ASTC_5x5x4_OES": { 1111 "NONE": { 1112 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 4, 16>" 1113 } 1114 }, 1115 "GL_COMPRESSED_RGBA_ASTC_5x5x5_OES": { 1116 "NONE": { 1117 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 5, 16>" 1118 } 1119 }, 1120 "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES": { 1121 "NONE": { 1122 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 5, 5, 16>" 1123 } 1124 }, 1125 "GL_COMPRESSED_RGBA_ASTC_6x6x5_OES": { 1126 "NONE": { 1127 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 5, 16>" 1128 } 1129 }, 1130 "GL_COMPRESSED_RGBA_ASTC_6x6x6_OES": { 1131 "NONE": { 1132 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 6, 16>" 1133 } 1134 }, 1135 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES": { 1136 "NONE": { 1137 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<3, 3, 3, 16>" 1138 } 1139 }, 1140 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES": { 1141 "NONE": { 1142 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 3, 3, 16>" 1143 } 1144 }, 1145 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES": { 1146 "NONE": { 1147 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 3, 16>" 1148 } 1149 }, 1150 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES": { 1151 "NONE": { 1152 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<4, 4, 4, 16>" 1153 } 1154 }, 1155 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES": { 1156 "NONE": { 1157 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 4, 4, 16>" 1158 } 1159 }, 1160 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES": { 1161 "NONE": { 1162 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 4, 16>" 1163 } 1164 }, 1165 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES": { 1166 "NONE": { 1167 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<5, 5, 5, 16>" 1168 } 1169 }, 1170 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES": { 1171 "NONE": { 1172 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 5, 5, 16>" 1173 } 1174 }, 1175 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES": { 1176 "NONE": { 1177 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 5, 16>" 1178 } 1179 }, 1180 "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES": { 1181 "NONE": { 1182 "GL_UNSIGNED_BYTE": "LoadCompressedToNative<6, 6, 6, 16>" 1183 } 1184 }, 1185 "GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE": { 1186 "NONE": { 1187 "GL_UNSIGNED_BYTE": "UnimplementedLoadFunction" 1188 } 1189 }, 1190 "GL_G8_B8R8_2PLANE_420_UNORM_ANGLE": { 1191 "NONE": { 1192 "GL_UNSIGNED_BYTE": "LoadYuvToNative" 1193 } 1194 } 1195} 1196