1GEOM 2PROPERTY GS_INPUT_PRIMITIVE TRIANGLES 3PROPERTY GS_OUTPUT_PRIMITIVE LINE_STRIP 4PROPERTY GS_MAX_OUTPUT_VERTICES 8 5DCL IN[][0], POSITION, CONSTANT 6DCL IN[][1], COLOR, CONSTANT 7DCL OUT[0], POSITION, CONSTANT 8DCL OUT[1], COLOR, CONSTANT 9DCL TEMP[0] 10 11MOV TEMP[0], IN[0][0] 12ADD TEMP[0].y, IN[0][0], IN[1][0] 13 14MOV OUT[0], TEMP[0] 15MOV OUT[1], IN[0][1] 16EMIT 17MOV OUT[0], IN[2][0] 18MOV OUT[1], IN[0][1] 19EMIT 20MOV OUT[0], IN[0][0] 21MOV OUT[1], IN[2][1] 22EMIT 23MOV OUT[0], TEMP[0] 24MOV OUT[1], IN[0][1] 25EMIT 26ENDPRIM 27 28MOV OUT[0], TEMP[0] 29MOV OUT[1], IN[0][1] 30EMIT 31MOV OUT[0], IN[2][0] 32MOV OUT[1], IN[0][1] 33EMIT 34MOV OUT[0], IN[1][0] 35MOV OUT[1], IN[2][1] 36EMIT 37MOV OUT[0], TEMP[0] 38MOV OUT[1], IN[0][1] 39EMIT 40ENDPRIM 41 42END 43