Searched refs:CLAMPED_FLOAT_TO_USHORT (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_alpha.c | 122 CLAMPED_FLOAT_TO_USHORT(ref, ctx->Color.AlphaRef); in _swrast_alpha_test() 145 CLAMPED_FLOAT_TO_USHORT(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
|
D | s_chan.h | 88 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_USHORT(c, f)
|
/external/mesa3d/src/mesa/main/ |
D | pack.c | 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() [all …]
|
D | macros.h | 133 #define CLAMPED_FLOAT_TO_USHORT(us, f) \ macro
|
D | pixel.c | 484 CLAMPED_FLOAT_TO_USHORT(values[i], pm->Map[i] ); in _mesa_GetnPixelMapusvARB()
|