Lines Matching full:case
153 case GL_LUMINANCE: in get_map_idx()
154 case GL_LUMINANCE_INTEGER_EXT: in get_map_idx()
156 case GL_ALPHA: in get_map_idx()
157 case GL_ALPHA_INTEGER: in get_map_idx()
159 case GL_INTENSITY: in get_map_idx()
161 case GL_LUMINANCE_ALPHA: in get_map_idx()
162 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in get_map_idx()
164 case GL_RGB: in get_map_idx()
165 case GL_RGB_INTEGER: in get_map_idx()
167 case GL_RGBA: in get_map_idx()
168 case GL_RGBA_INTEGER: in get_map_idx()
170 case GL_RED: in get_map_idx()
171 case GL_RED_INTEGER: in get_map_idx()
173 case GL_GREEN: in get_map_idx()
175 case GL_BLUE: in get_map_idx()
177 case GL_BGR: in get_map_idx()
178 case GL_BGR_INTEGER: in get_map_idx()
180 case GL_BGRA: in get_map_idx()
181 case GL_BGRA_INTEGER: in get_map_idx()
183 case GL_ABGR_EXT: in get_map_idx()
185 case GL_RG: in get_map_idx()
186 case GL_RG_INTEGER: in get_map_idx()
238 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_type_is_packed()
239 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_type_is_packed()
240 case MESA_UNSIGNED_BYTE_4_4: in _mesa_type_is_packed()
241 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_type_is_packed()
242 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_type_is_packed()
243 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_type_is_packed()
244 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_type_is_packed()
245 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_type_is_packed()
246 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_type_is_packed()
247 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_type_is_packed()
248 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_type_is_packed()
249 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_type_is_packed()
250 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_type_is_packed()
251 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_type_is_packed()
252 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_type_is_packed()
253 case GL_UNSIGNED_INT_24_8: in _mesa_type_is_packed()
254 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_type_is_packed()
255 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_type_is_packed()
256 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_type_is_packed()
276 case GL_BITMAP: in _mesa_sizeof_type()
278 case GL_UNSIGNED_BYTE: in _mesa_sizeof_type()
280 case GL_BYTE: in _mesa_sizeof_type()
282 case GL_UNSIGNED_SHORT: in _mesa_sizeof_type()
284 case GL_SHORT: in _mesa_sizeof_type()
286 case GL_UNSIGNED_INT: in _mesa_sizeof_type()
288 case GL_INT: in _mesa_sizeof_type()
290 case GL_FLOAT: in _mesa_sizeof_type()
292 case GL_DOUBLE: in _mesa_sizeof_type()
294 case GL_HALF_FLOAT: in _mesa_sizeof_type()
295 case GL_HALF_FLOAT_OES: in _mesa_sizeof_type()
297 case GL_FIXED: in _mesa_sizeof_type()
313 case GL_BITMAP: in _mesa_sizeof_packed_type()
315 case GL_UNSIGNED_BYTE: in _mesa_sizeof_packed_type()
317 case GL_BYTE: in _mesa_sizeof_packed_type()
319 case GL_UNSIGNED_SHORT: in _mesa_sizeof_packed_type()
321 case GL_SHORT: in _mesa_sizeof_packed_type()
323 case GL_UNSIGNED_INT: in _mesa_sizeof_packed_type()
325 case GL_INT: in _mesa_sizeof_packed_type()
327 case GL_HALF_FLOAT: in _mesa_sizeof_packed_type()
328 case GL_HALF_FLOAT_OES: in _mesa_sizeof_packed_type()
330 case GL_FLOAT: in _mesa_sizeof_packed_type()
332 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_sizeof_packed_type()
333 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_sizeof_packed_type()
334 case MESA_UNSIGNED_BYTE_4_4: in _mesa_sizeof_packed_type()
336 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_sizeof_packed_type()
337 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_sizeof_packed_type()
338 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_sizeof_packed_type()
339 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_sizeof_packed_type()
340 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_sizeof_packed_type()
341 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_sizeof_packed_type()
342 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_sizeof_packed_type()
343 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_sizeof_packed_type()
345 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_sizeof_packed_type()
346 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_sizeof_packed_type()
347 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_sizeof_packed_type()
348 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_sizeof_packed_type()
349 case GL_UNSIGNED_INT_24_8: in _mesa_sizeof_packed_type()
350 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_sizeof_packed_type()
351 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_sizeof_packed_type()
353 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_sizeof_packed_type()
372 case GL_COLOR_INDEX: in _mesa_components_in_format()
373 case GL_STENCIL_INDEX: in _mesa_components_in_format()
374 case GL_DEPTH_COMPONENT: in _mesa_components_in_format()
375 case GL_RED: in _mesa_components_in_format()
376 case GL_RED_INTEGER: in _mesa_components_in_format()
377 case GL_GREEN: in _mesa_components_in_format()
378 case GL_GREEN_INTEGER: in _mesa_components_in_format()
379 case GL_BLUE: in _mesa_components_in_format()
380 case GL_BLUE_INTEGER: in _mesa_components_in_format()
381 case GL_ALPHA: in _mesa_components_in_format()
382 case GL_ALPHA_INTEGER: in _mesa_components_in_format()
383 case GL_LUMINANCE: in _mesa_components_in_format()
384 case GL_LUMINANCE_INTEGER_EXT: in _mesa_components_in_format()
385 case GL_INTENSITY: in _mesa_components_in_format()
388 case GL_LUMINANCE_ALPHA: in _mesa_components_in_format()
389 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_components_in_format()
390 case GL_RG: in _mesa_components_in_format()
391 case GL_YCBCR_MESA: in _mesa_components_in_format()
392 case GL_DEPTH_STENCIL: in _mesa_components_in_format()
393 case GL_RG_INTEGER: in _mesa_components_in_format()
396 case GL_RGB: in _mesa_components_in_format()
397 case GL_BGR: in _mesa_components_in_format()
398 case GL_RGB_INTEGER: in _mesa_components_in_format()
399 case GL_BGR_INTEGER: in _mesa_components_in_format()
402 case GL_RGBA: in _mesa_components_in_format()
403 case GL_BGRA: in _mesa_components_in_format()
404 case GL_ABGR_EXT: in _mesa_components_in_format()
405 case GL_RGBA_INTEGER: in _mesa_components_in_format()
406 case GL_BGRA_INTEGER: in _mesa_components_in_format()
431 case GL_BITMAP: in _mesa_bytes_per_pixel()
432 return 0; /* special case */ in _mesa_bytes_per_pixel()
433 case GL_BYTE: in _mesa_bytes_per_pixel()
434 case GL_UNSIGNED_BYTE: in _mesa_bytes_per_pixel()
436 case GL_SHORT: in _mesa_bytes_per_pixel()
437 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_pixel()
439 case GL_INT: in _mesa_bytes_per_pixel()
440 case GL_UNSIGNED_INT: in _mesa_bytes_per_pixel()
442 case GL_FLOAT: in _mesa_bytes_per_pixel()
444 case GL_HALF_FLOAT: in _mesa_bytes_per_pixel()
445 case GL_HALF_FLOAT_OES: in _mesa_bytes_per_pixel()
447 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_bytes_per_pixel()
448 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_bytes_per_pixel()
454 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_bytes_per_pixel()
455 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_bytes_per_pixel()
461 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_bytes_per_pixel()
462 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_bytes_per_pixel()
468 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_bytes_per_pixel()
469 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_bytes_per_pixel()
475 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_bytes_per_pixel()
476 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_bytes_per_pixel()
483 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_bytes_per_pixel()
484 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_bytes_per_pixel()
491 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_bytes_per_pixel()
492 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_bytes_per_pixel()
497 case GL_UNSIGNED_INT_24_8: in _mesa_bytes_per_pixel()
503 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_bytes_per_pixel()
508 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_bytes_per_pixel()
513 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_bytes_per_pixel()
531 case GL_RGBA: in _mesa_is_enum_format_unsized()
532 case GL_BGRA: in _mesa_is_enum_format_unsized()
533 case GL_ABGR_EXT: in _mesa_is_enum_format_unsized()
534 case GL_RGB: in _mesa_is_enum_format_unsized()
535 case GL_BGR: in _mesa_is_enum_format_unsized()
536 case GL_RG: in _mesa_is_enum_format_unsized()
537 case GL_RED: in _mesa_is_enum_format_unsized()
538 case GL_GREEN: in _mesa_is_enum_format_unsized()
539 case GL_BLUE: in _mesa_is_enum_format_unsized()
540 case GL_ALPHA: in _mesa_is_enum_format_unsized()
541 case GL_INTENSITY: in _mesa_is_enum_format_unsized()
542 case GL_LUMINANCE: in _mesa_is_enum_format_unsized()
543 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
545 case GL_SRGB: in _mesa_is_enum_format_unsized()
546 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unsized()
547 case GL_SLUMINANCE: in _mesa_is_enum_format_unsized()
548 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
550 case GL_RGBA_SNORM: in _mesa_is_enum_format_unsized()
551 case GL_RGB_SNORM: in _mesa_is_enum_format_unsized()
552 case GL_RG_SNORM: in _mesa_is_enum_format_unsized()
553 case GL_RED_SNORM: in _mesa_is_enum_format_unsized()
554 case GL_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
555 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_unsized()
556 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_unsized()
557 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
559 case GL_RED_INTEGER: in _mesa_is_enum_format_unsized()
560 case GL_GREEN_INTEGER: in _mesa_is_enum_format_unsized()
561 case GL_BLUE_INTEGER: in _mesa_is_enum_format_unsized()
562 case GL_ALPHA_INTEGER: in _mesa_is_enum_format_unsized()
563 case GL_RGB_INTEGER: in _mesa_is_enum_format_unsized()
564 case GL_RGBA_INTEGER: in _mesa_is_enum_format_unsized()
565 case GL_BGR_INTEGER: in _mesa_is_enum_format_unsized()
566 case GL_BGRA_INTEGER: in _mesa_is_enum_format_unsized()
567 case GL_RG_INTEGER: in _mesa_is_enum_format_unsized()
568 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_unsized()
569 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_unsized()
571 case GL_DEPTH_COMPONENT: in _mesa_is_enum_format_unsized()
572 case GL_DEPTH_STENCIL: in _mesa_is_enum_format_unsized()
573 case GL_STENCIL_INDEX: in _mesa_is_enum_format_unsized()
587 case GL_RED: in _mesa_is_enum_format_unorm()
588 case GL_GREEN: in _mesa_is_enum_format_unorm()
589 case GL_BLUE: in _mesa_is_enum_format_unorm()
590 case GL_ALPHA: in _mesa_is_enum_format_unorm()
591 case GL_ALPHA4: in _mesa_is_enum_format_unorm()
592 case GL_ALPHA8: in _mesa_is_enum_format_unorm()
593 case GL_ALPHA12: in _mesa_is_enum_format_unorm()
594 case GL_ALPHA16: in _mesa_is_enum_format_unorm()
595 case 1: in _mesa_is_enum_format_unorm()
596 case GL_LUMINANCE: in _mesa_is_enum_format_unorm()
597 case GL_SLUMINANCE: in _mesa_is_enum_format_unorm()
598 case GL_LUMINANCE4: in _mesa_is_enum_format_unorm()
599 case GL_LUMINANCE8: in _mesa_is_enum_format_unorm()
600 case GL_LUMINANCE12: in _mesa_is_enum_format_unorm()
601 case GL_LUMINANCE16: in _mesa_is_enum_format_unorm()
602 case 2: in _mesa_is_enum_format_unorm()
603 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
604 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
605 case GL_LUMINANCE4_ALPHA4: in _mesa_is_enum_format_unorm()
606 case GL_LUMINANCE6_ALPHA2: in _mesa_is_enum_format_unorm()
607 case GL_LUMINANCE8_ALPHA8: in _mesa_is_enum_format_unorm()
608 case GL_LUMINANCE12_ALPHA4: in _mesa_is_enum_format_unorm()
609 case GL_LUMINANCE12_ALPHA12: in _mesa_is_enum_format_unorm()
610 case GL_LUMINANCE16_ALPHA16: in _mesa_is_enum_format_unorm()
611 case GL_INTENSITY: in _mesa_is_enum_format_unorm()
612 case GL_INTENSITY4: in _mesa_is_enum_format_unorm()
613 case GL_INTENSITY8: in _mesa_is_enum_format_unorm()
614 case GL_INTENSITY12: in _mesa_is_enum_format_unorm()
615 case GL_INTENSITY16: in _mesa_is_enum_format_unorm()
616 case GL_R8: in _mesa_is_enum_format_unorm()
617 case GL_R16: in _mesa_is_enum_format_unorm()
618 case GL_RG: in _mesa_is_enum_format_unorm()
619 case GL_RG8: in _mesa_is_enum_format_unorm()
620 case GL_RG16: in _mesa_is_enum_format_unorm()
621 case 3: in _mesa_is_enum_format_unorm()
622 case GL_RGB: in _mesa_is_enum_format_unorm()
623 case GL_BGR: in _mesa_is_enum_format_unorm()
624 case GL_SRGB: in _mesa_is_enum_format_unorm()
625 case GL_R3_G3_B2: in _mesa_is_enum_format_unorm()
626 case GL_RGB4: in _mesa_is_enum_format_unorm()
627 case GL_RGB5: in _mesa_is_enum_format_unorm()
628 case GL_RGB565: in _mesa_is_enum_format_unorm()
629 case GL_RGB8: in _mesa_is_enum_format_unorm()
630 case GL_RGB10: in _mesa_is_enum_format_unorm()
631 case GL_RGB12: in _mesa_is_enum_format_unorm()
632 case GL_RGB16: in _mesa_is_enum_format_unorm()
633 case 4: in _mesa_is_enum_format_unorm()
634 case GL_ABGR_EXT: in _mesa_is_enum_format_unorm()
635 case GL_RGBA: in _mesa_is_enum_format_unorm()
636 case GL_BGRA: in _mesa_is_enum_format_unorm()
637 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unorm()
638 case GL_RGBA2: in _mesa_is_enum_format_unorm()
639 case GL_RGBA4: in _mesa_is_enum_format_unorm()
640 case GL_RGB5_A1: in _mesa_is_enum_format_unorm()
641 case GL_RGBA8: in _mesa_is_enum_format_unorm()
642 case GL_RGB10_A2: in _mesa_is_enum_format_unorm()
643 case GL_RGBA12: in _mesa_is_enum_format_unorm()
644 case GL_RGBA16: in _mesa_is_enum_format_unorm()
659 case GL_RED_SNORM: in _mesa_is_enum_format_snorm()
660 case GL_R8_SNORM: in _mesa_is_enum_format_snorm()
661 case GL_R16_SNORM: in _mesa_is_enum_format_snorm()
662 case GL_RG_SNORM: in _mesa_is_enum_format_snorm()
663 case GL_RG8_SNORM: in _mesa_is_enum_format_snorm()
664 case GL_RG16_SNORM: in _mesa_is_enum_format_snorm()
665 case GL_RGB_SNORM: in _mesa_is_enum_format_snorm()
666 case GL_RGB8_SNORM: in _mesa_is_enum_format_snorm()
667 case GL_RGB16_SNORM: in _mesa_is_enum_format_snorm()
668 case GL_RGBA_SNORM: in _mesa_is_enum_format_snorm()
669 case GL_RGBA8_SNORM: in _mesa_is_enum_format_snorm()
670 case GL_RGBA16_SNORM: in _mesa_is_enum_format_snorm()
671 case GL_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
672 case GL_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
673 case GL_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
674 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_snorm()
675 case GL_LUMINANCE8_SNORM: in _mesa_is_enum_format_snorm()
676 case GL_LUMINANCE16_SNORM: in _mesa_is_enum_format_snorm()
677 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
678 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
679 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
680 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_snorm()
681 case GL_INTENSITY8_SNORM: in _mesa_is_enum_format_snorm()
682 case GL_INTENSITY16_SNORM: in _mesa_is_enum_format_snorm()
697 case GL_RGBA32UI: in _mesa_is_enum_format_unsigned_int()
698 case GL_RGB32UI: in _mesa_is_enum_format_unsigned_int()
699 case GL_RG32UI: in _mesa_is_enum_format_unsigned_int()
700 case GL_R32UI: in _mesa_is_enum_format_unsigned_int()
701 case GL_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
702 case GL_INTENSITY32UI_EXT: in _mesa_is_enum_format_unsigned_int()
703 case GL_LUMINANCE32UI_EXT: in _mesa_is_enum_format_unsigned_int()
704 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
705 case GL_RGBA16UI: in _mesa_is_enum_format_unsigned_int()
706 case GL_RGB16UI: in _mesa_is_enum_format_unsigned_int()
707 case GL_RG16UI: in _mesa_is_enum_format_unsigned_int()
708 case GL_R16UI: in _mesa_is_enum_format_unsigned_int()
709 case GL_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
710 case GL_INTENSITY16UI_EXT: in _mesa_is_enum_format_unsigned_int()
711 case GL_LUMINANCE16UI_EXT: in _mesa_is_enum_format_unsigned_int()
712 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
713 case GL_RGBA8UI: in _mesa_is_enum_format_unsigned_int()
714 case GL_RGB8UI: in _mesa_is_enum_format_unsigned_int()
715 case GL_RG8UI: in _mesa_is_enum_format_unsigned_int()
716 case GL_R8UI: in _mesa_is_enum_format_unsigned_int()
717 case GL_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
718 case GL_INTENSITY8UI_EXT: in _mesa_is_enum_format_unsigned_int()
719 case GL_LUMINANCE8UI_EXT: in _mesa_is_enum_format_unsigned_int()
720 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
721 case GL_RGB10_A2UI: in _mesa_is_enum_format_unsigned_int()
737 case GL_RED_INTEGER: in _mesa_is_enum_format_signed_int()
738 case GL_GREEN_INTEGER: in _mesa_is_enum_format_signed_int()
739 case GL_BLUE_INTEGER: in _mesa_is_enum_format_signed_int()
740 case GL_ALPHA_INTEGER: in _mesa_is_enum_format_signed_int()
741 case GL_RGB_INTEGER: in _mesa_is_enum_format_signed_int()
742 case GL_RGBA_INTEGER: in _mesa_is_enum_format_signed_int()
743 case GL_BGR_INTEGER: in _mesa_is_enum_format_signed_int()
744 case GL_BGRA_INTEGER: in _mesa_is_enum_format_signed_int()
745 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
746 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
747 case GL_RG_INTEGER: in _mesa_is_enum_format_signed_int()
749 case GL_RGBA32I: in _mesa_is_enum_format_signed_int()
750 case GL_RGB32I: in _mesa_is_enum_format_signed_int()
751 case GL_RG32I: in _mesa_is_enum_format_signed_int()
752 case GL_R32I: in _mesa_is_enum_format_signed_int()
753 case GL_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
754 case GL_INTENSITY32I_EXT: in _mesa_is_enum_format_signed_int()
755 case GL_LUMINANCE32I_EXT: in _mesa_is_enum_format_signed_int()
756 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
757 case GL_RGBA16I: in _mesa_is_enum_format_signed_int()
758 case GL_RGB16I: in _mesa_is_enum_format_signed_int()
759 case GL_RG16I: in _mesa_is_enum_format_signed_int()
760 case GL_R16I: in _mesa_is_enum_format_signed_int()
761 case GL_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
762 case GL_INTENSITY16I_EXT: in _mesa_is_enum_format_signed_int()
763 case GL_LUMINANCE16I_EXT: in _mesa_is_enum_format_signed_int()
764 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
765 case GL_RGBA8I: in _mesa_is_enum_format_signed_int()
766 case GL_RGB8I: in _mesa_is_enum_format_signed_int()
767 case GL_RG8I: in _mesa_is_enum_format_signed_int()
768 case GL_R8I: in _mesa_is_enum_format_signed_int()
769 case GL_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
770 case GL_INTENSITY8I_EXT: in _mesa_is_enum_format_signed_int()
771 case GL_LUMINANCE8I_EXT: in _mesa_is_enum_format_signed_int()
772 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
786 case GL_COMPRESSED_RGBA_ASTC_4x4: in is_astc_2d_format()
787 case GL_COMPRESSED_RGBA_ASTC_5x4: in is_astc_2d_format()
788 case GL_COMPRESSED_RGBA_ASTC_5x5: in is_astc_2d_format()
789 case GL_COMPRESSED_RGBA_ASTC_6x5: in is_astc_2d_format()
790 case GL_COMPRESSED_RGBA_ASTC_6x6: in is_astc_2d_format()
791 case GL_COMPRESSED_RGBA_ASTC_8x5: in is_astc_2d_format()
792 case GL_COMPRESSED_RGBA_ASTC_8x6: in is_astc_2d_format()
793 case GL_COMPRESSED_RGBA_ASTC_8x8: in is_astc_2d_format()
794 case GL_COMPRESSED_RGBA_ASTC_10x5: in is_astc_2d_format()
795 case GL_COMPRESSED_RGBA_ASTC_10x6: in is_astc_2d_format()
796 case GL_COMPRESSED_RGBA_ASTC_10x8: in is_astc_2d_format()
797 case GL_COMPRESSED_RGBA_ASTC_10x10: in is_astc_2d_format()
798 case GL_COMPRESSED_RGBA_ASTC_12x10: in is_astc_2d_format()
799 case GL_COMPRESSED_RGBA_ASTC_12x12: in is_astc_2d_format()
800 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4: in is_astc_2d_format()
801 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4: in is_astc_2d_format()
802 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5: in is_astc_2d_format()
803 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5: in is_astc_2d_format()
804 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6: in is_astc_2d_format()
805 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5: in is_astc_2d_format()
806 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6: in is_astc_2d_format()
807 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8: in is_astc_2d_format()
808 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5: in is_astc_2d_format()
809 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6: in is_astc_2d_format()
810 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8: in is_astc_2d_format()
811 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10: in is_astc_2d_format()
812 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10: in is_astc_2d_format()
813 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12: in is_astc_2d_format()
827 case GL_COMPRESSED_RGBA_ASTC_3x3x3_OES: in is_astc_3d_format()
828 case GL_COMPRESSED_RGBA_ASTC_4x3x3_OES: in is_astc_3d_format()
829 case GL_COMPRESSED_RGBA_ASTC_4x4x3_OES: in is_astc_3d_format()
830 case GL_COMPRESSED_RGBA_ASTC_4x4x4_OES: in is_astc_3d_format()
831 case GL_COMPRESSED_RGBA_ASTC_5x4x4_OES: in is_astc_3d_format()
832 case GL_COMPRESSED_RGBA_ASTC_5x5x4_OES: in is_astc_3d_format()
833 case GL_COMPRESSED_RGBA_ASTC_5x5x5_OES: in is_astc_3d_format()
834 case GL_COMPRESSED_RGBA_ASTC_6x5x5_OES: in is_astc_3d_format()
835 case GL_COMPRESSED_RGBA_ASTC_6x6x5_OES: in is_astc_3d_format()
836 case GL_COMPRESSED_RGBA_ASTC_6x6x6_OES: in is_astc_3d_format()
837 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES: in is_astc_3d_format()
838 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES: in is_astc_3d_format()
839 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES: in is_astc_3d_format()
840 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES: in is_astc_3d_format()
841 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES: in is_astc_3d_format()
842 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES: in is_astc_3d_format()
843 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES: in is_astc_3d_format()
844 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES: in is_astc_3d_format()
845 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES: in is_astc_3d_format()
846 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES: in is_astc_3d_format()
870 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_etc2_format()
871 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_etc2_format()
872 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_etc2_format()
873 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_etc2_format()
874 case GL_COMPRESSED_R11_EAC: in _mesa_is_etc2_format()
875 case GL_COMPRESSED_RG11_EAC: in _mesa_is_etc2_format()
876 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_etc2_format()
877 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_etc2_format()
878 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
879 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
901 case GL_UNSIGNED_INT: in _mesa_is_type_unsigned()
902 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_is_type_unsigned()
903 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_is_type_unsigned()
904 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_is_type_unsigned()
905 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_is_type_unsigned()
907 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned()
908 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_is_type_unsigned()
909 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_is_type_unsigned()
910 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_is_type_unsigned()
911 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_is_type_unsigned()
912 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_is_type_unsigned()
913 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_is_type_unsigned()
914 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_is_type_unsigned()
915 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_is_type_unsigned()
917 case GL_UNSIGNED_BYTE: in _mesa_is_type_unsigned()
918 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_is_type_unsigned()
919 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_is_type_unsigned()
938 case GL_RED: in _mesa_is_color_format()
939 case GL_GREEN: in _mesa_is_color_format()
940 case GL_BLUE: in _mesa_is_color_format()
941 case GL_ALPHA: in _mesa_is_color_format()
942 case GL_ALPHA4: in _mesa_is_color_format()
943 case GL_ALPHA8: in _mesa_is_color_format()
944 case GL_ALPHA12: in _mesa_is_color_format()
945 case GL_ALPHA16: in _mesa_is_color_format()
946 case 1: in _mesa_is_color_format()
947 case GL_LUMINANCE: in _mesa_is_color_format()
948 case GL_LUMINANCE4: in _mesa_is_color_format()
949 case GL_LUMINANCE8: in _mesa_is_color_format()
950 case GL_LUMINANCE12: in _mesa_is_color_format()
951 case GL_LUMINANCE16: in _mesa_is_color_format()
952 case 2: in _mesa_is_color_format()
953 case GL_LUMINANCE_ALPHA: in _mesa_is_color_format()
954 case GL_LUMINANCE4_ALPHA4: in _mesa_is_color_format()
955 case GL_LUMINANCE6_ALPHA2: in _mesa_is_color_format()
956 case GL_LUMINANCE8_ALPHA8: in _mesa_is_color_format()
957 case GL_LUMINANCE12_ALPHA4: in _mesa_is_color_format()
958 case GL_LUMINANCE12_ALPHA12: in _mesa_is_color_format()
959 case GL_LUMINANCE16_ALPHA16: in _mesa_is_color_format()
960 case GL_INTENSITY: in _mesa_is_color_format()
961 case GL_INTENSITY4: in _mesa_is_color_format()
962 case GL_INTENSITY8: in _mesa_is_color_format()
963 case GL_INTENSITY12: in _mesa_is_color_format()
964 case GL_INTENSITY16: in _mesa_is_color_format()
965 case GL_R8: in _mesa_is_color_format()
966 case GL_R16: in _mesa_is_color_format()
967 case GL_RG: in _mesa_is_color_format()
968 case GL_RG8: in _mesa_is_color_format()
969 case GL_RG16: in _mesa_is_color_format()
970 case 3: in _mesa_is_color_format()
971 case GL_RGB: in _mesa_is_color_format()
972 case GL_BGR: in _mesa_is_color_format()
973 case GL_R3_G3_B2: in _mesa_is_color_format()
974 case GL_RGB4: in _mesa_is_color_format()
975 case GL_RGB5: in _mesa_is_color_format()
976 case GL_RGB565: in _mesa_is_color_format()
977 case GL_RGB8: in _mesa_is_color_format()
978 case GL_RGB10: in _mesa_is_color_format()
979 case GL_RGB12: in _mesa_is_color_format()
980 case GL_RGB16: in _mesa_is_color_format()
981 case 4: in _mesa_is_color_format()
982 case GL_ABGR_EXT: in _mesa_is_color_format()
983 case GL_RGBA: in _mesa_is_color_format()
984 case GL_BGRA: in _mesa_is_color_format()
985 case GL_RGBA2: in _mesa_is_color_format()
986 case GL_RGBA4: in _mesa_is_color_format()
987 case GL_RGB5_A1: in _mesa_is_color_format()
988 case GL_RGBA8: in _mesa_is_color_format()
989 case GL_RGB10_A2: in _mesa_is_color_format()
990 case GL_RGBA12: in _mesa_is_color_format()
991 case GL_RGBA16: in _mesa_is_color_format()
993 case GL_ALPHA16F_ARB: in _mesa_is_color_format()
994 case GL_ALPHA32F_ARB: in _mesa_is_color_format()
995 case GL_LUMINANCE16F_ARB: in _mesa_is_color_format()
996 case GL_LUMINANCE32F_ARB: in _mesa_is_color_format()
997 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_is_color_format()
998 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_is_color_format()
999 case GL_INTENSITY16F_ARB: in _mesa_is_color_format()
1000 case GL_INTENSITY32F_ARB: in _mesa_is_color_format()
1001 case GL_R16F: in _mesa_is_color_format()
1002 case GL_R32F: in _mesa_is_color_format()
1003 case GL_RG16F: in _mesa_is_color_format()
1004 case GL_RG32F: in _mesa_is_color_format()
1005 case GL_RGB16F_ARB: in _mesa_is_color_format()
1006 case GL_RGB32F_ARB: in _mesa_is_color_format()
1007 case GL_RGBA16F_ARB: in _mesa_is_color_format()
1008 case GL_RGBA32F_ARB: in _mesa_is_color_format()
1010 case GL_COMPRESSED_ALPHA: in _mesa_is_color_format()
1011 case GL_COMPRESSED_LUMINANCE: in _mesa_is_color_format()
1012 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_is_color_format()
1013 case GL_COMPRESSED_INTENSITY: in _mesa_is_color_format()
1014 case GL_COMPRESSED_RED: in _mesa_is_color_format()
1015 case GL_COMPRESSED_RG: in _mesa_is_color_format()
1016 case GL_COMPRESSED_RGB: in _mesa_is_color_format()
1017 case GL_COMPRESSED_RGBA: in _mesa_is_color_format()
1018 case GL_RGB_S3TC: in _mesa_is_color_format()
1019 case GL_RGB4_S3TC: in _mesa_is_color_format()
1020 case GL_RGBA_S3TC: in _mesa_is_color_format()
1021 case GL_RGBA4_S3TC: in _mesa_is_color_format()
1022 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1023 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1024 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1025 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1026 case GL_COMPRESSED_RGB_FXT1_3DFX: in _mesa_is_color_format()
1027 case GL_COMPRESSED_RGBA_FXT1_3DFX: in _mesa_is_color_format()
1028 case GL_SR8_EXT: in _mesa_is_color_format()
1029 case GL_SRG8_EXT: in _mesa_is_color_format()
1030 case GL_SRGB: in _mesa_is_color_format()
1031 case GL_SRGB8: in _mesa_is_color_format()
1032 case GL_SRGB_ALPHA: in _mesa_is_color_format()
1033 case GL_SRGB8_ALPHA8: in _mesa_is_color_format()
1034 case GL_SLUMINANCE_ALPHA: in _mesa_is_color_format()
1035 case GL_SLUMINANCE8_ALPHA8: in _mesa_is_color_format()
1036 case GL_SLUMINANCE: in _mesa_is_color_format()
1037 case GL_SLUMINANCE8: in _mesa_is_color_format()
1038 case GL_COMPRESSED_SRGB: in _mesa_is_color_format()
1039 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1040 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_is_color_format()
1041 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1042 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1043 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1044 case GL_COMPRESSED_SLUMINANCE: in _mesa_is_color_format()
1045 case GL_COMPRESSED_SLUMINANCE_ALPHA: in _mesa_is_color_format()
1046 case GL_COMPRESSED_RED_RGTC1: in _mesa_is_color_format()
1047 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_is_color_format()
1048 case GL_COMPRESSED_RG_RGTC2: in _mesa_is_color_format()
1049 case GL_COMPRESSED_SIGNED_RG_RGTC2: in _mesa_is_color_format()
1050 case GL_COMPRESSED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1051 case GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1052 case GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1053 case GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1054 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_color_format()
1055 case GL_ETC1_RGB8_OES: in _mesa_is_color_format()
1056 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_color_format()
1057 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_color_format()
1058 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_color_format()
1059 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_color_format()
1060 case GL_COMPRESSED_R11_EAC: in _mesa_is_color_format()
1061 case GL_COMPRESSED_RG11_EAC: in _mesa_is_color_format()
1062 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_color_format()
1063 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_color_format()
1064 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1065 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1066 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_is_color_format()
1067 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_color_format()
1068 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_is_color_format()
1069 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_is_color_format()
1070 case GL_COMPRESSED_RGBA_ASTC_4x4: in _mesa_is_color_format()
1071 case GL_COMPRESSED_RGBA_ASTC_5x4: in _mesa_is_color_format()
1072 case GL_COMPRESSED_RGBA_ASTC_5x5: in _mesa_is_color_format()
1073 case GL_COMPRESSED_RGBA_ASTC_6x5: in _mesa_is_color_format()
1074 case GL_COMPRESSED_RGBA_ASTC_6x6: in _mesa_is_color_format()
1075 case GL_COMPRESSED_RGBA_ASTC_8x5: in _mesa_is_color_format()
1076 case GL_COMPRESSED_RGBA_ASTC_8x6: in _mesa_is_color_format()
1077 case GL_COMPRESSED_RGBA_ASTC_8x8: in _mesa_is_color_format()
1078 case GL_COMPRESSED_RGBA_ASTC_10x5: in _mesa_is_color_format()
1079 case GL_COMPRESSED_RGBA_ASTC_10x6: in _mesa_is_color_format()
1080 case GL_COMPRESSED_RGBA_ASTC_10x8: in _mesa_is_color_format()
1081 case GL_COMPRESSED_RGBA_ASTC_10x10: in _mesa_is_color_format()
1082 case GL_COMPRESSED_RGBA_ASTC_12x10: in _mesa_is_color_format()
1083 case GL_COMPRESSED_RGBA_ASTC_12x12: in _mesa_is_color_format()
1084 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4: in _mesa_is_color_format()
1085 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4: in _mesa_is_color_format()
1086 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5: in _mesa_is_color_format()
1087 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5: in _mesa_is_color_format()
1088 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6: in _mesa_is_color_format()
1089 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5: in _mesa_is_color_format()
1090 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6: in _mesa_is_color_format()
1091 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8: in _mesa_is_color_format()
1092 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5: in _mesa_is_color_format()
1093 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6: in _mesa_is_color_format()
1094 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8: in _mesa_is_color_format()
1095 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10: in _mesa_is_color_format()
1096 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10: in _mesa_is_color_format()
1097 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12: in _mesa_is_color_format()
1098 case GL_ATC_RGB_AMD: in _mesa_is_color_format()
1099 case GL_ATC_RGBA_EXPLICIT_ALPHA_AMD: in _mesa_is_color_format()
1100 case GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD: in _mesa_is_color_format()
1102 case GL_RED_INTEGER: in _mesa_is_color_format()
1103 case GL_GREEN_INTEGER: in _mesa_is_color_format()
1104 case GL_BLUE_INTEGER: in _mesa_is_color_format()
1105 case GL_ALPHA_INTEGER: in _mesa_is_color_format()
1106 case GL_RGB_INTEGER: in _mesa_is_color_format()
1107 case GL_RGBA_INTEGER: in _mesa_is_color_format()
1108 case GL_BGR_INTEGER: in _mesa_is_color_format()
1109 case GL_BGRA_INTEGER: in _mesa_is_color_format()
1110 case GL_RG_INTEGER: in _mesa_is_color_format()
1111 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_color_format()
1112 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_color_format()
1114 case GL_RGBA32UI: in _mesa_is_color_format()
1115 case GL_RGB32UI: in _mesa_is_color_format()
1116 case GL_RG32UI: in _mesa_is_color_format()
1117 case GL_R32UI: in _mesa_is_color_format()
1118 case GL_ALPHA32UI_EXT: in _mesa_is_color_format()
1119 case GL_INTENSITY32UI_EXT: in _mesa_is_color_format()
1120 case GL_LUMINANCE32UI_EXT: in _mesa_is_color_format()
1121 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_color_format()
1122 case GL_RGBA16UI: in _mesa_is_color_format()
1123 case GL_RGB16UI: in _mesa_is_color_format()
1124 case GL_RG16UI: in _mesa_is_color_format()
1125 case GL_R16UI: in _mesa_is_color_format()
1126 case GL_ALPHA16UI_EXT: in _mesa_is_color_format()
1127 case GL_INTENSITY16UI_EXT: in _mesa_is_color_format()
1128 case GL_LUMINANCE16UI_EXT: in _mesa_is_color_format()
1129 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_color_format()
1130 case GL_RGBA8UI: in _mesa_is_color_format()
1131 case GL_RGB8UI: in _mesa_is_color_format()
1132 case GL_RG8UI: in _mesa_is_color_format()
1133 case GL_R8UI: in _mesa_is_color_format()
1134 case GL_ALPHA8UI_EXT: in _mesa_is_color_format()
1135 case GL_INTENSITY8UI_EXT: in _mesa_is_color_format()
1136 case GL_LUMINANCE8UI_EXT: in _mesa_is_color_format()
1137 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_color_format()
1138 case GL_RGBA32I: in _mesa_is_color_format()
1139 case GL_RGB32I: in _mesa_is_color_format()
1140 case GL_RG32I: in _mesa_is_color_format()
1141 case GL_R32I: in _mesa_is_color_format()
1142 case GL_ALPHA32I_EXT: in _mesa_is_color_format()
1143 case GL_INTENSITY32I_EXT: in _mesa_is_color_format()
1144 case GL_LUMINANCE32I_EXT: in _mesa_is_color_format()
1145 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_color_format()
1146 case GL_RGBA16I: in _mesa_is_color_format()
1147 case GL_RGB16I: in _mesa_is_color_format()
1148 case GL_RG16I: in _mesa_is_color_format()
1149 case GL_R16I: in _mesa_is_color_format()
1150 case GL_ALPHA16I_EXT: in _mesa_is_color_format()
1151 case GL_INTENSITY16I_EXT: in _mesa_is_color_format()
1152 case GL_LUMINANCE16I_EXT: in _mesa_is_color_format()
1153 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_color_format()
1154 case GL_RGBA8I: in _mesa_is_color_format()
1155 case GL_RGB8I: in _mesa_is_color_format()
1156 case GL_RG8I: in _mesa_is_color_format()
1157 case GL_R8I: in _mesa_is_color_format()
1158 case GL_ALPHA8I_EXT: in _mesa_is_color_format()
1159 case GL_INTENSITY8I_EXT: in _mesa_is_color_format()
1160 case GL_LUMINANCE8I_EXT: in _mesa_is_color_format()
1161 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_color_format()
1163 case GL_RED_SNORM: in _mesa_is_color_format()
1164 case GL_R8_SNORM: in _mesa_is_color_format()
1165 case GL_R16_SNORM: in _mesa_is_color_format()
1166 case GL_RG_SNORM: in _mesa_is_color_format()
1167 case GL_RG8_SNORM: in _mesa_is_color_format()
1168 case GL_RG16_SNORM: in _mesa_is_color_format()
1169 case GL_RGB_SNORM: in _mesa_is_color_format()
1170 case GL_RGB8_SNORM: in _mesa_is_color_format()
1171 case GL_RGB16_SNORM: in _mesa_is_color_format()
1172 case GL_RGBA_SNORM: in _mesa_is_color_format()
1173 case GL_RGBA8_SNORM: in _mesa_is_color_format()
1174 case GL_RGBA16_SNORM: in _mesa_is_color_format()
1175 case GL_ALPHA_SNORM: in _mesa_is_color_format()
1176 case GL_ALPHA8_SNORM: in _mesa_is_color_format()
1177 case GL_ALPHA16_SNORM: in _mesa_is_color_format()
1178 case GL_LUMINANCE_SNORM: in _mesa_is_color_format()
1179 case GL_LUMINANCE8_SNORM: in _mesa_is_color_format()
1180 case GL_LUMINANCE16_SNORM: in _mesa_is_color_format()
1181 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_color_format()
1182 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_color_format()
1183 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_color_format()
1184 case GL_INTENSITY_SNORM: in _mesa_is_color_format()
1185 case GL_INTENSITY8_SNORM: in _mesa_is_color_format()
1186 case GL_INTENSITY16_SNORM: in _mesa_is_color_format()
1187 case GL_RGB9_E5: in _mesa_is_color_format()
1188 case GL_R11F_G11F_B10F: in _mesa_is_color_format()
1189 case GL_RGB10_A2UI: in _mesa_is_color_format()
1191 case GL_YCBCR_MESA: /* not considered to be RGB */ in _mesa_is_color_format()
1206 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
1207 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_format()
1208 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_format()
1209 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_format()
1210 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_format()
1225 case GL_STENCIL_INDEX: in _mesa_is_stencil_format()
1240 case GL_YCBCR_MESA: in _mesa_is_ycbcr_format()
1255 case GL_DEPTH24_STENCIL8: in _mesa_is_depthstencil_format()
1256 case GL_DEPTH_STENCIL: in _mesa_is_depthstencil_format()
1257 case GL_DEPTH32F_STENCIL8: in _mesa_is_depthstencil_format()
1272 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
1273 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_or_stencil_format()
1274 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_or_stencil_format()
1275 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_or_stencil_format()
1276 case GL_STENCIL_INDEX: in _mesa_is_depth_or_stencil_format()
1277 case GL_STENCIL_INDEX1: in _mesa_is_depth_or_stencil_format()
1278 case GL_STENCIL_INDEX4: in _mesa_is_depth_or_stencil_format()
1279 case GL_STENCIL_INDEX8: in _mesa_is_depth_or_stencil_format()
1280 case GL_STENCIL_INDEX16: in _mesa_is_depth_or_stencil_format()
1281 case GL_DEPTH_STENCIL: in _mesa_is_depth_or_stencil_format()
1282 case GL_DEPTH24_STENCIL8: in _mesa_is_depth_or_stencil_format()
1283 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_or_stencil_format()
1284 case GL_DEPTH32F_STENCIL8: in _mesa_is_depth_or_stencil_format()
1316 case GL_RGB_S3TC: in _mesa_is_compressed_format()
1317 case GL_RGB4_S3TC: in _mesa_is_compressed_format()
1318 case GL_RGBA_S3TC: in _mesa_is_compressed_format()
1319 case GL_RGBA4_S3TC: in _mesa_is_compressed_format()
1321 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_compressed_format()
1323 case GL_PALETTE4_RGB8_OES: in _mesa_is_compressed_format()
1324 case GL_PALETTE4_RGBA8_OES: in _mesa_is_compressed_format()
1325 case GL_PALETTE4_R5_G6_B5_OES: in _mesa_is_compressed_format()
1326 case GL_PALETTE4_RGBA4_OES: in _mesa_is_compressed_format()
1327 case GL_PALETTE4_RGB5_A1_OES: in _mesa_is_compressed_format()
1328 case GL_PALETTE8_RGB8_OES: in _mesa_is_compressed_format()
1329 case GL_PALETTE8_RGBA8_OES: in _mesa_is_compressed_format()
1330 case GL_PALETTE8_R5_G6_B5_OES: in _mesa_is_compressed_format()
1331 case GL_PALETTE8_RGBA4_OES: in _mesa_is_compressed_format()
1332 case GL_PALETTE8_RGB5_A1_OES: in _mesa_is_compressed_format()
1337 case MESA_FORMAT_LAYOUT_S3TC: in _mesa_is_compressed_format()
1348 case MESA_FORMAT_LAYOUT_FXT1: in _mesa_is_compressed_format()
1350 case MESA_FORMAT_LAYOUT_RGTC: in _mesa_is_compressed_format()
1353 case MESA_FORMAT_LAYOUT_LATC: in _mesa_is_compressed_format()
1355 case MESA_FORMAT_LAYOUT_ETC1: in _mesa_is_compressed_format()
1357 case MESA_FORMAT_LAYOUT_ETC2: in _mesa_is_compressed_format()
1359 case MESA_FORMAT_LAYOUT_BPTC: in _mesa_is_compressed_format()
1362 case MESA_FORMAT_LAYOUT_ASTC: in _mesa_is_compressed_format()
1364 case MESA_FORMAT_LAYOUT_ATC: in _mesa_is_compressed_format()
1380 case GL_SR8_EXT: in _mesa_is_srgb_format()
1381 case GL_SRG8_EXT: in _mesa_is_srgb_format()
1382 case GL_SRGB: in _mesa_is_srgb_format()
1383 case GL_SRGB8: in _mesa_is_srgb_format()
1384 case GL_SRGB_ALPHA: in _mesa_is_srgb_format()
1385 case GL_SRGB8_ALPHA8: in _mesa_is_srgb_format()
1386 case GL_COMPRESSED_SRGB: in _mesa_is_srgb_format()
1387 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_is_srgb_format()
1388 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1389 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1390 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_srgb_format()
1391 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_srgb_format()
1392 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_srgb_format()
1393 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_srgb_format()
1394 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_srgb_format()
1395 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_srgb_format()
1396 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in _mesa_is_srgb_format()
1397 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in _mesa_is_srgb_format()
1398 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in _mesa_is_srgb_format()
1399 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in _mesa_is_srgb_format()
1400 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in _mesa_is_srgb_format()
1401 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in _mesa_is_srgb_format()
1402 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in _mesa_is_srgb_format()
1403 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in _mesa_is_srgb_format()
1404 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in _mesa_is_srgb_format()
1405 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in _mesa_is_srgb_format()
1406 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in _mesa_is_srgb_format()
1407 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in _mesa_is_srgb_format()
1408 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in _mesa_is_srgb_format()
1409 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in _mesa_is_srgb_format()
1425 case GL_RED_INTEGER: in _mesa_unpack_format_to_base_format()
1427 case GL_GREEN_INTEGER: in _mesa_unpack_format_to_base_format()
1429 case GL_BLUE_INTEGER: in _mesa_unpack_format_to_base_format()
1431 case GL_ALPHA_INTEGER: in _mesa_unpack_format_to_base_format()
1433 case GL_RG_INTEGER: in _mesa_unpack_format_to_base_format()
1435 case GL_RGB_INTEGER: in _mesa_unpack_format_to_base_format()
1437 case GL_RGBA_INTEGER: in _mesa_unpack_format_to_base_format()
1439 case GL_BGR_INTEGER: in _mesa_unpack_format_to_base_format()
1441 case GL_BGRA_INTEGER: in _mesa_unpack_format_to_base_format()
1443 case GL_LUMINANCE_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1445 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1447 case GL_RED: in _mesa_unpack_format_to_base_format()
1448 case GL_GREEN: in _mesa_unpack_format_to_base_format()
1449 case GL_BLUE: in _mesa_unpack_format_to_base_format()
1450 case GL_RG: in _mesa_unpack_format_to_base_format()
1451 case GL_RGB: in _mesa_unpack_format_to_base_format()
1452 case GL_RGBA: in _mesa_unpack_format_to_base_format()
1453 case GL_BGR: in _mesa_unpack_format_to_base_format()
1454 case GL_BGRA: in _mesa_unpack_format_to_base_format()
1455 case GL_ALPHA: in _mesa_unpack_format_to_base_format()
1456 case GL_LUMINANCE: in _mesa_unpack_format_to_base_format()
1457 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1470 case GL_RED: in _mesa_base_format_to_integer_format()
1472 case GL_GREEN: in _mesa_base_format_to_integer_format()
1474 case GL_BLUE: in _mesa_base_format_to_integer_format()
1476 case GL_RG: in _mesa_base_format_to_integer_format()
1478 case GL_RGB: in _mesa_base_format_to_integer_format()
1480 case GL_RGBA: in _mesa_base_format_to_integer_format()
1482 case GL_BGR: in _mesa_base_format_to_integer_format()
1484 case GL_BGRA: in _mesa_base_format_to_integer_format()
1486 case GL_ALPHA: in _mesa_base_format_to_integer_format()
1488 case GL_LUMINANCE: in _mesa_base_format_to_integer_format()
1490 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1506 case GL_TEXTURE_RED_SIZE: in _mesa_base_format_has_channel()
1507 case GL_TEXTURE_RED_TYPE: in _mesa_base_format_has_channel()
1508 case GL_RENDERBUFFER_RED_SIZE: in _mesa_base_format_has_channel()
1509 case GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE: in _mesa_base_format_has_channel()
1510 case GL_INTERNALFORMAT_RED_SIZE: in _mesa_base_format_has_channel()
1511 case GL_INTERNALFORMAT_RED_TYPE: in _mesa_base_format_has_channel()
1519 case GL_TEXTURE_GREEN_SIZE: in _mesa_base_format_has_channel()
1520 case GL_TEXTURE_GREEN_TYPE: in _mesa_base_format_has_channel()
1521 case GL_RENDERBUFFER_GREEN_SIZE: in _mesa_base_format_has_channel()
1522 case GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: in _mesa_base_format_has_channel()
1523 case GL_INTERNALFORMAT_GREEN_SIZE: in _mesa_base_format_has_channel()
1524 case GL_INTERNALFORMAT_GREEN_TYPE: in _mesa_base_format_has_channel()
1531 case GL_TEXTURE_BLUE_SIZE: in _mesa_base_format_has_channel()
1532 case GL_TEXTURE_BLUE_TYPE: in _mesa_base_format_has_channel()
1533 case GL_RENDERBUFFER_BLUE_SIZE: in _mesa_base_format_has_channel()
1534 case GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: in _mesa_base_format_has_channel()
1535 case GL_INTERNALFORMAT_BLUE_SIZE: in _mesa_base_format_has_channel()
1536 case GL_INTERNALFORMAT_BLUE_TYPE: in _mesa_base_format_has_channel()
1542 case GL_TEXTURE_ALPHA_SIZE: in _mesa_base_format_has_channel()
1543 case GL_TEXTURE_ALPHA_TYPE: in _mesa_base_format_has_channel()
1544 case GL_RENDERBUFFER_ALPHA_SIZE: in _mesa_base_format_has_channel()
1545 case GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1546 case GL_INTERNALFORMAT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1547 case GL_INTERNALFORMAT_ALPHA_TYPE: in _mesa_base_format_has_channel()
1554 case GL_TEXTURE_LUMINANCE_SIZE: in _mesa_base_format_has_channel()
1555 case GL_TEXTURE_LUMINANCE_TYPE: in _mesa_base_format_has_channel()
1561 case GL_TEXTURE_INTENSITY_SIZE: in _mesa_base_format_has_channel()
1562 case GL_TEXTURE_INTENSITY_TYPE: in _mesa_base_format_has_channel()
1567 case GL_TEXTURE_DEPTH_SIZE: in _mesa_base_format_has_channel()
1568 case GL_TEXTURE_DEPTH_TYPE: in _mesa_base_format_has_channel()
1569 case GL_RENDERBUFFER_DEPTH_SIZE: in _mesa_base_format_has_channel()
1570 case GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1571 case GL_INTERNALFORMAT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1572 case GL_INTERNALFORMAT_DEPTH_TYPE: in _mesa_base_format_has_channel()
1578 case GL_RENDERBUFFER_STENCIL_SIZE: in _mesa_base_format_has_channel()
1579 case GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1580 case GL_INTERNALFORMAT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1581 case GL_INTERNALFORMAT_STENCIL_TYPE: in _mesa_base_format_has_channel()
1605 case GL_COMPRESSED_RED: in _mesa_generic_compressed_format_to_uncompressed_format()
1607 case GL_COMPRESSED_RG: in _mesa_generic_compressed_format_to_uncompressed_format()
1609 case GL_COMPRESSED_RGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1611 case GL_COMPRESSED_RGBA: in _mesa_generic_compressed_format_to_uncompressed_format()
1613 case GL_COMPRESSED_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1615 case GL_COMPRESSED_LUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1617 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1619 case GL_COMPRESSED_INTENSITY: in _mesa_generic_compressed_format_to_uncompressed_format()
1622 case GL_COMPRESSED_SRGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1624 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1626 case GL_COMPRESSED_SLUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1628 case GL_COMPRESSED_SLUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1645 case 4: in _mesa_get_nongeneric_internalformat()
1646 case GL_RGBA: in _mesa_get_nongeneric_internalformat()
1648 case 3: in _mesa_get_nongeneric_internalformat()
1649 case GL_RGB: in _mesa_get_nongeneric_internalformat()
1651 case 2: in _mesa_get_nongeneric_internalformat()
1652 case GL_LUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1654 case 1: in _mesa_get_nongeneric_internalformat()
1655 case GL_LUMINANCE: in _mesa_get_nongeneric_internalformat()
1657 case GL_ALPHA: in _mesa_get_nongeneric_internalformat()
1659 case GL_INTENSITY: in _mesa_get_nongeneric_internalformat()
1663 case GL_RED: in _mesa_get_nongeneric_internalformat()
1665 case GL_RG: in _mesa_get_nongeneric_internalformat()
1669 case GL_SRGB: in _mesa_get_nongeneric_internalformat()
1671 case GL_SRGB_ALPHA: in _mesa_get_nongeneric_internalformat()
1673 case GL_SLUMINANCE: in _mesa_get_nongeneric_internalformat()
1675 case GL_SLUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1679 case GL_RGBA_SNORM: in _mesa_get_nongeneric_internalformat()
1681 case GL_RGB_SNORM: in _mesa_get_nongeneric_internalformat()
1683 case GL_RG_SNORM: in _mesa_get_nongeneric_internalformat()
1685 case GL_RED_SNORM: in _mesa_get_nongeneric_internalformat()
1687 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1689 case GL_LUMINANCE_SNORM: in _mesa_get_nongeneric_internalformat()
1691 case GL_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1693 case GL_INTENSITY_SNORM: in _mesa_get_nongeneric_internalformat()
1709 case GL_SRGB: in _mesa_get_linear_internalformat()
1711 case GL_SRGB_ALPHA: in _mesa_get_linear_internalformat()
1713 case GL_SRGB8: in _mesa_get_linear_internalformat()
1715 case GL_SRGB8_ALPHA8: in _mesa_get_linear_internalformat()
1717 case GL_SLUMINANCE8: in _mesa_get_linear_internalformat()
1719 case GL_SLUMINANCE: in _mesa_get_linear_internalformat()
1721 case GL_SLUMINANCE_ALPHA: in _mesa_get_linear_internalformat()
1723 case GL_SLUMINANCE8_ALPHA8: in _mesa_get_linear_internalformat()
1735 case GL_RGBA: in valid_texture_format_enum()
1736 case GL_RGB: in valid_texture_format_enum()
1737 case GL_RED: in valid_texture_format_enum()
1741 case GL_STENCIL_INDEX: in valid_texture_format_enum()
1744 case GL_COLOR_INDEX: in valid_texture_format_enum()
1747 case GL_RG: in valid_texture_format_enum()
1750 case GL_GREEN: in valid_texture_format_enum()
1751 case GL_BLUE: in valid_texture_format_enum()
1754 case GL_BGR: in valid_texture_format_enum()
1755 case GL_BGRA: in valid_texture_format_enum()
1760 case GL_RED_INTEGER: in valid_texture_format_enum()
1761 case GL_GREEN_INTEGER: in valid_texture_format_enum()
1762 case GL_BLUE_INTEGER: in valid_texture_format_enum()
1763 case GL_RGB_INTEGER: in valid_texture_format_enum()
1764 case GL_RGBA_INTEGER: in valid_texture_format_enum()
1767 case GL_RG_INTEGER: in valid_texture_format_enum()
1772 case GL_BGR_INTEGER: in valid_texture_format_enum()
1773 case GL_BGRA_INTEGER: in valid_texture_format_enum()
1774 case GL_ALPHA_INTEGER: in valid_texture_format_enum()
1777 case GL_LUMINANCE_INTEGER_EXT: in valid_texture_format_enum()
1778 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in valid_texture_format_enum()
1782 case GL_DEPTH_COMPONENT: in valid_texture_format_enum()
1786 case GL_DEPTH_STENCIL: in valid_texture_format_enum()
1791 case GL_LUMINANCE_ALPHA: in valid_texture_format_enum()
1792 case GL_LUMINANCE: in valid_texture_format_enum()
1793 case GL_ALPHA: in valid_texture_format_enum()
1798 case GL_ABGR_EXT: in valid_texture_format_enum()
1801 case GL_YCBCR_MESA: in valid_texture_format_enum()
1813 case GL_UNSIGNED_BYTE: in valid_texture_type_enum()
1814 case GL_BYTE: in valid_texture_type_enum()
1815 case GL_UNSIGNED_SHORT: in valid_texture_type_enum()
1816 case GL_SHORT: in valid_texture_type_enum()
1817 case GL_UNSIGNED_INT: in valid_texture_type_enum()
1818 case GL_INT: in valid_texture_type_enum()
1819 case GL_UNSIGNED_SHORT_5_6_5: in valid_texture_type_enum()
1820 case GL_UNSIGNED_SHORT_4_4_4_4: in valid_texture_type_enum()
1821 case GL_UNSIGNED_SHORT_5_5_5_1: in valid_texture_type_enum()
1825 case GL_FLOAT: in valid_texture_type_enum()
1828 case GL_HALF_FLOAT: in valid_texture_type_enum()
1831 case GL_HALF_FLOAT_OES: in valid_texture_type_enum()
1837 case GL_BITMAP: in valid_texture_type_enum()
1840 case GL_UNSIGNED_BYTE_3_3_2: in valid_texture_type_enum()
1841 case GL_UNSIGNED_BYTE_2_3_3_REV: in valid_texture_type_enum()
1842 case GL_UNSIGNED_SHORT_5_6_5_REV: in valid_texture_type_enum()
1843 case GL_UNSIGNED_INT_8_8_8_8: in valid_texture_type_enum()
1844 case GL_UNSIGNED_INT_8_8_8_8_REV: in valid_texture_type_enum()
1847 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in valid_texture_type_enum()
1848 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in valid_texture_type_enum()
1852 case GL_UNSIGNED_INT_10_10_10_2: in valid_texture_type_enum()
1856 case GL_UNSIGNED_INT_2_10_10_10_REV: in valid_texture_type_enum()
1859 case GL_UNSIGNED_INT_10F_11F_11F_REV: in valid_texture_type_enum()
1862 case GL_UNSIGNED_INT_5_9_9_9_REV: in valid_texture_type_enum()
1865 case GL_UNSIGNED_INT_24_8: in valid_texture_type_enum()
1870 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in valid_texture_type_enum()
1917 case GL_BITMAP: in _mesa_error_check_format_and_type()
1923 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
1924 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
1925 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
1926 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
1936 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
1937 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
1938 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
1939 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
1951 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
1952 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
1953 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
1954 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1973 case GL_UNSIGNED_INT_24_8: in _mesa_error_check_format_and_type()
1983 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_error_check_format_and_type()
1989 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
1995 case GL_HALF_FLOAT_OES: in _mesa_error_check_format_and_type()
1997 case GL_RGBA: in _mesa_error_check_format_and_type()
1998 case GL_RGB: in _mesa_error_check_format_and_type()
1999 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
2000 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
2001 case GL_ALPHA: in _mesa_error_check_format_and_type()
2003 case GL_RG: in _mesa_error_check_format_and_type()
2004 case GL_RED: in _mesa_error_check_format_and_type()
2018 case GL_COLOR_INDEX: in _mesa_error_check_format_and_type()
2019 case GL_STENCIL_INDEX: in _mesa_error_check_format_and_type()
2021 case GL_BITMAP: in _mesa_error_check_format_and_type()
2022 case GL_BYTE: in _mesa_error_check_format_and_type()
2023 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2024 case GL_SHORT: in _mesa_error_check_format_and_type()
2025 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2026 case GL_INT: in _mesa_error_check_format_and_type()
2027 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2028 case GL_FLOAT: in _mesa_error_check_format_and_type()
2029 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2035 case GL_RED: in _mesa_error_check_format_and_type()
2036 case GL_GREEN: in _mesa_error_check_format_and_type()
2037 case GL_BLUE: in _mesa_error_check_format_and_type()
2038 case GL_ALPHA: in _mesa_error_check_format_and_type()
2040 case GL_INTENSITY: in _mesa_error_check_format_and_type()
2042 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
2043 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
2044 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
2046 case GL_BYTE: in _mesa_error_check_format_and_type()
2047 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2048 case GL_SHORT: in _mesa_error_check_format_and_type()
2049 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2050 case GL_INT: in _mesa_error_check_format_and_type()
2051 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2052 case GL_FLOAT: in _mesa_error_check_format_and_type()
2053 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2059 case GL_RG: in _mesa_error_check_format_and_type()
2061 case GL_BYTE: in _mesa_error_check_format_and_type()
2062 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2063 case GL_SHORT: in _mesa_error_check_format_and_type()
2064 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2065 case GL_INT: in _mesa_error_check_format_and_type()
2066 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2067 case GL_FLOAT: in _mesa_error_check_format_and_type()
2068 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2074 case GL_RGB: in _mesa_error_check_format_and_type()
2076 case GL_BYTE: in _mesa_error_check_format_and_type()
2077 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2078 case GL_SHORT: in _mesa_error_check_format_and_type()
2079 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2080 case GL_INT: in _mesa_error_check_format_and_type()
2081 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2082 case GL_FLOAT: in _mesa_error_check_format_and_type()
2083 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
2084 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
2085 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
2086 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
2087 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2089 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2093 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_error_check_format_and_type()
2094 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
2100 case GL_BGR: in _mesa_error_check_format_and_type()
2105 case GL_BYTE: in _mesa_error_check_format_and_type()
2106 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2107 case GL_SHORT: in _mesa_error_check_format_and_type()
2108 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2109 case GL_INT: in _mesa_error_check_format_and_type()
2110 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2111 case GL_FLOAT: in _mesa_error_check_format_and_type()
2112 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2118 case GL_RGBA: in _mesa_error_check_format_and_type()
2119 case GL_BGRA: in _mesa_error_check_format_and_type()
2121 case GL_BYTE: in _mesa_error_check_format_and_type()
2122 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2123 case GL_SHORT: in _mesa_error_check_format_and_type()
2124 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2125 case GL_INT: in _mesa_error_check_format_and_type()
2126 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2127 case GL_FLOAT: in _mesa_error_check_format_and_type()
2128 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2129 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2130 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2131 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
2132 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2133 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2134 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
2135 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2136 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2142 case GL_ABGR_EXT: in _mesa_error_check_format_and_type()
2144 case GL_BYTE: in _mesa_error_check_format_and_type()
2145 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2146 case GL_SHORT: in _mesa_error_check_format_and_type()
2147 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2148 case GL_INT: in _mesa_error_check_format_and_type()
2149 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2150 case GL_FLOAT: in _mesa_error_check_format_and_type()
2151 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2152 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2153 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2154 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2155 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2161 case GL_YCBCR_MESA: in _mesa_error_check_format_and_type()
2168 case GL_DEPTH_STENCIL: in _mesa_error_check_format_and_type()
2176 case GL_RED_INTEGER: in _mesa_error_check_format_and_type()
2177 case GL_GREEN_INTEGER: in _mesa_error_check_format_and_type()
2178 case GL_BLUE_INTEGER: in _mesa_error_check_format_and_type()
2179 case GL_ALPHA_INTEGER: in _mesa_error_check_format_and_type()
2180 case GL_RG_INTEGER: in _mesa_error_check_format_and_type()
2182 case GL_BYTE: in _mesa_error_check_format_and_type()
2183 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2184 case GL_SHORT: in _mesa_error_check_format_and_type()
2185 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2186 case GL_INT: in _mesa_error_check_format_and_type()
2187 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2194 case GL_RGB_INTEGER: in _mesa_error_check_format_and_type()
2196 case GL_BYTE: in _mesa_error_check_format_and_type()
2197 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2198 case GL_SHORT: in _mesa_error_check_format_and_type()
2199 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2200 case GL_INT: in _mesa_error_check_format_and_type()
2201 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2204 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
2205 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
2206 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
2207 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
2214 case GL_BGR_INTEGER: in _mesa_error_check_format_and_type()
2216 case GL_BYTE: in _mesa_error_check_format_and_type()
2217 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2218 case GL_SHORT: in _mesa_error_check_format_and_type()
2219 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2220 case GL_INT: in _mesa_error_check_format_and_type()
2221 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2229 case GL_RGBA_INTEGER: in _mesa_error_check_format_and_type()
2230 case GL_BGRA_INTEGER: in _mesa_error_check_format_and_type()
2232 case GL_BYTE: in _mesa_error_check_format_and_type()
2233 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2234 case GL_SHORT: in _mesa_error_check_format_and_type()
2235 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2236 case GL_INT: in _mesa_error_check_format_and_type()
2237 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2240 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2241 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2242 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2243 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
2244 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2245 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2246 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
2247 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2254 case GL_LUMINANCE_INTEGER_EXT: in _mesa_error_check_format_and_type()
2255 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2257 case GL_BYTE: in _mesa_error_check_format_and_type()
2258 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2259 case GL_SHORT: in _mesa_error_check_format_and_type()
2260 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2261 case GL_INT: in _mesa_error_check_format_and_type()
2262 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2289 case GL_RED: in _mesa_es_error_check_format_and_type()
2290 case GL_RG: in _mesa_es_error_check_format_and_type()
2294 case GL_ALPHA: in _mesa_es_error_check_format_and_type()
2295 case GL_LUMINANCE: in _mesa_es_error_check_format_and_type()
2296 case GL_LUMINANCE_ALPHA: in _mesa_es_error_check_format_and_type()
2302 case GL_RGB: in _mesa_es_error_check_format_and_type()
2309 case GL_RGBA: in _mesa_es_error_check_format_and_type()
2319 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
2326 case GL_DEPTH_STENCIL: in _mesa_es_error_check_format_and_type()
2332 case GL_BGRA: in _mesa_es_error_check_format_and_type()
2368 case GL_ALPHA: in _mesa_base_tex_format()
2369 case GL_ALPHA4: in _mesa_base_tex_format()
2370 case GL_ALPHA8: in _mesa_base_tex_format()
2371 case GL_ALPHA12: in _mesa_base_tex_format()
2372 case GL_ALPHA16: in _mesa_base_tex_format()
2374 case 1: in _mesa_base_tex_format()
2375 case GL_LUMINANCE: in _mesa_base_tex_format()
2376 case GL_LUMINANCE4: in _mesa_base_tex_format()
2377 case GL_LUMINANCE8: in _mesa_base_tex_format()
2378 case GL_LUMINANCE12: in _mesa_base_tex_format()
2379 case GL_LUMINANCE16: in _mesa_base_tex_format()
2381 case 2: in _mesa_base_tex_format()
2382 case GL_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2383 case GL_LUMINANCE4_ALPHA4: in _mesa_base_tex_format()
2384 case GL_LUMINANCE6_ALPHA2: in _mesa_base_tex_format()
2385 case GL_LUMINANCE8_ALPHA8: in _mesa_base_tex_format()
2386 case GL_LUMINANCE12_ALPHA4: in _mesa_base_tex_format()
2387 case GL_LUMINANCE12_ALPHA12: in _mesa_base_tex_format()
2388 case GL_LUMINANCE16_ALPHA16: in _mesa_base_tex_format()
2390 case GL_INTENSITY: in _mesa_base_tex_format()
2391 case GL_INTENSITY4: in _mesa_base_tex_format()
2392 case GL_INTENSITY8: in _mesa_base_tex_format()
2393 case GL_INTENSITY12: in _mesa_base_tex_format()
2394 case GL_INTENSITY16: in _mesa_base_tex_format()
2396 case 3: in _mesa_base_tex_format()
2398 case GL_RGB: in _mesa_base_tex_format()
2399 case GL_R3_G3_B2: in _mesa_base_tex_format()
2400 case GL_RGB4: in _mesa_base_tex_format()
2401 case GL_RGB5: in _mesa_base_tex_format()
2402 case GL_RGB8: in _mesa_base_tex_format()
2403 case GL_RGB10: in _mesa_base_tex_format()
2404 case GL_RGB12: in _mesa_base_tex_format()
2405 case GL_RGB16: in _mesa_base_tex_format()
2407 case 4: in _mesa_base_tex_format()
2409 case GL_RGBA: in _mesa_base_tex_format()
2410 case GL_RGBA2: in _mesa_base_tex_format()
2411 case GL_RGBA4: in _mesa_base_tex_format()
2412 case GL_RGB5_A1: in _mesa_base_tex_format()
2413 case GL_RGBA8: in _mesa_base_tex_format()
2414 case GL_RGB10_A2: in _mesa_base_tex_format()
2415 case GL_RGBA12: in _mesa_base_tex_format()
2416 case GL_RGBA16: in _mesa_base_tex_format()
2418 case GL_BGRA: in _mesa_base_tex_format()
2419 case GL_BGRA8_EXT: in _mesa_base_tex_format()
2428 case GL_RGB565: in _mesa_base_tex_format()
2437 case GL_DEPTH_COMPONENT: in _mesa_base_tex_format()
2438 case GL_DEPTH_COMPONENT16: in _mesa_base_tex_format()
2439 case GL_DEPTH_COMPONENT24: in _mesa_base_tex_format()
2440 case GL_DEPTH_COMPONENT32: in _mesa_base_tex_format()
2442 case GL_DEPTH_STENCIL: in _mesa_base_tex_format()
2443 case GL_DEPTH24_STENCIL8: in _mesa_base_tex_format()
2453 case GL_STENCIL_INDEX: in _mesa_base_tex_format()
2454 case GL_STENCIL_INDEX1: in _mesa_base_tex_format()
2455 case GL_STENCIL_INDEX4: in _mesa_base_tex_format()
2456 case GL_STENCIL_INDEX8: in _mesa_base_tex_format()
2457 case GL_STENCIL_INDEX16: in _mesa_base_tex_format()
2465 case GL_COMPRESSED_ALPHA: in _mesa_base_tex_format()
2467 case GL_COMPRESSED_LUMINANCE: in _mesa_base_tex_format()
2469 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2471 case GL_COMPRESSED_INTENSITY: in _mesa_base_tex_format()
2473 case GL_COMPRESSED_RGB: in _mesa_base_tex_format()
2475 case GL_COMPRESSED_RGBA: in _mesa_base_tex_format()
2501 case GL_ALPHA16F_ARB: in _mesa_base_tex_format()
2503 case GL_RGBA16F_ARB: in _mesa_base_tex_format()
2505 case GL_RGB16F_ARB: in _mesa_base_tex_format()
2507 case GL_INTENSITY16F_ARB: in _mesa_base_tex_format()
2509 case GL_LUMINANCE16F_ARB: in _mesa_base_tex_format()
2511 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_base_tex_format()
2518 case GL_ALPHA32F_ARB: in _mesa_base_tex_format()
2520 case GL_RGBA32F_ARB: in _mesa_base_tex_format()
2522 case GL_RGB32F_ARB: in _mesa_base_tex_format()
2524 case GL_INTENSITY32F_ARB: in _mesa_base_tex_format()
2526 case GL_LUMINANCE32F_ARB: in _mesa_base_tex_format()
2528 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_base_tex_format()
2535 case GL_RED_SNORM: in _mesa_base_tex_format()
2536 case GL_R8_SNORM: in _mesa_base_tex_format()
2537 case GL_R16_SNORM: in _mesa_base_tex_format()
2539 case GL_RG_SNORM: in _mesa_base_tex_format()
2540 case GL_RG8_SNORM: in _mesa_base_tex_format()
2541 case GL_RG16_SNORM: in _mesa_base_tex_format()
2543 case GL_RGB_SNORM: in _mesa_base_tex_format()
2544 case GL_RGB8_SNORM: in _mesa_base_tex_format()
2545 case GL_RGB16_SNORM: in _mesa_base_tex_format()
2547 case GL_RGBA_SNORM: in _mesa_base_tex_format()
2548 case GL_RGBA8_SNORM: in _mesa_base_tex_format()
2549 case GL_RGBA16_SNORM: in _mesa_base_tex_format()
2551 case GL_ALPHA_SNORM: in _mesa_base_tex_format()
2552 case GL_ALPHA8_SNORM: in _mesa_base_tex_format()
2553 case GL_ALPHA16_SNORM: in _mesa_base_tex_format()
2555 case GL_LUMINANCE_SNORM: in _mesa_base_tex_format()
2556 case GL_LUMINANCE8_SNORM: in _mesa_base_tex_format()
2557 case GL_LUMINANCE16_SNORM: in _mesa_base_tex_format()
2559 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_base_tex_format()
2560 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_base_tex_format()
2561 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_base_tex_format()
2563 case GL_INTENSITY_SNORM: in _mesa_base_tex_format()
2564 case GL_INTENSITY8_SNORM: in _mesa_base_tex_format()
2565 case GL_INTENSITY16_SNORM: in _mesa_base_tex_format()
2574 case GL_SRGB: in _mesa_base_tex_format()
2575 case GL_SRGB8: in _mesa_base_tex_format()
2576 case GL_COMPRESSED_SRGB: in _mesa_base_tex_format()
2578 case GL_SRGB_ALPHA: in _mesa_base_tex_format()
2579 case GL_SRGB8_ALPHA8: in _mesa_base_tex_format()
2580 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_base_tex_format()
2582 case GL_SLUMINANCE_ALPHA: in _mesa_base_tex_format()
2583 case GL_SLUMINANCE8_ALPHA8: in _mesa_base_tex_format()
2584 case GL_COMPRESSED_SLUMINANCE_ALPHA: in _mesa_base_tex_format()
2586 case GL_SLUMINANCE: in _mesa_base_tex_format()
2587 case GL_SLUMINANCE8: in _mesa_base_tex_format()
2588 case GL_COMPRESSED_SLUMINANCE: in _mesa_base_tex_format()
2597 case GL_SR8_EXT: in _mesa_base_tex_format()
2606 case GL_SRG8_EXT: in _mesa_base_tex_format()
2615 case GL_RGBA8UI: in _mesa_base_tex_format()
2616 case GL_RGBA16UI: in _mesa_base_tex_format()
2617 case GL_RGBA32UI: in _mesa_base_tex_format()
2618 case GL_RGBA8I: in _mesa_base_tex_format()
2619 case GL_RGBA16I: in _mesa_base_tex_format()
2620 case GL_RGBA32I: in _mesa_base_tex_format()
2622 case GL_RGB8UI: in _mesa_base_tex_format()
2623 case GL_RGB16UI: in _mesa_base_tex_format()
2624 case GL_RGB32UI: in _mesa_base_tex_format()
2625 case GL_RGB8I: in _mesa_base_tex_format()
2626 case GL_RGB16I: in _mesa_base_tex_format()
2627 case GL_RGB32I: in _mesa_base_tex_format()
2634 case GL_RGB10_A2UI: in _mesa_base_tex_format()
2641 case GL_ALPHA8UI_EXT: in _mesa_base_tex_format()
2642 case GL_ALPHA16UI_EXT: in _mesa_base_tex_format()
2643 case GL_ALPHA32UI_EXT: in _mesa_base_tex_format()
2644 case GL_ALPHA8I_EXT: in _mesa_base_tex_format()
2645 case GL_ALPHA16I_EXT: in _mesa_base_tex_format()
2646 case GL_ALPHA32I_EXT: in _mesa_base_tex_format()
2648 case GL_INTENSITY8UI_EXT: in _mesa_base_tex_format()
2649 case GL_INTENSITY16UI_EXT: in _mesa_base_tex_format()
2650 case GL_INTENSITY32UI_EXT: in _mesa_base_tex_format()
2651 case GL_INTENSITY8I_EXT: in _mesa_base_tex_format()
2652 case GL_INTENSITY16I_EXT: in _mesa_base_tex_format()
2653 case GL_INTENSITY32I_EXT: in _mesa_base_tex_format()
2655 case GL_LUMINANCE8UI_EXT: in _mesa_base_tex_format()
2656 case GL_LUMINANCE16UI_EXT: in _mesa_base_tex_format()
2657 case GL_LUMINANCE32UI_EXT: in _mesa_base_tex_format()
2658 case GL_LUMINANCE8I_EXT: in _mesa_base_tex_format()
2659 case GL_LUMINANCE16I_EXT: in _mesa_base_tex_format()
2660 case GL_LUMINANCE32I_EXT: in _mesa_base_tex_format()
2662 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_base_tex_format()
2663 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_base_tex_format()
2664 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_base_tex_format()
2665 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_base_tex_format()
2666 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_base_tex_format()
2667 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_base_tex_format()
2676 case GL_R16F: in _mesa_base_tex_format()
2680 case GL_R32F: in _mesa_base_tex_format()
2684 case GL_R8I: in _mesa_base_tex_format()
2685 case GL_R8UI: in _mesa_base_tex_format()
2686 case GL_R16I: in _mesa_base_tex_format()
2687 case GL_R16UI: in _mesa_base_tex_format()
2688 case GL_R32I: in _mesa_base_tex_format()
2689 case GL_R32UI: in _mesa_base_tex_format()
2693 case GL_R8: in _mesa_base_tex_format()
2694 case GL_R16: in _mesa_base_tex_format()
2695 case GL_RED: in _mesa_base_tex_format()
2696 case GL_COMPRESSED_RED: in _mesa_base_tex_format()
2699 case GL_RG16F: in _mesa_base_tex_format()
2703 case GL_RG32F: in _mesa_base_tex_format()
2707 case GL_RG8I: in _mesa_base_tex_format()
2708 case GL_RG8UI: in _mesa_base_tex_format()
2709 case GL_RG16I: in _mesa_base_tex_format()
2710 case GL_RG16UI: in _mesa_base_tex_format()
2711 case GL_RG32I: in _mesa_base_tex_format()
2712 case GL_RG32UI: in _mesa_base_tex_format()
2716 case GL_RG: in _mesa_base_tex_format()
2717 case GL_RG8: in _mesa_base_tex_format()
2718 case GL_RG16: in _mesa_base_tex_format()
2719 case GL_COMPRESSED_RG: in _mesa_base_tex_format()
2728 case GL_RGB9_E5: in _mesa_base_tex_format()
2737 case GL_R11F_G11F_B10F: in _mesa_base_tex_format()
2746 case GL_DEPTH_COMPONENT32F: in _mesa_base_tex_format()
2748 case GL_DEPTH32F_STENCIL8: in _mesa_base_tex_format()
2780 case GL_UNSIGNED_BYTE: in gles_effective_internal_format_for_format_and_type()
2782 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2784 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2786 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2788 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2795 case GL_BGRA: in gles_effective_internal_format_for_format_and_type()
2796 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2797 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2798 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2803 case GL_UNSIGNED_SHORT_4_4_4_4: in gles_effective_internal_format_for_format_and_type()
2808 case GL_UNSIGNED_SHORT_5_5_5_1: in gles_effective_internal_format_for_format_and_type()
2813 case GL_UNSIGNED_SHORT_5_6_5: in gles_effective_internal_format_for_format_and_type()
2819 case GL_UNSIGNED_INT_24_8: in gles_effective_internal_format_for_format_and_type()
2824 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in gles_effective_internal_format_for_format_and_type()
2829 case GL_UNSIGNED_SHORT: in gles_effective_internal_format_for_format_and_type()
2834 case GL_UNSIGNED_INT: in gles_effective_internal_format_for_format_and_type()
2843 case GL_FLOAT: in gles_effective_internal_format_for_format_and_type()
2847 case GL_HALF_FLOAT_OES: in gles_effective_internal_format_for_format_and_type()
2849 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2850 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2851 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2852 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2853 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2854 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2855 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2859 case GL_HALF_FLOAT: in gles_effective_internal_format_for_format_and_type()
2861 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2862 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2868 case GL_UNSIGNED_INT_2_10_10_10_REV: in gles_effective_internal_format_for_format_and_type()
2870 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2871 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2897 case GL_ALPHA: in _mesa_gles_check_internalformat()
2898 case GL_LUMINANCE: in _mesa_gles_check_internalformat()
2899 case GL_LUMINANCE_ALPHA: in _mesa_gles_check_internalformat()
2900 case GL_RGB: in _mesa_gles_check_internalformat()
2901 case GL_RGBA: in _mesa_gles_check_internalformat()
2904 case GL_DEPTH_COMPONENT: in _mesa_gles_check_internalformat()
2907 case GL_BGRA: in _mesa_gles_check_internalformat()
2908 case GL_BGRA8_EXT: in _mesa_gles_check_internalformat()
2911 case GL_RGB565: in _mesa_gles_check_internalformat()
2912 case GL_RGB8: in _mesa_gles_check_internalformat()
2913 case GL_RGBA4: in _mesa_gles_check_internalformat()
2914 case GL_RGB5_A1: in _mesa_gles_check_internalformat()
2915 case GL_RGBA8: in _mesa_gles_check_internalformat()
2916 case GL_DEPTH_COMPONENT16: in _mesa_gles_check_internalformat()
2917 case GL_DEPTH_COMPONENT24: in _mesa_gles_check_internalformat()
2918 case GL_DEPTH_COMPONENT32: in _mesa_gles_check_internalformat()
2919 case GL_DEPTH24_STENCIL8: in _mesa_gles_check_internalformat()
2920 case GL_RGB10: in _mesa_gles_check_internalformat()
2921 case GL_RGB10_A2: in _mesa_gles_check_internalformat()
2922 case GL_ALPHA8: in _mesa_gles_check_internalformat()
2923 case GL_LUMINANCE8: in _mesa_gles_check_internalformat()
2924 case GL_LUMINANCE8_ALPHA8: in _mesa_gles_check_internalformat()
2925 case GL_LUMINANCE4_ALPHA4: in _mesa_gles_check_internalformat()
2928 case GL_R8: in _mesa_gles_check_internalformat()
2929 case GL_RG8: in _mesa_gles_check_internalformat()
2930 case GL_RED: in _mesa_gles_check_internalformat()
2931 case GL_RG: in _mesa_gles_check_internalformat()
2937 case GL_STENCIL_INDEX8: in _mesa_gles_check_internalformat()
2942 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2943 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2944 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_check_internalformat()
2945 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_check_internalformat()
2950 case GL_COMPRESSED_RED_RGTC1: in _mesa_gles_check_internalformat()
2951 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_gles_check_internalformat()
2952 case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2953 case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2958 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2959 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2960 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2961 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2966 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2967 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2968 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2969 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2974 case GL_R16: in _mesa_gles_check_internalformat()
2975 case GL_RG16: in _mesa_gles_check_internalformat()
2976 case GL_RGB16: in _mesa_gles_check_internalformat()
2977 case GL_RGBA16: in _mesa_gles_check_internalformat()
2982 case GL_R16_SNORM: in _mesa_gles_check_internalformat()
2983 case GL_RG16_SNORM: in _mesa_gles_check_internalformat()
2984 case GL_RGB16_SNORM: in _mesa_gles_check_internalformat()
2985 case GL_RGBA16_SNORM: in _mesa_gles_check_internalformat()
2991 case GL_SR8_EXT: in _mesa_gles_check_internalformat()
2996 case GL_SRG8_EXT: in _mesa_gles_check_internalformat()
3002 case GL_SRGB8_ALPHA8: in _mesa_gles_check_internalformat()
3003 case GL_RGBA8_SNORM: in _mesa_gles_check_internalformat()
3004 case GL_RGBA16F: in _mesa_gles_check_internalformat()
3005 case GL_RGBA32F: in _mesa_gles_check_internalformat()
3006 case GL_RGBA8UI: in _mesa_gles_check_internalformat()
3007 case GL_RGBA8I: in _mesa_gles_check_internalformat()
3008 case GL_RGBA16UI: in _mesa_gles_check_internalformat()
3009 case GL_RGBA16I: in _mesa_gles_check_internalformat()
3010 case GL_RGBA32UI: in _mesa_gles_check_internalformat()
3011 case GL_RGBA32I: in _mesa_gles_check_internalformat()
3012 case GL_RGB10_A2UI: in _mesa_gles_check_internalformat()
3013 case GL_SRGB8: in _mesa_gles_check_internalformat()
3014 case GL_RGB8_SNORM: in _mesa_gles_check_internalformat()
3015 case GL_R11F_G11F_B10F: in _mesa_gles_check_internalformat()
3016 case GL_RGB9_E5: in _mesa_gles_check_internalformat()
3017 case GL_RGB16F: in _mesa_gles_check_internalformat()
3018 case GL_RGB32F: in _mesa_gles_check_internalformat()
3019 case GL_RGB8UI: in _mesa_gles_check_internalformat()
3020 case GL_RGB8I: in _mesa_gles_check_internalformat()
3021 case GL_RGB16UI: in _mesa_gles_check_internalformat()
3022 case GL_RGB16I: in _mesa_gles_check_internalformat()
3023 case GL_RGB32UI: in _mesa_gles_check_internalformat()
3024 case GL_RGB32I: in _mesa_gles_check_internalformat()
3025 case GL_RG8_SNORM: in _mesa_gles_check_internalformat()
3026 case GL_RG16F: in _mesa_gles_check_internalformat()
3027 case GL_RG32F: in _mesa_gles_check_internalformat()
3028 case GL_RG8UI: in _mesa_gles_check_internalformat()
3029 case GL_RG8I: in _mesa_gles_check_internalformat()
3030 case GL_RG16UI: in _mesa_gles_check_internalformat()
3031 case GL_RG16I: in _mesa_gles_check_internalformat()
3032 case GL_RG32UI: in _mesa_gles_check_internalformat()
3033 case GL_RG32I: in _mesa_gles_check_internalformat()
3034 case GL_R8_SNORM: in _mesa_gles_check_internalformat()
3035 case GL_R16F: in _mesa_gles_check_internalformat()
3036 case GL_R32F: in _mesa_gles_check_internalformat()
3037 case GL_R8UI: in _mesa_gles_check_internalformat()
3038 case GL_R8I: in _mesa_gles_check_internalformat()
3039 case GL_R16UI: in _mesa_gles_check_internalformat()
3040 case GL_R16I: in _mesa_gles_check_internalformat()
3041 case GL_R32UI: in _mesa_gles_check_internalformat()
3042 case GL_R32I: in _mesa_gles_check_internalformat()
3043 case GL_DEPTH_COMPONENT32F: in _mesa_gles_check_internalformat()
3044 case GL_DEPTH32F_STENCIL8: in _mesa_gles_check_internalformat()
3125 case GL_BGRA: in _mesa_gles_error_check_format_and_type()
3134 case GL_BGR: in _mesa_gles_error_check_format_and_type()
3141 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3143 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3145 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3146 case GL_RGBA8: in _mesa_gles_error_check_format_and_type()
3147 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3148 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3150 case GL_SRGB8_ALPHA8: in _mesa_gles_error_check_format_and_type()
3154 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3155 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3162 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3167 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3172 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3177 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_gles_error_check_format_and_type()
3179 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3180 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3187 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_gles_error_check_format_and_type()
3189 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3190 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3197 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3199 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3200 case GL_RGB10_A2: in _mesa_gles_error_check_format_and_type()
3201 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3210 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3215 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3217 case GL_RGBA16F: in _mesa_gles_error_check_format_and_type()
3218 case GL_RGBA32F: in _mesa_gles_error_check_format_and_type()
3222 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3231 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3240 case GL_RGBA_INTEGER: in _mesa_gles_error_check_format_and_type()
3244 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3249 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3254 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3259 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3264 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3269 case GL_INT: in _mesa_gles_error_check_format_and_type()
3274 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3284 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3286 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3288 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3289 case GL_RGB8: in _mesa_gles_error_check_format_and_type()
3290 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3292 case GL_SRGB8: in _mesa_gles_error_check_format_and_type()
3301 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3306 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3311 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3316 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_gles_error_check_format_and_type()
3318 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3319 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3326 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_gles_error_check_format_and_type()
3331 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_gles_error_check_format_and_type()
3336 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3340 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3341 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3342 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3349 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3351 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3352 case GL_RGB32F: in _mesa_gles_error_check_format_and_type()
3353 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3354 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3358 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3359 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3361 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3370 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3375 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3377 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3378 case GL_RGB10: in _mesa_gles_error_check_format_and_type()
3379 case GL_RGB8: in _mesa_gles_error_check_format_and_type()
3380 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3398 case GL_RGB_INTEGER: in _mesa_gles_error_check_format_and_type()
3402 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3407 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3412 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3417 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3422 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3427 case GL_INT: in _mesa_gles_error_check_format_and_type()
3437 case GL_RG: in _mesa_gles_error_check_format_and_type()
3441 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3448 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3454 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3459 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3464 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3465 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3467 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3471 case GL_RG: in _mesa_gles_error_check_format_and_type()
3480 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3482 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3483 case GL_RG32F: in _mesa_gles_error_check_format_and_type()
3485 case GL_RG: in _mesa_gles_error_check_format_and_type()
3499 case GL_RG_INTEGER: in _mesa_gles_error_check_format_and_type()
3503 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3508 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3513 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3518 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3523 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3528 case GL_INT: in _mesa_gles_error_check_format_and_type()
3538 case GL_RED: in _mesa_gles_error_check_format_and_type()
3542 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3550 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3556 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3561 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3566 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3567 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3569 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3573 case GL_RG: in _mesa_gles_error_check_format_and_type()
3574 case GL_RED: in _mesa_gles_error_check_format_and_type()
3583 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3585 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3586 case GL_R32F: in _mesa_gles_error_check_format_and_type()
3588 case GL_RED: in _mesa_gles_error_check_format_and_type()
3602 case GL_RED_INTEGER: in _mesa_gles_error_check_format_and_type()
3606 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3611 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3616 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3621 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3626 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3631 case GL_INT: in _mesa_gles_error_check_format_and_type()
3641 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3643 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3649 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3651 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3652 case GL_DEPTH_COMPONENT16: in _mesa_gles_error_check_format_and_type()
3653 case GL_DEPTH_COMPONENT24: in _mesa_gles_error_check_format_and_type()
3660 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3670 case GL_DEPTH_STENCIL: in _mesa_gles_error_check_format_and_type()
3672 case GL_UNSIGNED_INT_24_8: in _mesa_gles_error_check_format_and_type()
3678 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_gles_error_check_format_and_type()
3688 case GL_STENCIL_INDEX: in _mesa_gles_error_check_format_and_type()
3695 case GL_ALPHA: in _mesa_gles_error_check_format_and_type()
3696 case GL_LUMINANCE: in _mesa_gles_error_check_format_and_type()
3697 case GL_LUMINANCE_ALPHA: in _mesa_gles_error_check_format_and_type()
3699 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3703 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3707 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3739 case GL_RGBA: in get_swizzle_from_gl_format()
3740 case GL_RGBA_INTEGER: in get_swizzle_from_gl_format()
3743 case GL_BGRA: in get_swizzle_from_gl_format()
3744 case GL_BGRA_INTEGER: in get_swizzle_from_gl_format()
3747 case GL_ABGR_EXT: in get_swizzle_from_gl_format()
3750 case GL_RGB: in get_swizzle_from_gl_format()
3751 case GL_RGB_INTEGER: in get_swizzle_from_gl_format()
3754 case GL_BGR: in get_swizzle_from_gl_format()
3755 case GL_BGR_INTEGER: in get_swizzle_from_gl_format()
3758 case GL_LUMINANCE_ALPHA: in get_swizzle_from_gl_format()
3759 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in get_swizzle_from_gl_format()
3762 case GL_RG: in get_swizzle_from_gl_format()
3763 case GL_RG_INTEGER: in get_swizzle_from_gl_format()
3766 case GL_RED: in get_swizzle_from_gl_format()
3767 case GL_RED_INTEGER: in get_swizzle_from_gl_format()
3770 case GL_GREEN: in get_swizzle_from_gl_format()
3771 case GL_GREEN_INTEGER: in get_swizzle_from_gl_format()
3774 case GL_BLUE: in get_swizzle_from_gl_format()
3775 case GL_BLUE_INTEGER: in get_swizzle_from_gl_format()
3778 case GL_ALPHA: in get_swizzle_from_gl_format()
3779 case GL_ALPHA_INTEGER: in get_swizzle_from_gl_format()
3782 case GL_LUMINANCE: in get_swizzle_from_gl_format()
3783 case GL_LUMINANCE_INTEGER_EXT: in get_swizzle_from_gl_format()
3786 case GL_INTENSITY: in get_swizzle_from_gl_format()
3789 case GL_DEPTH_COMPONENT: in get_swizzle_from_gl_format()
3792 case GL_STENCIL_INDEX: in get_swizzle_from_gl_format()
3804 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_swap_bytes_in_type_enum()
3807 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_swap_bytes_in_type_enum()
3810 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_swap_bytes_in_type_enum()
3813 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_swap_bytes_in_type_enum()
3816 case GL_BYTE: in _mesa_swap_bytes_in_type_enum()
3817 case GL_UNSIGNED_BYTE: in _mesa_swap_bytes_in_type_enum()
3859 case GL_UNSIGNED_BYTE: in _mesa_format_from_format_and_type()
3862 case GL_BYTE: in _mesa_format_from_format_and_type()
3866 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
3869 case GL_SHORT: in _mesa_format_from_format_and_type()
3873 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
3876 case GL_INT: in _mesa_format_from_format_and_type()
3880 case GL_HALF_FLOAT: in _mesa_format_from_format_and_type()
3881 case GL_HALF_FLOAT_OES: in _mesa_format_from_format_and_type()
3886 case GL_FLOAT: in _mesa_format_from_format_and_type()
3906 case GL_DEPTH_COMPONENT: in _mesa_format_from_format_and_type()
3909 case GL_STENCIL_INDEX: in _mesa_format_from_format_and_type()
3930 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_format_from_format_and_type()
3938 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_format_from_format_and_type()
3946 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_format_from_format_and_type()
3958 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_format_from_format_and_type()
3970 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_format_from_format_and_type()
3980 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_format_from_format_and_type()
3990 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_format_from_format_and_type()
3996 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_format_from_format_and_type()
4002 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_format_from_format_and_type()
4006 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_format_from_format_and_type()
4016 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_format_from_format_and_type()
4028 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_format_from_format_and_type()
4040 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_format_from_format_and_type()
4052 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_format_from_format_and_type()
4056 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_format_from_format_and_type()
4060 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_format_from_format_and_type()
4064 case GL_FLOAT: in _mesa_format_from_format_and_type()
4068 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
4072 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
4076 case GL_UNSIGNED_INT_24_8: in _mesa_format_from_format_and_type()
4082 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_format_from_format_and_type()
4096 * format in that case. in _mesa_format_from_format_and_type()
4125 case GL_R8: in _mesa_is_es3_color_renderable()
4126 case GL_RG8: in _mesa_is_es3_color_renderable()
4127 case GL_RGB8: in _mesa_is_es3_color_renderable()
4128 case GL_RGB565: in _mesa_is_es3_color_renderable()
4129 case GL_RGBA4: in _mesa_is_es3_color_renderable()
4130 case GL_RGB5_A1: in _mesa_is_es3_color_renderable()
4131 case GL_RGBA8: in _mesa_is_es3_color_renderable()
4132 case GL_RGB10_A2: in _mesa_is_es3_color_renderable()
4133 case GL_RGB10_A2UI: in _mesa_is_es3_color_renderable()
4134 case GL_SRGB8_ALPHA8: in _mesa_is_es3_color_renderable()
4135 case GL_R11F_G11F_B10F: in _mesa_is_es3_color_renderable()
4136 case GL_R8I: in _mesa_is_es3_color_renderable()
4137 case GL_R8UI: in _mesa_is_es3_color_renderable()
4138 case GL_R16I: in _mesa_is_es3_color_renderable()
4139 case GL_R16UI: in _mesa_is_es3_color_renderable()
4140 case GL_R32I: in _mesa_is_es3_color_renderable()
4141 case GL_R32UI: in _mesa_is_es3_color_renderable()
4142 case GL_RG8I: in _mesa_is_es3_color_renderable()
4143 case GL_RG8UI: in _mesa_is_es3_color_renderable()
4144 case GL_RG16I: in _mesa_is_es3_color_renderable()
4145 case GL_RG16UI: in _mesa_is_es3_color_renderable()
4146 case GL_RG32I: in _mesa_is_es3_color_renderable()
4147 case GL_RG32UI: in _mesa_is_es3_color_renderable()
4148 case GL_RGBA8I: in _mesa_is_es3_color_renderable()
4149 case GL_RGBA8UI: in _mesa_is_es3_color_renderable()
4150 case GL_RGBA16I: in _mesa_is_es3_color_renderable()
4151 case GL_RGBA16UI: in _mesa_is_es3_color_renderable()
4152 case GL_RGBA32I: in _mesa_is_es3_color_renderable()
4153 case GL_RGBA32UI: in _mesa_is_es3_color_renderable()
4155 case GL_R16F: in _mesa_is_es3_color_renderable()
4156 case GL_RG16F: in _mesa_is_es3_color_renderable()
4157 case GL_RGB16F: in _mesa_is_es3_color_renderable()
4158 case GL_RGBA16F: in _mesa_is_es3_color_renderable()
4160 case GL_R32F: in _mesa_is_es3_color_renderable()
4161 case GL_RG32F: in _mesa_is_es3_color_renderable()
4162 case GL_RGBA32F: in _mesa_is_es3_color_renderable()
4164 case GL_R16: in _mesa_is_es3_color_renderable()
4165 case GL_RG16: in _mesa_is_es3_color_renderable()
4166 case GL_RGBA16: in _mesa_is_es3_color_renderable()
4168 case GL_R8_SNORM: in _mesa_is_es3_color_renderable()
4169 case GL_RG8_SNORM: in _mesa_is_es3_color_renderable()
4170 case GL_RGBA8_SNORM: in _mesa_is_es3_color_renderable()
4172 case GL_R16_SNORM: in _mesa_is_es3_color_renderable()
4173 case GL_RG16_SNORM: in _mesa_is_es3_color_renderable()
4174 case GL_RGBA16_SNORM: in _mesa_is_es3_color_renderable()
4177 case GL_BGRA: in _mesa_is_es3_color_renderable()
4180 case GL_BGRA8_EXT: in _mesa_is_es3_color_renderable()
4198 case GL_R8: in _mesa_is_es3_texture_filterable()
4199 case GL_R8_SNORM: in _mesa_is_es3_texture_filterable()
4200 case GL_RG8: in _mesa_is_es3_texture_filterable()
4201 case GL_RG8_SNORM: in _mesa_is_es3_texture_filterable()
4202 case GL_RGB8: in _mesa_is_es3_texture_filterable()
4203 case GL_RGB8_SNORM: in _mesa_is_es3_texture_filterable()
4204 case GL_RGB565: in _mesa_is_es3_texture_filterable()
4205 case GL_RGBA4: in _mesa_is_es3_texture_filterable()
4206 case GL_RGB5_A1: in _mesa_is_es3_texture_filterable()
4207 case GL_RGBA8: in _mesa_is_es3_texture_filterable()
4208 case GL_RGBA8_SNORM: in _mesa_is_es3_texture_filterable()
4209 case GL_RGB10_A2: in _mesa_is_es3_texture_filterable()
4210 case GL_SRGB8: in _mesa_is_es3_texture_filterable()
4211 case GL_SRGB8_ALPHA8: in _mesa_is_es3_texture_filterable()
4212 case GL_R16F: in _mesa_is_es3_texture_filterable()
4213 case GL_RG16F: in _mesa_is_es3_texture_filterable()
4214 case GL_RGB16F: in _mesa_is_es3_texture_filterable()
4215 case GL_RGBA16F: in _mesa_is_es3_texture_filterable()
4216 case GL_R11F_G11F_B10F: in _mesa_is_es3_texture_filterable()
4217 case GL_RGB9_E5: in _mesa_is_es3_texture_filterable()
4219 case GL_R16: in _mesa_is_es3_texture_filterable()
4220 case GL_R16_SNORM: in _mesa_is_es3_texture_filterable()
4221 case GL_RG16: in _mesa_is_es3_texture_filterable()
4222 case GL_RG16_SNORM: in _mesa_is_es3_texture_filterable()
4223 case GL_RGB16: in _mesa_is_es3_texture_filterable()
4224 case GL_RGB16_SNORM: in _mesa_is_es3_texture_filterable()
4225 case GL_RGBA16: in _mesa_is_es3_texture_filterable()
4226 case GL_RGBA16_SNORM: in _mesa_is_es3_texture_filterable()
4228 case GL_R32F: in _mesa_is_es3_texture_filterable()
4229 case GL_RG32F: in _mesa_is_es3_texture_filterable()
4230 case GL_RGB32F: in _mesa_is_es3_texture_filterable()
4231 case GL_RGBA32F: in _mesa_is_es3_texture_filterable()
4242 case GL_BGRA: in _mesa_is_es3_texture_filterable()
4245 case GL_BGRA8_EXT: in _mesa_is_es3_texture_filterable()