• Home
  • History
  • Annotate
  • 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()
622 short textureFactorR = iround(4095 * textureFactor.r); in setTextureFactor()
623 short textureFactorG = iround(4095 * textureFactor.g); in setTextureFactor()
624 short textureFactorB = iround(4095 * textureFactor.b); in setTextureFactor()
625 short textureFactorA = iround(4095 * textureFactor.a); in setTextureFactor()
651 short blendConstantR = iround(65535 * blendConstant.r); in setBlendConstant()
652 short blendConstantG = iround(65535 * blendConstant.g); in setBlendConstant()
653 short blendConstantB = iround(65535 * blendConstant.b); in setBlendConstant()
654 short blendConstantA = iround(65535 * blendConstant.a); in setBlendConstant()
677 short invBlendConstantR = iround(65535 * (1 - blendConstant.r)); in setBlendConstant()
678 short invBlendConstantG = iround(65535 * (1 - blendConstant.g)); in setBlendConstant()
679 short invBlendConstantB = iround(65535 * (1 - blendConstant.b)); in setBlendConstant()
680 short invBlendConstantA = iround(65535 * (1 - blendConstant.a)); in setBlendConstant()
797 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
798 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
799 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
800 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()