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