xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/hlsl.struct.split.assign.frag (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1struct S {
2    float f;
3    float4 pos : SV_Position;
4};
5
6float4 main(int i, S input[3]) : COLOR0
7{
8    S a[3];
9    input = a;
10
11    return a[1].pos;
12}
13