Home | History | Annotate | Download | only in Renderer

Lines Matching refs:iround

99 			short x = iround(4095 * clamp(value[0], -1.0f, 1.0f));
100 short y = iround(4095 * clamp(value[1], -1.0f, 1.0f));
101 short z = iround(4095 * clamp(value[2], -1.0f, 1.0f));
102 short w = iround(4095 * clamp(value[3], -1.0f, 1.0f));
667 short textureFactorR = iround(4095 * textureFactor.r);
668 short textureFactorG = iround(4095 * textureFactor.g);
669 short textureFactorB = iround(4095 * textureFactor.b);
670 short textureFactorA = iround(4095 * textureFactor.a);
696 short blendConstantR = iround(65535 * blendConstant.r);
697 short blendConstantG = iround(65535 * blendConstant.g);
698 short blendConstantB = iround(65535 * blendConstant.b);
699 short blendConstantA = iround(65535 * blendConstant.a);
722 short invBlendConstantR = iround(65535 * (1 - blendConstant.r));
723 short invBlendConstantG = iround(65535 * (1 - blendConstant.g));
724 short invBlendConstantB = iround(65535 * (1 - blendConstant.b));
725 short invBlendConstantA = iround(65535 * (1 - blendConstant.a));
842 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF);
843 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF);
844 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF);
845 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF);