Files
wgpu/tests/out/glsl/array-in-ctor.cs_main.Compute.glsl
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

18 lines
302 B
GLSL

#version 310 es
precision highp float;
precision highp int;
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
struct Ah {
float inner[2];
};
layout(std430) readonly buffer Ah_block_0Compute { Ah _group_0_binding_0_cs; };
void main() {
Ah unnamed = _group_0_binding_0_cs;
}