1 VERT 2 3 DCL IN[0] 4 DCL OUT[0], POSITION 5 DCL OUT[1], COLOR 6 7 DCL TEMP[0] 8 9 IMM FLT32 { 2.7, 3.1, 4.5, 1.0 } 10 11 MUL TEMP[0], IN[0].xyxw, IMM[0] 12 MOV OUT[0], IN[0] 13 FRC OUT[1], TEMP[0] 14 15 END 16