1 FRAG 2 3 DCL IN[0], COLOR, LINEAR 4 DCL OUT[0], COLOR 5 DCL CONST[1] 6 DCL CONST[3] 7 DCL TEMP[0..1] 8 9 ADD TEMP[0], IN[0], CONST[1] 10 RCP TEMP[1], CONST[3].xxxx 11 MUL OUT[0], TEMP[0], TEMP[1] 12 13 END 14