Lines Matching refs:texel
78 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
81 texel[0] = src[0] * (1.0F / 0xffffffff); in FETCH()
92 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
95 texel[0] = src[0] * (1.0F / 65535.0F); in FETCH()
105 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
108 texel[RCOMP] = src[0]; in FETCH()
109 texel[GCOMP] = src[1]; in FETCH()
110 texel[BCOMP] = src[2]; in FETCH()
111 texel[ACOMP] = src[3]; in FETCH()
123 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
126 texel[RCOMP] = _mesa_half_to_float(src[0]); in FETCH()
127 texel[GCOMP] = _mesa_half_to_float(src[1]); in FETCH()
128 texel[BCOMP] = _mesa_half_to_float(src[2]); in FETCH()
129 texel[ACOMP] = _mesa_half_to_float(src[3]); in FETCH()
140 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
143 texel[RCOMP] = src[0]; in FETCH()
144 texel[GCOMP] = src[1]; in FETCH()
145 texel[BCOMP] = src[2]; in FETCH()
146 texel[ACOMP] = 1.0F; in FETCH()
158 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
161 texel[RCOMP] = _mesa_half_to_float(src[0]); in FETCH()
162 texel[GCOMP] = _mesa_half_to_float(src[1]); in FETCH()
163 texel[BCOMP] = _mesa_half_to_float(src[2]); in FETCH()
164 texel[ACOMP] = 1.0F; in FETCH()
176 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
179 texel[RCOMP] = in FETCH()
180 texel[GCOMP] = in FETCH()
181 texel[BCOMP] = 0.0F; in FETCH()
182 texel[ACOMP] = src[0]; in FETCH()
194 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
197 texel[RCOMP] = in FETCH()
198 texel[GCOMP] = in FETCH()
199 texel[BCOMP] = 0.0F; in FETCH()
200 texel[ACOMP] = _mesa_half_to_float(src[0]); in FETCH()
212 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
215 texel[RCOMP] = in FETCH()
216 texel[GCOMP] = in FETCH()
217 texel[BCOMP] = src[0]; in FETCH()
218 texel[ACOMP] = 1.0F; in FETCH()
230 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
233 texel[RCOMP] = in FETCH()
234 texel[GCOMP] = in FETCH()
235 texel[BCOMP] = _mesa_half_to_float(src[0]); in FETCH()
236 texel[ACOMP] = 1.0F; in FETCH()
248 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
251 texel[RCOMP] = in FETCH()
252 texel[GCOMP] = in FETCH()
253 texel[BCOMP] = src[0]; in FETCH()
254 texel[ACOMP] = src[1]; in FETCH()
266 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
269 texel[RCOMP] = in FETCH()
270 texel[GCOMP] = in FETCH()
271 texel[BCOMP] = _mesa_half_to_float(src[0]); in FETCH()
272 texel[ACOMP] = _mesa_half_to_float(src[1]); in FETCH()
284 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
287 texel[RCOMP] = in FETCH()
288 texel[GCOMP] = in FETCH()
289 texel[BCOMP] = in FETCH()
290 texel[ACOMP] = src[0]; in FETCH()
302 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
305 texel[RCOMP] = in FETCH()
306 texel[GCOMP] = in FETCH()
307 texel[BCOMP] = in FETCH()
308 texel[ACOMP] = _mesa_half_to_float(src[0]); in FETCH()
320 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
323 texel[RCOMP] = src[0]; in FETCH()
324 texel[GCOMP] = 0.0F; in FETCH()
325 texel[BCOMP] = 0.0F; in FETCH()
326 texel[ACOMP] = 1.0F; in FETCH()
338 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
341 texel[RCOMP] = _mesa_half_to_float(src[0]); in FETCH()
342 texel[GCOMP] = 0.0F; in FETCH()
343 texel[BCOMP] = 0.0F; in FETCH()
344 texel[ACOMP] = 1.0F; in FETCH()
356 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
359 texel[RCOMP] = src[0]; in FETCH()
360 texel[GCOMP] = src[1]; in FETCH()
361 texel[BCOMP] = 0.0F; in FETCH()
362 texel[ACOMP] = 1.0F; in FETCH()
374 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
377 texel[RCOMP] = _mesa_half_to_float(src[0]); in FETCH()
378 texel[GCOMP] = _mesa_half_to_float(src[1]); in FETCH()
379 texel[BCOMP] = 0.0F; in FETCH()
380 texel[ACOMP] = 1.0F; in FETCH()
394 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
397 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
398 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
399 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
400 texel[ACOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
412 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
415 texel[RCOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
416 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
417 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
418 texel[ACOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
428 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
431 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
432 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
433 texel[BCOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
434 texel[ACOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
444 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
447 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
448 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
449 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
450 texel[ACOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
460 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
463 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
464 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
465 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
466 texel[ACOMP] = 1.0f; in FETCH()
476 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
479 texel[RCOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
480 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
481 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
482 texel[ACOMP] = 1.0f; in FETCH()
492 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
495 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
496 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
497 texel[BCOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); in FETCH()
498 texel[ACOMP] = 1.0f; in FETCH()
508 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
511 texel[RCOMP] = UBYTE_TO_FLOAT( (s >> 8) & 0xff ); in FETCH()
512 texel[GCOMP] = UBYTE_TO_FLOAT( (s >> 16) & 0xff ); in FETCH()
513 texel[BCOMP] = UBYTE_TO_FLOAT( (s >> 24) ); in FETCH()
514 texel[ACOMP] = 1.0f; in FETCH()
524 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
527 texel[RCOMP] = UBYTE_TO_FLOAT( src[2] ); in FETCH()
528 texel[GCOMP] = UBYTE_TO_FLOAT( src[1] ); in FETCH()
529 texel[BCOMP] = UBYTE_TO_FLOAT( src[0] ); in FETCH()
530 texel[ACOMP] = 1.0F; in FETCH()
540 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
543 texel[RCOMP] = UBYTE_TO_FLOAT( src[0] ); in FETCH()
544 texel[GCOMP] = UBYTE_TO_FLOAT( src[1] ); in FETCH()
545 texel[BCOMP] = UBYTE_TO_FLOAT( src[2] ); in FETCH()
546 texel[ACOMP] = 1.0F; in FETCH()
559 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
563 texel[RCOMP] = ((s >> 11) & 0x1f) * (1.0F / 31.0F); in FETCH()
564 texel[GCOMP] = ((s >> 5 ) & 0x3f) * (1.0F / 63.0F); in FETCH()
565 texel[BCOMP] = ((s ) & 0x1f) * (1.0F / 31.0F); in FETCH()
566 texel[ACOMP] = 1.0F; in FETCH()
576 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
580 texel[RCOMP] = UBYTE_TO_FLOAT( ((s >> 8) & 0xf8) | ((s >> 13) & 0x7) ); in FETCH()
581 texel[GCOMP] = UBYTE_TO_FLOAT( ((s >> 3) & 0xfc) | ((s >> 9) & 0x3) ); in FETCH()
582 texel[BCOMP] = UBYTE_TO_FLOAT( ((s << 3) & 0xf8) | ((s >> 2) & 0x7) ); in FETCH()
583 texel[ACOMP] = 1.0F; in FETCH()
593 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
597 texel[RCOMP] = ((s >> 8) & 0xf) * (1.0F / 15.0F); in FETCH()
598 texel[GCOMP] = ((s >> 4) & 0xf) * (1.0F / 15.0F); in FETCH()
599 texel[BCOMP] = ((s ) & 0xf) * (1.0F / 15.0F); in FETCH()
600 texel[ACOMP] = ((s >> 12) & 0xf) * (1.0F / 15.0F); in FETCH()
610 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
613 texel[RCOMP] = ((s ) & 0xf) * (1.0F / 15.0F); in FETCH()
614 texel[GCOMP] = ((s >> 12) & 0xf) * (1.0F / 15.0F); in FETCH()
615 texel[BCOMP] = ((s >> 8) & 0xf) * (1.0F / 15.0F); in FETCH()
616 texel[ACOMP] = ((s >> 4) & 0xf) * (1.0F / 15.0F); in FETCH()
625 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
629 texel[RCOMP] = ((s >> 11) & 0x1f) * (1.0F / 31.0F); in FETCH()
630 texel[GCOMP] = ((s >> 6) & 0x1f) * (1.0F / 31.0F); in FETCH()
631 texel[BCOMP] = ((s >> 1) & 0x1f) * (1.0F / 31.0F); in FETCH()
632 texel[ACOMP] = ((s ) & 0x01) * 1.0F; in FETCH()
641 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
645 texel[RCOMP] = ((s >> 10) & 0x1f) * (1.0F / 31.0F); in FETCH()
646 texel[GCOMP] = ((s >> 5) & 0x1f) * (1.0F / 31.0F); in FETCH()
647 texel[BCOMP] = ((s >> 0) & 0x1f) * (1.0F / 31.0F); in FETCH()
648 texel[ACOMP] = ((s >> 15) & 0x01) * 1.0F; in FETCH()
658 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
662 texel[RCOMP] = UBYTE_TO_FLOAT( ((s >> 7) & 0xf8) | ((s >> 12) & 0x7) ); in FETCH()
663 texel[GCOMP] = UBYTE_TO_FLOAT( ((s >> 2) & 0xf8) | ((s >> 7) & 0x7) ); in FETCH()
664 texel[BCOMP] = UBYTE_TO_FLOAT( ((s << 3) & 0xf8) | ((s >> 2) & 0x7) ); in FETCH()
665 texel[ACOMP] = UBYTE_TO_FLOAT( ((s >> 15) & 0x01) * 255 ); in FETCH()
675 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
679 texel[RCOMP] = ((s >> 20) & 0x3ff) * (1.0F / 1023.0F); in FETCH()
680 texel[GCOMP] = ((s >> 10) & 0x3ff) * (1.0F / 1023.0F); in FETCH()
681 texel[BCOMP] = ((s >> 0) & 0x3ff) * (1.0F / 1023.0F); in FETCH()
682 texel[ACOMP] = ((s >> 30) & 0x03) * (1.0F / 3.0F); in FETCH()
692 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
695 texel[RCOMP] = UBYTE_TO_FLOAT( s & 0xff ); in FETCH()
696 texel[GCOMP] = UBYTE_TO_FLOAT( s >> 8 ); in FETCH()
697 texel[BCOMP] = 0.0; in FETCH()
698 texel[ACOMP] = 1.0; in FETCH()
708 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
711 texel[RCOMP] = UBYTE_TO_FLOAT( s >> 8 ); in FETCH()
712 texel[GCOMP] = UBYTE_TO_FLOAT( s & 0xff ); in FETCH()
713 texel[BCOMP] = 0.0; in FETCH()
714 texel[ACOMP] = 1.0; in FETCH()
724 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
727 texel[RCOMP] = in FETCH()
728 texel[GCOMP] = in FETCH()
729 texel[BCOMP] = (s & 0xf) * (1.0F / 15.0F); in FETCH()
730 texel[ACOMP] = ((s >> 4) & 0xf) * (1.0F / 15.0F); in FETCH()
740 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
743 texel[RCOMP] = in FETCH()
744 texel[GCOMP] = in FETCH()
745 texel[BCOMP] = UBYTE_TO_FLOAT( s & 0xff ); in FETCH()
746 texel[ACOMP] = UBYTE_TO_FLOAT( s >> 8 ); in FETCH()
756 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
759 texel[RCOMP] = UBYTE_TO_FLOAT(s); in FETCH()
760 texel[GCOMP] = 0.0; in FETCH()
761 texel[BCOMP] = 0.0; in FETCH()
762 texel[ACOMP] = 1.0; in FETCH()
772 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
775 texel[RCOMP] = USHORT_TO_FLOAT(s); in FETCH()
776 texel[GCOMP] = 0.0; in FETCH()
777 texel[BCOMP] = 0.0; in FETCH()
778 texel[ACOMP] = 1.0; in FETCH()
788 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
791 texel[RCOMP] = in FETCH()
792 texel[GCOMP] = in FETCH()
793 texel[BCOMP] = UBYTE_TO_FLOAT( s >> 8 ); in FETCH()
794 texel[ACOMP] = UBYTE_TO_FLOAT( s & 0xff ); in FETCH()
804 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
807 texel[RCOMP] = USHORT_TO_FLOAT( s & 0xffff ); in FETCH()
808 texel[GCOMP] = USHORT_TO_FLOAT( s >> 16 ); in FETCH()
809 texel[BCOMP] = 0.0; in FETCH()
810 texel[ACOMP] = 1.0; in FETCH()
820 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
823 texel[RCOMP] = USHORT_TO_FLOAT( s >> 16 ); in FETCH()
824 texel[GCOMP] = USHORT_TO_FLOAT( s & 0xffff ); in FETCH()
825 texel[BCOMP] = 0.0; in FETCH()
826 texel[ACOMP] = 1.0; in FETCH()
836 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
839 texel[RCOMP] = in FETCH()
840 texel[GCOMP] = in FETCH()
841 texel[BCOMP] = USHORT_TO_FLOAT( s & 0xffff ); in FETCH()
842 texel[ACOMP] = USHORT_TO_FLOAT( s >> 16 ); in FETCH()
852 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
855 texel[RCOMP] = in FETCH()
856 texel[GCOMP] = in FETCH()
857 texel[BCOMP] = USHORT_TO_FLOAT( s >> 16 ); in FETCH()
858 texel[ACOMP] = USHORT_TO_FLOAT( s & 0xffff ); in FETCH()
868 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
872 texel[RCOMP] = ((s >> 5) & 0x7) * (1.0F / 7.0F); in FETCH()
873 texel[GCOMP] = ((s >> 2) & 0x7) * (1.0F / 7.0F); in FETCH()
874 texel[BCOMP] = ((s ) & 0x3) * (1.0F / 3.0F); in FETCH()
875 texel[ACOMP] = 1.0F; in FETCH()
885 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
888 texel[RCOMP] = in FETCH()
889 texel[GCOMP] = in FETCH()
890 texel[BCOMP] = 0.0F; in FETCH()
891 texel[ACOMP] = UBYTE_TO_FLOAT( src[0] ); in FETCH()
901 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
904 texel[RCOMP] = in FETCH()
905 texel[GCOMP] = in FETCH()
906 texel[BCOMP] = 0.0F; in FETCH()
907 texel[ACOMP] = USHORT_TO_FLOAT( src[0] ); in FETCH()
917 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
920 texel[RCOMP] = in FETCH()
921 texel[GCOMP] = in FETCH()
922 texel[BCOMP] = UBYTE_TO_FLOAT( src[0] ); in FETCH()
923 texel[ACOMP] = 1.0F; in FETCH()
933 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
936 texel[RCOMP] = in FETCH()
937 texel[GCOMP] = in FETCH()
938 texel[BCOMP] = USHORT_TO_FLOAT( src[0] ); in FETCH()
939 texel[ACOMP] = 1.0F; in FETCH()
949 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
952 texel[RCOMP] = in FETCH()
953 texel[GCOMP] = in FETCH()
954 texel[BCOMP] = in FETCH()
955 texel[ACOMP] = UBYTE_TO_FLOAT( src[0] ); in FETCH()
965 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
968 texel[RCOMP] = in FETCH()
969 texel[GCOMP] = in FETCH()
970 texel[BCOMP] = in FETCH()
971 texel[ACOMP] = USHORT_TO_FLOAT( src[0] ); in FETCH()
980 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
983 texel[RCOMP] = nonlinear_to_linear(src[2]); in FETCH()
984 texel[GCOMP] = nonlinear_to_linear(src[1]); in FETCH()
985 texel[BCOMP] = nonlinear_to_linear(src[0]); in FETCH()
986 texel[ACOMP] = 1.0F; in FETCH()
993 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
996 texel[RCOMP] = nonlinear_to_linear( (s >> 24) ); in FETCH()
997 texel[GCOMP] = nonlinear_to_linear( (s >> 16) & 0xff ); in FETCH()
998 texel[BCOMP] = nonlinear_to_linear( (s >> 8) & 0xff ); in FETCH()
999 texel[ACOMP] = UBYTE_TO_FLOAT( (s ) & 0xff ); /* linear! */ in FETCH()
1006 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1009 texel[RCOMP] = nonlinear_to_linear( (s >> 16) & 0xff ); in FETCH()
1010 texel[GCOMP] = nonlinear_to_linear( (s >> 8) & 0xff ); in FETCH()
1011 texel[BCOMP] = nonlinear_to_linear( (s ) & 0xff ); in FETCH()
1012 texel[ACOMP] = UBYTE_TO_FLOAT( (s >> 24) ); /* linear! */ in FETCH()
1019 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1022 texel[RCOMP] = in FETCH()
1023 texel[GCOMP] = in FETCH()
1024 texel[BCOMP] = nonlinear_to_linear(src[0]); in FETCH()
1025 texel[ACOMP] = 1.0F; in FETCH()
1032 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1035 texel[RCOMP] = in FETCH()
1036 texel[GCOMP] = in FETCH()
1037 texel[BCOMP] = nonlinear_to_linear(src[0]); in FETCH()
1038 texel[ACOMP] = UBYTE_TO_FLOAT(src[1]); /* linear */ in FETCH()
1048 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1051 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1052 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1053 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1054 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1064 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1067 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1068 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1069 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1070 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1080 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1083 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1084 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1085 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1086 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1096 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1099 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1100 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1101 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1102 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1112 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1115 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1116 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1117 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1118 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1128 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1131 texel[RCOMP] = (GLfloat) src[0]; in FETCH()
1132 texel[GCOMP] = (GLfloat) src[1]; in FETCH()
1133 texel[BCOMP] = (GLfloat) src[2]; in FETCH()
1134 texel[ACOMP] = (GLfloat) src[3]; in FETCH()
1145 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1148 texel[RCOMP] = BYTE_TO_FLOAT(src[0]); in FETCH()
1149 texel[GCOMP] = BYTE_TO_FLOAT(src[1]); in FETCH()
1150 texel[BCOMP] = 0; in FETCH()
1151 texel[ACOMP] = 0; in FETCH()
1158 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1161 texel[RCOMP] = BYTE_TO_FLOAT_TEX( s ); in FETCH()
1162 texel[GCOMP] = 0.0F; in FETCH()
1163 texel[BCOMP] = 0.0F; in FETCH()
1164 texel[ACOMP] = 1.0F; in FETCH()
1173 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1176 texel[RCOMP] = 0.0F; in FETCH()
1177 texel[GCOMP] = 0.0F; in FETCH()
1178 texel[BCOMP] = 0.0F; in FETCH()
1179 texel[ACOMP] = BYTE_TO_FLOAT_TEX( s ); in FETCH()
1188 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1191 texel[RCOMP] = in FETCH()
1192 texel[GCOMP] = in FETCH()
1193 texel[BCOMP] = BYTE_TO_FLOAT_TEX( s ); in FETCH()
1194 texel[ACOMP] = 1.0F; in FETCH()
1203 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1206 texel[RCOMP] = in FETCH()
1207 texel[GCOMP] = in FETCH()
1208 texel[BCOMP] = in FETCH()
1209 texel[ACOMP] = BYTE_TO_FLOAT_TEX( s ); in FETCH()
1218 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1221 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) ); in FETCH()
1222 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1223 texel[BCOMP] = 0.0F; in FETCH()
1224 texel[ACOMP] = 1.0F; in FETCH()
1233 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1236 texel[RCOMP] = in FETCH()
1237 texel[GCOMP] = in FETCH()
1238 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) ); in FETCH()
1239 texel[ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1248 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1251 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 24) ); in FETCH()
1252 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 16) ); in FETCH()
1253 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1254 texel[ACOMP] = 1.0f; in FETCH()
1263 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1266 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 24) ); in FETCH()
1267 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 16) ); in FETCH()
1268 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1269 texel[ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s ) ); in FETCH()
1275 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1278 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s ) ); in FETCH()
1279 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) ); in FETCH()
1280 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 16) ); in FETCH()
1281 texel[ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 24) ); in FETCH()
1292 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1295 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1296 texel[GCOMP] = 0.0F; in FETCH()
1297 texel[BCOMP] = 0.0F; in FETCH()
1298 texel[ACOMP] = 1.0F; in FETCH()
1308 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1311 texel[RCOMP] = 0.0F; in FETCH()
1312 texel[GCOMP] = 0.0F; in FETCH()
1313 texel[BCOMP] = 0.0F; in FETCH()
1314 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1324 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1327 texel[RCOMP] = in FETCH()
1328 texel[GCOMP] = in FETCH()
1329 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1330 texel[ACOMP] = 1.0F; in FETCH()
1340 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1343 texel[RCOMP] = in FETCH()
1344 texel[GCOMP] = in FETCH()
1345 texel[BCOMP] = in FETCH()
1346 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s ); in FETCH()
1356 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1359 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1360 texel[GCOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1361 texel[BCOMP] = 0.0F; in FETCH()
1362 texel[ACOMP] = 1.0F; in FETCH()
1372 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1375 texel[RCOMP] = in FETCH()
1376 texel[GCOMP] = in FETCH()
1377 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1378 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1388 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1391 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1392 texel[GCOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1393 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s[2] ); in FETCH()
1394 texel[ACOMP] = 1.0F; in FETCH()
1404 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1407 texel[RCOMP] = SHORT_TO_FLOAT_TEX( s[0] ); in FETCH()
1408 texel[GCOMP] = SHORT_TO_FLOAT_TEX( s[1] ); in FETCH()
1409 texel[BCOMP] = SHORT_TO_FLOAT_TEX( s[2] ); in FETCH()
1410 texel[ACOMP] = SHORT_TO_FLOAT_TEX( s[3] ); in FETCH()
1421 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1424 texel[RCOMP] = USHORT_TO_FLOAT( s[0] ); in FETCH()
1425 texel[GCOMP] = USHORT_TO_FLOAT( s[1] ); in FETCH()
1426 texel[BCOMP] = USHORT_TO_FLOAT( s[2] ); in FETCH()
1427 texel[ACOMP] = USHORT_TO_FLOAT( s[3] ); in FETCH()
1440 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1455 texel[RCOMP] = CLAMP(r, 0.0F, 1.0F); in FETCH()
1456 texel[GCOMP] = CLAMP(g, 0.0F, 1.0F); in FETCH()
1457 texel[BCOMP] = CLAMP(b, 0.0F, 1.0F); in FETCH()
1458 texel[ACOMP] = 1.0F; in FETCH()
1470 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1485 texel[RCOMP] = CLAMP(r, 0.0F, 1.0F); in FETCH()
1486 texel[GCOMP] = CLAMP(g, 0.0F, 1.0F); in FETCH()
1487 texel[BCOMP] = CLAMP(b, 0.0F, 1.0F); in FETCH()
1488 texel[ACOMP] = 1.0F; in FETCH()
1497 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1502 texel[0] = ((*src) >> 8) * scale; in FETCH()
1505 ASSERT(texel[0] >= 0.0F); in FETCH()
1506 ASSERT(texel[0] <= 1.0F); in FETCH()
1515 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1520 texel[0] = ((*src) & 0x00ffffff) * scale; in FETCH()
1523 ASSERT(texel[0] >= 0.0F); in FETCH()
1524 ASSERT(texel[0] <= 1.0F); in FETCH()
1533 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1536 rgb9e5_to_float3(*src, texel); in FETCH()
1537 texel[ACOMP] = 1.0F; in FETCH()
1546 GLint i, GLint j, GLint k, GLfloat *texel ) in FETCH()
1549 r11g11b10f_to_float3(*src, texel); in FETCH()
1550 texel[ACOMP] = 1.0F; in FETCH()
1559 GLint i, GLint j, GLint k, GLfloat *texel) in FETCH()
1562 texel[RCOMP] = src[0]; in FETCH()
1563 texel[GCOMP] = 0.0F; in FETCH()
1564 texel[BCOMP] = 0.0F; in FETCH()
1565 texel[ACOMP] = 1.0F; in FETCH()