unpack2x16float
On this page

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): vec2
declare function unpack2x16float(e: u32): vec2

Parameters

Return value

vec2

Description

unpackHalf2x16 on GLSL ES 3.00.

Targets

WGSL
unpack2x16float(a)
GLSL ES 3.00
unpackHalf2x16(a)

Examples

See also

Edit this page Report a problem