Lines Matching refs:ACOMP

611                    | (CLAMP(rgba[i][ACOMP], 0, 15)      );  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()
642 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); 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()
673 | (CLAMP(rgba[i][ACOMP], 0, 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()
704 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); 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()
735 | (CLAMP(rgba[i][ACOMP], 0, 255) ); 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()
766 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); 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()
797 | (CLAMP(rgba[i][ACOMP], 0, 3) ); 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()
828 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); 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()
998 | (CLAMP(rgba[i][ACOMP], 0, 15) ); 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()
1029 | (CLAMP(rgba[i][ACOMP], 0, 15) << 12); 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()
1060 | (CLAMP(rgba[i][ACOMP], 0, 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()
1091 | (CLAMP(rgba[i][ACOMP], 0, 1) << 15); 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()
1122 | (CLAMP(rgba[i][ACOMP], 0, 255) ); 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()
1153 | (CLAMP(rgba[i][ACOMP], 0, 255) << 24); 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()
1184 | (CLAMP(rgba[i][ACOMP], 0, 3) ); 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()
1215 | (CLAMP(rgba[i][ACOMP], 0, 3) << 30); 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()
1306 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], min, max); 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()
1377 dst[i*4+3] = FLOAT_TO_UBYTE(rgba[i][ACOMP]); 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()
1420 dst[i] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1441 dst[i*4+3] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1456 dst[i*4+3] = (GLubyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1464 dst[i*2+1] = (GLubyte) rgba[i][ACOMP]; 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()
1534 dst[i*4+3] = FLOAT_TO_BYTE(rgba[i][ACOMP]); 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()
1577 dst[i] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1598 dst[i*4+3] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1613 dst[i*4+3] = (GLbyte) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1621 dst[i*2+1] = (GLbyte) rgba[i][ACOMP]; 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()
1691 CLAMPED_FLOAT_TO_USHORT(dst[i*4+3], rgba[i][ACOMP]); 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()
1734 dst[i] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1755 dst[i*4+3] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1770 dst[i*4+3] = (GLushort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1778 dst[i*2+1] = (GLushort) rgba[i][ACOMP]; 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()
1848 dst[i*4+3] = FLOAT_TO_SHORT(rgba[i][ACOMP]); 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()
1891 dst[i] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1912 dst[i*4+3] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1927 dst[i*4+3] = (GLshort) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
1935 dst[i*2+1] = (GLshort) rgba[i][ACOMP]; 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()
2005 dst[i*4+3] = FLOAT_TO_UINT(rgba[i][ACOMP]); 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()
2048 dst[i] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2069 dst[i*4+3] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2084 dst[i*4+3] = (GLuint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2092 dst[i*2+1] = (GLuint) rgba[i][ACOMP]; 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()
2162 dst[i*4+3] = FLOAT_TO_INT(rgba[i][ACOMP]); 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()
2212 dst[i] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2233 dst[i*4+3] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2248 dst[i*4+3] = (GLint) rgba[i][ACOMP]; in _mesa_pack_rgba_span_float()
2256 dst[i*2+1] = (GLint) rgba[i][ACOMP]; 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()
2319 dst[i*4+3] = rgba[i][ACOMP]; 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()
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()
2405 dst[i*4+3] = _mesa_float_to_half(rgba[i][ACOMP]); 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()
2490 | (F_TO_I(rgba[i][ACOMP] * 15.0F) ); 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()
2519 | (F_TO_I(rgba[i][ACOMP] * 15.0F) << 12); 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()
2548 | (F_TO_I(rgba[i][ACOMP] * 1.0F) ); 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()
2577 | (F_TO_I(rgba[i][ACOMP] * 1.0F) << 15); 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()
2606 | (F_TO_I(rgba[i][ACOMP] * 255.F) ); 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()
2635 | (F_TO_I(rgba[i][ACOMP] * 255.0F) << 24); 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()
2664 | (F_TO_I(rgba[i][ACOMP] * 3.0F) ); 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()
2693 | (F_TO_I(rgba[i][ACOMP] * 3.0F) << 30); 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()
3253 PROCESS(aSrc, ACOMP, 1.0F, 255, GLubyte, UBYTE_TO_FLOAT); in extract_float_rgba()
3259 PROCESS(aSrc, ACOMP, 1.0F, 127, GLbyte, BYTE_TO_FLOATZ); in extract_float_rgba()
3265 PROCESS(aSrc, ACOMP, 1.0F, 0xffff, GLushort, USHORT_TO_FLOAT); in extract_float_rgba()
3271 PROCESS(aSrc, ACOMP, 1.0F, 32767, GLshort, SHORT_TO_FLOATZ); in extract_float_rgba()
3277 PROCESS(aSrc, ACOMP, 1.0F, 0xffffffff, GLuint, UINT_TO_FLOAT); in extract_float_rgba()
3283 PROCESS(aSrc, ACOMP, 1.0F, 2147483647, GLint, INT_TO_FLOAT); in extract_float_rgba()
3289 PROCESS(aSrc, ACOMP, 1.0F, 1.0F, GLfloat, (GLfloat)); in extract_float_rgba()
3295 PROCESS(aSrc, ACOMP, 1.0F, 1.0F, GLhalfARB, _mesa_half_to_float); in extract_float_rgba()
3842 PROCESS(aSrc, ACOMP, 1, GLubyte, (GLuint)); in extract_uint_rgba()
3848 PROCESS(aSrc, ACOMP, 1, GLbyte, (GLuint)); in extract_uint_rgba()
3854 PROCESS(aSrc, ACOMP, 1, GLushort, (GLuint)); in extract_uint_rgba()
3860 PROCESS(aSrc, ACOMP, 1, GLshort, (GLuint)); in extract_uint_rgba()
3866 PROCESS(aSrc, ACOMP, 1, GLuint, (GLuint)); in extract_uint_rgba()
3872 PROCESS(aSrc, ACOMP, 1, GLint, (GLuint)); in extract_uint_rgba()
3878 PROCESS(aSrc, ACOMP, 1, GLfloat, clamp_float_to_uint); in extract_uint_rgba()
3884 PROCESS(aSrc, ACOMP, 1, GLhalfARB, clamp_half_to_uint); in extract_uint_rgba()
4451 CLAMPED_FLOAT_TO_UBYTE(dst[aDst], rgba[i][ACOMP]); in _mesa_unpack_color_span_ubyte()
4650 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_float()
4809 dst[aDst] = rgba[i][ACOMP]; in _mesa_unpack_color_span_uint()
6008 rgba[i][ACOMP] = 1.0F; in _mesa_rebase_rgba_float()
6046 rgba[i][ACOMP] = 1; in _mesa_rebase_rgba_uint()