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

12 lines
115 B
WebGPU Shading Language

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