Home | History | Annotate | Download | only in main

Lines Matching refs:CLAMP

149    diffuseColor[3] = CLAMP(
263 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F);
264 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F);
265 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F);
266 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F);
267 Rspec[0] = CLAMP(specularColor[0], 0.0F, 1.0F);
268 Rspec[1] = CLAMP(specularColor[1], 0.0F, 1.0F);
269 Rspec[2] = CLAMP(specularColor[2], 0.0F, 1.0F);
270 Rspec[3] = CLAMP(specularColor[3], 0.0F, 1.0F);
450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3],
454 /* Clamp against near and far plane separately */
710 z2 = CLAMP(z, 0.0F, 1.0F)
729 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F);
731 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F);
733 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][2], 0.0F, 1.0F);
735 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][3], 0.0F, 1.0F);
737 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F);
739 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F);
741 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F);
743 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F);