summaryrefslogtreecommitdiff
path: root/progs/fp/mad.txt
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-11-09 10:08:15 -0500
committerZack Rusin <zack@tungstengraphics.com>2007-12-11 09:49:34 -0500
commit63a9d835ce3f446fe2cf69e7623d228bcc6ee91c (patch)
treecb5510c598ab0cc0fd79417ab77a2be2b948e705 /progs/fp/mad.txt
parent025b140b2fd6860039a0d4b545130751473563c5 (diff)
Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small binaries
Diffstat (limited to 'progs/fp/mad.txt')
-rw-r--r--progs/fp/mad.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/fp/mad.txt b/progs/fp/mad.txt
new file mode 100644
index 0000000000..77ffac49cf
--- /dev/null
+++ b/progs/fp/mad.txt
@@ -0,0 +1,4 @@
+!!ARBfp1.0
+TEMP R0, R1;
+MAD result.color, fragment.color.z, {1,0,0,1}, fragment.color;
+END