dawn-cmake/test/var/initialization/workgroup/struct.wgsl

12 lines
127 B
WebGPU Shading Language

struct S {
a : i32;
b : f32;
};
var<workgroup> v : S;
[[stage(compute), workgroup_size(1)]]
fn main() {
_ = v;
}