blob: 343da38e1ce087a8b693fcdd891a9a3434f5484d [file] [log] [blame]
steve-lunarg132d3312016-12-19 15:48:01 -07001
2struct PS_IN
3{
4 float4 pos : SV_Position;
5};
6
7struct GS_OUT
8{
9 float4 pos : SV_Position;
10};
11
12[maxvertexcount(3)]
13void main(triangle PS_IN i[3], inout TriangleStream <GS_OUT> ts)
14{
15 GS_OUT o;
16
17 for (int x=0; x<3; ++x) {
18 o.pos = i[x].pos;
19 ts.Append(o);
20 }
21}