unpack2x16float
Function
Unpacks the two binary16 halves of a u32 into a vec2, the low 16 bits into component 0.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function unpack2x16float(a0: u32): vec2declare function unpack2x16float(e: u32): vec2Parameters
-
eu32
Return value
Description
unpackHalf2x16 on GLSL ES 3.00.
Targets
- WGSL
-
unpack2x16float(a) - GLSL ES 3.00
-
unpackHalf2x16(a)