diff options
Diffstat (limited to 'tests/shaders/generic/fp-dst-aliasing-2.vpfp')
-rw-r--r-- | tests/shaders/generic/fp-dst-aliasing-2.vpfp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/shaders/generic/fp-dst-aliasing-2.vpfp b/tests/shaders/generic/fp-dst-aliasing-2.vpfp new file mode 100644 index 00000000..e757cd6c --- /dev/null +++ b/tests/shaders/generic/fp-dst-aliasing-2.vpfp @@ -0,0 +1,16 @@ +!!ARBvp1.0 +OPTION ARB_position_invariant; +END + +!!ARBfp1.0 +TEMP temp; +MOV temp, program.local[1]; +DST temp, program.local[0], temp.xyzy; +MOV result.color, temp; +END + +!!test +fragment.local[0] 0.1 0.2 0.3 0.4 +fragment.local[1] 0.5 0.5 0.5 0.5 +expected 1.0 0.1 0.3 0.5 + |