Home
last modified time | relevance | path

Searched refs:CLAMPED_FLOAT_TO_USHORT (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_alpha.c122 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()
Ds_chan.h88 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_USHORT(c, f)
/external/mesa3d/src/mesa/main/
Dpack.c1649 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 …]
Dmacros.h133 #define CLAMPED_FLOAT_TO_USHORT(us, f) \ macro
Dpixel.c484 CLAMPED_FLOAT_TO_USHORT(values[i], pm->Map[i] ); in _mesa_GetnPixelMapusvARB()