Files
wgpu/tests/in/array-in-ctor.wgsl
T
Erich Gubler 0b87d1918a fix(hlsl): emit constructor functions for arrays (#2281)
* test(hlsl-out): add failing case for array as ctor arg

See issue #2184.

* fix(hlsl): emit constructor functions for arrays
2023-03-20 17:21:52 +01:00

11 lines
142 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() {
_ = ah;
}