aboutsummaryrefslogtreecommitdiffstats
path: root/progs/fp/cos.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/cos.txt')
-rw-r--r--progs/fp/cos.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/fp/cos.txt b/progs/fp/cos.txt
new file mode 100644
index 00000000000..d51b13b63a7
--- /dev/null
+++ b/progs/fp/cos.txt
@@ -0,0 +1,8 @@
+!!ARBfp1.0
+TEMP R0;
+MUL R0, fragment.color, {3.14}.x;
+COS result.color.x, R0.x;
+COS result.color.y, R0.y;
+COS result.color.z, R0.z;
+END
+