1/*#pragma settings NoGSInvocationsSupport*/
2
3layout(points) in;
4layout(invocations = 2) in;
5layout(line_strip, max_vertices = 2) out;
6
7void test() {
8    sk_Position = sk_in[0].sk_Position + float4(0.5, 0, 0, sk_InvocationID);
9    EmitVertex();
10}
11
12void main() {
13    test();
14    sk_Position = sk_in[0].sk_Position + float4(-0.5, 0, 0, sk_InvocationID);
15    EmitVertex();
16}
17