mesa/progs/fp/flr.txt

6 lines
80 B
Plaintext

!!ARBfp1.0
TEMP R0;
ADD R0, fragment.color, {0.5}.x;
FLR result.color, R0;
END