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