mesa/progs/fp/sge2.txt

9 lines
177 B
Plaintext

!!ARBfp1.0
TEMP R0;
TEMP R1;
SGE R0, fragment.color, fragment.color.yzxw;
SGE R1, fragment.color, fragment.color.zxyw;
MUL R0, R0, R1;
MUL result.color, R0, fragment.color;
END