Lines Matching refs:CLAMP
149 diffuseColor[3] = CLAMP( in shade_rastpos()
263 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F); in shade_rastpos()
264 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F); in shade_rastpos()
265 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F); in shade_rastpos()
266 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F); in shade_rastpos()
267 Rspec[0] = CLAMP(specularColor[0], 0.0F, 1.0F); in shade_rastpos()
268 Rspec[1] = CLAMP(specularColor[1], 0.0F, 1.0F); in shade_rastpos()
269 Rspec[2] = CLAMP(specularColor[2], 0.0F, 1.0F); in shade_rastpos()
270 Rspec[3] = CLAMP(specularColor[3], 0.0F, 1.0F); in shade_rastpos()
450 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _mesa_RasterPos()
710 z2 = CLAMP(z, 0.0F, 1.0F) in window_pos3f()
729 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F); in window_pos3f()
731 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F); in window_pos3f()
733 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][2], 0.0F, 1.0F); in window_pos3f()
735 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][3], 0.0F, 1.0F); in window_pos3f()
737 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F); in window_pos3f()
739 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F); in window_pos3f()
741 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F); in window_pos3f()
743 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F); in window_pos3f()