1GEOM
2PROPERTY GS_INPUT_PRIMITIVE TRIANGLES
3PROPERTY GS_OUTPUT_PRIMITIVE TRIANGLE_STRIP
4PROPERTY GS_MAX_OUTPUT_VERTICES 3
5DCL IN[][0], POSITION, CONSTANT
6DCL IN[][1], COLOR, CONSTANT
7DCL OUT[0], POSITION, CONSTANT
8DCL OUT[1], COLOR, CONSTANT
9DCL CONST[1][0..6]
10
11MOV OUT[0], IN[0][0]
12MOV OUT[1], CONST[1][0]
13EMIT
14
15MOV OUT[0], IN[1][0]
16MOV OUT[1], CONST[1][1]
17EMIT
18
19MOV OUT[0], IN[2][0]
20MOV OUT[1], CONST[1][4]
21EMIT
22
23ENDPRIM
24
25END
26