dawn-cmake/test/ptr_ref/load/global/struct_field.wgsl.expected....

11 lines
116 B
WebGPU Shading Language

struct S {
i : i32;
}
var<private> V : S;
@stage(compute) @workgroup_size(1)
fn main() {
let i : i32 = V.i;
}