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));
679 short textureFactorR = iround(4095 * textureFactor.r);
680 short textureFactorG = iround(4095 * textureFactor.g);
681 short textureFactorB = iround(4095 * textureFactor.b);
682 short textureFactorA = iround(4095 * textureFactor.a);
708 short blendConstantR = iround(65535 * blendConstant.r);
709 short blendConstantG = iround(65535 * blendConstant.g);
710 short blendConstantB = iround(65535 * blendConstant.b);
711 short blendConstantA = iround(65535 * blendConstant.a);
734 short invBlendConstantR = iround(65535 * (1 - blendConstant.r));
735 short invBlendConstantG = iround(65535 * (1 - blendConstant.g));
736 short invBlendConstantB = iround(65535 * (1 - blendConstant.b));
737 short invBlendConstantA = iround(65535 * (1 - blendConstant.a));
854 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF);
855 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF);
856 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF);
857 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF);