Lines Matching refs:rgba
531 _mesa_pack_rgba_span_from_uints(struct gl_context *ctx, GLuint n, GLuint rgba[][4], in _mesa_pack_rgba_span_from_uints()
539 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints()
542 pack_int_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints()
545 pack_ushort_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints()
548 pack_short_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints()
551 pack_ubyte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints()
554 pack_byte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
917 _mesa_pack_rgba_span_from_ints(struct gl_context *ctx, GLuint n, GLint rgba[][4], in _mesa_pack_rgba_span_from_ints()
925 pack_uint_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_ints()
929 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, (GLuint (*)[4]) rgba, n); in _mesa_pack_rgba_span_from_ints()
932 pack_ushort_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_ints()
935 pack_short_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_ints()
938 pack_ubyte_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_ints()
941 pack_byte_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
1258 _mesa_pack_rgba_span_float(struct gl_context *ctx, GLuint n, GLfloat rgba[][4], in _mesa_pack_rgba_span_float()
1291 _mesa_apply_rgba_transfer_ops(ctx, transferOps, n, rgba); 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()
1314 GLfloat sum = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1335 dst[i] = FLOAT_TO_UBYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1339 dst[i] = FLOAT_TO_UBYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1343 dst[i] = FLOAT_TO_UBYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1347 dst[i] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1356 dst[i*2+1] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
1405 dst[i] = (GLubyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1410 dst[i] = (GLubyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1415 dst[i] = (GLubyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1420 dst[i] = (GLubyte) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
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()
1492 dst[i] = FLOAT_TO_BYTE(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1496 dst[i] = FLOAT_TO_BYTE(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1500 dst[i] = FLOAT_TO_BYTE(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1504 dst[i] = FLOAT_TO_BYTE(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1513 dst[i*2+1] = FLOAT_TO_BYTE(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
1562 dst[i] = (GLbyte) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1567 dst[i] = (GLbyte) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1572 dst[i] = (GLbyte) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1577 dst[i] = (GLbyte) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
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()
1649 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1653 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1657 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1661 CLAMPED_FLOAT_TO_USHORT(dst[i], rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1670 CLAMPED_FLOAT_TO_USHORT(dst[i*2+1], rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
1719 dst[i] = (GLushort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1724 dst[i] = (GLushort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1729 dst[i] = (GLushort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1734 dst[i] = (GLushort) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
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()
1806 dst[i] = FLOAT_TO_SHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1810 dst[i] = FLOAT_TO_SHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1814 dst[i] = FLOAT_TO_SHORT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1818 dst[i] = FLOAT_TO_SHORT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1827 dst[i*2+1] = FLOAT_TO_SHORT(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
1876 dst[i] = (GLshort) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
1881 dst[i] = (GLshort) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
1886 dst[i] = (GLshort) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1891 dst[i] = (GLshort) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
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()
1963 dst[i] = FLOAT_TO_UINT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1967 dst[i] = FLOAT_TO_UINT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
1971 dst[i] = FLOAT_TO_UINT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
1975 dst[i] = FLOAT_TO_UINT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
1984 dst[i*2+1] = FLOAT_TO_UINT(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
2033 dst[i] = (GLuint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2038 dst[i] = (GLuint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2043 dst[i] = (GLuint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2048 dst[i] = (GLuint) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
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()
2120 dst[i] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2124 dst[i] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2128 dst[i] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2132 dst[i] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2141 dst[i*2+1] = FLOAT_TO_INT(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
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()
2197 dst[i] = (GLint) rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2202 dst[i] = (GLint) rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2207 dst[i] = (GLint) rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2212 dst[i] = (GLint) rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
2277 dst[i] = rgba[i][RCOMP]; in _mesa_pack_rgba_span_float()
2281 dst[i] = rgba[i][GCOMP]; in _mesa_pack_rgba_span_float()
2285 dst[i] = rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
2289 dst[i] = rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2298 dst[i*2+1] = rgba[i][ACOMP]; 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()
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()
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()
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()
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()
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()
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()
2363 dst[i] = _mesa_float_to_half(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2367 dst[i] = _mesa_float_to_half(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2371 dst[i] = _mesa_float_to_half(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2375 dst[i] = _mesa_float_to_half(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2384 dst[i*2+1] = _mesa_float_to_half(rgba[i][ACOMP]); 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
2719 dst[i] = float3_to_rgb9e5(rgba[i]); in _mesa_pack_rgba_span_float()
2727 dst[i] = float3_to_r11g11b10f(rgba[i]); in _mesa_pack_rgba_span_float()
3131 extract_float_rgba(GLuint n, GLfloat rgba[][4], in extract_float_rgba()
3204 rgba[i][DST_INDEX] = DEFAULT_INT; \ in extract_float_rgba()
3209 rgba[i][DST_INDEX] = DEFAULT_FLT; \ 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()
3236 rgba[i][DST_INDEX] = (GLfloat) s[SRC_INDEX]; \ in extract_float_rgba()
3242 rgba[i][DST_INDEX] = (GLfloat) CONVERSION(s[SRC_INDEX]); \ 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
3742 extract_uint_rgba(GLuint n, GLuint rgba[][4], in extract_uint_rgba()
3810 rgba[i][DST_INDEX] = DEFAULT; \ in extract_uint_rgba()
3824 rgba[i][DST_INDEX] = CONVERSION(value); \ in extract_uint_rgba()
3832 rgba[i][DST_INDEX] = CONVERSION(s[SRC_INDEX]); \ 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
4364 GLfloat (*rgba)[4] = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in _mesa_unpack_color_span_ubyte() local
4366 if (!rgba) { in _mesa_unpack_color_span_ubyte()
4383 free(rgba); in _mesa_unpack_color_span_ubyte()
4394 _mesa_map_ci_to_rgba(ctx, n, indexes, rgba); in _mesa_unpack_color_span_ubyte()
4405 extract_float_rgba(n, rgba, srcFormat, srcType, source, in _mesa_unpack_color_span_ubyte()
4413 _mesa_apply_rgba_transfer_ops(ctx, transferOps, n, rgba); in _mesa_unpack_color_span_ubyte()
4424 CLAMPED_FLOAT_TO_UBYTE(dst[rDst], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4433 CLAMPED_FLOAT_TO_UBYTE(dst[gDst], rgba[i][GCOMP]); in _mesa_unpack_color_span_ubyte()
4442 CLAMPED_FLOAT_TO_UBYTE(dst[bDst], rgba[i][BCOMP]); in _mesa_unpack_color_span_ubyte()
4451 CLAMPED_FLOAT_TO_UBYTE(dst[aDst], rgba[i][ACOMP]); in _mesa_unpack_color_span_ubyte()
4463 CLAMPED_FLOAT_TO_UBYTE(dst[i], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4473 CLAMPED_FLOAT_TO_UBYTE(dst[0], rgba[i][RCOMP]); in _mesa_unpack_color_span_ubyte()
4478 free(rgba); in _mesa_unpack_color_span_ubyte()
4558 GLfloat (*rgba)[4] = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in _mesa_unpack_color_span_float() local
4561 if (!rgba) { in _mesa_unpack_color_span_float()
4585 free(rgba); in _mesa_unpack_color_span_float()
4596 _mesa_map_ci_to_rgba(ctx, n, indexes, rgba); in _mesa_unpack_color_span_float()
4607 extract_float_rgba(n, rgba, srcFormat, srcType, source, in _mesa_unpack_color_span_float()
4612 _mesa_apply_rgba_transfer_ops(ctx, transferOps, n, rgba); in _mesa_unpack_color_span_float()
4623 dst[rDst] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4632 dst[gDst] = rgba[i][GCOMP]; in _mesa_unpack_color_span_float()
4641 dst[bDst] = rgba[i][BCOMP]; in _mesa_unpack_color_span_float()
4650 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_float()
4662 dst[i] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4672 dst[0] = rgba[i][RCOMP]; in _mesa_unpack_color_span_float()
4677 free(rgba); in _mesa_unpack_color_span_float()
4694 GLuint (*rgba)[4] = (GLuint (*)[4]) malloc(n * 4 * sizeof(GLfloat)); in _mesa_unpack_color_span_uint() local
4696 if (!rgba) { in _mesa_unpack_color_span_uint()
4760 extract_uint_rgba(n, rgba, srcFormat, srcType, source, in _mesa_unpack_color_span_uint()
4765 memcpy(dest, rgba, 4 * sizeof(GLuint) * n); in _mesa_unpack_color_span_uint()
4782 dst[rDst] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4791 dst[gDst] = rgba[i][GCOMP]; in _mesa_unpack_color_span_uint()
4800 dst[bDst] = rgba[i][BCOMP]; in _mesa_unpack_color_span_uint()
4809 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_uint()
4821 dst[i] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4831 dst[0] = rgba[i][RCOMP]; in _mesa_unpack_color_span_uint()
4837 free(rgba); in _mesa_unpack_color_span_uint()
4872 GLfloat (*rgba)[4] = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in _mesa_unpack_dudv_span_byte() local
4874 if (!rgba) { in _mesa_unpack_dudv_span_byte()
4886 extract_float_rgba(n, rgba, srcFormat, srcType, source, 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()
4902 free(rgba); in _mesa_unpack_dudv_span_byte()
5990 _mesa_rebase_rgba_float(GLuint n, GLfloat rgba[][4], GLenum baseFormat) 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()
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()
6013 rgba[i][GCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6014 rgba[i][BCOMP] = 0.0F; in _mesa_rebase_rgba_float()
6028 _mesa_rebase_rgba_uint(GLuint n, GLuint rgba[][4], GLenum baseFormat) 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()
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()
6051 rgba[i][GCOMP] = 0; in _mesa_rebase_rgba_uint()
6052 rgba[i][BCOMP] = 0; in _mesa_rebase_rgba_uint()