blob: d68c2254cc9b474ff69bf6571723d1f6b73c5eba [file] [log] [blame]
LoopDawg307b6502017-07-05 11:33:06 -06001struct VS_OUTPUT {
2 float4 Position : SV_Position;
3 float4 clip0 : SV_ClipDistance0; // multiple semantic IDs, two vec4s (no extra packing)
4 float4 clip1 : SV_ClipDistance1; // ...
5};
6
7VS_OUTPUT main()
8{
9 VS_OUTPUT Output;
10 Output.Position = 0;
11
12 Output.clip0.x = 0;
13 Output.clip0.y = 1;
14 Output.clip0.z = 2;
15 Output.clip0.w = 3;
16
17 Output.clip1.x = 4;
18 Output.clip1.y = 5;
19 Output.clip1.z = 6;
20 Output.clip1.w = 7;
21
22 return Output;
23}