1 2 3 4 5 6 7 8 9 10 11 12 13
VERT1.1 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] MIN OUT[1], IN[1], IMM[0] END