dawn-cmake/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected...

9 lines
153 B
WebGPU Shading Language

var<workgroup> i : i32;
@stage(compute) @workgroup_size(1)
fn main() {
i = 123;
let p : ptr<workgroup, i32> = &(i);
let use : i32 = (*(p) + 1);
}