Home
last modified time | relevance | path

Searched defs:inverseMax (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/shaders/
Dcommon.h214 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1); in normalizedToFloat() local
227 constexpr float inverseMax = 1.0f / 0x7fff; in normalizedToFloat() local
234 constexpr float inverseMax = 1.0f / 0x7fffffff; in normalizedToFloat() local
241 constexpr float inverseMax = 1.0f / 0xffffffff; in normalizedToFloat() local
/external/angle/src/common/
Dmathutil.h504 constexpr double inverseMax = 1.0 / std::numeric_limits<T>::max(); in normalizedToFloat() local
509 constexpr float inverseMax = 1.0f / std::numeric_limits<T>::max(); in normalizedToFloat() local
524 constexpr double inverseMax = 1.0 / ((1 << inputBitCount) - 1); in normalizedToFloat() local
529 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1); in normalizedToFloat() local