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