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

8 lines
109 B
WebGPU Shading Language

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