floatBitsToInt — produce the encoding of a floating point value as an integer
genIType floatBitsToInt( | genType x); |
genUType floatBitsToUint( | genType x); |
floatBitsToInt and floatBitsToUint return the encoding
of their floating-point parameters as highp int or uint, respectively. The
floating-point bit-level representation is preserved. For mediump and lowp, the value is first
converted to highp floating point and the encoding of that value is returned.