From 870afb831921a5c38f22817d9e64d6be7fab235c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 13 Sep 2008 15:31:46 -0600 Subject: negate.txt - test negation of a src reg --- progs/fp/negate.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 progs/fp/negate.txt diff --git a/progs/fp/negate.txt b/progs/fp/negate.txt new file mode 100644 index 00000000000..3d00a04a587 --- /dev/null +++ b/progs/fp/negate.txt @@ -0,0 +1,6 @@ +!!ARBfp1.0 +# this should result in fragment color passing through unchanged +TEMP R0; +ADD R0, fragment.color, fragment.color; +ADD result.color, R0, -fragment.color; +END -- cgit v1.2.3