7 lines
106 B
WebGPU Shading Language
7 lines
106 B
WebGPU Shading Language
|
[[stage(compute), workgroup_size(1)]]
|
||
|
fn f() {
|
||
|
let a = 1.;
|
||
|
let b = 2.;
|
||
|
let r : f32 = a / b;
|
||
|
}
|