summaryrefslogtreecommitdiff
path: root/progs/fp/sin.txt
blob: 4a8cdb69f989cabf9fb392c8bbafb648fd1f3332 (plain)
1
2
3
4
5
6
7
8
!!ARBfp1.0
TEMP R0;
MUL R0, fragment.color, {3.14}.x;
MOV result.color, {0.0}.x;
SIN result.color.x, R0.x;
SIN result.color.y, R0.y;
SIN result.color.z, R0.z;
END