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