dawn-cmake/test/var/initialization/private/struct.wgsl.expected.wgsl

12 lines
123 B
WebGPU Shading Language

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