Home
last modified time | relevance | path

Searched refs:hex_float (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/external/amber/src/src/
Dfloat16_helper.cc41 uint16_t FloatSign(const uint32_t hex_float) { in FloatSign() argument
42 return static_cast<uint16_t>(hex_float >> 31U); in FloatSign()
46 uint16_t FloatExponent(const uint32_t hex_float) { in FloatExponent() argument
47 uint32_t exponent_bits = ((hex_float >> 23U) & ((1U << 8U) - 1U)); in FloatExponent()
59 uint32_t FloatMantissa(const uint32_t hex_float) { in FloatMantissa() argument
60 return static_cast<uint32_t>(hex_float & ((1U << 23U) - 1U)); in FloatMantissa()
79 float hex_float; in HexFloat16ToFloat() local
82 memcpy(&hex_float, &hex, sizeof(float)); in HexFloat16ToFloat()
83 return hex_float; in HexFloat16ToFloat()
96 float hex_float; in HexFloat11ToFloat() local
[all …]
/third_party/glslang/SPIRV/
DCMakeLists.txt56 hex_float.h
/third_party/glslang/
DBUILD.bazel177 "SPIRV/hex_float.h",
DBUILD.gn121 "SPIRV/hex_float.h",
/third_party/skia/third_party/externals/spirv-tools/source/
DCMakeLists.txt226 ${CMAKE_CURRENT_SOURCE_DIR}/util/hex_float.h
/third_party/spirv-tools/source/
DCMakeLists.txt228 ${CMAKE_CURRENT_SOURCE_DIR}/util/hex_float.h
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
DCMakeLists.txt226 ${CMAKE_CURRENT_SOURCE_DIR}/util/hex_float.h
/third_party/skia/third_party/externals/spirv-tools/
DBUILD.gn451 "source/util/hex_float.h",
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn451 "source/util/hex_float.h",