dawn-cmake/test/ptr_ref/load/global/i32.wgsl

8 lines
119 B
WebGPU Shading Language

var<private> I : i32;
[[stage(compute), workgroup_size(1)]]
fn main() {
let i : i32 = I;
let use : i32 = i + 1;
}