From 63a9d835ce3f446fe2cf69e7623d228bcc6ee91c Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Fri, 9 Nov 2007 10:08:15 -0500 Subject: Redo the fragment program examples to match vp's we just load text files instead of compiling tons of small binaries --- progs/fp/sge2.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 progs/fp/sge2.txt (limited to 'progs/fp/sge2.txt') diff --git a/progs/fp/sge2.txt b/progs/fp/sge2.txt new file mode 100644 index 00000000000..e02a50d4772 --- /dev/null +++ b/progs/fp/sge2.txt @@ -0,0 +1,8 @@ +!!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 -- cgit v1.2.3