Home
last modified time | relevance | path

Searched refs:spvutils (Results 1 - 4 of 4) sorted by relevance

/third_party/glslang/gtests/
H A DHexFloat.cpp27 using spvutils::BitwiseCast;
28 using spvutils::Float16;
29 using spvutils::FloatProxy;
30 using spvutils::HexFloat;
31 using spvutils::ParseNormalFloat;
49 ss << spvutils::HexFloat<T>(value); in EncodeViaHexFloat()
67 spvutils::HexFloat<FloatProxy<T>> decoded(0.f); in Decode()
540 return spvutils::HexFloat<spvutils::FloatProxy<float>>( in unbiased_exponent()
545 return spvutils in unbiased_half_exponent()
[all...]
/third_party/glslang/SPIRV/
H A Dhex_float.h28 namespace spvutils { namespace
274 spvutils::SetBits<uint_type, 0,
289 spvutils::SetBits<uint_type, 0, num_fraction_bits>::get;
296 spvutils::SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get;
312 uint_type getBits() const { return spvutils::BitwiseCast<uint_type>(value_); } in getBits()
316 return static_cast<uint_type>(spvutils::BitwiseCast<uint_type>(value_) & in getUnsignedBits()
488 spvutils::SetBits<uint_type, 0, throwaway_mask_bits>::get; in getRoundedNormalizedSignificand()
667 const uint_type bits = spvutils::BitwiseCast<uint_type>(value.value()); in operator <<()
1029 T output_float = spvutils::BitwiseCast<T>(output_bits); in operator >>()
H A Dbitutils.h21 namespace spvutils { namespace
79 } // namespace spvutils
H A DSpvBuilder.cpp1688 spvutils::HexFloat<spvutils::FloatProxy<float>> fVal(f16); in makeFloat16Constant()
1689 spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>> f16Val(0); in makeFloat16Constant()
1690 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()

Completed in 9 milliseconds