simple add with swizzle and mul with swizzle tests
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2008 14:40:50 +0000 (08:40 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2008 14:40:50 +0000 (08:40 -0600)
progs/fp/add-swz.txt [new file with mode: 0644]
progs/fp/mul-swz.txt [new file with mode: 0644]

diff --git a/progs/fp/add-swz.txt b/progs/fp/add-swz.txt
new file mode 100644 (file)
index 0000000..5ec51bc
--- /dev/null
@@ -0,0 +1,5 @@
+!!ARBfp1.0
+TEMP R0;
+ADD R0, fragment.color, fragment.color;
+ADD result.color, R0.xxxx, R0;
+END
diff --git a/progs/fp/mul-swz.txt b/progs/fp/mul-swz.txt
new file mode 100644 (file)
index 0000000..7ef2f58
--- /dev/null
@@ -0,0 +1,3 @@
+!!ARBfp1.0
+MUL result.color, fragment.color.zyxw, fragment.color;
+END