mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
negate.txt - test negation of a src reg
This commit is contained in:
parent
809e81c0b4
commit
870afb8319
1 changed files with 6 additions and 0 deletions
6
progs/fp/negate.txt
Normal file
6
progs/fp/negate.txt
Normal 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
|
||||
Loading…
Add table
Reference in a new issue