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