1 FRAG 2 3 DCL IN[0], COLOR, LINEAR 4 DCL OUT[0], COLOR 5 6 IMM FLT32 { 0.5, 0.4, 0.6, 1.0 } 7 IMM FLT32 { 0.5, 0.4, 0.6, 0.0 } 8 9 MAD OUT[0], IN[0], IMM[0], IMM[1] 10 11 END 12