mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 10:03:58 +01:00
* test(hlsl-out): add failing case for array as ctor arg See issue #2184. * fix(hlsl): emit constructor functions for arrays
18 lines
302 B
GLSL
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;
|
|
}
|
|
|