Lines Matching refs:CLAMP
888 rgba[i][ACOMP] = (GLubyte) CLAMP(a, 0.0, 255.0);
897 rgba[i][ACOMP] = (GLushort) CLAMP(a, 0.0, 65535.0);
904 /* clamp later */
911 * Clamp span's float colors to [0,1]
920 rgba[i][RCOMP] = CLAMP(rgba[i][RCOMP], 0.0F, 1.0F);
921 rgba[i][GCOMP] = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F);
922 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
923 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F);
1297 /* Clamp color/alpha values over the range [0.0, 1.0] before storage */