blob: cd54b96f65d16f3ab62fb79f614d0f6114dad737 [file] [log] [blame]
var<workgroup> S : i32;
fn func(pointer : ptr<workgroup, i32>) {
*pointer = 42;
}
@compute @workgroup_size(1)
fn main() {
func(&S);
}