1 2 3 4 5 6 7 8 9 10 11 12 13
VERT DCL IN[0], POSITION DCL IN[1], COLOR DCL OUT[0], POSITION DCL OUT[1], COLOR IMM FLT32 { 0.5, 0.5, 0.5, 0.0 } MOV OUT[0], IN[0] MAX OUT[1], IN[1], IMM[0] END