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

8 lines
100 B
WebGPU Shading Language

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