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_EXT: 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_ARB: 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_ARB: 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_EXT: 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_EXT: in _mesa_components_in_format()
377 case GL_GREEN: in _mesa_components_in_format()
378 case GL_GREEN_INTEGER_EXT: in _mesa_components_in_format()
379 case GL_BLUE: in _mesa_components_in_format()
380 case GL_BLUE_INTEGER_EXT: in _mesa_components_in_format()
381 case GL_ALPHA: in _mesa_components_in_format()
382 case GL_ALPHA_INTEGER_EXT: 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_EXT: 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_EXT: in _mesa_components_in_format()
399 case GL_BGR_INTEGER_EXT: 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_EXT: in _mesa_components_in_format()
406 case GL_BGRA_INTEGER_EXT: 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_ARB: 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_EXT: 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()
537 case GL_BYTE: in _mesa_bytes_per_vertex_attrib()
538 case GL_UNSIGNED_BYTE: in _mesa_bytes_per_vertex_attrib()
540 case GL_SHORT: in _mesa_bytes_per_vertex_attrib()
541 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_vertex_attrib()
543 case GL_INT: in _mesa_bytes_per_vertex_attrib()
544 case GL_UNSIGNED_INT: in _mesa_bytes_per_vertex_attrib()
546 case GL_FLOAT: in _mesa_bytes_per_vertex_attrib()
548 case GL_HALF_FLOAT_ARB: in _mesa_bytes_per_vertex_attrib()
549 case GL_HALF_FLOAT_OES: in _mesa_bytes_per_vertex_attrib()
551 case GL_DOUBLE: in _mesa_bytes_per_vertex_attrib()
553 case GL_FIXED: in _mesa_bytes_per_vertex_attrib()
555 case GL_INT_2_10_10_10_REV: in _mesa_bytes_per_vertex_attrib()
556 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_bytes_per_vertex_attrib()
561 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_bytes_per_vertex_attrib()
566 case GL_UNSIGNED_INT64_ARB: in _mesa_bytes_per_vertex_attrib()
580 case GL_RGBA: in _mesa_is_enum_format_unsized()
581 case GL_BGRA: in _mesa_is_enum_format_unsized()
582 case GL_ABGR_EXT: in _mesa_is_enum_format_unsized()
583 case GL_RGB: in _mesa_is_enum_format_unsized()
584 case GL_BGR: in _mesa_is_enum_format_unsized()
585 case GL_RG: in _mesa_is_enum_format_unsized()
586 case GL_RED: in _mesa_is_enum_format_unsized()
587 case GL_GREEN: in _mesa_is_enum_format_unsized()
588 case GL_BLUE: in _mesa_is_enum_format_unsized()
589 case GL_ALPHA: in _mesa_is_enum_format_unsized()
590 case GL_INTENSITY: in _mesa_is_enum_format_unsized()
591 case GL_LUMINANCE: in _mesa_is_enum_format_unsized()
592 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
594 case GL_SRGB: in _mesa_is_enum_format_unsized()
595 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unsized()
596 case GL_SLUMINANCE: in _mesa_is_enum_format_unsized()
597 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
599 case GL_RGBA_SNORM: in _mesa_is_enum_format_unsized()
600 case GL_RGB_SNORM: in _mesa_is_enum_format_unsized()
601 case GL_RG_SNORM: in _mesa_is_enum_format_unsized()
602 case GL_RED_SNORM: in _mesa_is_enum_format_unsized()
603 case GL_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
604 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_unsized()
605 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_unsized()
606 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
608 case GL_RED_INTEGER: in _mesa_is_enum_format_unsized()
609 case GL_GREEN_INTEGER: in _mesa_is_enum_format_unsized()
610 case GL_BLUE_INTEGER: in _mesa_is_enum_format_unsized()
611 case GL_ALPHA_INTEGER: in _mesa_is_enum_format_unsized()
612 case GL_RGB_INTEGER: in _mesa_is_enum_format_unsized()
613 case GL_RGBA_INTEGER: in _mesa_is_enum_format_unsized()
614 case GL_BGR_INTEGER: in _mesa_is_enum_format_unsized()
615 case GL_BGRA_INTEGER: in _mesa_is_enum_format_unsized()
616 case GL_RG_INTEGER: in _mesa_is_enum_format_unsized()
617 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_unsized()
618 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_unsized()
620 case GL_DEPTH_COMPONENT: in _mesa_is_enum_format_unsized()
621 case GL_DEPTH_STENCIL: in _mesa_is_enum_format_unsized()
622 case GL_STENCIL_INDEX: in _mesa_is_enum_format_unsized()
636 case GL_RED: in _mesa_is_enum_format_unorm()
637 case GL_GREEN: in _mesa_is_enum_format_unorm()
638 case GL_BLUE: in _mesa_is_enum_format_unorm()
639 case GL_ALPHA: in _mesa_is_enum_format_unorm()
640 case GL_ALPHA4: in _mesa_is_enum_format_unorm()
641 case GL_ALPHA8: in _mesa_is_enum_format_unorm()
642 case GL_ALPHA12: in _mesa_is_enum_format_unorm()
643 case GL_ALPHA16: in _mesa_is_enum_format_unorm()
644 case 1: in _mesa_is_enum_format_unorm()
645 case GL_LUMINANCE: in _mesa_is_enum_format_unorm()
646 case GL_SLUMINANCE: in _mesa_is_enum_format_unorm()
647 case GL_LUMINANCE4: in _mesa_is_enum_format_unorm()
648 case GL_LUMINANCE8: in _mesa_is_enum_format_unorm()
649 case GL_LUMINANCE12: in _mesa_is_enum_format_unorm()
650 case GL_LUMINANCE16: in _mesa_is_enum_format_unorm()
651 case 2: in _mesa_is_enum_format_unorm()
652 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
653 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
654 case GL_LUMINANCE4_ALPHA4: in _mesa_is_enum_format_unorm()
655 case GL_LUMINANCE6_ALPHA2: in _mesa_is_enum_format_unorm()
656 case GL_LUMINANCE8_ALPHA8: in _mesa_is_enum_format_unorm()
657 case GL_LUMINANCE12_ALPHA4: in _mesa_is_enum_format_unorm()
658 case GL_LUMINANCE12_ALPHA12: in _mesa_is_enum_format_unorm()
659 case GL_LUMINANCE16_ALPHA16: in _mesa_is_enum_format_unorm()
660 case GL_INTENSITY: in _mesa_is_enum_format_unorm()
661 case GL_INTENSITY4: in _mesa_is_enum_format_unorm()
662 case GL_INTENSITY8: in _mesa_is_enum_format_unorm()
663 case GL_INTENSITY12: in _mesa_is_enum_format_unorm()
664 case GL_INTENSITY16: in _mesa_is_enum_format_unorm()
665 case GL_R8: in _mesa_is_enum_format_unorm()
666 case GL_R16: in _mesa_is_enum_format_unorm()
667 case GL_RG: in _mesa_is_enum_format_unorm()
668 case GL_RG8: in _mesa_is_enum_format_unorm()
669 case GL_RG16: in _mesa_is_enum_format_unorm()
670 case 3: in _mesa_is_enum_format_unorm()
671 case GL_RGB: in _mesa_is_enum_format_unorm()
672 case GL_BGR: in _mesa_is_enum_format_unorm()
673 case GL_SRGB: in _mesa_is_enum_format_unorm()
674 case GL_R3_G3_B2: in _mesa_is_enum_format_unorm()
675 case GL_RGB4: in _mesa_is_enum_format_unorm()
676 case GL_RGB5: in _mesa_is_enum_format_unorm()
677 case GL_RGB565: in _mesa_is_enum_format_unorm()
678 case GL_RGB8: in _mesa_is_enum_format_unorm()
679 case GL_RGB10: in _mesa_is_enum_format_unorm()
680 case GL_RGB12: in _mesa_is_enum_format_unorm()
681 case GL_RGB16: in _mesa_is_enum_format_unorm()
682 case 4: in _mesa_is_enum_format_unorm()
683 case GL_ABGR_EXT: in _mesa_is_enum_format_unorm()
684 case GL_RGBA: in _mesa_is_enum_format_unorm()
685 case GL_BGRA: in _mesa_is_enum_format_unorm()
686 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unorm()
687 case GL_RGBA2: in _mesa_is_enum_format_unorm()
688 case GL_RGBA4: in _mesa_is_enum_format_unorm()
689 case GL_RGB5_A1: in _mesa_is_enum_format_unorm()
690 case GL_RGBA8: in _mesa_is_enum_format_unorm()
691 case GL_RGB10_A2: in _mesa_is_enum_format_unorm()
692 case GL_RGBA12: in _mesa_is_enum_format_unorm()
693 case GL_RGBA16: in _mesa_is_enum_format_unorm()
708 case GL_RED_SNORM: in _mesa_is_enum_format_snorm()
709 case GL_R8_SNORM: in _mesa_is_enum_format_snorm()
710 case GL_R16_SNORM: in _mesa_is_enum_format_snorm()
711 case GL_RG_SNORM: in _mesa_is_enum_format_snorm()
712 case GL_RG8_SNORM: in _mesa_is_enum_format_snorm()
713 case GL_RG16_SNORM: in _mesa_is_enum_format_snorm()
714 case GL_RGB_SNORM: in _mesa_is_enum_format_snorm()
715 case GL_RGB8_SNORM: in _mesa_is_enum_format_snorm()
716 case GL_RGB16_SNORM: in _mesa_is_enum_format_snorm()
717 case GL_RGBA_SNORM: in _mesa_is_enum_format_snorm()
718 case GL_RGBA8_SNORM: in _mesa_is_enum_format_snorm()
719 case GL_RGBA16_SNORM: in _mesa_is_enum_format_snorm()
720 case GL_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
721 case GL_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
722 case GL_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
723 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_snorm()
724 case GL_LUMINANCE8_SNORM: in _mesa_is_enum_format_snorm()
725 case GL_LUMINANCE16_SNORM: in _mesa_is_enum_format_snorm()
726 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
727 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
728 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
729 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_snorm()
730 case GL_INTENSITY8_SNORM: in _mesa_is_enum_format_snorm()
731 case GL_INTENSITY16_SNORM: in _mesa_is_enum_format_snorm()
746 case GL_RGBA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
747 case GL_RGB32UI_EXT: in _mesa_is_enum_format_unsigned_int()
748 case GL_RG32UI: in _mesa_is_enum_format_unsigned_int()
749 case GL_R32UI: in _mesa_is_enum_format_unsigned_int()
750 case GL_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
751 case GL_INTENSITY32UI_EXT: in _mesa_is_enum_format_unsigned_int()
752 case GL_LUMINANCE32UI_EXT: in _mesa_is_enum_format_unsigned_int()
753 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
754 case GL_RGBA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
755 case GL_RGB16UI_EXT: in _mesa_is_enum_format_unsigned_int()
756 case GL_RG16UI: in _mesa_is_enum_format_unsigned_int()
757 case GL_R16UI: in _mesa_is_enum_format_unsigned_int()
758 case GL_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
759 case GL_INTENSITY16UI_EXT: in _mesa_is_enum_format_unsigned_int()
760 case GL_LUMINANCE16UI_EXT: in _mesa_is_enum_format_unsigned_int()
761 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
762 case GL_RGBA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
763 case GL_RGB8UI_EXT: in _mesa_is_enum_format_unsigned_int()
764 case GL_RG8UI: in _mesa_is_enum_format_unsigned_int()
765 case GL_R8UI: in _mesa_is_enum_format_unsigned_int()
766 case GL_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
767 case GL_INTENSITY8UI_EXT: in _mesa_is_enum_format_unsigned_int()
768 case GL_LUMINANCE8UI_EXT: in _mesa_is_enum_format_unsigned_int()
769 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
770 case GL_RGB10_A2UI: in _mesa_is_enum_format_unsigned_int()
786 case GL_RED_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
787 case GL_GREEN_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
788 case GL_BLUE_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
789 case GL_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
790 case GL_RGB_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
791 case GL_RGBA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
792 case GL_BGR_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
793 case GL_BGRA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
794 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
795 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
796 case GL_RG_INTEGER: in _mesa_is_enum_format_signed_int()
798 case GL_RGBA32I_EXT: in _mesa_is_enum_format_signed_int()
799 case GL_RGB32I_EXT: in _mesa_is_enum_format_signed_int()
800 case GL_RG32I: in _mesa_is_enum_format_signed_int()
801 case GL_R32I: in _mesa_is_enum_format_signed_int()
802 case GL_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
803 case GL_INTENSITY32I_EXT: in _mesa_is_enum_format_signed_int()
804 case GL_LUMINANCE32I_EXT: in _mesa_is_enum_format_signed_int()
805 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
806 case GL_RGBA16I_EXT: in _mesa_is_enum_format_signed_int()
807 case GL_RGB16I_EXT: in _mesa_is_enum_format_signed_int()
808 case GL_RG16I: in _mesa_is_enum_format_signed_int()
809 case GL_R16I: in _mesa_is_enum_format_signed_int()
810 case GL_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
811 case GL_INTENSITY16I_EXT: in _mesa_is_enum_format_signed_int()
812 case GL_LUMINANCE16I_EXT: in _mesa_is_enum_format_signed_int()
813 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
814 case GL_RGBA8I_EXT: in _mesa_is_enum_format_signed_int()
815 case GL_RGB8I_EXT: in _mesa_is_enum_format_signed_int()
816 case GL_RG8I: in _mesa_is_enum_format_signed_int()
817 case GL_R8I: in _mesa_is_enum_format_signed_int()
818 case GL_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
819 case GL_INTENSITY8I_EXT: in _mesa_is_enum_format_signed_int()
820 case GL_LUMINANCE8I_EXT: in _mesa_is_enum_format_signed_int()
821 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
835 case GL_COMPRESSED_RGBA_ASTC_4x4_KHR: in is_astc_2d_format()
836 case GL_COMPRESSED_RGBA_ASTC_5x4_KHR: in is_astc_2d_format()
837 case GL_COMPRESSED_RGBA_ASTC_5x5_KHR: in is_astc_2d_format()
838 case GL_COMPRESSED_RGBA_ASTC_6x5_KHR: in is_astc_2d_format()
839 case GL_COMPRESSED_RGBA_ASTC_6x6_KHR: in is_astc_2d_format()
840 case GL_COMPRESSED_RGBA_ASTC_8x5_KHR: in is_astc_2d_format()
841 case GL_COMPRESSED_RGBA_ASTC_8x6_KHR: in is_astc_2d_format()
842 case GL_COMPRESSED_RGBA_ASTC_8x8_KHR: in is_astc_2d_format()
843 case GL_COMPRESSED_RGBA_ASTC_10x5_KHR: in is_astc_2d_format()
844 case GL_COMPRESSED_RGBA_ASTC_10x6_KHR: in is_astc_2d_format()
845 case GL_COMPRESSED_RGBA_ASTC_10x8_KHR: in is_astc_2d_format()
846 case GL_COMPRESSED_RGBA_ASTC_10x10_KHR: in is_astc_2d_format()
847 case GL_COMPRESSED_RGBA_ASTC_12x10_KHR: in is_astc_2d_format()
848 case GL_COMPRESSED_RGBA_ASTC_12x12_KHR: in is_astc_2d_format()
849 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in is_astc_2d_format()
850 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in is_astc_2d_format()
851 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in is_astc_2d_format()
852 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in is_astc_2d_format()
853 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in is_astc_2d_format()
854 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in is_astc_2d_format()
855 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in is_astc_2d_format()
856 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in is_astc_2d_format()
857 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in is_astc_2d_format()
858 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in is_astc_2d_format()
859 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in is_astc_2d_format()
860 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in is_astc_2d_format()
861 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in is_astc_2d_format()
862 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in is_astc_2d_format()
876 case GL_COMPRESSED_RGBA_ASTC_3x3x3_OES: in is_astc_3d_format()
877 case GL_COMPRESSED_RGBA_ASTC_4x3x3_OES: in is_astc_3d_format()
878 case GL_COMPRESSED_RGBA_ASTC_4x4x3_OES: in is_astc_3d_format()
879 case GL_COMPRESSED_RGBA_ASTC_4x4x4_OES: in is_astc_3d_format()
880 case GL_COMPRESSED_RGBA_ASTC_5x4x4_OES: in is_astc_3d_format()
881 case GL_COMPRESSED_RGBA_ASTC_5x5x4_OES: in is_astc_3d_format()
882 case GL_COMPRESSED_RGBA_ASTC_5x5x5_OES: in is_astc_3d_format()
883 case GL_COMPRESSED_RGBA_ASTC_6x5x5_OES: in is_astc_3d_format()
884 case GL_COMPRESSED_RGBA_ASTC_6x6x5_OES: in is_astc_3d_format()
885 case GL_COMPRESSED_RGBA_ASTC_6x6x6_OES: in is_astc_3d_format()
886 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES: in is_astc_3d_format()
887 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES: in is_astc_3d_format()
888 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES: in is_astc_3d_format()
889 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES: in is_astc_3d_format()
890 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES: in is_astc_3d_format()
891 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES: in is_astc_3d_format()
892 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES: in is_astc_3d_format()
893 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES: in is_astc_3d_format()
894 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES: in is_astc_3d_format()
895 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES: in is_astc_3d_format()
919 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_etc2_format()
920 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_etc2_format()
921 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_etc2_format()
922 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_etc2_format()
923 case GL_COMPRESSED_R11_EAC: in _mesa_is_etc2_format()
924 case GL_COMPRESSED_RG11_EAC: in _mesa_is_etc2_format()
925 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_etc2_format()
926 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_etc2_format()
927 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
928 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
950 case GL_UNSIGNED_INT: in _mesa_is_type_unsigned()
951 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_is_type_unsigned()
952 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_is_type_unsigned()
953 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_is_type_unsigned()
954 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_is_type_unsigned()
956 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned()
957 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_is_type_unsigned()
958 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_is_type_unsigned()
959 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_is_type_unsigned()
960 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_is_type_unsigned()
961 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_is_type_unsigned()
962 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_is_type_unsigned()
963 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_is_type_unsigned()
964 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_is_type_unsigned()
966 case GL_UNSIGNED_BYTE: in _mesa_is_type_unsigned()
967 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_is_type_unsigned()
968 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_is_type_unsigned()
987 case GL_RED: in _mesa_is_color_format()
988 case GL_GREEN: in _mesa_is_color_format()
989 case GL_BLUE: in _mesa_is_color_format()
990 case GL_ALPHA: in _mesa_is_color_format()
991 case GL_ALPHA4: in _mesa_is_color_format()
992 case GL_ALPHA8: in _mesa_is_color_format()
993 case GL_ALPHA12: in _mesa_is_color_format()
994 case GL_ALPHA16: in _mesa_is_color_format()
995 case 1: in _mesa_is_color_format()
996 case GL_LUMINANCE: in _mesa_is_color_format()
997 case GL_LUMINANCE4: in _mesa_is_color_format()
998 case GL_LUMINANCE8: in _mesa_is_color_format()
999 case GL_LUMINANCE12: in _mesa_is_color_format()
1000 case GL_LUMINANCE16: in _mesa_is_color_format()
1001 case 2: in _mesa_is_color_format()
1002 case GL_LUMINANCE_ALPHA: in _mesa_is_color_format()
1003 case GL_LUMINANCE4_ALPHA4: in _mesa_is_color_format()
1004 case GL_LUMINANCE6_ALPHA2: in _mesa_is_color_format()
1005 case GL_LUMINANCE8_ALPHA8: in _mesa_is_color_format()
1006 case GL_LUMINANCE12_ALPHA4: in _mesa_is_color_format()
1007 case GL_LUMINANCE12_ALPHA12: in _mesa_is_color_format()
1008 case GL_LUMINANCE16_ALPHA16: in _mesa_is_color_format()
1009 case GL_INTENSITY: in _mesa_is_color_format()
1010 case GL_INTENSITY4: in _mesa_is_color_format()
1011 case GL_INTENSITY8: in _mesa_is_color_format()
1012 case GL_INTENSITY12: in _mesa_is_color_format()
1013 case GL_INTENSITY16: in _mesa_is_color_format()
1014 case GL_R8: in _mesa_is_color_format()
1015 case GL_R16: in _mesa_is_color_format()
1016 case GL_RG: in _mesa_is_color_format()
1017 case GL_RG8: in _mesa_is_color_format()
1018 case GL_RG16: in _mesa_is_color_format()
1019 case 3: in _mesa_is_color_format()
1020 case GL_RGB: in _mesa_is_color_format()
1021 case GL_BGR: in _mesa_is_color_format()
1022 case GL_R3_G3_B2: in _mesa_is_color_format()
1023 case GL_RGB4: in _mesa_is_color_format()
1024 case GL_RGB5: in _mesa_is_color_format()
1025 case GL_RGB565: in _mesa_is_color_format()
1026 case GL_RGB8: in _mesa_is_color_format()
1027 case GL_RGB10: in _mesa_is_color_format()
1028 case GL_RGB12: in _mesa_is_color_format()
1029 case GL_RGB16: in _mesa_is_color_format()
1030 case 4: in _mesa_is_color_format()
1031 case GL_ABGR_EXT: in _mesa_is_color_format()
1032 case GL_RGBA: in _mesa_is_color_format()
1033 case GL_BGRA: in _mesa_is_color_format()
1034 case GL_RGBA2: in _mesa_is_color_format()
1035 case GL_RGBA4: in _mesa_is_color_format()
1036 case GL_RGB5_A1: in _mesa_is_color_format()
1037 case GL_RGBA8: in _mesa_is_color_format()
1038 case GL_RGB10_A2: in _mesa_is_color_format()
1039 case GL_RGBA12: in _mesa_is_color_format()
1040 case GL_RGBA16: in _mesa_is_color_format()
1042 case GL_ALPHA16F_ARB: in _mesa_is_color_format()
1043 case GL_ALPHA32F_ARB: in _mesa_is_color_format()
1044 case GL_LUMINANCE16F_ARB: in _mesa_is_color_format()
1045 case GL_LUMINANCE32F_ARB: in _mesa_is_color_format()
1046 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_is_color_format()
1047 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_is_color_format()
1048 case GL_INTENSITY16F_ARB: in _mesa_is_color_format()
1049 case GL_INTENSITY32F_ARB: in _mesa_is_color_format()
1050 case GL_R16F: in _mesa_is_color_format()
1051 case GL_R32F: in _mesa_is_color_format()
1052 case GL_RG16F: in _mesa_is_color_format()
1053 case GL_RG32F: in _mesa_is_color_format()
1054 case GL_RGB16F_ARB: in _mesa_is_color_format()
1055 case GL_RGB32F_ARB: in _mesa_is_color_format()
1056 case GL_RGBA16F_ARB: in _mesa_is_color_format()
1057 case GL_RGBA32F_ARB: in _mesa_is_color_format()
1059 case GL_COMPRESSED_ALPHA: in _mesa_is_color_format()
1060 case GL_COMPRESSED_LUMINANCE: in _mesa_is_color_format()
1061 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_is_color_format()
1062 case GL_COMPRESSED_INTENSITY: in _mesa_is_color_format()
1063 case GL_COMPRESSED_RED: in _mesa_is_color_format()
1064 case GL_COMPRESSED_RG: in _mesa_is_color_format()
1065 case GL_COMPRESSED_RGB: in _mesa_is_color_format()
1066 case GL_COMPRESSED_RGBA: in _mesa_is_color_format()
1067 case GL_RGB_S3TC: in _mesa_is_color_format()
1068 case GL_RGB4_S3TC: in _mesa_is_color_format()
1069 case GL_RGBA_S3TC: in _mesa_is_color_format()
1070 case GL_RGBA4_S3TC: in _mesa_is_color_format()
1071 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1072 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1073 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1074 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1075 case GL_COMPRESSED_RGB_FXT1_3DFX: in _mesa_is_color_format()
1076 case GL_COMPRESSED_RGBA_FXT1_3DFX: in _mesa_is_color_format()
1077 case GL_SR8_EXT: in _mesa_is_color_format()
1078 case GL_SRG8_EXT: in _mesa_is_color_format()
1079 case GL_SRGB_EXT: in _mesa_is_color_format()
1080 case GL_SRGB8_EXT: in _mesa_is_color_format()
1081 case GL_SRGB_ALPHA_EXT: in _mesa_is_color_format()
1082 case GL_SRGB8_ALPHA8_EXT: in _mesa_is_color_format()
1083 case GL_SLUMINANCE_ALPHA_EXT: in _mesa_is_color_format()
1084 case GL_SLUMINANCE8_ALPHA8_EXT: in _mesa_is_color_format()
1085 case GL_SLUMINANCE_EXT: in _mesa_is_color_format()
1086 case GL_SLUMINANCE8_EXT: in _mesa_is_color_format()
1087 case GL_COMPRESSED_SRGB_EXT: in _mesa_is_color_format()
1088 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1089 case GL_COMPRESSED_SRGB_ALPHA_EXT: in _mesa_is_color_format()
1090 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1091 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1092 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1093 case GL_COMPRESSED_SLUMINANCE_EXT: in _mesa_is_color_format()
1094 case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT: in _mesa_is_color_format()
1095 case GL_COMPRESSED_RED_RGTC1: in _mesa_is_color_format()
1096 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_is_color_format()
1097 case GL_COMPRESSED_RG_RGTC2: in _mesa_is_color_format()
1098 case GL_COMPRESSED_SIGNED_RG_RGTC2: in _mesa_is_color_format()
1099 case GL_COMPRESSED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1100 case GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1101 case GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1102 case GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1103 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_color_format()
1104 case GL_ETC1_RGB8_OES: in _mesa_is_color_format()
1105 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_color_format()
1106 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_color_format()
1107 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_color_format()
1108 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_color_format()
1109 case GL_COMPRESSED_R11_EAC: in _mesa_is_color_format()
1110 case GL_COMPRESSED_RG11_EAC: in _mesa_is_color_format()
1111 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_color_format()
1112 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_color_format()
1113 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1114 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1115 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_is_color_format()
1116 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_color_format()
1117 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_is_color_format()
1118 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_is_color_format()
1119 case GL_COMPRESSED_RGBA_ASTC_4x4_KHR: in _mesa_is_color_format()
1120 case GL_COMPRESSED_RGBA_ASTC_5x4_KHR: in _mesa_is_color_format()
1121 case GL_COMPRESSED_RGBA_ASTC_5x5_KHR: in _mesa_is_color_format()
1122 case GL_COMPRESSED_RGBA_ASTC_6x5_KHR: in _mesa_is_color_format()
1123 case GL_COMPRESSED_RGBA_ASTC_6x6_KHR: in _mesa_is_color_format()
1124 case GL_COMPRESSED_RGBA_ASTC_8x5_KHR: in _mesa_is_color_format()
1125 case GL_COMPRESSED_RGBA_ASTC_8x6_KHR: in _mesa_is_color_format()
1126 case GL_COMPRESSED_RGBA_ASTC_8x8_KHR: in _mesa_is_color_format()
1127 case GL_COMPRESSED_RGBA_ASTC_10x5_KHR: in _mesa_is_color_format()
1128 case GL_COMPRESSED_RGBA_ASTC_10x6_KHR: in _mesa_is_color_format()
1129 case GL_COMPRESSED_RGBA_ASTC_10x8_KHR: in _mesa_is_color_format()
1130 case GL_COMPRESSED_RGBA_ASTC_10x10_KHR: in _mesa_is_color_format()
1131 case GL_COMPRESSED_RGBA_ASTC_12x10_KHR: in _mesa_is_color_format()
1132 case GL_COMPRESSED_RGBA_ASTC_12x12_KHR: in _mesa_is_color_format()
1133 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in _mesa_is_color_format()
1134 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in _mesa_is_color_format()
1135 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in _mesa_is_color_format()
1136 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in _mesa_is_color_format()
1137 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in _mesa_is_color_format()
1138 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in _mesa_is_color_format()
1139 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in _mesa_is_color_format()
1140 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in _mesa_is_color_format()
1141 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in _mesa_is_color_format()
1142 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in _mesa_is_color_format()
1143 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in _mesa_is_color_format()
1144 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in _mesa_is_color_format()
1145 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in _mesa_is_color_format()
1146 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in _mesa_is_color_format()
1147 case GL_ATC_RGB_AMD: in _mesa_is_color_format()
1148 case GL_ATC_RGBA_EXPLICIT_ALPHA_AMD: in _mesa_is_color_format()
1149 case GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD: in _mesa_is_color_format()
1151 case GL_RED_INTEGER_EXT: in _mesa_is_color_format()
1152 case GL_GREEN_INTEGER_EXT: in _mesa_is_color_format()
1153 case GL_BLUE_INTEGER_EXT: in _mesa_is_color_format()
1154 case GL_ALPHA_INTEGER_EXT: in _mesa_is_color_format()
1155 case GL_RGB_INTEGER_EXT: in _mesa_is_color_format()
1156 case GL_RGBA_INTEGER_EXT: in _mesa_is_color_format()
1157 case GL_BGR_INTEGER_EXT: in _mesa_is_color_format()
1158 case GL_BGRA_INTEGER_EXT: in _mesa_is_color_format()
1159 case GL_RG_INTEGER: in _mesa_is_color_format()
1160 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_color_format()
1161 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_color_format()
1163 case GL_RGBA32UI_EXT: in _mesa_is_color_format()
1164 case GL_RGB32UI_EXT: in _mesa_is_color_format()
1165 case GL_RG32UI: in _mesa_is_color_format()
1166 case GL_R32UI: in _mesa_is_color_format()
1167 case GL_ALPHA32UI_EXT: in _mesa_is_color_format()
1168 case GL_INTENSITY32UI_EXT: in _mesa_is_color_format()
1169 case GL_LUMINANCE32UI_EXT: in _mesa_is_color_format()
1170 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_color_format()
1171 case GL_RGBA16UI_EXT: in _mesa_is_color_format()
1172 case GL_RGB16UI_EXT: in _mesa_is_color_format()
1173 case GL_RG16UI: in _mesa_is_color_format()
1174 case GL_R16UI: in _mesa_is_color_format()
1175 case GL_ALPHA16UI_EXT: in _mesa_is_color_format()
1176 case GL_INTENSITY16UI_EXT: in _mesa_is_color_format()
1177 case GL_LUMINANCE16UI_EXT: in _mesa_is_color_format()
1178 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_color_format()
1179 case GL_RGBA8UI_EXT: in _mesa_is_color_format()
1180 case GL_RGB8UI_EXT: in _mesa_is_color_format()
1181 case GL_RG8UI: in _mesa_is_color_format()
1182 case GL_R8UI: in _mesa_is_color_format()
1183 case GL_ALPHA8UI_EXT: in _mesa_is_color_format()
1184 case GL_INTENSITY8UI_EXT: in _mesa_is_color_format()
1185 case GL_LUMINANCE8UI_EXT: in _mesa_is_color_format()
1186 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_color_format()
1187 case GL_RGBA32I_EXT: in _mesa_is_color_format()
1188 case GL_RGB32I_EXT: in _mesa_is_color_format()
1189 case GL_RG32I: in _mesa_is_color_format()
1190 case GL_R32I: in _mesa_is_color_format()
1191 case GL_ALPHA32I_EXT: in _mesa_is_color_format()
1192 case GL_INTENSITY32I_EXT: in _mesa_is_color_format()
1193 case GL_LUMINANCE32I_EXT: in _mesa_is_color_format()
1194 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_color_format()
1195 case GL_RGBA16I_EXT: in _mesa_is_color_format()
1196 case GL_RGB16I_EXT: in _mesa_is_color_format()
1197 case GL_RG16I: in _mesa_is_color_format()
1198 case GL_R16I: in _mesa_is_color_format()
1199 case GL_ALPHA16I_EXT: in _mesa_is_color_format()
1200 case GL_INTENSITY16I_EXT: in _mesa_is_color_format()
1201 case GL_LUMINANCE16I_EXT: in _mesa_is_color_format()
1202 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_color_format()
1203 case GL_RGBA8I_EXT: in _mesa_is_color_format()
1204 case GL_RGB8I_EXT: in _mesa_is_color_format()
1205 case GL_RG8I: in _mesa_is_color_format()
1206 case GL_R8I: in _mesa_is_color_format()
1207 case GL_ALPHA8I_EXT: in _mesa_is_color_format()
1208 case GL_INTENSITY8I_EXT: in _mesa_is_color_format()
1209 case GL_LUMINANCE8I_EXT: in _mesa_is_color_format()
1210 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_color_format()
1212 case GL_RED_SNORM: in _mesa_is_color_format()
1213 case GL_R8_SNORM: in _mesa_is_color_format()
1214 case GL_R16_SNORM: in _mesa_is_color_format()
1215 case GL_RG_SNORM: in _mesa_is_color_format()
1216 case GL_RG8_SNORM: in _mesa_is_color_format()
1217 case GL_RG16_SNORM: in _mesa_is_color_format()
1218 case GL_RGB_SNORM: in _mesa_is_color_format()
1219 case GL_RGB8_SNORM: in _mesa_is_color_format()
1220 case GL_RGB16_SNORM: in _mesa_is_color_format()
1221 case GL_RGBA_SNORM: in _mesa_is_color_format()
1222 case GL_RGBA8_SNORM: in _mesa_is_color_format()
1223 case GL_RGBA16_SNORM: in _mesa_is_color_format()
1224 case GL_ALPHA_SNORM: in _mesa_is_color_format()
1225 case GL_ALPHA8_SNORM: in _mesa_is_color_format()
1226 case GL_ALPHA16_SNORM: in _mesa_is_color_format()
1227 case GL_LUMINANCE_SNORM: in _mesa_is_color_format()
1228 case GL_LUMINANCE8_SNORM: in _mesa_is_color_format()
1229 case GL_LUMINANCE16_SNORM: in _mesa_is_color_format()
1230 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_color_format()
1231 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_color_format()
1232 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_color_format()
1233 case GL_INTENSITY_SNORM: in _mesa_is_color_format()
1234 case GL_INTENSITY8_SNORM: in _mesa_is_color_format()
1235 case GL_INTENSITY16_SNORM: in _mesa_is_color_format()
1236 case GL_RGB9_E5: in _mesa_is_color_format()
1237 case GL_R11F_G11F_B10F: in _mesa_is_color_format()
1238 case GL_RGB10_A2UI: in _mesa_is_color_format()
1240 case GL_YCBCR_MESA: /* not considered to be RGB */ in _mesa_is_color_format()
1255 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
1256 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_format()
1257 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_format()
1258 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_format()
1259 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_format()
1274 case GL_STENCIL_INDEX: in _mesa_is_stencil_format()
1289 case GL_YCBCR_MESA: in _mesa_is_ycbcr_format()
1304 case GL_DEPTH24_STENCIL8_EXT: in _mesa_is_depthstencil_format()
1305 case GL_DEPTH_STENCIL_EXT: in _mesa_is_depthstencil_format()
1306 case GL_DEPTH32F_STENCIL8: in _mesa_is_depthstencil_format()
1321 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
1322 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_or_stencil_format()
1323 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_or_stencil_format()
1324 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_or_stencil_format()
1325 case GL_STENCIL_INDEX: in _mesa_is_depth_or_stencil_format()
1326 case GL_STENCIL_INDEX1_EXT: in _mesa_is_depth_or_stencil_format()
1327 case GL_STENCIL_INDEX4_EXT: in _mesa_is_depth_or_stencil_format()
1328 case GL_STENCIL_INDEX8_EXT: in _mesa_is_depth_or_stencil_format()
1329 case GL_STENCIL_INDEX16_EXT: in _mesa_is_depth_or_stencil_format()
1330 case GL_DEPTH_STENCIL_EXT: in _mesa_is_depth_or_stencil_format()
1331 case GL_DEPTH24_STENCIL8_EXT: in _mesa_is_depth_or_stencil_format()
1332 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_or_stencil_format()
1333 case GL_DEPTH32F_STENCIL8: in _mesa_is_depth_or_stencil_format()
1365 case GL_RGB_S3TC: in _mesa_is_compressed_format()
1366 case GL_RGB4_S3TC: in _mesa_is_compressed_format()
1367 case GL_RGBA_S3TC: in _mesa_is_compressed_format()
1368 case GL_RGBA4_S3TC: in _mesa_is_compressed_format()
1370 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_compressed_format()
1372 case GL_PALETTE4_RGB8_OES: in _mesa_is_compressed_format()
1373 case GL_PALETTE4_RGBA8_OES: in _mesa_is_compressed_format()
1374 case GL_PALETTE4_R5_G6_B5_OES: in _mesa_is_compressed_format()
1375 case GL_PALETTE4_RGBA4_OES: in _mesa_is_compressed_format()
1376 case GL_PALETTE4_RGB5_A1_OES: in _mesa_is_compressed_format()
1377 case GL_PALETTE8_RGB8_OES: in _mesa_is_compressed_format()
1378 case GL_PALETTE8_RGBA8_OES: in _mesa_is_compressed_format()
1379 case GL_PALETTE8_R5_G6_B5_OES: in _mesa_is_compressed_format()
1380 case GL_PALETTE8_RGBA4_OES: in _mesa_is_compressed_format()
1381 case GL_PALETTE8_RGB5_A1_OES: in _mesa_is_compressed_format()
1386 case MESA_FORMAT_LAYOUT_S3TC: in _mesa_is_compressed_format()
1394 case MESA_FORMAT_LAYOUT_FXT1: in _mesa_is_compressed_format()
1396 case MESA_FORMAT_LAYOUT_RGTC: in _mesa_is_compressed_format()
1399 case MESA_FORMAT_LAYOUT_LATC: in _mesa_is_compressed_format()
1401 case MESA_FORMAT_LAYOUT_ETC1: in _mesa_is_compressed_format()
1403 case MESA_FORMAT_LAYOUT_ETC2: in _mesa_is_compressed_format()
1405 case MESA_FORMAT_LAYOUT_BPTC: in _mesa_is_compressed_format()
1408 case MESA_FORMAT_LAYOUT_ASTC: in _mesa_is_compressed_format()
1410 case MESA_FORMAT_LAYOUT_ATC: in _mesa_is_compressed_format()
1426 case GL_SR8_EXT: in _mesa_is_srgb_format()
1427 case GL_SRG8_EXT: in _mesa_is_srgb_format()
1428 case GL_SRGB: in _mesa_is_srgb_format()
1429 case GL_SRGB8: in _mesa_is_srgb_format()
1430 case GL_SRGB_ALPHA: in _mesa_is_srgb_format()
1431 case GL_SRGB8_ALPHA8: in _mesa_is_srgb_format()
1432 case GL_COMPRESSED_SRGB: in _mesa_is_srgb_format()
1433 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_is_srgb_format()
1434 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1435 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1436 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_srgb_format()
1437 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_srgb_format()
1438 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_srgb_format()
1439 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_srgb_format()
1440 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_srgb_format()
1441 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_srgb_format()
1442 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in _mesa_is_srgb_format()
1443 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in _mesa_is_srgb_format()
1444 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in _mesa_is_srgb_format()
1445 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in _mesa_is_srgb_format()
1446 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in _mesa_is_srgb_format()
1447 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in _mesa_is_srgb_format()
1448 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in _mesa_is_srgb_format()
1449 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in _mesa_is_srgb_format()
1450 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in _mesa_is_srgb_format()
1451 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in _mesa_is_srgb_format()
1452 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in _mesa_is_srgb_format()
1453 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in _mesa_is_srgb_format()
1454 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in _mesa_is_srgb_format()
1455 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in _mesa_is_srgb_format()
1471 case GL_RED_INTEGER: in _mesa_unpack_format_to_base_format()
1473 case GL_GREEN_INTEGER: in _mesa_unpack_format_to_base_format()
1475 case GL_BLUE_INTEGER: in _mesa_unpack_format_to_base_format()
1477 case GL_ALPHA_INTEGER: in _mesa_unpack_format_to_base_format()
1479 case GL_RG_INTEGER: in _mesa_unpack_format_to_base_format()
1481 case GL_RGB_INTEGER: in _mesa_unpack_format_to_base_format()
1483 case GL_RGBA_INTEGER: in _mesa_unpack_format_to_base_format()
1485 case GL_BGR_INTEGER: in _mesa_unpack_format_to_base_format()
1487 case GL_BGRA_INTEGER: in _mesa_unpack_format_to_base_format()
1489 case GL_LUMINANCE_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1491 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1493 case GL_RED: in _mesa_unpack_format_to_base_format()
1494 case GL_GREEN: in _mesa_unpack_format_to_base_format()
1495 case GL_BLUE: in _mesa_unpack_format_to_base_format()
1496 case GL_RG: in _mesa_unpack_format_to_base_format()
1497 case GL_RGB: in _mesa_unpack_format_to_base_format()
1498 case GL_RGBA: in _mesa_unpack_format_to_base_format()
1499 case GL_BGR: in _mesa_unpack_format_to_base_format()
1500 case GL_BGRA: in _mesa_unpack_format_to_base_format()
1501 case GL_ALPHA: in _mesa_unpack_format_to_base_format()
1502 case GL_LUMINANCE: in _mesa_unpack_format_to_base_format()
1503 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1516 case GL_RED: in _mesa_base_format_to_integer_format()
1518 case GL_GREEN: in _mesa_base_format_to_integer_format()
1520 case GL_BLUE: in _mesa_base_format_to_integer_format()
1522 case GL_RG: in _mesa_base_format_to_integer_format()
1524 case GL_RGB: in _mesa_base_format_to_integer_format()
1526 case GL_RGBA: in _mesa_base_format_to_integer_format()
1528 case GL_BGR: in _mesa_base_format_to_integer_format()
1530 case GL_BGRA: in _mesa_base_format_to_integer_format()
1532 case GL_ALPHA: in _mesa_base_format_to_integer_format()
1534 case GL_LUMINANCE: in _mesa_base_format_to_integer_format()
1536 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1552 case GL_TEXTURE_RED_SIZE: in _mesa_base_format_has_channel()
1553 case GL_TEXTURE_RED_TYPE: in _mesa_base_format_has_channel()
1554 case GL_RENDERBUFFER_RED_SIZE_EXT: in _mesa_base_format_has_channel()
1555 case GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE: in _mesa_base_format_has_channel()
1556 case GL_INTERNALFORMAT_RED_SIZE: in _mesa_base_format_has_channel()
1557 case GL_INTERNALFORMAT_RED_TYPE: in _mesa_base_format_has_channel()
1565 case GL_TEXTURE_GREEN_SIZE: in _mesa_base_format_has_channel()
1566 case GL_TEXTURE_GREEN_TYPE: in _mesa_base_format_has_channel()
1567 case GL_RENDERBUFFER_GREEN_SIZE_EXT: in _mesa_base_format_has_channel()
1568 case GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: in _mesa_base_format_has_channel()
1569 case GL_INTERNALFORMAT_GREEN_SIZE: in _mesa_base_format_has_channel()
1570 case GL_INTERNALFORMAT_GREEN_TYPE: in _mesa_base_format_has_channel()
1577 case GL_TEXTURE_BLUE_SIZE: in _mesa_base_format_has_channel()
1578 case GL_TEXTURE_BLUE_TYPE: in _mesa_base_format_has_channel()
1579 case GL_RENDERBUFFER_BLUE_SIZE_EXT: in _mesa_base_format_has_channel()
1580 case GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: in _mesa_base_format_has_channel()
1581 case GL_INTERNALFORMAT_BLUE_SIZE: in _mesa_base_format_has_channel()
1582 case GL_INTERNALFORMAT_BLUE_TYPE: in _mesa_base_format_has_channel()
1588 case GL_TEXTURE_ALPHA_SIZE: in _mesa_base_format_has_channel()
1589 case GL_TEXTURE_ALPHA_TYPE: in _mesa_base_format_has_channel()
1590 case GL_RENDERBUFFER_ALPHA_SIZE_EXT: in _mesa_base_format_has_channel()
1591 case GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1592 case GL_INTERNALFORMAT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1593 case GL_INTERNALFORMAT_ALPHA_TYPE: in _mesa_base_format_has_channel()
1600 case GL_TEXTURE_LUMINANCE_SIZE: in _mesa_base_format_has_channel()
1601 case GL_TEXTURE_LUMINANCE_TYPE: in _mesa_base_format_has_channel()
1607 case GL_TEXTURE_INTENSITY_SIZE: in _mesa_base_format_has_channel()
1608 case GL_TEXTURE_INTENSITY_TYPE: in _mesa_base_format_has_channel()
1613 case GL_TEXTURE_DEPTH_SIZE: in _mesa_base_format_has_channel()
1614 case GL_TEXTURE_DEPTH_TYPE: in _mesa_base_format_has_channel()
1615 case GL_RENDERBUFFER_DEPTH_SIZE_EXT: in _mesa_base_format_has_channel()
1616 case GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1617 case GL_INTERNALFORMAT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1618 case GL_INTERNALFORMAT_DEPTH_TYPE: in _mesa_base_format_has_channel()
1624 case GL_RENDERBUFFER_STENCIL_SIZE_EXT: in _mesa_base_format_has_channel()
1625 case GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1626 case GL_INTERNALFORMAT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1627 case GL_INTERNALFORMAT_STENCIL_TYPE: in _mesa_base_format_has_channel()
1651 case GL_COMPRESSED_RED: in _mesa_generic_compressed_format_to_uncompressed_format()
1653 case GL_COMPRESSED_RG: in _mesa_generic_compressed_format_to_uncompressed_format()
1655 case GL_COMPRESSED_RGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1657 case GL_COMPRESSED_RGBA: in _mesa_generic_compressed_format_to_uncompressed_format()
1659 case GL_COMPRESSED_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1661 case GL_COMPRESSED_LUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1663 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1665 case GL_COMPRESSED_INTENSITY: in _mesa_generic_compressed_format_to_uncompressed_format()
1668 case GL_COMPRESSED_SRGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1670 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1672 case GL_COMPRESSED_SLUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1674 case GL_COMPRESSED_SLUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1691 case 4: in _mesa_get_nongeneric_internalformat()
1692 case GL_RGBA: in _mesa_get_nongeneric_internalformat()
1694 case 3: in _mesa_get_nongeneric_internalformat()
1695 case GL_RGB: in _mesa_get_nongeneric_internalformat()
1697 case 2: in _mesa_get_nongeneric_internalformat()
1698 case GL_LUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1700 case 1: in _mesa_get_nongeneric_internalformat()
1701 case GL_LUMINANCE: in _mesa_get_nongeneric_internalformat()
1703 case GL_ALPHA: in _mesa_get_nongeneric_internalformat()
1705 case GL_INTENSITY: in _mesa_get_nongeneric_internalformat()
1709 case GL_RED: in _mesa_get_nongeneric_internalformat()
1711 case GL_RG: in _mesa_get_nongeneric_internalformat()
1715 case GL_SRGB: in _mesa_get_nongeneric_internalformat()
1717 case GL_SRGB_ALPHA: in _mesa_get_nongeneric_internalformat()
1719 case GL_SLUMINANCE: in _mesa_get_nongeneric_internalformat()
1721 case GL_SLUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1725 case GL_RGBA_SNORM: in _mesa_get_nongeneric_internalformat()
1727 case GL_RGB_SNORM: in _mesa_get_nongeneric_internalformat()
1729 case GL_RG_SNORM: in _mesa_get_nongeneric_internalformat()
1731 case GL_RED_SNORM: in _mesa_get_nongeneric_internalformat()
1733 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1735 case GL_LUMINANCE_SNORM: in _mesa_get_nongeneric_internalformat()
1737 case GL_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1739 case GL_INTENSITY_SNORM: in _mesa_get_nongeneric_internalformat()
1755 case GL_SRGB: in _mesa_get_linear_internalformat()
1757 case GL_SRGB_ALPHA: in _mesa_get_linear_internalformat()
1759 case GL_SRGB8: in _mesa_get_linear_internalformat()
1761 case GL_SRGB8_ALPHA8: in _mesa_get_linear_internalformat()
1763 case GL_SLUMINANCE8: in _mesa_get_linear_internalformat()
1765 case GL_SLUMINANCE: in _mesa_get_linear_internalformat()
1767 case GL_SLUMINANCE_ALPHA: in _mesa_get_linear_internalformat()
1769 case GL_SLUMINANCE8_ALPHA8: in _mesa_get_linear_internalformat()
1810 case GL_BITMAP: in _mesa_error_check_format_and_type()
1816 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
1817 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
1818 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
1819 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
1829 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
1830 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
1831 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
1832 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
1844 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
1845 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
1846 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
1847 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1862 case GL_UNSIGNED_INT_24_8: in _mesa_error_check_format_and_type()
1872 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_error_check_format_and_type()
1881 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
1890 case GL_HALF_FLOAT_OES: in _mesa_error_check_format_and_type()
1892 case GL_RGBA: in _mesa_error_check_format_and_type()
1893 case GL_RGB: in _mesa_error_check_format_and_type()
1894 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
1895 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
1896 case GL_ALPHA: in _mesa_error_check_format_and_type()
1898 case GL_RG: in _mesa_error_check_format_and_type()
1899 case GL_RED: in _mesa_error_check_format_and_type()
1913 case GL_COLOR_INDEX: in _mesa_error_check_format_and_type()
1914 case GL_STENCIL_INDEX: in _mesa_error_check_format_and_type()
1916 case GL_BITMAP: in _mesa_error_check_format_and_type()
1917 case GL_BYTE: in _mesa_error_check_format_and_type()
1918 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1919 case GL_SHORT: in _mesa_error_check_format_and_type()
1920 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1921 case GL_INT: in _mesa_error_check_format_and_type()
1922 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1923 case GL_FLOAT: in _mesa_error_check_format_and_type()
1924 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1930 case GL_RED: in _mesa_error_check_format_and_type()
1931 case GL_GREEN: in _mesa_error_check_format_and_type()
1932 case GL_BLUE: in _mesa_error_check_format_and_type()
1933 case GL_ALPHA: in _mesa_error_check_format_and_type()
1935 case GL_INTENSITY: in _mesa_error_check_format_and_type()
1937 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
1938 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
1939 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
1941 case GL_BYTE: in _mesa_error_check_format_and_type()
1942 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1943 case GL_SHORT: in _mesa_error_check_format_and_type()
1944 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1945 case GL_INT: in _mesa_error_check_format_and_type()
1946 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1947 case GL_FLOAT: in _mesa_error_check_format_and_type()
1948 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1954 case GL_RG: in _mesa_error_check_format_and_type()
1958 case GL_BYTE: in _mesa_error_check_format_and_type()
1959 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1960 case GL_SHORT: in _mesa_error_check_format_and_type()
1961 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1962 case GL_INT: in _mesa_error_check_format_and_type()
1963 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1964 case GL_FLOAT: in _mesa_error_check_format_and_type()
1965 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1971 case GL_RGB: in _mesa_error_check_format_and_type()
1973 case GL_BYTE: in _mesa_error_check_format_and_type()
1974 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1975 case GL_SHORT: in _mesa_error_check_format_and_type()
1976 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1977 case GL_INT: in _mesa_error_check_format_and_type()
1978 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1979 case GL_FLOAT: in _mesa_error_check_format_and_type()
1980 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
1981 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
1982 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
1983 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
1984 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1986 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1990 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_error_check_format_and_type()
1993 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
2000 case GL_BGR: in _mesa_error_check_format_and_type()
2005 case GL_BYTE: in _mesa_error_check_format_and_type()
2006 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2007 case GL_SHORT: in _mesa_error_check_format_and_type()
2008 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2009 case GL_INT: in _mesa_error_check_format_and_type()
2010 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2011 case GL_FLOAT: in _mesa_error_check_format_and_type()
2012 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2018 case GL_RGBA: in _mesa_error_check_format_and_type()
2019 case GL_BGRA: in _mesa_error_check_format_and_type()
2021 case GL_BYTE: in _mesa_error_check_format_and_type()
2022 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2023 case GL_SHORT: in _mesa_error_check_format_and_type()
2024 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2025 case GL_INT: in _mesa_error_check_format_and_type()
2026 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2027 case GL_FLOAT: in _mesa_error_check_format_and_type()
2028 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2029 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2030 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2031 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
2032 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2033 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2034 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
2035 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2036 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2042 case GL_ABGR_EXT: in _mesa_error_check_format_and_type()
2044 case GL_BYTE: in _mesa_error_check_format_and_type()
2045 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2046 case GL_SHORT: in _mesa_error_check_format_and_type()
2047 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2048 case GL_INT: in _mesa_error_check_format_and_type()
2049 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2050 case GL_FLOAT: in _mesa_error_check_format_and_type()
2051 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2052 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2053 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2054 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2055 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2061 case GL_YCBCR_MESA: in _mesa_error_check_format_and_type()
2070 case GL_DEPTH_STENCIL: in _mesa_error_check_format_and_type()
2080 case GL_RED_INTEGER_EXT: in _mesa_error_check_format_and_type()
2081 case GL_GREEN_INTEGER_EXT: in _mesa_error_check_format_and_type()
2082 case GL_BLUE_INTEGER_EXT: in _mesa_error_check_format_and_type()
2083 case GL_ALPHA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2084 case GL_RG_INTEGER: in _mesa_error_check_format_and_type()
2086 case GL_BYTE: in _mesa_error_check_format_and_type()
2087 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2088 case GL_SHORT: in _mesa_error_check_format_and_type()
2089 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2090 case GL_INT: in _mesa_error_check_format_and_type()
2091 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2098 case GL_RGB_INTEGER_EXT: in _mesa_error_check_format_and_type()
2100 case GL_BYTE: in _mesa_error_check_format_and_type()
2101 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2102 case GL_SHORT: in _mesa_error_check_format_and_type()
2103 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2104 case GL_INT: in _mesa_error_check_format_and_type()
2105 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2108 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
2109 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
2110 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
2111 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
2118 case GL_BGR_INTEGER_EXT: in _mesa_error_check_format_and_type()
2120 case GL_BYTE: in _mesa_error_check_format_and_type()
2121 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2122 case GL_SHORT: in _mesa_error_check_format_and_type()
2123 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2124 case GL_INT: in _mesa_error_check_format_and_type()
2125 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2133 case GL_RGBA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2134 case GL_BGRA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2136 case GL_BYTE: in _mesa_error_check_format_and_type()
2137 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2138 case GL_SHORT: in _mesa_error_check_format_and_type()
2139 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2140 case GL_INT: in _mesa_error_check_format_and_type()
2141 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2144 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2145 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2146 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2147 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
2148 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2149 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2150 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
2151 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2158 case GL_LUMINANCE_INTEGER_EXT: in _mesa_error_check_format_and_type()
2159 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2161 case GL_BYTE: in _mesa_error_check_format_and_type()
2162 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2163 case GL_SHORT: in _mesa_error_check_format_and_type()
2164 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2165 case GL_INT: in _mesa_error_check_format_and_type()
2166 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2193 case GL_RED: in _mesa_es_error_check_format_and_type()
2194 case GL_RG: in _mesa_es_error_check_format_and_type()
2198 case GL_ALPHA: in _mesa_es_error_check_format_and_type()
2199 case GL_LUMINANCE: in _mesa_es_error_check_format_and_type()
2200 case GL_LUMINANCE_ALPHA: in _mesa_es_error_check_format_and_type()
2206 case GL_RGB: in _mesa_es_error_check_format_and_type()
2213 case GL_RGBA: in _mesa_es_error_check_format_and_type()
2223 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
2230 case GL_DEPTH_STENCIL: in _mesa_es_error_check_format_and_type()
2236 case GL_BGRA_EXT: in _mesa_es_error_check_format_and_type()
2272 case GL_ALPHA: in _mesa_base_tex_format()
2273 case GL_ALPHA4: in _mesa_base_tex_format()
2274 case GL_ALPHA8: in _mesa_base_tex_format()
2275 case GL_ALPHA12: in _mesa_base_tex_format()
2276 case GL_ALPHA16: in _mesa_base_tex_format()
2278 case 1: in _mesa_base_tex_format()
2279 case GL_LUMINANCE: in _mesa_base_tex_format()
2280 case GL_LUMINANCE4: in _mesa_base_tex_format()
2281 case GL_LUMINANCE8: in _mesa_base_tex_format()
2282 case GL_LUMINANCE12: in _mesa_base_tex_format()
2283 case GL_LUMINANCE16: in _mesa_base_tex_format()
2285 case 2: in _mesa_base_tex_format()
2286 case GL_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2287 case GL_LUMINANCE4_ALPHA4: in _mesa_base_tex_format()
2288 case GL_LUMINANCE6_ALPHA2: in _mesa_base_tex_format()
2289 case GL_LUMINANCE8_ALPHA8: in _mesa_base_tex_format()
2290 case GL_LUMINANCE12_ALPHA4: in _mesa_base_tex_format()
2291 case GL_LUMINANCE12_ALPHA12: in _mesa_base_tex_format()
2292 case GL_LUMINANCE16_ALPHA16: in _mesa_base_tex_format()
2294 case GL_INTENSITY: in _mesa_base_tex_format()
2295 case GL_INTENSITY4: in _mesa_base_tex_format()
2296 case GL_INTENSITY8: in _mesa_base_tex_format()
2297 case GL_INTENSITY12: in _mesa_base_tex_format()
2298 case GL_INTENSITY16: in _mesa_base_tex_format()
2300 case 3: in _mesa_base_tex_format()
2302 case GL_RGB: in _mesa_base_tex_format()
2303 case GL_R3_G3_B2: in _mesa_base_tex_format()
2304 case GL_RGB4: in _mesa_base_tex_format()
2305 case GL_RGB5: in _mesa_base_tex_format()
2306 case GL_RGB8: in _mesa_base_tex_format()
2307 case GL_RGB10: in _mesa_base_tex_format()
2308 case GL_RGB12: in _mesa_base_tex_format()
2309 case GL_RGB16: in _mesa_base_tex_format()
2311 case 4: in _mesa_base_tex_format()
2313 case GL_RGBA: in _mesa_base_tex_format()
2314 case GL_RGBA2: in _mesa_base_tex_format()
2315 case GL_RGBA4: in _mesa_base_tex_format()
2316 case GL_RGB5_A1: in _mesa_base_tex_format()
2317 case GL_RGBA8: in _mesa_base_tex_format()
2318 case GL_RGB10_A2: in _mesa_base_tex_format()
2319 case GL_RGBA12: in _mesa_base_tex_format()
2320 case GL_RGBA16: in _mesa_base_tex_format()
2330 case GL_BGRA: in _mesa_base_tex_format()
2341 case GL_RGB565: in _mesa_base_tex_format()
2350 case GL_DEPTH_COMPONENT: in _mesa_base_tex_format()
2351 case GL_DEPTH_COMPONENT16: in _mesa_base_tex_format()
2352 case GL_DEPTH_COMPONENT24: in _mesa_base_tex_format()
2353 case GL_DEPTH_COMPONENT32: in _mesa_base_tex_format()
2355 case GL_DEPTH_STENCIL: in _mesa_base_tex_format()
2356 case GL_DEPTH24_STENCIL8: in _mesa_base_tex_format()
2366 case GL_STENCIL_INDEX: in _mesa_base_tex_format()
2367 case GL_STENCIL_INDEX1: in _mesa_base_tex_format()
2368 case GL_STENCIL_INDEX4: in _mesa_base_tex_format()
2369 case GL_STENCIL_INDEX8: in _mesa_base_tex_format()
2370 case GL_STENCIL_INDEX16: in _mesa_base_tex_format()
2378 case GL_COMPRESSED_ALPHA: in _mesa_base_tex_format()
2380 case GL_COMPRESSED_LUMINANCE: in _mesa_base_tex_format()
2382 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2384 case GL_COMPRESSED_INTENSITY: in _mesa_base_tex_format()
2386 case GL_COMPRESSED_RGB: in _mesa_base_tex_format()
2388 case GL_COMPRESSED_RGBA: in _mesa_base_tex_format()
2414 case GL_ALPHA16F_ARB: in _mesa_base_tex_format()
2416 case GL_RGBA16F_ARB: in _mesa_base_tex_format()
2418 case GL_RGB16F_ARB: in _mesa_base_tex_format()
2420 case GL_INTENSITY16F_ARB: in _mesa_base_tex_format()
2422 case GL_LUMINANCE16F_ARB: in _mesa_base_tex_format()
2424 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_base_tex_format()
2431 case GL_ALPHA32F_ARB: in _mesa_base_tex_format()
2433 case GL_RGBA32F_ARB: in _mesa_base_tex_format()
2435 case GL_RGB32F_ARB: in _mesa_base_tex_format()
2437 case GL_INTENSITY32F_ARB: in _mesa_base_tex_format()
2439 case GL_LUMINANCE32F_ARB: in _mesa_base_tex_format()
2441 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_base_tex_format()
2448 case GL_RED_SNORM: in _mesa_base_tex_format()
2449 case GL_R8_SNORM: in _mesa_base_tex_format()
2450 case GL_R16_SNORM: in _mesa_base_tex_format()
2452 case GL_RG_SNORM: in _mesa_base_tex_format()
2453 case GL_RG8_SNORM: in _mesa_base_tex_format()
2454 case GL_RG16_SNORM: in _mesa_base_tex_format()
2456 case GL_RGB_SNORM: in _mesa_base_tex_format()
2457 case GL_RGB8_SNORM: in _mesa_base_tex_format()
2458 case GL_RGB16_SNORM: in _mesa_base_tex_format()
2460 case GL_RGBA_SNORM: in _mesa_base_tex_format()
2461 case GL_RGBA8_SNORM: in _mesa_base_tex_format()
2462 case GL_RGBA16_SNORM: in _mesa_base_tex_format()
2464 case GL_ALPHA_SNORM: in _mesa_base_tex_format()
2465 case GL_ALPHA8_SNORM: in _mesa_base_tex_format()
2466 case GL_ALPHA16_SNORM: in _mesa_base_tex_format()
2468 case GL_LUMINANCE_SNORM: in _mesa_base_tex_format()
2469 case GL_LUMINANCE8_SNORM: in _mesa_base_tex_format()
2470 case GL_LUMINANCE16_SNORM: in _mesa_base_tex_format()
2472 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_base_tex_format()
2473 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_base_tex_format()
2474 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_base_tex_format()
2476 case GL_INTENSITY_SNORM: in _mesa_base_tex_format()
2477 case GL_INTENSITY8_SNORM: in _mesa_base_tex_format()
2478 case GL_INTENSITY16_SNORM: in _mesa_base_tex_format()
2487 case GL_SRGB_EXT: in _mesa_base_tex_format()
2488 case GL_SRGB8_EXT: in _mesa_base_tex_format()
2489 case GL_COMPRESSED_SRGB_EXT: in _mesa_base_tex_format()
2491 case GL_SRGB_ALPHA_EXT: in _mesa_base_tex_format()
2492 case GL_SRGB8_ALPHA8_EXT: in _mesa_base_tex_format()
2493 case GL_COMPRESSED_SRGB_ALPHA_EXT: in _mesa_base_tex_format()
2495 case GL_SLUMINANCE_ALPHA_EXT: in _mesa_base_tex_format()
2496 case GL_SLUMINANCE8_ALPHA8_EXT: in _mesa_base_tex_format()
2497 case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT: in _mesa_base_tex_format()
2499 case GL_SLUMINANCE_EXT: in _mesa_base_tex_format()
2500 case GL_SLUMINANCE8_EXT: in _mesa_base_tex_format()
2501 case GL_COMPRESSED_SLUMINANCE_EXT: in _mesa_base_tex_format()
2510 case GL_SR8_EXT: in _mesa_base_tex_format()
2519 case GL_SRG8_EXT: in _mesa_base_tex_format()
2528 case GL_RGBA8UI_EXT: in _mesa_base_tex_format()
2529 case GL_RGBA16UI_EXT: in _mesa_base_tex_format()
2530 case GL_RGBA32UI_EXT: in _mesa_base_tex_format()
2531 case GL_RGBA8I_EXT: in _mesa_base_tex_format()
2532 case GL_RGBA16I_EXT: in _mesa_base_tex_format()
2533 case GL_RGBA32I_EXT: in _mesa_base_tex_format()
2535 case GL_RGB8UI_EXT: in _mesa_base_tex_format()
2536 case GL_RGB16UI_EXT: in _mesa_base_tex_format()
2537 case GL_RGB32UI_EXT: in _mesa_base_tex_format()
2538 case GL_RGB8I_EXT: in _mesa_base_tex_format()
2539 case GL_RGB16I_EXT: in _mesa_base_tex_format()
2540 case GL_RGB32I_EXT: in _mesa_base_tex_format()
2547 case GL_RGB10_A2UI: in _mesa_base_tex_format()
2554 case GL_ALPHA8UI_EXT: in _mesa_base_tex_format()
2555 case GL_ALPHA16UI_EXT: in _mesa_base_tex_format()
2556 case GL_ALPHA32UI_EXT: in _mesa_base_tex_format()
2557 case GL_ALPHA8I_EXT: in _mesa_base_tex_format()
2558 case GL_ALPHA16I_EXT: in _mesa_base_tex_format()
2559 case GL_ALPHA32I_EXT: in _mesa_base_tex_format()
2561 case GL_INTENSITY8UI_EXT: in _mesa_base_tex_format()
2562 case GL_INTENSITY16UI_EXT: in _mesa_base_tex_format()
2563 case GL_INTENSITY32UI_EXT: in _mesa_base_tex_format()
2564 case GL_INTENSITY8I_EXT: in _mesa_base_tex_format()
2565 case GL_INTENSITY16I_EXT: in _mesa_base_tex_format()
2566 case GL_INTENSITY32I_EXT: in _mesa_base_tex_format()
2568 case GL_LUMINANCE8UI_EXT: in _mesa_base_tex_format()
2569 case GL_LUMINANCE16UI_EXT: in _mesa_base_tex_format()
2570 case GL_LUMINANCE32UI_EXT: in _mesa_base_tex_format()
2571 case GL_LUMINANCE8I_EXT: in _mesa_base_tex_format()
2572 case GL_LUMINANCE16I_EXT: in _mesa_base_tex_format()
2573 case GL_LUMINANCE32I_EXT: in _mesa_base_tex_format()
2575 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_base_tex_format()
2576 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_base_tex_format()
2577 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_base_tex_format()
2578 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_base_tex_format()
2579 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_base_tex_format()
2580 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_base_tex_format()
2589 case GL_R16F: in _mesa_base_tex_format()
2593 case GL_R32F: in _mesa_base_tex_format()
2597 case GL_R8I: in _mesa_base_tex_format()
2598 case GL_R8UI: in _mesa_base_tex_format()
2599 case GL_R16I: in _mesa_base_tex_format()
2600 case GL_R16UI: in _mesa_base_tex_format()
2601 case GL_R32I: in _mesa_base_tex_format()
2602 case GL_R32UI: in _mesa_base_tex_format()
2606 case GL_R8: in _mesa_base_tex_format()
2607 case GL_R16: in _mesa_base_tex_format()
2608 case GL_RED: in _mesa_base_tex_format()
2609 case GL_COMPRESSED_RED: in _mesa_base_tex_format()
2612 case GL_RG16F: in _mesa_base_tex_format()
2616 case GL_RG32F: in _mesa_base_tex_format()
2620 case GL_RG8I: in _mesa_base_tex_format()
2621 case GL_RG8UI: in _mesa_base_tex_format()
2622 case GL_RG16I: in _mesa_base_tex_format()
2623 case GL_RG16UI: in _mesa_base_tex_format()
2624 case GL_RG32I: in _mesa_base_tex_format()
2625 case GL_RG32UI: in _mesa_base_tex_format()
2629 case GL_RG: in _mesa_base_tex_format()
2630 case GL_RG8: in _mesa_base_tex_format()
2631 case GL_RG16: in _mesa_base_tex_format()
2632 case GL_COMPRESSED_RG: in _mesa_base_tex_format()
2641 case GL_RGB9_E5_EXT: in _mesa_base_tex_format()
2650 case GL_R11F_G11F_B10F_EXT: in _mesa_base_tex_format()
2659 case GL_DEPTH_COMPONENT32F: in _mesa_base_tex_format()
2661 case GL_DEPTH32F_STENCIL8: in _mesa_base_tex_format()
2693 case GL_UNSIGNED_BYTE: in gles_effective_internal_format_for_format_and_type()
2695 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2697 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2699 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2701 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2708 case GL_BGRA_EXT: in gles_effective_internal_format_for_format_and_type()
2709 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2710 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2711 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2716 case GL_UNSIGNED_SHORT_4_4_4_4: in gles_effective_internal_format_for_format_and_type()
2721 case GL_UNSIGNED_SHORT_5_5_5_1: in gles_effective_internal_format_for_format_and_type()
2726 case GL_UNSIGNED_SHORT_5_6_5: in gles_effective_internal_format_for_format_and_type()
2732 case GL_UNSIGNED_INT_24_8: in gles_effective_internal_format_for_format_and_type()
2737 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in gles_effective_internal_format_for_format_and_type()
2742 case GL_UNSIGNED_SHORT: in gles_effective_internal_format_for_format_and_type()
2747 case GL_UNSIGNED_INT: in gles_effective_internal_format_for_format_and_type()
2756 case GL_FLOAT: in gles_effective_internal_format_for_format_and_type()
2760 case GL_HALF_FLOAT_OES: in gles_effective_internal_format_for_format_and_type()
2762 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2763 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2764 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2765 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2766 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2767 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2768 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2772 case GL_HALF_FLOAT: in gles_effective_internal_format_for_format_and_type()
2774 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2775 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2781 case GL_UNSIGNED_INT_2_10_10_10_REV: in gles_effective_internal_format_for_format_and_type()
2783 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()
2810 case GL_ALPHA: in _mesa_gles_check_internalformat()
2811 case GL_LUMINANCE: in _mesa_gles_check_internalformat()
2812 case GL_LUMINANCE_ALPHA: in _mesa_gles_check_internalformat()
2813 case GL_RGB: in _mesa_gles_check_internalformat()
2814 case GL_RGBA: in _mesa_gles_check_internalformat()
2817 case GL_DEPTH_COMPONENT: in _mesa_gles_check_internalformat()
2820 case GL_BGRA: in _mesa_gles_check_internalformat()
2823 case GL_RGB565: in _mesa_gles_check_internalformat()
2824 case GL_RGB8: in _mesa_gles_check_internalformat()
2825 case GL_RGBA4: in _mesa_gles_check_internalformat()
2826 case GL_RGB5_A1: in _mesa_gles_check_internalformat()
2827 case GL_RGBA8: in _mesa_gles_check_internalformat()
2828 case GL_DEPTH_COMPONENT16: in _mesa_gles_check_internalformat()
2829 case GL_DEPTH_COMPONENT24: in _mesa_gles_check_internalformat()
2830 case GL_DEPTH_COMPONENT32: in _mesa_gles_check_internalformat()
2831 case GL_DEPTH24_STENCIL8: in _mesa_gles_check_internalformat()
2832 case GL_RGB10_EXT: in _mesa_gles_check_internalformat()
2833 case GL_RGB10_A2_EXT: in _mesa_gles_check_internalformat()
2834 case GL_ALPHA8: in _mesa_gles_check_internalformat()
2835 case GL_LUMINANCE8: in _mesa_gles_check_internalformat()
2836 case GL_LUMINANCE8_ALPHA8: in _mesa_gles_check_internalformat()
2837 case GL_LUMINANCE4_ALPHA4: in _mesa_gles_check_internalformat()
2840 case GL_R8: in _mesa_gles_check_internalformat()
2841 case GL_RG8: in _mesa_gles_check_internalformat()
2842 case GL_RED: in _mesa_gles_check_internalformat()
2843 case GL_RG: in _mesa_gles_check_internalformat()
2849 case GL_STENCIL_INDEX8: in _mesa_gles_check_internalformat()
2854 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2855 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2856 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_check_internalformat()
2857 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_check_internalformat()
2862 case GL_COMPRESSED_RED_RGTC1: in _mesa_gles_check_internalformat()
2863 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_gles_check_internalformat()
2864 case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2865 case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2870 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2871 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2872 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2873 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2878 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2879 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2880 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2881 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2886 case GL_R16: in _mesa_gles_check_internalformat()
2887 case GL_RG16: in _mesa_gles_check_internalformat()
2888 case GL_RGB16: in _mesa_gles_check_internalformat()
2889 case GL_RGBA16: in _mesa_gles_check_internalformat()
2894 case GL_R16_SNORM: in _mesa_gles_check_internalformat()
2895 case GL_RG16_SNORM: in _mesa_gles_check_internalformat()
2896 case GL_RGB16_SNORM: in _mesa_gles_check_internalformat()
2897 case GL_RGBA16_SNORM: in _mesa_gles_check_internalformat()
2903 case GL_SR8_EXT: in _mesa_gles_check_internalformat()
2908 case GL_SRG8_EXT: in _mesa_gles_check_internalformat()
2914 case GL_SRGB8_ALPHA8: in _mesa_gles_check_internalformat()
2915 case GL_RGBA8_SNORM: in _mesa_gles_check_internalformat()
2916 case GL_RGBA16F: in _mesa_gles_check_internalformat()
2917 case GL_RGBA32F: in _mesa_gles_check_internalformat()
2918 case GL_RGBA8UI: in _mesa_gles_check_internalformat()
2919 case GL_RGBA8I: in _mesa_gles_check_internalformat()
2920 case GL_RGBA16UI: in _mesa_gles_check_internalformat()
2921 case GL_RGBA16I: in _mesa_gles_check_internalformat()
2922 case GL_RGBA32UI: in _mesa_gles_check_internalformat()
2923 case GL_RGBA32I: in _mesa_gles_check_internalformat()
2924 case GL_RGB10_A2UI: in _mesa_gles_check_internalformat()
2925 case GL_SRGB8: in _mesa_gles_check_internalformat()
2926 case GL_RGB8_SNORM: in _mesa_gles_check_internalformat()
2927 case GL_R11F_G11F_B10F: in _mesa_gles_check_internalformat()
2928 case GL_RGB9_E5: in _mesa_gles_check_internalformat()
2929 case GL_RGB16F: in _mesa_gles_check_internalformat()
2930 case GL_RGB32F: in _mesa_gles_check_internalformat()
2931 case GL_RGB8UI: in _mesa_gles_check_internalformat()
2932 case GL_RGB8I: in _mesa_gles_check_internalformat()
2933 case GL_RGB16UI: in _mesa_gles_check_internalformat()
2934 case GL_RGB16I: in _mesa_gles_check_internalformat()
2935 case GL_RGB32UI: in _mesa_gles_check_internalformat()
2936 case GL_RGB32I: in _mesa_gles_check_internalformat()
2937 case GL_RG8_SNORM: in _mesa_gles_check_internalformat()
2938 case GL_RG16F: in _mesa_gles_check_internalformat()
2939 case GL_RG32F: in _mesa_gles_check_internalformat()
2940 case GL_RG8UI: in _mesa_gles_check_internalformat()
2941 case GL_RG8I: in _mesa_gles_check_internalformat()
2942 case GL_RG16UI: in _mesa_gles_check_internalformat()
2943 case GL_RG16I: in _mesa_gles_check_internalformat()
2944 case GL_RG32UI: in _mesa_gles_check_internalformat()
2945 case GL_RG32I: in _mesa_gles_check_internalformat()
2946 case GL_R8_SNORM: in _mesa_gles_check_internalformat()
2947 case GL_R16F: in _mesa_gles_check_internalformat()
2948 case GL_R32F: in _mesa_gles_check_internalformat()
2949 case GL_R8UI: in _mesa_gles_check_internalformat()
2950 case GL_R8I: in _mesa_gles_check_internalformat()
2951 case GL_R16UI: in _mesa_gles_check_internalformat()
2952 case GL_R16I: in _mesa_gles_check_internalformat()
2953 case GL_R32UI: in _mesa_gles_check_internalformat()
2954 case GL_R32I: in _mesa_gles_check_internalformat()
2955 case GL_DEPTH_COMPONENT32F: in _mesa_gles_check_internalformat()
2956 case GL_DEPTH32F_STENCIL8: in _mesa_gles_check_internalformat()
3036 case GL_BGRA_EXT: in _mesa_gles_error_check_format_and_type()
3044 case GL_BGR_EXT: in _mesa_gles_error_check_format_and_type()
3051 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3053 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3055 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3056 case GL_RGBA8: in _mesa_gles_error_check_format_and_type()
3057 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3058 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3060 case GL_SRGB8_ALPHA8_EXT: in _mesa_gles_error_check_format_and_type()
3064 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3065 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3072 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3077 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3082 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3087 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_gles_error_check_format_and_type()
3089 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3090 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3097 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_gles_error_check_format_and_type()
3099 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3100 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3107 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3109 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3110 case GL_RGB10_A2: in _mesa_gles_error_check_format_and_type()
3111 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3120 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3125 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3127 case GL_RGBA16F: in _mesa_gles_error_check_format_and_type()
3128 case GL_RGBA32F: in _mesa_gles_error_check_format_and_type()
3132 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3141 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3150 case GL_RGBA_INTEGER: in _mesa_gles_error_check_format_and_type()
3154 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3159 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3164 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3169 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3174 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3179 case GL_INT: in _mesa_gles_error_check_format_and_type()
3184 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3194 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3196 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3198 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3199 case GL_RGB8: in _mesa_gles_error_check_format_and_type()
3200 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3202 case GL_SRGB8: in _mesa_gles_error_check_format_and_type()
3211 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3216 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3221 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3226 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_gles_error_check_format_and_type()
3228 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3229 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3236 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_gles_error_check_format_and_type()
3241 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_gles_error_check_format_and_type()
3246 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3250 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3251 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3252 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3259 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3261 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3262 case GL_RGB32F: in _mesa_gles_error_check_format_and_type()
3263 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3264 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3268 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3269 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3271 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3280 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3285 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3287 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3288 case GL_RGB10: 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()
3308 case GL_RGB_INTEGER: in _mesa_gles_error_check_format_and_type()
3312 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3317 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3322 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3327 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3332 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3337 case GL_INT: in _mesa_gles_error_check_format_and_type()
3347 case GL_RG: in _mesa_gles_error_check_format_and_type()
3351 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3358 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3364 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3369 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3374 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3375 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3377 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3381 case GL_RG: in _mesa_gles_error_check_format_and_type()
3390 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3392 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3393 case GL_RG32F: in _mesa_gles_error_check_format_and_type()
3395 case GL_RG: in _mesa_gles_error_check_format_and_type()
3409 case GL_RG_INTEGER: in _mesa_gles_error_check_format_and_type()
3413 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3418 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3423 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3428 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3433 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3438 case GL_INT: in _mesa_gles_error_check_format_and_type()
3448 case GL_RED: in _mesa_gles_error_check_format_and_type()
3452 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3460 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3466 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3471 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3476 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3477 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3479 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3483 case GL_RG: in _mesa_gles_error_check_format_and_type()
3484 case GL_RED: in _mesa_gles_error_check_format_and_type()
3493 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3495 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3496 case GL_R32F: in _mesa_gles_error_check_format_and_type()
3498 case GL_RED: in _mesa_gles_error_check_format_and_type()
3512 case GL_RED_INTEGER: in _mesa_gles_error_check_format_and_type()
3516 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3521 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3526 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3531 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3536 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3541 case GL_INT: in _mesa_gles_error_check_format_and_type()
3551 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3553 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3559 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3561 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3562 case GL_DEPTH_COMPONENT16: in _mesa_gles_error_check_format_and_type()
3563 case GL_DEPTH_COMPONENT24: in _mesa_gles_error_check_format_and_type()
3570 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3580 case GL_DEPTH_STENCIL: in _mesa_gles_error_check_format_and_type()
3582 case GL_UNSIGNED_INT_24_8: in _mesa_gles_error_check_format_and_type()
3588 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_gles_error_check_format_and_type()
3598 case GL_STENCIL_INDEX: in _mesa_gles_error_check_format_and_type()
3605 case GL_ALPHA: in _mesa_gles_error_check_format_and_type()
3606 case GL_LUMINANCE: in _mesa_gles_error_check_format_and_type()
3607 case GL_LUMINANCE_ALPHA: in _mesa_gles_error_check_format_and_type()
3609 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3613 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3617 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3649 case GL_RGBA: in get_swizzle_from_gl_format()
3650 case GL_RGBA_INTEGER_EXT: in get_swizzle_from_gl_format()
3653 case GL_BGRA: in get_swizzle_from_gl_format()
3654 case GL_BGRA_INTEGER_EXT: in get_swizzle_from_gl_format()
3657 case GL_ABGR_EXT: in get_swizzle_from_gl_format()
3660 case GL_RGB: in get_swizzle_from_gl_format()
3661 case GL_RGB_INTEGER_EXT: in get_swizzle_from_gl_format()
3664 case GL_BGR: in get_swizzle_from_gl_format()
3665 case GL_BGR_INTEGER_EXT: in get_swizzle_from_gl_format()
3668 case GL_LUMINANCE_ALPHA: in get_swizzle_from_gl_format()
3669 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in get_swizzle_from_gl_format()
3672 case GL_RG: in get_swizzle_from_gl_format()
3673 case GL_RG_INTEGER: in get_swizzle_from_gl_format()
3676 case GL_RED: in get_swizzle_from_gl_format()
3677 case GL_RED_INTEGER_EXT: in get_swizzle_from_gl_format()
3680 case GL_GREEN: in get_swizzle_from_gl_format()
3681 case GL_GREEN_INTEGER_EXT: in get_swizzle_from_gl_format()
3684 case GL_BLUE: in get_swizzle_from_gl_format()
3685 case GL_BLUE_INTEGER_EXT: in get_swizzle_from_gl_format()
3688 case GL_ALPHA: in get_swizzle_from_gl_format()
3689 case GL_ALPHA_INTEGER_EXT: in get_swizzle_from_gl_format()
3692 case GL_LUMINANCE: in get_swizzle_from_gl_format()
3693 case GL_LUMINANCE_INTEGER_EXT: in get_swizzle_from_gl_format()
3696 case GL_INTENSITY: in get_swizzle_from_gl_format()
3699 case GL_DEPTH_COMPONENT: in get_swizzle_from_gl_format()
3702 case GL_STENCIL_INDEX: in get_swizzle_from_gl_format()
3714 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_swap_bytes_in_type_enum()
3717 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_swap_bytes_in_type_enum()
3720 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_swap_bytes_in_type_enum()
3723 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_swap_bytes_in_type_enum()
3726 case GL_BYTE: in _mesa_swap_bytes_in_type_enum()
3727 case GL_UNSIGNED_BYTE: in _mesa_swap_bytes_in_type_enum()
3769 case GL_UNSIGNED_BYTE: in _mesa_format_from_format_and_type()
3772 case GL_BYTE: in _mesa_format_from_format_and_type()
3776 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
3779 case GL_SHORT: in _mesa_format_from_format_and_type()
3783 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
3786 case GL_INT: in _mesa_format_from_format_and_type()
3790 case GL_HALF_FLOAT: in _mesa_format_from_format_and_type()
3791 case GL_HALF_FLOAT_OES: in _mesa_format_from_format_and_type()
3796 case GL_FLOAT: in _mesa_format_from_format_and_type()
3816 case GL_DEPTH_COMPONENT: in _mesa_format_from_format_and_type()
3819 case GL_STENCIL_INDEX: in _mesa_format_from_format_and_type()
3840 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_format_from_format_and_type()
3848 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_format_from_format_and_type()
3856 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_format_from_format_and_type()
3868 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_format_from_format_and_type()
3880 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_format_from_format_and_type()
3890 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_format_from_format_and_type()
3900 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_format_from_format_and_type()
3906 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_format_from_format_and_type()
3912 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_format_from_format_and_type()
3916 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_format_from_format_and_type()
3926 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_format_from_format_and_type()
3938 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_format_from_format_and_type()
3950 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_format_from_format_and_type()
3962 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_format_from_format_and_type()
3966 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_format_from_format_and_type()
3970 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_format_from_format_and_type()
3974 case GL_FLOAT: in _mesa_format_from_format_and_type()
3978 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
3982 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
3986 case GL_UNSIGNED_INT_24_8: in _mesa_format_from_format_and_type()
3992 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_format_from_format_and_type()
4006 * format in that case. in _mesa_format_from_format_and_type()
4035 case GL_R8: in _mesa_is_es3_color_renderable()
4036 case GL_RG8: in _mesa_is_es3_color_renderable()
4037 case GL_RGB8: in _mesa_is_es3_color_renderable()
4038 case GL_RGB565: in _mesa_is_es3_color_renderable()
4039 case GL_RGBA4: in _mesa_is_es3_color_renderable()
4040 case GL_RGB5_A1: in _mesa_is_es3_color_renderable()
4041 case GL_RGBA8: in _mesa_is_es3_color_renderable()
4042 case GL_RGB10_A2: in _mesa_is_es3_color_renderable()
4043 case GL_RGB10_A2UI: in _mesa_is_es3_color_renderable()
4044 case GL_SRGB8_ALPHA8: in _mesa_is_es3_color_renderable()
4045 case GL_R16F: in _mesa_is_es3_color_renderable()
4046 case GL_RG16F: in _mesa_is_es3_color_renderable()
4047 case GL_RGBA16F: in _mesa_is_es3_color_renderable()
4048 case GL_R32F: in _mesa_is_es3_color_renderable()
4049 case GL_RG32F: in _mesa_is_es3_color_renderable()
4050 case GL_RGBA32F: in _mesa_is_es3_color_renderable()
4051 case GL_R11F_G11F_B10F: in _mesa_is_es3_color_renderable()
4052 case GL_R8I: in _mesa_is_es3_color_renderable()
4053 case GL_R8UI: in _mesa_is_es3_color_renderable()
4054 case GL_R16I: in _mesa_is_es3_color_renderable()
4055 case GL_R16UI: in _mesa_is_es3_color_renderable()
4056 case GL_R32I: in _mesa_is_es3_color_renderable()
4057 case GL_R32UI: in _mesa_is_es3_color_renderable()
4058 case GL_RG8I: in _mesa_is_es3_color_renderable()
4059 case GL_RG8UI: in _mesa_is_es3_color_renderable()
4060 case GL_RG16I: in _mesa_is_es3_color_renderable()
4061 case GL_RG16UI: in _mesa_is_es3_color_renderable()
4062 case GL_RG32I: in _mesa_is_es3_color_renderable()
4063 case GL_RG32UI: in _mesa_is_es3_color_renderable()
4064 case GL_RGBA8I: in _mesa_is_es3_color_renderable()
4065 case GL_RGBA8UI: in _mesa_is_es3_color_renderable()
4066 case GL_RGBA16I: in _mesa_is_es3_color_renderable()
4067 case GL_RGBA16UI: in _mesa_is_es3_color_renderable()
4068 case GL_RGBA32I: in _mesa_is_es3_color_renderable()
4069 case GL_RGBA32UI: in _mesa_is_es3_color_renderable()
4071 case GL_R16: in _mesa_is_es3_color_renderable()
4072 case GL_RG16: in _mesa_is_es3_color_renderable()
4073 case GL_RGBA16: in _mesa_is_es3_color_renderable()
4075 case GL_R8_SNORM: in _mesa_is_es3_color_renderable()
4076 case GL_RG8_SNORM: in _mesa_is_es3_color_renderable()
4077 case GL_RGBA8_SNORM: in _mesa_is_es3_color_renderable()
4079 case GL_R16_SNORM: in _mesa_is_es3_color_renderable()
4080 case GL_RG16_SNORM: in _mesa_is_es3_color_renderable()
4081 case GL_RGBA16_SNORM: in _mesa_is_es3_color_renderable()
4098 case GL_R8: in _mesa_is_es3_texture_filterable()
4099 case GL_R8_SNORM: in _mesa_is_es3_texture_filterable()
4100 case GL_RG8: in _mesa_is_es3_texture_filterable()
4101 case GL_RG8_SNORM: in _mesa_is_es3_texture_filterable()
4102 case GL_RGB8: in _mesa_is_es3_texture_filterable()
4103 case GL_RGB8_SNORM: in _mesa_is_es3_texture_filterable()
4104 case GL_RGB565: in _mesa_is_es3_texture_filterable()
4105 case GL_RGBA4: in _mesa_is_es3_texture_filterable()
4106 case GL_RGB5_A1: in _mesa_is_es3_texture_filterable()
4107 case GL_RGBA8: in _mesa_is_es3_texture_filterable()
4108 case GL_RGBA8_SNORM: in _mesa_is_es3_texture_filterable()
4109 case GL_RGB10_A2: in _mesa_is_es3_texture_filterable()
4110 case GL_SRGB8: in _mesa_is_es3_texture_filterable()
4111 case GL_SRGB8_ALPHA8: in _mesa_is_es3_texture_filterable()
4112 case GL_R16F: in _mesa_is_es3_texture_filterable()
4113 case GL_RG16F: in _mesa_is_es3_texture_filterable()
4114 case GL_RGB16F: in _mesa_is_es3_texture_filterable()
4115 case GL_RGBA16F: in _mesa_is_es3_texture_filterable()
4116 case GL_R11F_G11F_B10F: in _mesa_is_es3_texture_filterable()
4117 case GL_RGB9_E5: in _mesa_is_es3_texture_filterable()
4119 case GL_R16: in _mesa_is_es3_texture_filterable()
4120 case GL_R16_SNORM: in _mesa_is_es3_texture_filterable()
4121 case GL_RG16: in _mesa_is_es3_texture_filterable()
4122 case GL_RG16_SNORM: in _mesa_is_es3_texture_filterable()
4123 case GL_RGB16: in _mesa_is_es3_texture_filterable()
4124 case GL_RGB16_SNORM: in _mesa_is_es3_texture_filterable()
4125 case GL_RGBA16: in _mesa_is_es3_texture_filterable()
4126 case GL_RGBA16_SNORM: in _mesa_is_es3_texture_filterable()
4128 case GL_R32F: in _mesa_is_es3_texture_filterable()
4129 case GL_RG32F: in _mesa_is_es3_texture_filterable()
4130 case GL_RGB32F: in _mesa_is_es3_texture_filterable()
4131 case GL_RGBA32F: in _mesa_is_es3_texture_filterable()