unpack4xI8
Function
Unpacks the four bytes of a u32 into a vec4i, sign-extending each byte, the low byte into component 0.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function unpack4xI8(a0: u32): vec4ideclare function unpack4xI8(e: u32): vec4iParameters
-
eu32
Return value
Description
The inverse of pack4xI8. WebGPU-only.
Targets
- WGSL
-
unpack4xI8(a) - GLSL ES 3.00
- unpack4xI8 has no GLSL ES 3.00 form