Home
last modified time | relevance | path

Searched refs:CHAN_MAXF (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_chan.h53 #define CHAN_MAXF 255.0F macro
58 #define CHAN_MAXF 65535.0F macro
63 #define CHAN_MAXF 1.0F macro
87 #define CHAN_TO_FLOAT(c) ((GLfloat) ((c) * (1.0 / CHAN_MAXF)))
Ds_triangle.c565 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
566 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
567 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
568 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
831 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
832 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
833 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
834 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
Ds_aatriangle.c120 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()
Ds_aaline.c177 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()