Lines Matching refs:CLAMP
482 const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE;
495 if (clamp) {
496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F);
497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F);
498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F);
499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F);
1031 a[3] = CLAMP(a[3], -(128.0F - epsilon), (128.0F - epsilon));
1309 a[0] = CLAMP(a[0], 0.0F, 1.0F);
1310 a[1] = CLAMP(a[1], 0.0F, 1.0F);
1325 a[0] = CLAMP(a[0], -128.0F / 127.0F, 1.0F);
1326 a[1] = CLAMP(a[1], -128.0F / 127.0F, 1.0F);
1327 a[2] = CLAMP(a[2], -128.0F / 127.0F, 1.0F);
1328 a[3] = CLAMP(a[3], -128.0F / 127.0F, 1.0F);
1345 a[0] = CLAMP(a[0], 0.0F, 1.0F);
1346 a[1] = CLAMP(a[1], 0.0F, 1.0F);
1347 a[2] = CLAMP(a[2], 0.0F, 1.0F);
1348 a[3] = CLAMP(a[3], 0.0F, 1.0F);