diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-12 08:40:50 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-12 08:40:50 -0600 |
commit | c436f96b1073495bd6ba66769b4a8605a3775c0c (patch) | |
tree | d390faf3b464dc058163026cbfe0203c8ab17f4a /progs | |
parent | 0c0e5b71c0fb18f7ead2884a8c1429d00c090e18 (diff) | |
download | external_mesa3d-c436f96b1073495bd6ba66769b4a8605a3775c0c.zip external_mesa3d-c436f96b1073495bd6ba66769b4a8605a3775c0c.tar.gz external_mesa3d-c436f96b1073495bd6ba66769b4a8605a3775c0c.tar.bz2 |
simple add with swizzle and mul with swizzle tests
Diffstat (limited to 'progs')
-rw-r--r-- | progs/fp/add-swz.txt | 5 | ||||
-rw-r--r-- | progs/fp/mul-swz.txt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/progs/fp/add-swz.txt b/progs/fp/add-swz.txt new file mode 100644 index 0000000..5ec51bc --- /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 0000000..7ef2f58 --- /dev/null +++ b/progs/fp/mul-swz.txt @@ -0,0 +1,3 @@ +!!ARBfp1.0 +MUL result.color, fragment.color.zyxw, fragment.color; +END |