8 lines
144 B
WebGPU Shading Language
8 lines
144 B
WebGPU Shading Language
|
@compute @workgroup_size(1)
|
||
|
fn main() {
|
||
|
const in = 1.25;
|
||
|
const res = frexp(in);
|
||
|
let fract : f32 = res.fract;
|
||
|
let exp : i32 = res.exp;
|
||
|
}
|