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

12 lines
125 B
WebGPU Shading Language
Raw Normal View History

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