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