1
2struct VS_INPUT
3{
4    int    x0_in  : foo0;
5    float4 Pos_in : SV_Position;
6    int    x1_in  : foo1;
7};
8
9struct VS_OUTPUT
10{
11    int    x0_out  : foo0;
12    float4 Pos_out : SV_Position;
13    int    x1_out  : foo1;
14};
15
16VS_OUTPUT main(VS_INPUT vsin, float4 Pos_loose : SV_Position)
17{
18    VS_OUTPUT vsout;
19
20    vsout.x0_out  = vsin.x0_in;
21    vsout.Pos_out = vsin.Pos_in + Pos_loose;
22    vsout.x1_out  = vsin.x1_in;
23
24    return vsout;
25}
26