LoopDawg | c6510a3 | 2017-05-13 09:20:11 -0600 | [diff] [blame] | 1 | // test geometry shader in fragment shader. GS attributes should be successfully ignored. |
2 | |||||
3 | struct myVertex { | ||||
4 | float4 pos : SV_Position; | ||||
5 | }; | ||||
6 | |||||
7 | [maxvertexcount(1)] | ||||
8 | void GS_Draw(point myVertex IN, inout PointStream<myVertex> OutputStream) | ||||
9 | { | ||||
10 | OutputStream.Append(IN); | ||||
11 | OutputStream.RestartStrip(); | ||||
12 | } | ||||
13 | |||||
14 | float4 main() : SV_TARGET | ||||
15 | { | ||||
16 | return 0; | ||||
17 | } |