From c436f96b1073495bd6ba66769b4a8605a3775c0c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Sep 2008 08:40:50 -0600 Subject: [PATCH] simple add with swizzle and mul with swizzle tests --- progs/fp/add-swz.txt | 5 +++++ progs/fp/mul-swz.txt | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 progs/fp/add-swz.txt create mode 100644 progs/fp/mul-swz.txt diff --git a/progs/fp/add-swz.txt b/progs/fp/add-swz.txt new file mode 100644 index 00000000000..5ec51bcb84a --- /dev/null +++ b/progs/fp/add-swz.txt @@ -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 index 00000000000..7ef2f58633f --- /dev/null +++ b/progs/fp/mul-swz.txt @@ -0,0 +1,3 @@ +!!ARBfp1.0 +MUL result.color, fragment.color.zyxw, fragment.color; +END -- 2.30.2