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