Lines Matching refs:halfBits
561 SIMD::UInt halfToFloatBits(SIMD::UInt halfBits) in halfToFloatBits() argument
565 auto sign16 = halfBits & SIMD::UInt(0x8000); in halfToFloatBits()
566 auto man16 = halfBits & SIMD::UInt(0x03FF); in halfToFloatBits()
567 auto exp16 = halfBits & SIMD::UInt(0x7C00); in halfToFloatBits()
614 UInt4 halfBits; in r11g11b10Unpack() local
615 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0x000007FFu)) << 4, 0); in r11g11b10Unpack()
616 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0x003FF800u)) >> 7, 1); in r11g11b10Unpack()
617 halfBits = Insert(halfBits, (r11g11b10bits & UInt(0xFFC00000u)) >> 17, 2); in r11g11b10Unpack()
618 halfBits = Insert(halfBits, UInt(0x00003C00u), 3); in r11g11b10Unpack()
619 return As<Float4>(halfToFloatBits(halfBits)); in r11g11b10Unpack()
625 auto halfBits = floatToHalfBits(As<UInt4>(Max(value, Float4(0.0f))), true); in r11g11b10Pack() local
627 UInt4 truncBits = halfBits & UInt4(0x7FF00000, 0x7FF00000, 0x7FE00000, 0); in r11g11b10Pack()