Home | History | Annotate | Download | only in main

Lines Matching refs:CLAMP

152    diffuseColor[3] = CLAMP(
267 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F);
268 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F);
269 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F);
270 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F);
271 Rspec[0] = CLAMP(specularColor[0], 0.0F, 1.0F);
272 Rspec[1] = CLAMP(specularColor[1], 0.0F, 1.0F);
273 Rspec[2] = CLAMP(specularColor[2], 0.0F, 1.0F);
274 Rspec[3] = CLAMP(specularColor[3], 0.0F, 1.0F);
456 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
460 /* Clamp against near and far plane separately */
716 z2 = CLAMP(z, 0.0F, 1.0F)
735 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F);
737 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F);
739 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][2], 0.0F, 1.0F);
741 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][3], 0.0F, 1.0F);
743 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F);
745 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F);
747 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F);
749 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F);