FRAG PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1 DCL IN[0], GENERIC[0], PERSPECTIVE DCL OUT[0], COLOR DCL SAMP[0] DCL CONST[1..4] DCL TEMP[0], LOCAL 0: MOV TEMP[0].xy, IN[0].xyyy 1: MOV TEMP[0].w, IN[0].wwww 2: TXP TEMP[0], TEMP[0], SAMP[0], 2D 3: MUL TEMP[0].xyz, TEMP[0], CONST[4] 4: MOV TEMP[0].xyz, TEMP[0].xyzx 5: MOV TEMP[0].w, CONST[4].wwww 6: MOV OUT[0], TEMP[0] 7: END