wgpu/naga/tests/in/array-in-ctor.wgsl
2023-10-25 14:25:04 -04:00

11 lines
147 B
WebGPU Shading Language

struct Ah {
inner: array<f32, 2>,
};
@group(0) @binding(0)
var<storage> ah: Ah;
@compute @workgroup_size(1)
fn cs_main() {
let ah = ah;
}