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

8 lines
116 B
WebGPU Shading Language

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