negate.txt - test negation of a src reg

This commit is contained in:
Brian Paul
2008-09-13 15:31:46 -06:00
parent 809e81c0b4
commit 870afb8319

6
progs/fp/negate.txt Normal file
View File

@@ -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