unpack2x16snorm
On this page

unpack2x16snorm

Function

Unpacks the two signed 16-bit halves of a u32 into a vec2 of values in [-1, 1], 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 unpack2x16snorm(a0: u32): vec2
declare function unpack2x16snorm(e: u32): vec2

Parameters

Return value

vec2

Description

unpackSnorm2x16 on GLSL ES 3.00.

Targets

WGSL
unpack2x16snorm(a)
GLSL ES 3.00
unpackSnorm2x16(a)

Examples

See also

Edit this page Report a problem