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

8 lines
107 B
WebGPU Shading Language

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