Merge pull request #682 from steve-lunarg/split-copy-fix
[platform/upstream/glslang.git] / Test / hlsl.struct.split.assign.frag
1 struct S {
2     float f;
3     float4 pos : SV_Position;
4 };
5
6 float4 main(int i, S input[3]) : COLOR0
7 {
8     S a[3];
9     input = a;
10
11     return float3(1.0);
12 }