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.h52 #define CHAN_MAXF 255.0F macro
57 #define CHAN_MAXF 65535.0F macro
62 #define CHAN_MAXF 1.0F macro
86 #define CHAN_TO_FLOAT(c) ((GLfloat) ((c) * (1.0 / CHAN_MAXF)))
Ds_triangle.c564 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
565 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
566 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
567 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
830 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
831 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
832 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
833 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
Ds_aatriangle.c136 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()
Ds_aaline.c176 return CLAMP(z, 0.0F, CHAN_MAXF); in solve_plane_chan()