From: Brian Paul Date: Sat, 13 Sep 2008 21:31:46 +0000 (-0600) Subject: negate.txt - test negation of a src reg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=870afb831921a5c38f22817d9e64d6be7fab235c;p=mesa.git negate.txt - test negation of a src reg --- 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