Lines Matching refs:i
76 GLuint i, a, b; in flip_bytes() local
77 for (i = 0; i < n; i++) { in flip_bytes()
78 b = (GLuint) p[i]; /* words are often faster than bytes */ in flip_bytes()
87 p[i] = (GLubyte) a; in flip_bytes()
107 GLint i; in _mesa_unpack_polygon_stipple() local
108 for (i = 0; i < 32; i++) { in _mesa_unpack_polygon_stipple()
109 dest[i] = (p[0] << 24) in _mesa_unpack_polygon_stipple()
132 GLint i; in _mesa_pack_polygon_stipple() local
133 for (i = 0; i < 32; i++) { in _mesa_pack_polygon_stipple()
134 ptrn[i * 4 + 0] = (GLubyte) ((pattern[i] >> 24) & 0xff); in _mesa_pack_polygon_stipple()
135 ptrn[i * 4 + 1] = (GLubyte) ((pattern[i] >> 16) & 0xff); in _mesa_pack_polygon_stipple()
136 ptrn[i * 4 + 2] = (GLubyte) ((pattern[i] >> 8 ) & 0xff); in _mesa_pack_polygon_stipple()
137 ptrn[i * 4 + 3] = (GLubyte) ((pattern[i] ) & 0xff); in _mesa_pack_polygon_stipple()
183 GLint i; in _mesa_unpack_bitmap() local
190 for (i = 0; i < width; i++) { in _mesa_unpack_bitmap()
217 for (i = 0; i < width; i++) { in _mesa_unpack_bitmap()
275 GLint i; in _mesa_pack_bitmap() local
282 for (i = 0; i < width; i++) { in _mesa_pack_bitmap()
309 for (i = 0; i < width; i++) { in _mesa_pack_bitmap()
535 GLuint i; in _mesa_pack_rgba_span_from_uints() local
559 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
560 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) << 5) in _mesa_pack_rgba_span_from_uints()
561 | (CLAMP(rgba[i][GCOMP], 0, 7) << 2) in _mesa_pack_rgba_span_from_uints()
562 | (CLAMP(rgba[i][BCOMP], 0, 3) ); in _mesa_pack_rgba_span_from_uints()
571 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
572 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) ) in _mesa_pack_rgba_span_from_uints()
573 | (CLAMP(rgba[i][GCOMP], 0, 7) << 3) in _mesa_pack_rgba_span_from_uints()
574 | (CLAMP(rgba[i][BCOMP], 0, 3) << 6); in _mesa_pack_rgba_span_from_uints()
583 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
584 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_uints()
585 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5) in _mesa_pack_rgba_span_from_uints()
586 | (CLAMP(rgba[i][BCOMP], 0, 31) ); in _mesa_pack_rgba_span_from_uints()
595 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
596 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_uints()
597 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5) in _mesa_pack_rgba_span_from_uints()
598 | (CLAMP(rgba[i][BCOMP], 0, 31) << 11); in _mesa_pack_rgba_span_from_uints()
607 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
608 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_uints()
609 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
610 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
611 | (CLAMP(rgba[i][ACOMP], 0, 15) ); in _mesa_pack_rgba_span_from_uints()
616 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
617 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_uints()
618 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
619 | (CLAMP(rgba[i][RCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
620 | (CLAMP(rgba[i][ACOMP], 0, 15) ); in _mesa_pack_rgba_span_from_uints()
625 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
626 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_uints()
627 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
628 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
629 | (CLAMP(rgba[i][RCOMP], 0, 15) ); in _mesa_pack_rgba_span_from_uints()
638 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
639 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 15) ) in _mesa_pack_rgba_span_from_uints()
640 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
641 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
642 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_uints()
647 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
648 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) ) in _mesa_pack_rgba_span_from_uints()
649 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
650 | (CLAMP(rgba[i][RCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
651 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_uints()
656 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
657 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 15) ) in _mesa_pack_rgba_span_from_uints()
658 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_uints()
659 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_uints()
660 | (CLAMP(rgba[i][RCOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_uints()
669 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
670 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_uints()
671 | (CLAMP(rgba[i][GCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_uints()
672 | (CLAMP(rgba[i][BCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_uints()
673 | (CLAMP(rgba[i][ACOMP], 0, 1) ); in _mesa_pack_rgba_span_from_uints()
678 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
679 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_uints()
680 | (CLAMP(rgba[i][GCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_uints()
681 | (CLAMP(rgba[i][RCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_uints()
682 | (CLAMP(rgba[i][ACOMP], 0, 1) ); in _mesa_pack_rgba_span_from_uints()
687 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
688 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_uints()
689 | (CLAMP(rgba[i][BCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_uints()
690 | (CLAMP(rgba[i][GCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_uints()
691 | (CLAMP(rgba[i][RCOMP], 0, 1) ); in _mesa_pack_rgba_span_from_uints()
700 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
701 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_uints()
702 | (CLAMP(rgba[i][GCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_uints()
703 | (CLAMP(rgba[i][BCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_uints()
704 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_uints()
709 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
710 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_uints()
711 | (CLAMP(rgba[i][GCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_uints()
712 | (CLAMP(rgba[i][RCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_uints()
713 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_uints()
718 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
719 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 31) ) in _mesa_pack_rgba_span_from_uints()
720 | (CLAMP(rgba[i][BCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_uints()
721 | (CLAMP(rgba[i][GCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_uints()
722 | (CLAMP(rgba[i][RCOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_uints()
731 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
732 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_uints()
733 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
734 | (CLAMP(rgba[i][BCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
735 | (CLAMP(rgba[i][ACOMP], 0, 255) ); in _mesa_pack_rgba_span_from_uints()
740 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
741 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_uints()
742 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
743 | (CLAMP(rgba[i][RCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
744 | (CLAMP(rgba[i][ACOMP], 0, 255) ); in _mesa_pack_rgba_span_from_uints()
749 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
750 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_uints()
751 | (CLAMP(rgba[i][BCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
752 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
753 | (CLAMP(rgba[i][RCOMP], 0, 255) ); in _mesa_pack_rgba_span_from_uints()
762 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
763 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 255) ) in _mesa_pack_rgba_span_from_uints()
764 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
765 | (CLAMP(rgba[i][BCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
766 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_uints()
771 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
772 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 255) ) in _mesa_pack_rgba_span_from_uints()
773 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
774 | (CLAMP(rgba[i][RCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
775 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_uints()
780 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
781 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 255) ) in _mesa_pack_rgba_span_from_uints()
782 | (CLAMP(rgba[i][BCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_uints()
783 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_uints()
784 | (CLAMP(rgba[i][RCOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_uints()
793 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
794 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_uints()
795 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_uints()
796 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_uints()
797 | (CLAMP(rgba[i][ACOMP], 0, 3) ); in _mesa_pack_rgba_span_from_uints()
802 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
803 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_uints()
804 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_uints()
805 | (CLAMP(rgba[i][RCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_uints()
806 | (CLAMP(rgba[i][ACOMP], 0, 3) ); in _mesa_pack_rgba_span_from_uints()
811 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
812 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_uints()
813 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_uints()
814 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_uints()
815 | (CLAMP(rgba[i][RCOMP], 0, 3) ); in _mesa_pack_rgba_span_from_uints()
824 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
825 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_uints()
826 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_uints()
827 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_uints()
828 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_uints()
833 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
834 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_uints()
835 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_uints()
836 | (CLAMP(rgba[i][RCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_uints()
837 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_uints()
842 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_uints()
843 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_uints()
844 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_uints()
845 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_uints()
846 | (CLAMP(rgba[i][RCOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_uints()
921 GLuint i; in _mesa_pack_rgba_span_from_ints() local
946 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
947 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) << 5) in _mesa_pack_rgba_span_from_ints()
948 | (CLAMP(rgba[i][GCOMP], 0, 7) << 2) in _mesa_pack_rgba_span_from_ints()
949 | (CLAMP(rgba[i][BCOMP], 0, 3) ); in _mesa_pack_rgba_span_from_ints()
958 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
959 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 7) ) in _mesa_pack_rgba_span_from_ints()
960 | (CLAMP(rgba[i][GCOMP], 0, 7) << 3) in _mesa_pack_rgba_span_from_ints()
961 | (CLAMP(rgba[i][BCOMP], 0, 3) << 6); in _mesa_pack_rgba_span_from_ints()
970 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
971 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_ints()
972 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5) in _mesa_pack_rgba_span_from_ints()
973 | (CLAMP(rgba[i][BCOMP], 0, 31) ); in _mesa_pack_rgba_span_from_ints()
982 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
983 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_ints()
984 | (CLAMP(rgba[i][GCOMP], 0, 63) << 5) in _mesa_pack_rgba_span_from_ints()
985 | (CLAMP(rgba[i][BCOMP], 0, 31) << 11); in _mesa_pack_rgba_span_from_ints()
994 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
995 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_ints()
996 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
997 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
998 | (CLAMP(rgba[i][ACOMP], 0, 15) ); in _mesa_pack_rgba_span_from_ints()
1003 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1004 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_ints()
1005 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
1006 | (CLAMP(rgba[i][RCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
1007 | (CLAMP(rgba[i][ACOMP], 0, 15) ); in _mesa_pack_rgba_span_from_ints()
1012 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1013 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 15) << 12) in _mesa_pack_rgba_span_from_ints()
1014 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
1015 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
1016 | (CLAMP(rgba[i][RCOMP], 0, 15) ); in _mesa_pack_rgba_span_from_ints()
1025 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1026 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 15) ) in _mesa_pack_rgba_span_from_ints()
1027 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
1028 | (CLAMP(rgba[i][BCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
1029 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_ints()
1034 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1035 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 15) ) in _mesa_pack_rgba_span_from_ints()
1036 | (CLAMP(rgba[i][GCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
1037 | (CLAMP(rgba[i][RCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
1038 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_ints()
1043 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1044 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 15) ) in _mesa_pack_rgba_span_from_ints()
1045 | (CLAMP(rgba[i][BCOMP], 0, 15) << 4) in _mesa_pack_rgba_span_from_ints()
1046 | (CLAMP(rgba[i][GCOMP], 0, 15) << 8) in _mesa_pack_rgba_span_from_ints()
1047 | (CLAMP(rgba[i][RCOMP], 0, 15) << 12); in _mesa_pack_rgba_span_from_ints()
1056 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1057 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_ints()
1058 | (CLAMP(rgba[i][GCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_ints()
1059 | (CLAMP(rgba[i][BCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_ints()
1060 | (CLAMP(rgba[i][ACOMP], 0, 1) ); in _mesa_pack_rgba_span_from_ints()
1065 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1066 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_ints()
1067 | (CLAMP(rgba[i][GCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_ints()
1068 | (CLAMP(rgba[i][RCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_ints()
1069 | (CLAMP(rgba[i][ACOMP], 0, 1) ); in _mesa_pack_rgba_span_from_ints()
1074 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1075 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 31) << 11) in _mesa_pack_rgba_span_from_ints()
1076 | (CLAMP(rgba[i][BCOMP], 0, 31) << 6) in _mesa_pack_rgba_span_from_ints()
1077 | (CLAMP(rgba[i][GCOMP], 0, 31) << 1) in _mesa_pack_rgba_span_from_ints()
1078 | (CLAMP(rgba[i][RCOMP], 0, 1) ); in _mesa_pack_rgba_span_from_ints()
1087 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1088 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_ints()
1089 | (CLAMP(rgba[i][GCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_ints()
1090 | (CLAMP(rgba[i][BCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_ints()
1091 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_ints()
1096 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1097 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 31) ) in _mesa_pack_rgba_span_from_ints()
1098 | (CLAMP(rgba[i][GCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_ints()
1099 | (CLAMP(rgba[i][RCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_ints()
1100 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_ints()
1105 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1106 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 31) ) in _mesa_pack_rgba_span_from_ints()
1107 | (CLAMP(rgba[i][BCOMP], 0, 31) << 5) in _mesa_pack_rgba_span_from_ints()
1108 | (CLAMP(rgba[i][GCOMP], 0, 31) << 10) in _mesa_pack_rgba_span_from_ints()
1109 | (CLAMP(rgba[i][RCOMP], 0, 1) << 15); in _mesa_pack_rgba_span_from_ints()
1118 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1119 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_ints()
1120 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1121 | (CLAMP(rgba[i][BCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1122 | (CLAMP(rgba[i][ACOMP], 0, 255) ); in _mesa_pack_rgba_span_from_ints()
1127 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1128 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_ints()
1129 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1130 | (CLAMP(rgba[i][RCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1131 | (CLAMP(rgba[i][ACOMP], 0, 255) ); in _mesa_pack_rgba_span_from_ints()
1136 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1137 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 255) << 24) in _mesa_pack_rgba_span_from_ints()
1138 | (CLAMP(rgba[i][BCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1139 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1140 | (CLAMP(rgba[i][RCOMP], 0, 255) ); in _mesa_pack_rgba_span_from_ints()
1149 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1150 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 255) ) in _mesa_pack_rgba_span_from_ints()
1151 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1152 | (CLAMP(rgba[i][BCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1153 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_ints()
1158 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1159 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 255) ) in _mesa_pack_rgba_span_from_ints()
1160 | (CLAMP(rgba[i][GCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1161 | (CLAMP(rgba[i][RCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1162 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_ints()
1167 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1168 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 255) ) in _mesa_pack_rgba_span_from_ints()
1169 | (CLAMP(rgba[i][BCOMP], 0, 255) << 8) in _mesa_pack_rgba_span_from_ints()
1170 | (CLAMP(rgba[i][GCOMP], 0, 255) << 16) in _mesa_pack_rgba_span_from_ints()
1171 | (CLAMP(rgba[i][RCOMP], 0, 255) << 24); in _mesa_pack_rgba_span_from_ints()
1180 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1181 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_ints()
1182 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_ints()
1183 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_ints()
1184 | (CLAMP(rgba[i][ACOMP], 0, 3) ); in _mesa_pack_rgba_span_from_ints()
1189 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1190 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_ints()
1191 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_ints()
1192 | (CLAMP(rgba[i][RCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_ints()
1193 | (CLAMP(rgba[i][ACOMP], 0, 3) ); in _mesa_pack_rgba_span_from_ints()
1198 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1199 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 1023) << 22) in _mesa_pack_rgba_span_from_ints()
1200 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 12) in _mesa_pack_rgba_span_from_ints()
1201 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 2) in _mesa_pack_rgba_span_from_ints()
1202 | (CLAMP(rgba[i][RCOMP], 0, 3) ); in _mesa_pack_rgba_span_from_ints()
1211 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1212 dst[i] = (CLAMP(rgba[i][RCOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_ints()
1213 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_ints()
1214 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_ints()
1215 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_ints()
1220 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1221 dst[i] = (CLAMP(rgba[i][BCOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_ints()
1222 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_ints()
1223 | (CLAMP(rgba[i][RCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_ints()
1224 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_ints()
1229 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_from_ints()
1230 dst[i] = (CLAMP(rgba[i][ACOMP], 0, 1023) ) in _mesa_pack_rgba_span_from_ints()
1231 | (CLAMP(rgba[i][BCOMP], 0, 1023) << 10) in _mesa_pack_rgba_span_from_ints()
1232 | (CLAMP(rgba[i][GCOMP], 0, 1023) << 20) in _mesa_pack_rgba_span_from_ints()
1233 | (CLAMP(rgba[i][RCOMP], 0, 3) << 30); in _mesa_pack_rgba_span_from_ints()
1267 GLuint i; in _mesa_pack_rgba_span_float() local
1302 for (i = 0; i < n; i++) { in _mesa_pack_rgba_span_float()
1303 rgba[i][RCOMP] = CLAMP(rgba[i][RCOMP], min, max); in _mesa_pack_rgba_span_float()
1304 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], min, max); in _mesa_pack_rgba_span_float()
1305 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], min, max); in _mesa_pack_rgba_span_float()
1306 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], min, max); in _mesa_pack_rgba_span_float()
1313 for (i = 0; i < n; i++) { in _mesa_pack_rgba_span_float()
1314 GLfloat sum = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1315 luminance[i] = CLAMP(sum, 0.0F, 1.0F); in _mesa_pack_rgba_span_float()
1319 for (i = 0; i < n; i++) { in _mesa_pack_rgba_span_float()
1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1334 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1335 dst[i] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1338 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1339 dst[i] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1342 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1343 dst[i] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1346 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1347 dst[i] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1350 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1351 dst[i] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1354 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1355 dst[i*2+0] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1356 dst[i*2+1] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1360 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1361 dst[i*2+0] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1362 dst[i*2+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1366 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1367 dst[i*3+0] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1368 dst[i*3+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1369 dst[i*3+2] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1373 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1374 dst[i*4+0] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1375 dst[i*4+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1376 dst[i*4+2] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1377 dst[i*4+3] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1381 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1382 dst[i*3+0] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1383 dst[i*3+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1384 dst[i*3+2] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1388 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1389 dst[i*4+0] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1390 dst[i*4+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1391 dst[i*4+2] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1392 dst[i*4+3] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1396 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1397 dst[i*4+0] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1398 dst[i*4+1] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1399 dst[i*4+2] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1400 dst[i*4+3] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1404 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1405 dst[i] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1409 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1410 dst[i] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1414 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1415 dst[i] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1419 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1420 dst[i] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1424 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1425 dst[i*2+0] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1426 dst[i*2+1] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1430 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1431 dst[i*3+0] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1432 dst[i*3+1] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1433 dst[i*3+2] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1437 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1438 dst[i*4+0] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1439 dst[i*4+1] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1440 dst[i*4+2] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1441 dst[i*4+3] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1445 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1446 dst[i*3+0] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1447 dst[i*3+1] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1448 dst[i*3+2] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1452 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1453 dst[i*4+0] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1454 dst[i*4+1] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1455 dst[i*4+2] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1456 dst[i*4+3] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1460 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1461 dst[i*2+0] = (GLubyte) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1462 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1463 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1464 dst[i*2+1] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1468 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1469 dst[i] = (GLubyte) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1470 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1471 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1476 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1477 dst[i*2+0] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1478 dst[i*2+1] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1491 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1492 dst[i] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1495 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1496 dst[i] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1499 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1500 dst[i] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1503 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1504 dst[i] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1507 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1508 dst[i] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1511 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1512 dst[i*2+0] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1513 dst[i*2+1] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1517 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1518 dst[i*2+0] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1519 dst[i*2+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1523 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1524 dst[i*3+0] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1525 dst[i*3+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1526 dst[i*3+2] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1530 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1531 dst[i*4+0] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1532 dst[i*4+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1533 dst[i*4+2] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1534 dst[i*4+3] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1538 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1539 dst[i*3+0] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1540 dst[i*3+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1541 dst[i*3+2] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1545 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1546 dst[i*4+0] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1547 dst[i*4+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1548 dst[i*4+2] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1549 dst[i*4+3] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1553 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1554 dst[i*4+0] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1555 dst[i*4+1] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1556 dst[i*4+2] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1557 dst[i*4+3] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1561 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1562 dst[i] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1566 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1567 dst[i] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1571 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1572 dst[i] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1576 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1577 dst[i] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1581 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1582 dst[i*2+0] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1583 dst[i*2+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1587 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1588 dst[i*3+0] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1589 dst[i*3+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1590 dst[i*3+2] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1594 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1595 dst[i*4+0] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1596 dst[i*4+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1597 dst[i*4+2] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1598 dst[i*4+3] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1602 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1603 dst[i*3+0] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1604 dst[i*3+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1605 dst[i*3+2] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1609 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1610 dst[i*4+0] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1611 dst[i*4+1] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1612 dst[i*4+2] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1613 dst[i*4+3] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1617 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1618 dst[i*2+0] = (GLbyte) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1619 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1620 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1621 dst[i*2+1] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1625 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1626 dst[i] = (GLbyte) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1627 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1628 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1633 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1634 dst[i*2+0] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1635 dst[i*2+1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1648 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1649 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1652 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1653 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1656 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1657 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1660 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1661 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1664 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1665 UNCLAMPED_FLOAT_TO_USHORT(dst[i], luminance[i]); in _mesa_pack_rgba_span_float()
1668 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1669 UNCLAMPED_FLOAT_TO_USHORT(dst[i*2+0], luminance[i]); in _mesa_pack_rgba_span_float()
1670 CLAMPED_FLOAT_TO_USHORT(dst[i*2+1], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1674 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1675 CLAMPED_FLOAT_TO_USHORT(dst[i*2+0], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1676 CLAMPED_FLOAT_TO_USHORT(dst[i*2+1], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1680 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1681 CLAMPED_FLOAT_TO_USHORT(dst[i*3+0], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1682 CLAMPED_FLOAT_TO_USHORT(dst[i*3+1], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1683 CLAMPED_FLOAT_TO_USHORT(dst[i*3+2], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1687 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1688 CLAMPED_FLOAT_TO_USHORT(dst[i*4+0], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1689 CLAMPED_FLOAT_TO_USHORT(dst[i*4+1], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1690 CLAMPED_FLOAT_TO_USHORT(dst[i*4+2], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1691 CLAMPED_FLOAT_TO_USHORT(dst[i*4+3], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1695 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1696 CLAMPED_FLOAT_TO_USHORT(dst[i*3+0], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1697 CLAMPED_FLOAT_TO_USHORT(dst[i*3+1], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1698 CLAMPED_FLOAT_TO_USHORT(dst[i*3+2], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1702 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1703 CLAMPED_FLOAT_TO_USHORT(dst[i*4+0], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1704 CLAMPED_FLOAT_TO_USHORT(dst[i*4+1], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1705 CLAMPED_FLOAT_TO_USHORT(dst[i*4+2], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1706 CLAMPED_FLOAT_TO_USHORT(dst[i*4+3], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1710 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1711 CLAMPED_FLOAT_TO_USHORT(dst[i*4+0], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1712 CLAMPED_FLOAT_TO_USHORT(dst[i*4+1], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1713 CLAMPED_FLOAT_TO_USHORT(dst[i*4+2], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1714 CLAMPED_FLOAT_TO_USHORT(dst[i*4+3], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1718 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1719 dst[i] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1723 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1724 dst[i] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1728 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1729 dst[i] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1733 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1734 dst[i] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1738 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1739 dst[i*2+0] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1740 dst[i*2+1] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1744 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1745 dst[i*3+0] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1746 dst[i*3+1] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1747 dst[i*3+2] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1751 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1752 dst[i*4+0] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1753 dst[i*4+1] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1754 dst[i*4+2] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1755 dst[i*4+3] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1759 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1760 dst[i*3+0] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1761 dst[i*3+1] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1762 dst[i*3+2] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1766 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1767 dst[i*4+0] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1768 dst[i*4+1] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1769 dst[i*4+2] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1770 dst[i*4+3] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1774 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1775 dst[i*2+0] = (GLushort) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1776 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1777 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1778 dst[i*2+1] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1782 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1783 dst[i] = (GLushort) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1784 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1785 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1790 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1791 dst[i*2+0] = FLOAT_TO_USHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1792 dst[i*2+1] = FLOAT_TO_USHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1805 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1806 dst[i] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1809 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1810 dst[i] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1813 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1814 dst[i] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1817 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1818 dst[i] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1821 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1822 dst[i] = FLOAT_TO_SHORT(luminance[i]); in _mesa_pack_rgba_span_float()
1825 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1826 dst[i*2+0] = FLOAT_TO_SHORT(luminance[i]); in _mesa_pack_rgba_span_float()
1827 dst[i*2+1] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1831 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1832 dst[i*2+0] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1833 dst[i*2+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1837 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1838 dst[i*3+0] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1839 dst[i*3+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1840 dst[i*3+2] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1844 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1845 dst[i*4+0] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1846 dst[i*4+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1847 dst[i*4+2] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1848 dst[i*4+3] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1852 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1853 dst[i*3+0] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1854 dst[i*3+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1855 dst[i*3+2] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1859 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1860 dst[i*4+0] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1861 dst[i*4+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1862 dst[i*4+2] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1863 dst[i*4+3] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1867 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1868 dst[i*4+0] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1869 dst[i*4+1] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1870 dst[i*4+2] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1871 dst[i*4+3] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1875 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1876 dst[i] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1880 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1881 dst[i] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1885 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1886 dst[i] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1890 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1891 dst[i] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1895 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1896 dst[i*2+0] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1897 dst[i*2+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1901 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1902 dst[i*3+0] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1903 dst[i*3+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1904 dst[i*3+2] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1908 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1909 dst[i*4+0] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1910 dst[i*4+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1911 dst[i*4+2] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1912 dst[i*4+3] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1916 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1917 dst[i*3+0] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1918 dst[i*3+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1919 dst[i*3+2] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1923 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1924 dst[i*4+0] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1925 dst[i*4+1] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1926 dst[i*4+2] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1927 dst[i*4+3] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1931 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1932 dst[i*2+0] = (GLshort) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1933 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1934 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1935 dst[i*2+1] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1939 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1940 dst[i] = (GLshort) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
1941 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
1942 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1947 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1948 dst[i*2+0] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1949 dst[i*2+1] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1962 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1963 dst[i] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1966 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1967 dst[i] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1970 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1971 dst[i] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1974 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1975 dst[i] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1978 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
1979 dst[i] = FLOAT_TO_UINT(luminance[i]); in _mesa_pack_rgba_span_float()
1982 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1983 dst[i*2+0] = FLOAT_TO_UINT(luminance[i]); in _mesa_pack_rgba_span_float()
1984 dst[i*2+1] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1988 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1989 dst[i*2+0] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1990 dst[i*2+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1994 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
1995 dst[i*3+0] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1996 dst[i*3+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1997 dst[i*3+2] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2001 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2002 dst[i*4+0] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2003 dst[i*4+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2004 dst[i*4+2] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2005 dst[i*4+3] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2009 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2010 dst[i*3+0] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2011 dst[i*3+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2012 dst[i*3+2] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2016 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2017 dst[i*4+0] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2018 dst[i*4+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2019 dst[i*4+2] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2020 dst[i*4+3] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2024 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2025 dst[i*4+0] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2026 dst[i*4+1] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2027 dst[i*4+2] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2028 dst[i*4+3] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2032 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2033 dst[i] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2037 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2038 dst[i] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2042 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2043 dst[i] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2047 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2048 dst[i] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2052 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2053 dst[i*2+0] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2054 dst[i*2+1] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2058 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2059 dst[i*3+0] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2060 dst[i*3+1] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2061 dst[i*3+2] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2065 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2066 dst[i*4+0] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2067 dst[i*4+1] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2068 dst[i*4+2] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2069 dst[i*4+3] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2073 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2074 dst[i*3+0] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2075 dst[i*3+1] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2076 dst[i*3+2] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2080 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2081 dst[i*4+0] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2082 dst[i*4+1] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2083 dst[i*4+2] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2084 dst[i*4+3] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2088 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2089 dst[i*2+0] = (GLuint) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
2090 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
2091 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2092 dst[i*2+1] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2096 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2097 dst[i] = (GLuint) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
2098 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
2099 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2104 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2105 dst[i*2+0] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2106 dst[i*2+1] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2119 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2120 dst[i] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2123 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2124 dst[i] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2127 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2128 dst[i] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2131 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2132 dst[i] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2135 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2136 dst[i] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2139 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2140 dst[i*2+0] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2141 dst[i*2+1] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2145 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2146 dst[i*2+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2147 dst[i*2+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2151 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2152 dst[i*3+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2153 dst[i*3+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2154 dst[i*3+2] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2158 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2159 dst[i*4+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2160 dst[i*4+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2161 dst[i*4+2] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2162 dst[i*4+3] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2166 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2167 dst[i*3+0] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2168 dst[i*3+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2169 dst[i*3+2] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2173 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2174 dst[i*4+0] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2175 dst[i*4+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2176 dst[i*4+2] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2177 dst[i*4+3] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2181 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2182 dst[i*4+0] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2183 dst[i*4+1] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2184 dst[i*4+2] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2185 dst[i*4+3] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2190 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2191 dst[i*2+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2192 dst[i*2+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2196 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2197 dst[i] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2201 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2202 dst[i] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2206 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2207 dst[i] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2211 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2212 dst[i] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2216 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2217 dst[i*2+0] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2218 dst[i*2+1] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2222 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2223 dst[i*3+0] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2224 dst[i*3+1] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2225 dst[i*3+2] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2229 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2230 dst[i*4+0] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2231 dst[i*4+1] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2232 dst[i*4+2] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2233 dst[i*4+3] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2237 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2238 dst[i*3+0] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2239 dst[i*3+1] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2240 dst[i*3+2] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2244 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2245 dst[i*4+0] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2246 dst[i*4+1] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2247 dst[i*4+2] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2248 dst[i*4+3] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2252 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2253 dst[i*2+0] = (GLint) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
2254 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
2255 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2256 dst[i*2+1] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2260 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2261 dst[i] = (GLint) (rgba[i][RCOMP] + in _mesa_pack_rgba_span_float()
2262 rgba[i][GCOMP] + in _mesa_pack_rgba_span_float()
2263 rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2276 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2277 dst[i] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2280 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2281 dst[i] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2284 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2285 dst[i] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2288 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2289 dst[i] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2292 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2293 dst[i] = luminance[i]; in _mesa_pack_rgba_span_float()
2296 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2297 dst[i*2+0] = luminance[i]; in _mesa_pack_rgba_span_float()
2298 dst[i*2+1] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2302 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2303 dst[i*2+0] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2304 dst[i*2+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2308 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2309 dst[i*3+0] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2310 dst[i*3+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2311 dst[i*3+2] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2315 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2316 dst[i*4+0] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2317 dst[i*4+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2318 dst[i*4+2] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2319 dst[i*4+3] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2323 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2324 dst[i*3+0] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2325 dst[i*3+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2326 dst[i*3+2] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2330 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2331 dst[i*4+0] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2332 dst[i*4+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2333 dst[i*4+2] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2334 dst[i*4+3] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2338 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2339 dst[i*4+0] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2340 dst[i*4+1] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2341 dst[i*4+2] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2342 dst[i*4+3] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2347 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2348 dst[i*2+0] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2349 dst[i*2+1] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2362 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2363 dst[i] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2366 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2367 dst[i] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2370 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2371 dst[i] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2374 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2375 dst[i] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2378 for (i=0;i<n;i++) in _mesa_pack_rgba_span_float()
2379 dst[i] = _mesa_float_to_half(luminance[i]); in _mesa_pack_rgba_span_float()
2382 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2383 dst[i*2+0] = _mesa_float_to_half(luminance[i]); in _mesa_pack_rgba_span_float()
2384 dst[i*2+1] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2388 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2389 dst[i*2+0] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2390 dst[i*2+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2394 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2395 dst[i*3+0] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2396 dst[i*3+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2397 dst[i*3+2] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2401 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2402 dst[i*4+0] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2403 dst[i*4+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2404 dst[i*4+2] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2405 dst[i*4+3] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2409 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2410 dst[i*3+0] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2411 dst[i*3+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2412 dst[i*3+2] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2416 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2417 dst[i*4+0] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2418 dst[i*4+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2419 dst[i*4+2] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2420 dst[i*4+3] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2424 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2425 dst[i*4+0] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2426 dst[i*4+1] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2427 dst[i*4+2] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2428 dst[i*4+3] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2433 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2434 dst[i*2+0] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2435 dst[i*2+1] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2446 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2447 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) << 5) in _mesa_pack_rgba_span_float()
2448 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 2) in _mesa_pack_rgba_span_float()
2449 | (F_TO_I(rgba[i][BCOMP] * 3.0F) ); in _mesa_pack_rgba_span_float()
2456 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2457 dst[i] = (F_TO_I(rgba[i][RCOMP] * 7.0F) ) in _mesa_pack_rgba_span_float()
2458 | (F_TO_I(rgba[i][GCOMP] * 7.0F) << 3) in _mesa_pack_rgba_span_float()
2459 | (F_TO_I(rgba[i][BCOMP] * 3.0F) << 6); in _mesa_pack_rgba_span_float()
2466 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2467 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) << 11) in _mesa_pack_rgba_span_float()
2468 | (F_TO_I(rgba[i][GCOMP] * 63.0F) << 5) in _mesa_pack_rgba_span_float()
2469 | (F_TO_I(rgba[i][BCOMP] * 31.0F) ); in _mesa_pack_rgba_span_float()
2476 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2477 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) ) in _mesa_pack_rgba_span_float()
2478 | (F_TO_I(rgba[i][GCOMP] * 63.0F) << 5) in _mesa_pack_rgba_span_float()
2479 | (F_TO_I(rgba[i][BCOMP] * 31.0F) << 11); in _mesa_pack_rgba_span_float()
2486 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2487 dst[i] = (F_TO_I(rgba[i][RCOMP] * 15.0F) << 12) in _mesa_pack_rgba_span_float()
2488 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2489 | (F_TO_I(rgba[i][BCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2490 | (F_TO_I(rgba[i][ACOMP] * 15.0F) ); in _mesa_pack_rgba_span_float()
2495 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2496 dst[i] = (F_TO_I(rgba[i][BCOMP] * 15.0F) << 12) in _mesa_pack_rgba_span_float()
2497 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2498 | (F_TO_I(rgba[i][RCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2499 | (F_TO_I(rgba[i][ACOMP] * 15.0F) ); in _mesa_pack_rgba_span_float()
2504 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2505 dst[i] = (F_TO_I(rgba[i][ACOMP] * 15.0F) << 12) in _mesa_pack_rgba_span_float()
2506 | (F_TO_I(rgba[i][BCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2507 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2508 | (F_TO_I(rgba[i][RCOMP] * 15.0F) ); in _mesa_pack_rgba_span_float()
2515 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2516 dst[i] = (F_TO_I(rgba[i][RCOMP] * 15.0F) ) in _mesa_pack_rgba_span_float()
2517 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2518 | (F_TO_I(rgba[i][BCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2519 | (F_TO_I(rgba[i][ACOMP] * 15.0F) << 12); in _mesa_pack_rgba_span_float()
2524 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2525 dst[i] = (F_TO_I(rgba[i][BCOMP] * 15.0F) ) in _mesa_pack_rgba_span_float()
2526 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2527 | (F_TO_I(rgba[i][RCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2528 | (F_TO_I(rgba[i][ACOMP] * 15.0F) << 12); in _mesa_pack_rgba_span_float()
2533 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2534 dst[i] = (F_TO_I(rgba[i][ACOMP] * 15.0F) ) in _mesa_pack_rgba_span_float()
2535 | (F_TO_I(rgba[i][BCOMP] * 15.0F) << 4) in _mesa_pack_rgba_span_float()
2536 | (F_TO_I(rgba[i][GCOMP] * 15.0F) << 8) in _mesa_pack_rgba_span_float()
2537 | (F_TO_I(rgba[i][RCOMP] * 15.0F) << 12); in _mesa_pack_rgba_span_float()
2544 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2545 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) << 11) in _mesa_pack_rgba_span_float()
2546 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 6) in _mesa_pack_rgba_span_float()
2547 | (F_TO_I(rgba[i][BCOMP] * 31.0F) << 1) in _mesa_pack_rgba_span_float()
2548 | (F_TO_I(rgba[i][ACOMP] * 1.0F) ); in _mesa_pack_rgba_span_float()
2553 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2554 dst[i] = (F_TO_I(rgba[i][BCOMP] * 31.0F) << 11) in _mesa_pack_rgba_span_float()
2555 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 6) in _mesa_pack_rgba_span_float()
2556 | (F_TO_I(rgba[i][RCOMP] * 31.0F) << 1) in _mesa_pack_rgba_span_float()
2557 | (F_TO_I(rgba[i][ACOMP] * 1.0F) ); in _mesa_pack_rgba_span_float()
2562 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2563 dst[i] = (F_TO_I(rgba[i][ACOMP] * 31.0F) << 11) in _mesa_pack_rgba_span_float()
2564 | (F_TO_I(rgba[i][BCOMP] * 31.0F) << 6) in _mesa_pack_rgba_span_float()
2565 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 1) in _mesa_pack_rgba_span_float()
2566 | (F_TO_I(rgba[i][RCOMP] * 1.0F) ); in _mesa_pack_rgba_span_float()
2573 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2574 dst[i] = (F_TO_I(rgba[i][RCOMP] * 31.0F) ) in _mesa_pack_rgba_span_float()
2575 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 5) in _mesa_pack_rgba_span_float()
2576 | (F_TO_I(rgba[i][BCOMP] * 31.0F) << 10) in _mesa_pack_rgba_span_float()
2577 | (F_TO_I(rgba[i][ACOMP] * 1.0F) << 15); in _mesa_pack_rgba_span_float()
2582 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2583 dst[i] = (F_TO_I(rgba[i][BCOMP] * 31.0F) ) in _mesa_pack_rgba_span_float()
2584 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 5) in _mesa_pack_rgba_span_float()
2585 | (F_TO_I(rgba[i][RCOMP] * 31.0F) << 10) in _mesa_pack_rgba_span_float()
2586 | (F_TO_I(rgba[i][ACOMP] * 1.0F) << 15); in _mesa_pack_rgba_span_float()
2591 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2592 dst[i] = (F_TO_I(rgba[i][ACOMP] * 31.0F) ) in _mesa_pack_rgba_span_float()
2593 | (F_TO_I(rgba[i][BCOMP] * 31.0F) << 5) in _mesa_pack_rgba_span_float()
2594 | (F_TO_I(rgba[i][GCOMP] * 31.0F) << 10) in _mesa_pack_rgba_span_float()
2595 | (F_TO_I(rgba[i][RCOMP] * 1.0F) << 15); in _mesa_pack_rgba_span_float()
2602 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2603 dst[i] = (F_TO_I(rgba[i][RCOMP] * 255.F) << 24) in _mesa_pack_rgba_span_float()
2604 | (F_TO_I(rgba[i][GCOMP] * 255.F) << 16) in _mesa_pack_rgba_span_float()
2605 | (F_TO_I(rgba[i][BCOMP] * 255.F) << 8) in _mesa_pack_rgba_span_float()
2606 | (F_TO_I(rgba[i][ACOMP] * 255.F) ); in _mesa_pack_rgba_span_float()
2611 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2612 dst[i] = (F_TO_I(rgba[i][BCOMP] * 255.F) << 24) in _mesa_pack_rgba_span_float()
2613 | (F_TO_I(rgba[i][GCOMP] * 255.F) << 16) in _mesa_pack_rgba_span_float()
2614 | (F_TO_I(rgba[i][RCOMP] * 255.F) << 8) in _mesa_pack_rgba_span_float()
2615 | (F_TO_I(rgba[i][ACOMP] * 255.F) ); in _mesa_pack_rgba_span_float()
2620 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2621 dst[i] = (F_TO_I(rgba[i][ACOMP] * 255.F) << 24) in _mesa_pack_rgba_span_float()
2622 | (F_TO_I(rgba[i][BCOMP] * 255.F) << 16) in _mesa_pack_rgba_span_float()
2623 | (F_TO_I(rgba[i][GCOMP] * 255.F) << 8) in _mesa_pack_rgba_span_float()
2624 | (F_TO_I(rgba[i][RCOMP] * 255.F) ); in _mesa_pack_rgba_span_float()
2631 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2632 dst[i] = (F_TO_I(rgba[i][RCOMP] * 255.0F) ) in _mesa_pack_rgba_span_float()
2633 | (F_TO_I(rgba[i][GCOMP] * 255.0F) << 8) in _mesa_pack_rgba_span_float()
2634 | (F_TO_I(rgba[i][BCOMP] * 255.0F) << 16) in _mesa_pack_rgba_span_float()
2635 | (F_TO_I(rgba[i][ACOMP] * 255.0F) << 24); in _mesa_pack_rgba_span_float()
2640 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2641 dst[i] = (F_TO_I(rgba[i][BCOMP] * 255.0F) ) in _mesa_pack_rgba_span_float()
2642 | (F_TO_I(rgba[i][GCOMP] * 255.0F) << 8) in _mesa_pack_rgba_span_float()
2643 | (F_TO_I(rgba[i][RCOMP] * 255.0F) << 16) in _mesa_pack_rgba_span_float()
2644 | (F_TO_I(rgba[i][ACOMP] * 255.0F) << 24); in _mesa_pack_rgba_span_float()
2649 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2650 dst[i] = (F_TO_I(rgba[i][ACOMP] * 255.0F) ) in _mesa_pack_rgba_span_float()
2651 | (F_TO_I(rgba[i][BCOMP] * 255.0F) << 8) in _mesa_pack_rgba_span_float()
2652 | (F_TO_I(rgba[i][GCOMP] * 255.0F) << 16) in _mesa_pack_rgba_span_float()
2653 | (F_TO_I(rgba[i][RCOMP] * 255.0F) << 24); in _mesa_pack_rgba_span_float()
2660 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2661 dst[i] = (F_TO_I(rgba[i][RCOMP] * 1023.0F) << 22) in _mesa_pack_rgba_span_float()
2662 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 12) in _mesa_pack_rgba_span_float()
2663 | (F_TO_I(rgba[i][BCOMP] * 1023.0F) << 2) in _mesa_pack_rgba_span_float()
2664 | (F_TO_I(rgba[i][ACOMP] * 3.0F) ); in _mesa_pack_rgba_span_float()
2669 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2670 dst[i] = (F_TO_I(rgba[i][BCOMP] * 1023.0F) << 22) in _mesa_pack_rgba_span_float()
2671 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 12) in _mesa_pack_rgba_span_float()
2672 | (F_TO_I(rgba[i][RCOMP] * 1023.0F) << 2) in _mesa_pack_rgba_span_float()
2673 | (F_TO_I(rgba[i][ACOMP] * 3.0F) ); in _mesa_pack_rgba_span_float()
2678 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2679 dst[i] = (F_TO_I(rgba[i][ACOMP] * 1023.0F) << 22) in _mesa_pack_rgba_span_float()
2680 | (F_TO_I(rgba[i][BCOMP] * 1023.0F) << 12) in _mesa_pack_rgba_span_float()
2681 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 2) in _mesa_pack_rgba_span_float()
2682 | (F_TO_I(rgba[i][RCOMP] * 3.0F) ); in _mesa_pack_rgba_span_float()
2689 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2690 dst[i] = (F_TO_I(rgba[i][RCOMP] * 1023.0F) ) in _mesa_pack_rgba_span_float()
2691 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 10) in _mesa_pack_rgba_span_float()
2692 | (F_TO_I(rgba[i][BCOMP] * 1023.0F) << 20) in _mesa_pack_rgba_span_float()
2693 | (F_TO_I(rgba[i][ACOMP] * 3.0F) << 30); in _mesa_pack_rgba_span_float()
2698 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2699 dst[i] = (F_TO_I(rgba[i][BCOMP] * 1023.0F) ) in _mesa_pack_rgba_span_float()
2700 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 10) in _mesa_pack_rgba_span_float()
2701 | (F_TO_I(rgba[i][RCOMP] * 1023.0F) << 20) in _mesa_pack_rgba_span_float()
2702 | (F_TO_I(rgba[i][ACOMP] * 3.0F) << 30); in _mesa_pack_rgba_span_float()
2707 for (i=0;i<n;i++) { in _mesa_pack_rgba_span_float()
2708 dst[i] = (F_TO_I(rgba[i][ACOMP] * 1023.0F) ) in _mesa_pack_rgba_span_float()
2709 | (F_TO_I(rgba[i][BCOMP] * 1023.0F) << 10) in _mesa_pack_rgba_span_float()
2710 | (F_TO_I(rgba[i][GCOMP] * 1023.0F) << 20) in _mesa_pack_rgba_span_float()
2711 | (F_TO_I(rgba[i][RCOMP] * 3.0F) << 30); in _mesa_pack_rgba_span_float()
2718 for (i = 0; i < n; i++) { in _mesa_pack_rgba_span_float()
2719 dst[i] = float3_to_rgb9e5(rgba[i]); in _mesa_pack_rgba_span_float()
2726 for (i = 0; i < n; i++) { in _mesa_pack_rgba_span_float()
2727 dst[i] = float3_to_r11g11b10f(rgba[i]); in _mesa_pack_rgba_span_float()
2797 GLuint i; in extract_uint_indexes() local
2798 for (i = 0; i < n; i++) { in extract_uint_indexes()
2799 indexes[i] = (*ubsrc & mask) ? 1 : 0; in extract_uint_indexes()
2811 GLuint i; in extract_uint_indexes() local
2812 for (i = 0; i < n; i++) { in extract_uint_indexes()
2813 indexes[i] = (*ubsrc & mask) ? 1 : 0; in extract_uint_indexes()
2827 GLuint i; in extract_uint_indexes() local
2829 for (i = 0; i < n; i++) in extract_uint_indexes()
2830 indexes[i] = s[i]; in extract_uint_indexes()
2835 GLuint i; in extract_uint_indexes() local
2837 for (i = 0; i < n; i++) in extract_uint_indexes()
2838 indexes[i] = s[i]; in extract_uint_indexes()
2843 GLuint i; in extract_uint_indexes() local
2846 for (i = 0; i < n; i++) { in extract_uint_indexes()
2847 GLushort value = s[i]; in extract_uint_indexes()
2849 indexes[i] = value; in extract_uint_indexes()
2853 for (i = 0; i < n; i++) in extract_uint_indexes()
2854 indexes[i] = s[i]; in extract_uint_indexes()
2860 GLuint i; in extract_uint_indexes() local
2863 for (i = 0; i < n; i++) { in extract_uint_indexes()
2864 GLshort value = s[i]; in extract_uint_indexes()
2866 indexes[i] = value; in extract_uint_indexes()
2870 for (i = 0; i < n; i++) in extract_uint_indexes()
2871 indexes[i] = s[i]; in extract_uint_indexes()
2877 GLuint i; in extract_uint_indexes() local
2880 for (i = 0; i < n; i++) { in extract_uint_indexes()
2881 GLuint value = s[i]; in extract_uint_indexes()
2883 indexes[i] = value; in extract_uint_indexes()
2887 for (i = 0; i < n; i++) in extract_uint_indexes()
2888 indexes[i] = s[i]; in extract_uint_indexes()
2894 GLuint i; in extract_uint_indexes() local
2897 for (i = 0; i < n; i++) { in extract_uint_indexes()
2898 GLint value = s[i]; in extract_uint_indexes()
2900 indexes[i] = value; in extract_uint_indexes()
2904 for (i = 0; i < n; i++) in extract_uint_indexes()
2905 indexes[i] = s[i]; in extract_uint_indexes()
2911 GLuint i; in extract_uint_indexes() local
2914 for (i = 0; i < n; i++) { in extract_uint_indexes()
2915 GLfloat value = s[i]; in extract_uint_indexes()
2917 indexes[i] = (GLuint) value; in extract_uint_indexes()
2921 for (i = 0; i < n; i++) in extract_uint_indexes()
2922 indexes[i] = (GLuint) s[i]; in extract_uint_indexes()
2928 GLuint i; in extract_uint_indexes() local
2931 for (i = 0; i < n; i++) { in extract_uint_indexes()
2932 GLhalfARB value = s[i]; in extract_uint_indexes()
2934 indexes[i] = (GLuint) _mesa_half_to_float(value); in extract_uint_indexes()
2938 for (i = 0; i < n; i++) in extract_uint_indexes()
2939 indexes[i] = (GLuint) _mesa_half_to_float(s[i]); in extract_uint_indexes()
2945 GLuint i; in extract_uint_indexes() local
2948 for (i = 0; i < n; i++) { in extract_uint_indexes()
2949 GLuint value = s[i]; in extract_uint_indexes()
2951 indexes[i] = value & 0xff; /* lower 8 bits */ in extract_uint_indexes()
2955 for (i = 0; i < n; i++) in extract_uint_indexes()
2956 indexes[i] = s[i] & 0xff; /* lower 8 bits */ in extract_uint_indexes()
2962 GLuint i; in extract_uint_indexes() local
2965 for (i = 0; i < n; i++) { in extract_uint_indexes()
2966 GLuint value = s[i*2+1]; in extract_uint_indexes()
2968 indexes[i] = value & 0xff; /* lower 8 bits */ in extract_uint_indexes()
2972 for (i = 0; i < n; i++) in extract_uint_indexes()
2973 indexes[i] = s[i*2+1] & 0xff; /* lower 8 bits */ in extract_uint_indexes()
3201 GLuint i; \ in extract_float_rgba()
3203 for (i = 0; i < n; i++) { \ in extract_float_rgba()
3204 rgba[i][DST_INDEX] = DEFAULT_INT; \ in extract_float_rgba()
3208 for (i = 0; i < n; i++) { \ in extract_float_rgba()
3209 rgba[i][DST_INDEX] = DEFAULT_FLT; \ in extract_float_rgba()
3215 GLuint i; \ in extract_float_rgba()
3216 for (i = 0; i < n; i++) { \ in extract_float_rgba()
3225 rgba[i][DST_INDEX] = (GLfloat) value; \ in extract_float_rgba()
3227 rgba[i][DST_INDEX] = (GLfloat) CONVERSION(value); \ in extract_float_rgba()
3233 GLuint i; \ in extract_float_rgba()
3235 for (i = 0; i < n; i++) { \ in extract_float_rgba()
3236 rgba[i][DST_INDEX] = (GLfloat) s[SRC_INDEX]; \ in extract_float_rgba()
3241 for (i = 0; i < n; i++) { \ in extract_float_rgba()
3242 rgba[i][DST_INDEX] = (GLfloat) CONVERSION(s[SRC_INDEX]); \ in extract_float_rgba()
3300 GLuint i; in extract_float_rgba() local
3306 for (i = 0; i < n; i ++) { in extract_float_rgba()
3307 GLubyte p = ubsrc[i]; in extract_float_rgba()
3308 rgba[i][rDst] = ((p >> 5) ) * rs; in extract_float_rgba()
3309 rgba[i][gDst] = ((p >> 2) & 0x7) * gs; in extract_float_rgba()
3310 rgba[i][bDst] = ((p ) & 0x3) * bs; in extract_float_rgba()
3311 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3318 GLuint i; in extract_float_rgba() local
3324 for (i = 0; i < n; i ++) { in extract_float_rgba()
3325 GLubyte p = ubsrc[i]; in extract_float_rgba()
3326 rgba[i][rDst] = ((p ) & 0x7) * rs; in extract_float_rgba()
3327 rgba[i][gDst] = ((p >> 3) & 0x7) * gs; in extract_float_rgba()
3328 rgba[i][bDst] = ((p >> 6) ) * bs; in extract_float_rgba()
3329 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3341 GLuint i; in extract_float_rgba() local
3342 for (i = 0; i < n; i ++) { in extract_float_rgba()
3343 GLushort p = ussrc[i]; in extract_float_rgba()
3345 rgba[i][rDst] = ((p >> 11) ) * rs; in extract_float_rgba()
3346 rgba[i][gDst] = ((p >> 5) & 0x3f) * gs; in extract_float_rgba()
3347 rgba[i][bDst] = ((p ) & 0x1f) * bs; in extract_float_rgba()
3348 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3353 GLuint i; in extract_float_rgba() local
3354 for (i = 0; i < n; i ++) { in extract_float_rgba()
3355 GLushort p = ussrc[i]; in extract_float_rgba()
3356 rgba[i][rDst] = ((p >> 11) ) * rs; in extract_float_rgba()
3357 rgba[i][gDst] = ((p >> 5) & 0x3f) * gs; in extract_float_rgba()
3358 rgba[i][bDst] = ((p ) & 0x1f) * bs; in extract_float_rgba()
3359 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3371 GLuint i; in extract_float_rgba() local
3372 for (i = 0; i < n; i ++) { in extract_float_rgba()
3373 GLushort p = ussrc[i]; in extract_float_rgba()
3375 rgba[i][rDst] = ((p ) & 0x1f) * rs; in extract_float_rgba()
3376 rgba[i][gDst] = ((p >> 5) & 0x3f) * gs; in extract_float_rgba()
3377 rgba[i][bDst] = ((p >> 11) ) * bs; in extract_float_rgba()
3378 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3383 GLuint i; in extract_float_rgba() local
3384 for (i = 0; i < n; i ++) { in extract_float_rgba()
3385 GLushort p = ussrc[i]; in extract_float_rgba()
3386 rgba[i][rDst] = ((p ) & 0x1f) * rs; in extract_float_rgba()
3387 rgba[i][gDst] = ((p >> 5) & 0x3f) * gs; in extract_float_rgba()
3388 rgba[i][bDst] = ((p >> 11) ) * bs; in extract_float_rgba()
3389 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3399 GLuint i; in extract_float_rgba() local
3400 for (i = 0; i < n; i ++) { in extract_float_rgba()
3401 GLushort p = ussrc[i]; in extract_float_rgba()
3403 rgba[i][rDst] = ((p >> 12) ) * rs; in extract_float_rgba()
3404 rgba[i][gDst] = ((p >> 8) & 0xf) * gs; in extract_float_rgba()
3405 rgba[i][bDst] = ((p >> 4) & 0xf) * bs; in extract_float_rgba()
3406 rgba[i][aDst] = ((p ) & 0xf) * as; in extract_float_rgba()
3411 GLuint i; in extract_float_rgba() local
3412 for (i = 0; i < n; i ++) { in extract_float_rgba()
3413 GLushort p = ussrc[i]; in extract_float_rgba()
3414 rgba[i][rDst] = ((p >> 12) ) * rs; in extract_float_rgba()
3415 rgba[i][gDst] = ((p >> 8) & 0xf) * gs; in extract_float_rgba()
3416 rgba[i][bDst] = ((p >> 4) & 0xf) * bs; in extract_float_rgba()
3417 rgba[i][aDst] = ((p ) & 0xf) * as; in extract_float_rgba()
3427 GLuint i; in extract_float_rgba() local
3428 for (i = 0; i < n; i ++) { in extract_float_rgba()
3429 GLushort p = ussrc[i]; in extract_float_rgba()
3431 rgba[i][rDst] = ((p ) & 0xf) * rs; in extract_float_rgba()
3432 rgba[i][gDst] = ((p >> 4) & 0xf) * gs; in extract_float_rgba()
3433 rgba[i][bDst] = ((p >> 8) & 0xf) * bs; in extract_float_rgba()
3434 rgba[i][aDst] = ((p >> 12) ) * as; in extract_float_rgba()
3439 GLuint i; in extract_float_rgba() local
3440 for (i = 0; i < n; i ++) { in extract_float_rgba()
3441 GLushort p = ussrc[i]; in extract_float_rgba()
3442 rgba[i][rDst] = ((p ) & 0xf) * rs; in extract_float_rgba()
3443 rgba[i][gDst] = ((p >> 4) & 0xf) * gs; in extract_float_rgba()
3444 rgba[i][bDst] = ((p >> 8) & 0xf) * bs; in extract_float_rgba()
3445 rgba[i][aDst] = ((p >> 12) ) * as; in extract_float_rgba()
3455 GLuint i; in extract_float_rgba() local
3456 for (i = 0; i < n; i ++) { in extract_float_rgba()
3457 GLushort p = ussrc[i]; in extract_float_rgba()
3459 rgba[i][rDst] = ((p >> 11) ) * rs; in extract_float_rgba()
3460 rgba[i][gDst] = ((p >> 6) & 0x1f) * gs; in extract_float_rgba()
3461 rgba[i][bDst] = ((p >> 1) & 0x1f) * bs; in extract_float_rgba()
3462 rgba[i][aDst] = ((p ) & 0x1) * as; in extract_float_rgba()
3467 GLuint i; in extract_float_rgba() local
3468 for (i = 0; i < n; i ++) { in extract_float_rgba()
3469 GLushort p = ussrc[i]; in extract_float_rgba()
3470 rgba[i][rDst] = ((p >> 11) ) * rs; in extract_float_rgba()
3471 rgba[i][gDst] = ((p >> 6) & 0x1f) * gs; in extract_float_rgba()
3472 rgba[i][bDst] = ((p >> 1) & 0x1f) * bs; in extract_float_rgba()
3473 rgba[i][aDst] = ((p ) & 0x1) * as; in extract_float_rgba()
3483 GLuint i; in extract_float_rgba() local
3484 for (i = 0; i < n; i ++) { in extract_float_rgba()
3485 GLushort p = ussrc[i]; in extract_float_rgba()
3487 rgba[i][rDst] = ((p ) & 0x1f) * rs; in extract_float_rgba()
3488 rgba[i][gDst] = ((p >> 5) & 0x1f) * gs; in extract_float_rgba()
3489 rgba[i][bDst] = ((p >> 10) & 0x1f) * bs; in extract_float_rgba()
3490 rgba[i][aDst] = ((p >> 15) ) * as; in extract_float_rgba()
3495 GLuint i; in extract_float_rgba() local
3496 for (i = 0; i < n; i ++) { in extract_float_rgba()
3497 GLushort p = ussrc[i]; in extract_float_rgba()
3498 rgba[i][rDst] = ((p ) & 0x1f) * rs; in extract_float_rgba()
3499 rgba[i][gDst] = ((p >> 5) & 0x1f) * gs; in extract_float_rgba()
3500 rgba[i][bDst] = ((p >> 10) & 0x1f) * bs; in extract_float_rgba()
3501 rgba[i][aDst] = ((p >> 15) ) * as; in extract_float_rgba()
3508 GLuint i; in extract_float_rgba() local
3510 for (i = 0; i < n; i ++) { in extract_float_rgba()
3511 GLuint p = uisrc[i]; in extract_float_rgba()
3512 rgba[i][rDst] = (GLfloat) ((p ) & 0xff); in extract_float_rgba()
3513 rgba[i][gDst] = (GLfloat) ((p >> 8) & 0xff); in extract_float_rgba()
3514 rgba[i][bDst] = (GLfloat) ((p >> 16) & 0xff); in extract_float_rgba()
3515 rgba[i][aDst] = (GLfloat) ((p >> 24) ); in extract_float_rgba()
3519 for (i = 0; i < n; i ++) { in extract_float_rgba()
3520 GLuint p = uisrc[i]; in extract_float_rgba()
3521 rgba[i][rDst] = UBYTE_TO_FLOAT((p ) & 0xff); in extract_float_rgba()
3522 rgba[i][gDst] = UBYTE_TO_FLOAT((p >> 8) & 0xff); in extract_float_rgba()
3523 rgba[i][bDst] = UBYTE_TO_FLOAT((p >> 16) & 0xff); in extract_float_rgba()
3524 rgba[i][aDst] = UBYTE_TO_FLOAT((p >> 24) ); in extract_float_rgba()
3530 GLuint i; in extract_float_rgba() local
3532 for (i = 0; i < n; i ++) { in extract_float_rgba()
3533 GLuint p = uisrc[i]; in extract_float_rgba()
3534 rgba[i][rDst] = (GLfloat) ((p >> 24) ); in extract_float_rgba()
3535 rgba[i][gDst] = (GLfloat) ((p >> 16) & 0xff); in extract_float_rgba()
3536 rgba[i][bDst] = (GLfloat) ((p >> 8) & 0xff); in extract_float_rgba()
3537 rgba[i][aDst] = (GLfloat) ((p ) & 0xff); in extract_float_rgba()
3541 for (i = 0; i < n; i ++) { in extract_float_rgba()
3542 GLuint p = uisrc[i]; in extract_float_rgba()
3543 rgba[i][rDst] = UBYTE_TO_FLOAT((p >> 24) ); in extract_float_rgba()
3544 rgba[i][gDst] = UBYTE_TO_FLOAT((p >> 16) & 0xff); in extract_float_rgba()
3545 rgba[i][bDst] = UBYTE_TO_FLOAT((p >> 8) & 0xff); in extract_float_rgba()
3546 rgba[i][aDst] = UBYTE_TO_FLOAT((p ) & 0xff); in extract_float_rgba()
3554 GLuint i; in extract_float_rgba() local
3556 for (i = 0; i < n; i ++) { in extract_float_rgba()
3557 GLuint p = uisrc[i]; in extract_float_rgba()
3558 rgba[i][rDst] = (GLfloat) ((p >> 24) ); in extract_float_rgba()
3559 rgba[i][gDst] = (GLfloat) ((p >> 16) & 0xff); in extract_float_rgba()
3560 rgba[i][bDst] = (GLfloat) ((p >> 8) & 0xff); in extract_float_rgba()
3561 rgba[i][aDst] = (GLfloat) ((p ) & 0xff); in extract_float_rgba()
3565 for (i = 0; i < n; i ++) { in extract_float_rgba()
3566 GLuint p = uisrc[i]; in extract_float_rgba()
3567 rgba[i][rDst] = UBYTE_TO_FLOAT((p >> 24) ); in extract_float_rgba()
3568 rgba[i][gDst] = UBYTE_TO_FLOAT((p >> 16) & 0xff); in extract_float_rgba()
3569 rgba[i][bDst] = UBYTE_TO_FLOAT((p >> 8) & 0xff); in extract_float_rgba()
3570 rgba[i][aDst] = UBYTE_TO_FLOAT((p ) & 0xff); in extract_float_rgba()
3576 GLuint i; in extract_float_rgba() local
3578 for (i = 0; i < n; i ++) { in extract_float_rgba()
3579 GLuint p = uisrc[i]; in extract_float_rgba()
3580 rgba[i][rDst] = (GLfloat) ((p ) & 0xff); in extract_float_rgba()
3581 rgba[i][gDst] = (GLfloat) ((p >> 8) & 0xff); in extract_float_rgba()
3582 rgba[i][bDst] = (GLfloat) ((p >> 16) & 0xff); in extract_float_rgba()
3583 rgba[i][aDst] = (GLfloat) ((p >> 24) ); in extract_float_rgba()
3587 for (i = 0; i < n; i ++) { in extract_float_rgba()
3588 GLuint p = uisrc[i]; in extract_float_rgba()
3589 rgba[i][rDst] = UBYTE_TO_FLOAT((p ) & 0xff); in extract_float_rgba()
3590 rgba[i][gDst] = UBYTE_TO_FLOAT((p >> 8) & 0xff); in extract_float_rgba()
3591 rgba[i][bDst] = UBYTE_TO_FLOAT((p >> 16) & 0xff); in extract_float_rgba()
3592 rgba[i][aDst] = UBYTE_TO_FLOAT((p >> 24) ); in extract_float_rgba()
3606 GLuint i; in extract_float_rgba() local
3607 for (i = 0; i < n; i ++) { in extract_float_rgba()
3608 GLuint p = uisrc[i]; in extract_float_rgba()
3610 rgba[i][rDst] = ((p >> 22) ) * rs; in extract_float_rgba()
3611 rgba[i][gDst] = ((p >> 12) & 0x3ff) * gs; in extract_float_rgba()
3612 rgba[i][bDst] = ((p >> 2) & 0x3ff) * bs; in extract_float_rgba()
3613 rgba[i][aDst] = ((p ) & 0x3 ) * as; in extract_float_rgba()
3618 GLuint i; in extract_float_rgba() local
3619 for (i = 0; i < n; i ++) { in extract_float_rgba()
3620 GLuint p = uisrc[i]; in extract_float_rgba()
3621 rgba[i][rDst] = ((p >> 22) ) * rs; in extract_float_rgba()
3622 rgba[i][gDst] = ((p >> 12) & 0x3ff) * gs; in extract_float_rgba()
3623 rgba[i][bDst] = ((p >> 2) & 0x3ff) * bs; in extract_float_rgba()
3624 rgba[i][aDst] = ((p ) & 0x3 ) * as; in extract_float_rgba()
3637 GLuint i; in extract_float_rgba() local
3638 for (i = 0; i < n; i ++) { in extract_float_rgba()
3639 GLuint p = uisrc[i]; in extract_float_rgba()
3641 rgba[i][rDst] = ((p ) & 0x3ff) * rs; in extract_float_rgba()
3642 rgba[i][gDst] = ((p >> 10) & 0x3ff) * gs; in extract_float_rgba()
3643 rgba[i][bDst] = ((p >> 20) & 0x3ff) * bs; in extract_float_rgba()
3644 rgba[i][aDst] = ((p >> 30) ) * as; in extract_float_rgba()
3649 GLuint i; in extract_float_rgba() local
3650 for (i = 0; i < n; i ++) { in extract_float_rgba()
3651 GLuint p = uisrc[i]; in extract_float_rgba()
3652 rgba[i][rDst] = ((p ) & 0x3ff) * rs; in extract_float_rgba()
3653 rgba[i][gDst] = ((p >> 10) & 0x3ff) * gs; in extract_float_rgba()
3654 rgba[i][bDst] = ((p >> 20) & 0x3ff) * bs; in extract_float_rgba()
3655 rgba[i][aDst] = ((p >> 30) ) * as; in extract_float_rgba()
3662 GLuint i; in extract_float_rgba() local
3664 for (i = 0; i < n; i ++) { in extract_float_rgba()
3665 GLuint p = uisrc[i]; in extract_float_rgba()
3668 rgba[i][rDst] = f[0]; in extract_float_rgba()
3669 rgba[i][gDst] = f[1]; in extract_float_rgba()
3670 rgba[i][bDst] = f[2]; in extract_float_rgba()
3671 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3676 GLuint i; in extract_float_rgba() local
3678 for (i = 0; i < n; i ++) { in extract_float_rgba()
3679 rgb9e5_to_float3(uisrc[i], f); in extract_float_rgba()
3680 rgba[i][rDst] = f[0]; in extract_float_rgba()
3681 rgba[i][gDst] = f[1]; in extract_float_rgba()
3682 rgba[i][bDst] = f[2]; in extract_float_rgba()
3683 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3690 GLuint i; in extract_float_rgba() local
3692 for (i = 0; i < n; i ++) { in extract_float_rgba()
3693 GLuint p = uisrc[i]; in extract_float_rgba()
3696 rgba[i][rDst] = f[0]; in extract_float_rgba()
3697 rgba[i][gDst] = f[1]; in extract_float_rgba()
3698 rgba[i][bDst] = f[2]; in extract_float_rgba()
3699 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3704 GLuint i; in extract_float_rgba() local
3706 for (i = 0; i < n; i ++) { in extract_float_rgba()
3707 r11g11b10f_to_float3(uisrc[i], f); in extract_float_rgba()
3708 rgba[i][rDst] = f[0]; in extract_float_rgba()
3709 rgba[i][gDst] = f[1]; in extract_float_rgba()
3710 rgba[i][bDst] = f[2]; in extract_float_rgba()
3711 rgba[i][aDst] = 1.0F; in extract_float_rgba()
3808 GLuint i; \ in extract_uint_rgba()
3809 for (i = 0; i < n; i++) { \ in extract_uint_rgba()
3810 rgba[i][DST_INDEX] = DEFAULT; \ in extract_uint_rgba()
3815 GLuint i; \ in extract_uint_rgba()
3816 for (i = 0; i < n; i++) { \ in extract_uint_rgba()
3824 rgba[i][DST_INDEX] = CONVERSION(value); \ in extract_uint_rgba()
3830 GLuint i; \ in extract_uint_rgba()
3831 for (i = 0; i < n; i++) { \ in extract_uint_rgba()
3832 rgba[i][DST_INDEX] = CONVERSION(s[SRC_INDEX]); \ in extract_uint_rgba()
3889 GLuint i; in extract_uint_rgba() local
3890 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3891 GLubyte p = ubsrc[i]; in extract_uint_rgba()
3892 rgba[i][rDst] = ((p >> 5) ); in extract_uint_rgba()
3893 rgba[i][gDst] = ((p >> 2) & 0x7); in extract_uint_rgba()
3894 rgba[i][bDst] = ((p ) & 0x3); in extract_uint_rgba()
3895 rgba[i][aDst] = 1; in extract_uint_rgba()
3902 GLuint i; in extract_uint_rgba() local
3903 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3904 GLubyte p = ubsrc[i]; in extract_uint_rgba()
3905 rgba[i][rDst] = ((p ) & 0x7); in extract_uint_rgba()
3906 rgba[i][gDst] = ((p >> 3) & 0x7); in extract_uint_rgba()
3907 rgba[i][bDst] = ((p >> 6) ); in extract_uint_rgba()
3908 rgba[i][aDst] = 1; in extract_uint_rgba()
3915 GLuint i; in extract_uint_rgba() local
3916 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3917 GLushort p = ussrc[i]; in extract_uint_rgba()
3919 rgba[i][rDst] = ((p >> 11) ); in extract_uint_rgba()
3920 rgba[i][gDst] = ((p >> 5) & 0x3f); in extract_uint_rgba()
3921 rgba[i][bDst] = ((p ) & 0x1f); in extract_uint_rgba()
3922 rgba[i][aDst] = 1; in extract_uint_rgba()
3927 GLuint i; in extract_uint_rgba() local
3928 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3929 GLushort p = ussrc[i]; in extract_uint_rgba()
3930 rgba[i][rDst] = ((p >> 11) ); in extract_uint_rgba()
3931 rgba[i][gDst] = ((p >> 5) & 0x3f); in extract_uint_rgba()
3932 rgba[i][bDst] = ((p ) & 0x1f); in extract_uint_rgba()
3933 rgba[i][aDst] = 1; in extract_uint_rgba()
3940 GLuint i; in extract_uint_rgba() local
3941 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3942 GLushort p = ussrc[i]; in extract_uint_rgba()
3944 rgba[i][rDst] = ((p ) & 0x1f); in extract_uint_rgba()
3945 rgba[i][gDst] = ((p >> 5) & 0x3f); in extract_uint_rgba()
3946 rgba[i][bDst] = ((p >> 11) ); in extract_uint_rgba()
3947 rgba[i][aDst] = 1; in extract_uint_rgba()
3952 GLuint i; in extract_uint_rgba() local
3953 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3954 GLushort p = ussrc[i]; in extract_uint_rgba()
3955 rgba[i][rDst] = ((p ) & 0x1f); in extract_uint_rgba()
3956 rgba[i][gDst] = ((p >> 5) & 0x3f); in extract_uint_rgba()
3957 rgba[i][bDst] = ((p >> 11) ); in extract_uint_rgba()
3958 rgba[i][aDst] = 1; in extract_uint_rgba()
3965 GLuint i; in extract_uint_rgba() local
3966 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3967 GLushort p = ussrc[i]; in extract_uint_rgba()
3969 rgba[i][rDst] = ((p >> 12) ); in extract_uint_rgba()
3970 rgba[i][gDst] = ((p >> 8) & 0xf); in extract_uint_rgba()
3971 rgba[i][bDst] = ((p >> 4) & 0xf); in extract_uint_rgba()
3972 rgba[i][aDst] = ((p ) & 0xf); in extract_uint_rgba()
3977 GLuint i; in extract_uint_rgba() local
3978 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3979 GLushort p = ussrc[i]; in extract_uint_rgba()
3980 rgba[i][rDst] = ((p >> 12) ); in extract_uint_rgba()
3981 rgba[i][gDst] = ((p >> 8) & 0xf); in extract_uint_rgba()
3982 rgba[i][bDst] = ((p >> 4) & 0xf); in extract_uint_rgba()
3983 rgba[i][aDst] = ((p ) & 0xf); in extract_uint_rgba()
3990 GLuint i; in extract_uint_rgba() local
3991 for (i = 0; i < n; i ++) { in extract_uint_rgba()
3992 GLushort p = ussrc[i]; in extract_uint_rgba()
3994 rgba[i][rDst] = ((p ) & 0xf); in extract_uint_rgba()
3995 rgba[i][gDst] = ((p >> 4) & 0xf); in extract_uint_rgba()
3996 rgba[i][bDst] = ((p >> 8) & 0xf); in extract_uint_rgba()
3997 rgba[i][aDst] = ((p >> 12) ); in extract_uint_rgba()
4002 GLuint i; in extract_uint_rgba() local
4003 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4004 GLushort p = ussrc[i]; in extract_uint_rgba()
4005 rgba[i][rDst] = ((p ) & 0xf); in extract_uint_rgba()
4006 rgba[i][gDst] = ((p >> 4) & 0xf); in extract_uint_rgba()
4007 rgba[i][bDst] = ((p >> 8) & 0xf); in extract_uint_rgba()
4008 rgba[i][aDst] = ((p >> 12) ); in extract_uint_rgba()
4015 GLuint i; in extract_uint_rgba() local
4016 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4017 GLushort p = ussrc[i]; in extract_uint_rgba()
4019 rgba[i][rDst] = ((p >> 11) ); in extract_uint_rgba()
4020 rgba[i][gDst] = ((p >> 6) & 0x1f); in extract_uint_rgba()
4021 rgba[i][bDst] = ((p >> 1) & 0x1f); in extract_uint_rgba()
4022 rgba[i][aDst] = ((p ) & 0x1 ); in extract_uint_rgba()
4027 GLuint i; in extract_uint_rgba() local
4028 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4029 GLushort p = ussrc[i]; in extract_uint_rgba()
4030 rgba[i][rDst] = ((p >> 11) ); in extract_uint_rgba()
4031 rgba[i][gDst] = ((p >> 6) & 0x1f); in extract_uint_rgba()
4032 rgba[i][bDst] = ((p >> 1) & 0x1f); in extract_uint_rgba()
4033 rgba[i][aDst] = ((p ) & 0x1 ); in extract_uint_rgba()
4040 GLuint i; in extract_uint_rgba() local
4041 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4042 GLushort p = ussrc[i]; in extract_uint_rgba()
4044 rgba[i][rDst] = ((p ) & 0x1f); in extract_uint_rgba()
4045 rgba[i][gDst] = ((p >> 5) & 0x1f); in extract_uint_rgba()
4046 rgba[i][bDst] = ((p >> 10) & 0x1f); in extract_uint_rgba()
4047 rgba[i][aDst] = ((p >> 15) ); in extract_uint_rgba()
4052 GLuint i; in extract_uint_rgba() local
4053 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4054 GLushort p = ussrc[i]; in extract_uint_rgba()
4055 rgba[i][rDst] = ((p ) & 0x1f); in extract_uint_rgba()
4056 rgba[i][gDst] = ((p >> 5) & 0x1f); in extract_uint_rgba()
4057 rgba[i][bDst] = ((p >> 10) & 0x1f); in extract_uint_rgba()
4058 rgba[i][aDst] = ((p >> 15) ); in extract_uint_rgba()
4065 GLuint i; in extract_uint_rgba() local
4066 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4067 GLuint p = uisrc[i]; in extract_uint_rgba()
4068 rgba[i][rDst] = ((p ) & 0xff); in extract_uint_rgba()
4069 rgba[i][gDst] = ((p >> 8) & 0xff); in extract_uint_rgba()
4070 rgba[i][bDst] = ((p >> 16) & 0xff); in extract_uint_rgba()
4071 rgba[i][aDst] = ((p >> 24) ); in extract_uint_rgba()
4076 GLuint i; in extract_uint_rgba() local
4077 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4078 GLuint p = uisrc[i]; in extract_uint_rgba()
4079 rgba[i][rDst] = ((p >> 24) ); in extract_uint_rgba()
4080 rgba[i][gDst] = ((p >> 16) & 0xff); in extract_uint_rgba()
4081 rgba[i][bDst] = ((p >> 8) & 0xff); in extract_uint_rgba()
4082 rgba[i][aDst] = ((p ) & 0xff); in extract_uint_rgba()
4089 GLuint i; in extract_uint_rgba() local
4090 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4091 GLuint p = uisrc[i]; in extract_uint_rgba()
4092 rgba[i][rDst] = ((p >> 24) ); in extract_uint_rgba()
4093 rgba[i][gDst] = ((p >> 16) & 0xff); in extract_uint_rgba()
4094 rgba[i][bDst] = ((p >> 8) & 0xff); in extract_uint_rgba()
4095 rgba[i][aDst] = ((p ) & 0xff); in extract_uint_rgba()
4100 GLuint i; in extract_uint_rgba() local
4101 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4102 GLuint p = uisrc[i]; in extract_uint_rgba()
4103 rgba[i][rDst] = ((p ) & 0xff); in extract_uint_rgba()
4104 rgba[i][gDst] = ((p >> 8) & 0xff); in extract_uint_rgba()
4105 rgba[i][bDst] = ((p >> 16) & 0xff); in extract_uint_rgba()
4106 rgba[i][aDst] = ((p >> 24) ); in extract_uint_rgba()
4113 GLuint i; in extract_uint_rgba() local
4114 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4115 GLuint p = uisrc[i]; in extract_uint_rgba()
4117 rgba[i][rDst] = ((p >> 22) ); in extract_uint_rgba()
4118 rgba[i][gDst] = ((p >> 12) & 0x3ff); in extract_uint_rgba()
4119 rgba[i][bDst] = ((p >> 2) & 0x3ff); in extract_uint_rgba()
4120 rgba[i][aDst] = ((p ) & 0x3 ); in extract_uint_rgba()
4125 GLuint i; in extract_uint_rgba() local
4126 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4127 GLuint p = uisrc[i]; in extract_uint_rgba()
4128 rgba[i][rDst] = ((p >> 22) ); in extract_uint_rgba()
4129 rgba[i][gDst] = ((p >> 12) & 0x3ff); in extract_uint_rgba()
4130 rgba[i][bDst] = ((p >> 2) & 0x3ff); in extract_uint_rgba()
4131 rgba[i][aDst] = ((p ) & 0x3 ); in extract_uint_rgba()
4138 GLuint i; in extract_uint_rgba() local
4139 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4140 GLuint p = uisrc[i]; in extract_uint_rgba()
4142 rgba[i][rDst] = ((p ) & 0x3ff); in extract_uint_rgba()
4143 rgba[i][gDst] = ((p >> 10) & 0x3ff); in extract_uint_rgba()
4144 rgba[i][bDst] = ((p >> 20) & 0x3ff); in extract_uint_rgba()
4145 rgba[i][aDst] = ((p >> 30) ); in extract_uint_rgba()
4150 GLuint i; in extract_uint_rgba() local
4151 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4152 GLuint p = uisrc[i]; in extract_uint_rgba()
4153 rgba[i][rDst] = ((p ) & 0x3ff); in extract_uint_rgba()
4154 rgba[i][gDst] = ((p >> 10) & 0x3ff); in extract_uint_rgba()
4155 rgba[i][bDst] = ((p >> 20) & 0x3ff); in extract_uint_rgba()
4156 rgba[i][aDst] = ((p >> 30) ); in extract_uint_rgba()
4163 GLuint i; in extract_uint_rgba() local
4165 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4166 GLuint p = uisrc[i]; in extract_uint_rgba()
4169 rgba[i][rDst] = clamp_float_to_uint(f[0]); in extract_uint_rgba()
4170 rgba[i][gDst] = clamp_float_to_uint(f[1]); in extract_uint_rgba()
4171 rgba[i][bDst] = clamp_float_to_uint(f[2]); in extract_uint_rgba()
4172 rgba[i][aDst] = 1; in extract_uint_rgba()
4177 GLuint i; in extract_uint_rgba() local
4179 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4180 GLuint p = uisrc[i]; in extract_uint_rgba()
4182 rgba[i][rDst] = clamp_float_to_uint(f[0]); in extract_uint_rgba()
4183 rgba[i][gDst] = clamp_float_to_uint(f[1]); in extract_uint_rgba()
4184 rgba[i][bDst] = clamp_float_to_uint(f[2]); in extract_uint_rgba()
4185 rgba[i][aDst] = 1; in extract_uint_rgba()
4192 GLuint i; in extract_uint_rgba() local
4194 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4195 GLuint p = uisrc[i]; in extract_uint_rgba()
4198 rgba[i][rDst] = clamp_float_to_uint(f[0]); in extract_uint_rgba()
4199 rgba[i][gDst] = clamp_float_to_uint(f[1]); in extract_uint_rgba()
4200 rgba[i][bDst] = clamp_float_to_uint(f[2]); in extract_uint_rgba()
4201 rgba[i][aDst] = 1; in extract_uint_rgba()
4206 GLuint i; in extract_uint_rgba() local
4208 for (i = 0; i < n; i ++) { in extract_uint_rgba()
4209 GLuint p = uisrc[i]; in extract_uint_rgba()
4211 rgba[i][rDst] = clamp_float_to_uint(f[0]); in extract_uint_rgba()
4212 rgba[i][gDst] = clamp_float_to_uint(f[1]); in extract_uint_rgba()
4213 rgba[i][bDst] = clamp_float_to_uint(f[2]); in extract_uint_rgba()
4214 rgba[i][aDst] = 1; in extract_uint_rgba()
4317 GLuint i; in _mesa_unpack_color_span_ubyte() local
4320 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4337 GLuint i; in _mesa_unpack_color_span_ubyte() local
4340 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4422 GLuint i; in _mesa_unpack_color_span_ubyte() local
4423 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4424 CLAMPED_FLOAT_TO_UBYTE(dst[rDst], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4431 GLuint i; in _mesa_unpack_color_span_ubyte() local
4432 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4433 CLAMPED_FLOAT_TO_UBYTE(dst[gDst], rgba[i][GCOMP]); in _mesa_unpack_color_span_ubyte()
4440 GLuint i; in _mesa_unpack_color_span_ubyte() local
4441 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4442 CLAMPED_FLOAT_TO_UBYTE(dst[bDst], rgba[i][BCOMP]); in _mesa_unpack_color_span_ubyte()
4449 GLuint i; in _mesa_unpack_color_span_ubyte() local
4450 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4451 CLAMPED_FLOAT_TO_UBYTE(dst[aDst], rgba[i][ACOMP]); in _mesa_unpack_color_span_ubyte()
4458 GLuint i; in _mesa_unpack_color_span_ubyte() local
4461 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4463 CLAMPED_FLOAT_TO_UBYTE(dst[i], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4469 GLuint i; in _mesa_unpack_color_span_ubyte() local
4471 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_ubyte()
4473 CLAMPED_FLOAT_TO_UBYTE(dst[0], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4621 GLuint i; in _mesa_unpack_color_span_float() local
4622 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4623 dst[rDst] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4630 GLuint i; in _mesa_unpack_color_span_float() local
4631 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4632 dst[gDst] = rgba[i][GCOMP]; in _mesa_unpack_color_span_float()
4639 GLuint i; in _mesa_unpack_color_span_float() local
4640 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4641 dst[bDst] = rgba[i][BCOMP]; in _mesa_unpack_color_span_float()
4648 GLuint i; in _mesa_unpack_color_span_float() local
4649 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4650 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_float()
4657 GLuint i; in _mesa_unpack_color_span_float() local
4660 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4662 dst[i] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4668 GLuint i; in _mesa_unpack_color_span_float() local
4670 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_float()
4672 dst[0] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4780 GLuint i; in _mesa_unpack_color_span_uint() local
4781 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4782 dst[rDst] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4789 GLuint i; in _mesa_unpack_color_span_uint() local
4790 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4791 dst[gDst] = rgba[i][GCOMP]; in _mesa_unpack_color_span_uint()
4798 GLuint i; in _mesa_unpack_color_span_uint() local
4799 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4800 dst[bDst] = rgba[i][BCOMP]; in _mesa_unpack_color_span_uint()
4807 GLuint i; in _mesa_unpack_color_span_uint() local
4808 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4809 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_uint()
4816 GLuint i; in _mesa_unpack_color_span_uint() local
4819 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4821 dst[i] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4827 GLuint i; in _mesa_unpack_color_span_uint() local
4829 for (i = 0; i < n; i++) { in _mesa_unpack_color_span_uint()
4831 dst[0] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4871 GLuint i; in _mesa_unpack_dudv_span_byte() local
4895 for (i = 0; i < n; i++) { in _mesa_unpack_dudv_span_byte()
4897 dst[0] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_unpack_dudv_span_byte()
4898 dst[1] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_unpack_dudv_span_byte()
4977 GLuint i; in _mesa_unpack_index_span() local
4978 for (i = 0; i < n; i++) { in _mesa_unpack_index_span()
4979 dst[i] = (GLubyte) (indexes[i] & 0xff); in _mesa_unpack_index_span()
4986 GLuint i; in _mesa_unpack_index_span() local
4987 for (i = 0; i < n; i++) { in _mesa_unpack_index_span()
4988 dst[i] = (GLushort) (indexes[i] & 0xffff); in _mesa_unpack_index_span()
5030 GLuint i; in _mesa_pack_index_span() local
5031 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5032 *dst++ = (GLubyte) source[i]; in _mesa_pack_index_span()
5039 GLuint i; in _mesa_pack_index_span() local
5040 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5041 dst[i] = (GLbyte) source[i]; in _mesa_pack_index_span()
5048 GLuint i; in _mesa_pack_index_span() local
5049 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5050 dst[i] = (GLushort) source[i]; in _mesa_pack_index_span()
5060 GLuint i; in _mesa_pack_index_span() local
5061 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5062 dst[i] = (GLshort) source[i]; in _mesa_pack_index_span()
5072 GLuint i; in _mesa_pack_index_span() local
5073 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5074 dst[i] = (GLuint) source[i]; in _mesa_pack_index_span()
5084 GLuint i; in _mesa_pack_index_span() local
5085 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5086 dst[i] = (GLint) source[i]; in _mesa_pack_index_span()
5096 GLuint i; in _mesa_pack_index_span() local
5097 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5098 dst[i] = (GLfloat) source[i]; in _mesa_pack_index_span()
5108 GLuint i; in _mesa_pack_index_span() local
5109 for (i = 0; i < n; i++) { in _mesa_pack_index_span()
5110 dst[i] = _mesa_float_to_half((GLfloat) source[i]); in _mesa_pack_index_span()
5204 GLuint i; in _mesa_unpack_stencil_span() local
5205 for (i = 0; i < n; i++) { in _mesa_unpack_stencil_span()
5206 indexes[i] = (GLuint)ctx->PixelMaps.StoS.Map[ indexes[i] & mask ]; in _mesa_unpack_stencil_span()
5215 GLuint i; in _mesa_unpack_stencil_span() local
5216 for (i = 0; i < n; i++) { in _mesa_unpack_stencil_span()
5217 dst[i] = (GLubyte) (indexes[i] & 0xff); in _mesa_unpack_stencil_span()
5224 GLuint i; in _mesa_unpack_stencil_span() local
5225 for (i = 0; i < n; i++) { in _mesa_unpack_stencil_span()
5226 dst[i] = (GLushort) (indexes[i] & 0xffff); in _mesa_unpack_stencil_span()
5236 GLuint i; in _mesa_unpack_stencil_span() local
5237 for (i = 0; i < n; i++) { in _mesa_unpack_stencil_span()
5238 dst[i*2+1] = indexes[i] & 0xff; /* lower 8 bits */ in _mesa_unpack_stencil_span()
5278 GLuint i; in _mesa_pack_stencil_span() local
5279 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5280 dst[i] = (GLbyte) (source[i] & 0x7f); in _mesa_pack_stencil_span()
5287 GLuint i; in _mesa_pack_stencil_span() local
5288 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5289 dst[i] = (GLushort) source[i]; in _mesa_pack_stencil_span()
5299 GLuint i; in _mesa_pack_stencil_span() local
5300 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5301 dst[i] = (GLshort) source[i]; in _mesa_pack_stencil_span()
5311 GLuint i; in _mesa_pack_stencil_span() local
5312 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5313 dst[i] = (GLuint) source[i]; in _mesa_pack_stencil_span()
5323 GLuint i; in _mesa_pack_stencil_span() local
5324 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5325 dst[i] = (GLint) source[i]; in _mesa_pack_stencil_span()
5335 GLuint i; in _mesa_pack_stencil_span() local
5336 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5337 dst[i] = (GLfloat) source[i]; in _mesa_pack_stencil_span()
5347 GLuint i; in _mesa_pack_stencil_span() local
5348 for (i=0;i<n;i++) { in _mesa_pack_stencil_span()
5349 dst[i] = _mesa_float_to_half( (float) source[i] ); in _mesa_pack_stencil_span()
5360 GLuint i; in _mesa_pack_stencil_span() local
5361 for (i = 0; i < n; i++) { in _mesa_pack_stencil_span()
5364 *dst |= ((source[i] != 0) << shift); in _mesa_pack_stencil_span()
5375 GLuint i; in _mesa_pack_stencil_span() local
5376 for (i = 0; i < n; i++) { in _mesa_pack_stencil_span()
5379 *dst |= ((source[i] != 0) << shift); in _mesa_pack_stencil_span()
5397 GLuint i; \
5399 for (i = 0; i < n; i++) { \
5400 GLTYPE value = src[i]; \
5408 depthValues[i] = GLTYPE2FLOAT(value); \
5441 GLuint i; in _mesa_unpack_depth_span() local
5442 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5443 dst[i] = src[i] >> 16; in _mesa_unpack_depth_span()
5452 GLuint i; in _mesa_unpack_depth_span() local
5453 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5454 dst[i] = src[i] | (src[i] << 16); in _mesa_unpack_depth_span()
5463 GLuint i; in _mesa_unpack_depth_span() local
5464 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5465 dst[i] = src[i] >> 8; in _mesa_unpack_depth_span()
5519 GLuint i; in _mesa_unpack_depth_span() local
5520 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5521 GLuint value = src[i]; in _mesa_unpack_depth_span()
5525 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()
5533 GLuint i; in _mesa_unpack_depth_span() local
5534 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5535 GLuint value = src[i]; in _mesa_unpack_depth_span()
5539 depthValues[i] = (value >> 8) * scale; in _mesa_unpack_depth_span()
5545 GLuint i; in _mesa_unpack_depth_span() local
5547 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5548 GLfloat value = src[i * 2]; in _mesa_unpack_depth_span()
5552 depthValues[i] = value; in _mesa_unpack_depth_span()
5563 GLuint i; in _mesa_unpack_depth_span() local
5565 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5566 GLhalfARB value = src[i]; in _mesa_unpack_depth_span()
5570 depthValues[i] = _mesa_half_to_float(value); in _mesa_unpack_depth_span()
5586 GLuint i; in _mesa_unpack_depth_span() local
5587 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5588 depthValues[i] = depthValues[i] * scale + bias; in _mesa_unpack_depth_span()
5596 GLuint i; in _mesa_unpack_depth_span() local
5597 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5598 depthValues[i] = (GLfloat)CLAMP(depthValues[i], 0.0, 1.0); in _mesa_unpack_depth_span()
5607 GLuint i; in _mesa_unpack_depth_span() local
5610 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5611 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
5616 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5617 GLdouble z = depthValues[i] * (GLdouble) depthMax; in _mesa_unpack_depth_span()
5619 zValues[i] = 0xffffffff; in _mesa_unpack_depth_span()
5621 zValues[i] = (GLuint) z; in _mesa_unpack_depth_span()
5627 GLuint i; in _mesa_unpack_depth_span() local
5629 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
5638 GLuint i; in _mesa_unpack_depth_span() local
5639 for (i = 0; i < n; i++) { in _mesa_unpack_depth_span()
5640 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()
5675 GLuint i; in _mesa_pack_depth_span() local
5676 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5677 dst[i] = FLOAT_TO_UBYTE( depthSpan[i] ); in _mesa_pack_depth_span()
5684 GLuint i; in _mesa_pack_depth_span() local
5685 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5686 dst[i] = FLOAT_TO_BYTE( depthSpan[i] ); in _mesa_pack_depth_span()
5693 GLuint i; in _mesa_pack_depth_span() local
5694 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5695 CLAMPED_FLOAT_TO_USHORT(dst[i], depthSpan[i]); in _mesa_pack_depth_span()
5705 GLuint i; in _mesa_pack_depth_span() local
5706 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5707 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()
5717 GLuint i; in _mesa_pack_depth_span() local
5718 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5719 dst[i] = FLOAT_TO_UINT( depthSpan[i] ); in _mesa_pack_depth_span()
5729 GLuint i; in _mesa_pack_depth_span() local
5730 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5731 dst[i] = FLOAT_TO_INT( depthSpan[i] ); in _mesa_pack_depth_span()
5741 GLuint i; in _mesa_pack_depth_span() local
5742 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5743 dst[i] = depthSpan[i]; in _mesa_pack_depth_span()
5753 GLuint i; in _mesa_pack_depth_span() local
5754 for (i = 0; i < n; i++) { in _mesa_pack_depth_span()
5755 dst[i] = _mesa_float_to_half(depthSpan[i]); in _mesa_pack_depth_span()
5783 GLuint i; in _mesa_pack_depth_stencil_span() local
5808 for (i = 0; i < n; i++) { in _mesa_pack_depth_stencil_span()
5809 GLuint z = (GLuint) (depthVals[i] * 0xffffff); in _mesa_pack_depth_stencil_span()
5810 dest[i] = (z << 8) | (stencilVals[i] & 0xff); in _mesa_pack_depth_stencil_span()
5814 for (i = 0; i < n; i++) { in _mesa_pack_depth_stencil_span()
5815 ((GLfloat*)dest)[i*2] = depthVals[i]; in _mesa_pack_depth_stencil_span()
5816 dest[i*2+1] = stencilVals[i] & 0xff; in _mesa_pack_depth_stencil_span()
5893 GLint i; in _mesa_unpack_image() local
5901 for (i = 0; i < width; i++) { in _mesa_unpack_image()
5928 for (i = 0; i < width; i++) { in _mesa_unpack_image()
5992 GLuint i; in _mesa_rebase_rgba_float() local
5996 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_float()
5997 rgba[i][RCOMP] = 0.0F; in _mesa_rebase_rgba_float()
5998 rgba[i][GCOMP] = 0.0F; in _mesa_rebase_rgba_float()
5999 rgba[i][BCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6005 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_float()
6006 rgba[i][GCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6007 rgba[i][BCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6008 rgba[i][ACOMP] = 1.0F; in _mesa_rebase_rgba_float()
6012 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_float()
6013 rgba[i][GCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6014 rgba[i][BCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6030 GLuint i; in _mesa_rebase_rgba_uint() local
6034 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_uint()
6035 rgba[i][RCOMP] = 0; in _mesa_rebase_rgba_uint()
6036 rgba[i][GCOMP] = 0; in _mesa_rebase_rgba_uint()
6037 rgba[i][BCOMP] = 0; in _mesa_rebase_rgba_uint()
6043 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_uint()
6044 rgba[i][GCOMP] = 0; in _mesa_rebase_rgba_uint()
6045 rgba[i][BCOMP] = 0; in _mesa_rebase_rgba_uint()
6046 rgba[i][ACOMP] = 1; in _mesa_rebase_rgba_uint()
6050 for (i = 0; i < n; i++) { in _mesa_rebase_rgba_uint()
6051 rgba[i][GCOMP] = 0; in _mesa_rebase_rgba_uint()
6052 rgba[i][BCOMP] = 0; in _mesa_rebase_rgba_uint()