• Home
  • Raw
  • Download

Lines Matching refs:iround

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