xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/hlsl.structin.vert (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1struct VI {
2    float4 m[2] : mysemA;
3    float4 coord : SV_POSITION;
4    linear float4 b : mysemB;
5};
6
7VI main(float4 d : mysem, VI vi, float4 e : mysem)
8{
9    VI local;
10
11    local.b = vi.m[1] + vi.m[0] + (float4)vi.coord.x + d + e;
12    local.coord = (float4)1;
13    local.m[0] = (float4)2;
14    local.m[1] = (float4)3;
15
16    return local;
17}
18