6 lines
100 B
WebGPU Shading Language
6 lines
100 B
WebGPU Shading Language
|
[[stage(compute)]]
|
||
|
fn main() {
|
||
|
var whole : f32;
|
||
|
let frac : f32 = modf(1.230000019, &(whole));
|
||
|
}
|