diff options
author | Brian Paul <[email protected]> | 2008-09-12 08:40:50 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-12 08:40:50 -0600 |
commit | c436f96b1073495bd6ba66769b4a8605a3775c0c (patch) | |
tree | d390faf3b464dc058163026cbfe0203c8ab17f4a /progs/fp | |
parent | 0c0e5b71c0fb18f7ead2884a8c1429d00c090e18 (diff) |
simple add with swizzle and mul with swizzle tests
Diffstat (limited to 'progs/fp')
-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 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 |